Class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub>
com.google.analytics.admin.v1beta.AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub
- Enclosing class:
- AnalyticsAdminServiceGrpc
public static final class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service AnalyticsAdminService.
Service Interface for the Google Analytics Admin API.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionAcknowledges the terms of user data collection for the specified property.com.google.protobuf.EmptyArchives a CustomDimension on a property.com.google.protobuf.EmptyArchives a CustomMetric on a property.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Deprecated.Creates a CustomDimension.Creates a CustomMetric.createDataStream(CreateDataStreamRequest request) Creates a DataStream.Creates a FirebaseLink.Creates a GoogleAdsLink.createKeyEvent(CreateKeyEventRequest request) Creates a Key Event.Creates a measurement protocol secret.createProperty(CreatePropertyRequest request) Creates a Google Analytics property with the specified location and attributes.com.google.protobuf.EmptydeleteAccount(DeleteAccountRequest request) Marks target Account as soft-deleted (ie: "trashed") and returns it.com.google.protobuf.EmptyDeprecated.com.google.protobuf.EmptydeleteDataStream(DeleteDataStreamRequest request) Deletes a DataStream on a property.com.google.protobuf.EmptyDeletes a FirebaseLink on a propertycom.google.protobuf.EmptyDeletes a GoogleAdsLink on a propertycom.google.protobuf.EmptydeleteKeyEvent(DeleteKeyEventRequest request) Deletes a Key Event.com.google.protobuf.EmptyDeletes target MeasurementProtocolSecret.deleteProperty(DeletePropertyRequest request) Marks target Property as soft-deleted (ie: "trashed") and returns it.getAccount(GetAccountRequest request) Lookup for a single Account.Deprecated.Lookup for a single CustomDimension.getCustomMetric(GetCustomMetricRequest request) Lookup for a single CustomMetric.Returns the singleton data retention settings for this property.Get data sharing settings on an account.getDataStream(GetDataStreamRequest request) Lookup for a single DataStream.getKeyEvent(GetKeyEventRequest request) Retrieve a single Key Event.Lookup for a single MeasurementProtocolSecret.getProperty(GetPropertyRequest request) Lookup for a single GA Property.listAccounts(ListAccountsRequest request) Returns all accounts accessible by the caller.Returns summaries of all accounts accessible by the caller.Deprecated.Lists CustomDimensions on a property.Lists CustomMetrics on a property.listDataStreams(ListDataStreamsRequest request) Lists DataStreams on a property.Lists FirebaseLinks on a property.Lists GoogleAdsLinks on a property.listKeyEvents(ListKeyEventsRequest request) Returns a list of Key Events in the specified parent property.Returns child MeasurementProtocolSecrets under the specified parent Property.listProperties(ListPropertiesRequest request) Returns child Properties under the specified parent Account.Requests a ticket for creating an account.runAccessReport(RunAccessReportRequest request) Returns a customized report of data access records.Searches through all changes to an account or its children given the specified set of filters.updateAccount(UpdateAccountRequest request) Updates an account.Deprecated.Updates a CustomDimension on a property.Updates a CustomMetric on a property.Updates the singleton data retention settings for this property.updateDataStream(UpdateDataStreamRequest request) Updates a DataStream on a property.Updates a GoogleAdsLink on a propertyupdateKeyEvent(UpdateKeyEventRequest request) Updates a Key Event.Updates a measurement protocol secret.updateProperty(UpdatePropertyRequest request) Updates a property.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingStub>
-
getAccount
Lookup for a single Account.
-
listAccounts
Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.
-
deleteAccount
Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
-
updateAccount
Updates an account.
-
provisionAccountTicket
Requests a ticket for creating an account.
-
listAccountSummaries
Returns summaries of all accounts accessible by the caller.
-
getProperty
Lookup for a single GA Property.
-
listProperties
Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
-
createProperty
Creates a Google Analytics property with the specified location and attributes.
-
deleteProperty
Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
-
updateProperty
Updates a property.
-
createFirebaseLink
Creates a FirebaseLink. Properties can have at most one FirebaseLink.
-
deleteFirebaseLink
Deletes a FirebaseLink on a property
-
listFirebaseLinks
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
-
createGoogleAdsLink
Creates a GoogleAdsLink.
-
updateGoogleAdsLink
Updates a GoogleAdsLink on a property
-
deleteGoogleAdsLink
Deletes a GoogleAdsLink on a property
-
listGoogleAdsLinks
Lists GoogleAdsLinks on a property.
-
getDataSharingSettings
Get data sharing settings on an account. Data sharing settings are singletons.
-
getMeasurementProtocolSecret
public MeasurementProtocolSecret getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) Lookup for a single MeasurementProtocolSecret.
-
listMeasurementProtocolSecrets
public ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) Returns child MeasurementProtocolSecrets under the specified parent Property.
-
createMeasurementProtocolSecret
public MeasurementProtocolSecret createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) Creates a measurement protocol secret.
-
deleteMeasurementProtocolSecret
public com.google.protobuf.Empty deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) Deletes target MeasurementProtocolSecret.
-
updateMeasurementProtocolSecret
public MeasurementProtocolSecret updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) Updates a measurement protocol secret.
-
acknowledgeUserDataCollection
public AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
-
searchChangeHistoryEvents
public SearchChangeHistoryEventsResponse searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes.
-
createConversionEvent
Deprecated.Deprecated: Use `CreateKeyEvent` instead. Creates a conversion event with the specified attributes.
-
updateConversionEvent
Deprecated.Deprecated: Use `UpdateKeyEvent` instead. Updates a conversion event with the specified attributes.
-
getConversionEvent
Deprecated.Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversion event.
-
deleteConversionEvent
@Deprecated public com.google.protobuf.Empty deleteConversionEvent(DeleteConversionEventRequest request) Deprecated.Deprecated: Use `DeleteKeyEvent` instead. Deletes a conversion event in a property.
-
listConversionEvents
@Deprecated public ListConversionEventsResponse listConversionEvents(ListConversionEventsRequest request) Deprecated.Deprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.
-
createKeyEvent
Creates a Key Event.
-
updateKeyEvent
Updates a Key Event.
-
getKeyEvent
Retrieve a single Key Event.
-
deleteKeyEvent
Deletes a Key Event.
-
listKeyEvents
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
-
createCustomDimension
Creates a CustomDimension.
-
updateCustomDimension
Updates a CustomDimension on a property.
-
listCustomDimensions
Lists CustomDimensions on a property.
-
archiveCustomDimension
Archives a CustomDimension on a property.
-
getCustomDimension
Lookup for a single CustomDimension.
-
createCustomMetric
Creates a CustomMetric.
-
updateCustomMetric
Updates a CustomMetric on a property.
-
listCustomMetrics
Lists CustomMetrics on a property.
-
archiveCustomMetric
Archives a CustomMetric on a property.
-
getCustomMetric
Lookup for a single CustomMetric.
-
getDataRetentionSettings
Returns the singleton data retention settings for this property.
-
updateDataRetentionSettings
public DataRetentionSettings updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) Updates the singleton data retention settings for this property.
-
createDataStream
Creates a DataStream.
-
deleteDataStream
Deletes a DataStream on a property.
-
updateDataStream
Updates a DataStream on a property.
-
listDataStreams
Lists DataStreams on a property.
-
getDataStream
Lookup for a single DataStream.
-
runAccessReport
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). To give your feedback on this API, complete the [Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form.
-