Class AnalyticsAdminServiceSettings
java.lang.Object
com.google.api.gax.rpc.ClientSettings<AnalyticsAdminServiceSettings>
com.google.analytics.admin.v1beta.AnalyticsAdminServiceSettings
@BetaApi
@Generated("by gapic-generator-java")
public class AnalyticsAdminServiceSettings
extends ClientSettings<AnalyticsAdminServiceSettings>
Settings class to configure an instance of
AnalyticsAdminServiceClient.
The default instance has everything set to sensible defaults:
- The default service address (analyticsadmin.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of getAccount:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceSettings.Builder analyticsAdminServiceSettingsBuilder =
AnalyticsAdminServiceSettings.newBuilder();
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.setRetrySettings(
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
analyticsAdminServiceSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
retries.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for AnalyticsAdminServiceSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnalyticsAdminServiceSettings(AnalyticsAdminServiceSettings.Builder settingsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionReturns the object with the settings used for calls to acknowledgeUserDataCollection.UnaryCallSettings<ArchiveCustomDimensionRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to archiveCustomDimension.UnaryCallSettings<ArchiveCustomMetricRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to archiveCustomMetric.static final AnalyticsAdminServiceSettingsDeprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createCustomDimension.Returns the object with the settings used for calls to createCustomMetric.Returns the object with the settings used for calls to createDataStream.Returns the object with the settings used for calls to createFirebaseLink.Returns the object with the settings used for calls to createGoogleAdsLink.Returns the object with the settings used for calls to createKeyEvent.Returns the object with the settings used for calls to createMeasurementProtocolSecret.Returns the object with the settings used for calls to createProperty.Returns a builder for the default credentials for this service.Returns a builder for the default ExecutorProvider for this service.Returns a builder for the default gRPC ChannelProvider for this service.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderUnaryCallSettings<DeleteAccountRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteAccount.UnaryCallSettings<DeleteConversionEventRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings<DeleteDataStreamRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteDataStream.UnaryCallSettings<DeleteFirebaseLinkRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteFirebaseLink.UnaryCallSettings<DeleteGoogleAdsLinkRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteGoogleAdsLink.UnaryCallSettings<DeleteKeyEventRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteKeyEvent.UnaryCallSettings<DeleteMeasurementProtocolSecretRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteMeasurementProtocolSecret.Returns the object with the settings used for calls to deleteProperty.Returns the object with the settings used for calls to getAccount.Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getCustomDimension.Returns the object with the settings used for calls to getCustomMetric.Returns the object with the settings used for calls to getDataRetentionSettings.Returns the object with the settings used for calls to getDataSharingSettings.Returns the object with the settings used for calls to getDataStream.static StringReturns the default service endpoint.Returns the default service scopes.Returns the object with the settings used for calls to getKeyEvent.Returns the object with the settings used for calls to getMeasurementProtocolSecret.Returns the object with the settings used for calls to getProperty.PagedCallSettings<ListAccountsRequest,ListAccountsResponse, AnalyticsAdminServiceClient.ListAccountsPagedResponse> Returns the object with the settings used for calls to listAccounts.PagedCallSettings<ListAccountSummariesRequest,ListAccountSummariesResponse, AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse> Returns the object with the settings used for calls to listAccountSummaries.PagedCallSettings<ListConversionEventsRequest,ListConversionEventsResponse, AnalyticsAdminServiceClient.ListConversionEventsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<ListCustomDimensionsRequest,ListCustomDimensionsResponse, AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse> Returns the object with the settings used for calls to listCustomDimensions.PagedCallSettings<ListCustomMetricsRequest,ListCustomMetricsResponse, AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse> Returns the object with the settings used for calls to listCustomMetrics.PagedCallSettings<ListDataStreamsRequest,ListDataStreamsResponse, AnalyticsAdminServiceClient.ListDataStreamsPagedResponse> Returns the object with the settings used for calls to listDataStreams.PagedCallSettings<ListFirebaseLinksRequest,ListFirebaseLinksResponse, AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse> Returns the object with the settings used for calls to listFirebaseLinks.PagedCallSettings<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse, AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse> Returns the object with the settings used for calls to listGoogleAdsLinks.PagedCallSettings<ListKeyEventsRequest,ListKeyEventsResponse, AnalyticsAdminServiceClient.ListKeyEventsPagedResponse> Returns the object with the settings used for calls to listKeyEvents.PagedCallSettings<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse, AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse> Returns the object with the settings used for calls to listMeasurementProtocolSecrets.PagedCallSettings<ListPropertiesRequest,ListPropertiesResponse, AnalyticsAdminServiceClient.ListPropertiesPagedResponse> Returns the object with the settings used for calls to listProperties.Returns a new gRPC builder for this class.newBuilder(ClientContext clientContext) Returns a new builder for this class.Returns a new REST builder for this class.Returns the object with the settings used for calls to provisionAccountTicket.Returns the object with the settings used for calls to runAccessReport.PagedCallSettings<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse, AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse> Returns the object with the settings used for calls to searchChangeHistoryEvents.Returns a builder containing all the values of this settings class.Returns the object with the settings used for calls to updateAccount.Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateCustomDimension.Returns the object with the settings used for calls to updateCustomMetric.Returns the object with the settings used for calls to updateDataRetentionSettings.Returns the object with the settings used for calls to updateDataStream.Returns the object with the settings used for calls to updateGoogleAdsLink.Returns the object with the settings used for calls to updateKeyEvent.Returns the object with the settings used for calls to updateMeasurementProtocolSecret.Returns the object with the settings used for calls to updateProperty.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
AnalyticsAdminServiceSettings
protected AnalyticsAdminServiceSettings(AnalyticsAdminServiceSettings.Builder settingsBuilder) throws IOException - Throws:
IOException
-
-
Method Details
-
getAccountSettings
Returns the object with the settings used for calls to getAccount. -
listAccountsSettings
public PagedCallSettings<ListAccountsRequest,ListAccountsResponse, listAccountsSettings()AnalyticsAdminServiceClient.ListAccountsPagedResponse> Returns the object with the settings used for calls to listAccounts. -
deleteAccountSettings
Returns the object with the settings used for calls to deleteAccount. -
updateAccountSettings
Returns the object with the settings used for calls to updateAccount. -
provisionAccountTicketSettings
public UnaryCallSettings<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse> provisionAccountTicketSettings()Returns the object with the settings used for calls to provisionAccountTicket. -
listAccountSummariesSettings
public PagedCallSettings<ListAccountSummariesRequest,ListAccountSummariesResponse, listAccountSummariesSettings()AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse> Returns the object with the settings used for calls to listAccountSummaries. -
getPropertySettings
Returns the object with the settings used for calls to getProperty. -
listPropertiesSettings
public PagedCallSettings<ListPropertiesRequest,ListPropertiesResponse, listPropertiesSettings()AnalyticsAdminServiceClient.ListPropertiesPagedResponse> Returns the object with the settings used for calls to listProperties. -
createPropertySettings
Returns the object with the settings used for calls to createProperty. -
deletePropertySettings
Returns the object with the settings used for calls to deleteProperty. -
updatePropertySettings
Returns the object with the settings used for calls to updateProperty. -
createFirebaseLinkSettings
Returns the object with the settings used for calls to createFirebaseLink. -
deleteFirebaseLinkSettings
public UnaryCallSettings<DeleteFirebaseLinkRequest,com.google.protobuf.Empty> deleteFirebaseLinkSettings()Returns the object with the settings used for calls to deleteFirebaseLink. -
listFirebaseLinksSettings
public PagedCallSettings<ListFirebaseLinksRequest,ListFirebaseLinksResponse, listFirebaseLinksSettings()AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse> Returns the object with the settings used for calls to listFirebaseLinks. -
createGoogleAdsLinkSettings
Returns the object with the settings used for calls to createGoogleAdsLink. -
updateGoogleAdsLinkSettings
Returns the object with the settings used for calls to updateGoogleAdsLink. -
deleteGoogleAdsLinkSettings
public UnaryCallSettings<DeleteGoogleAdsLinkRequest,com.google.protobuf.Empty> deleteGoogleAdsLinkSettings()Returns the object with the settings used for calls to deleteGoogleAdsLink. -
listGoogleAdsLinksSettings
public PagedCallSettings<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse, listGoogleAdsLinksSettings()AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse> Returns the object with the settings used for calls to listGoogleAdsLinks. -
getDataSharingSettingsSettings
public UnaryCallSettings<GetDataSharingSettingsRequest,DataSharingSettings> getDataSharingSettingsSettings()Returns the object with the settings used for calls to getDataSharingSettings. -
getMeasurementProtocolSecretSettings
public UnaryCallSettings<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret> getMeasurementProtocolSecretSettings()Returns the object with the settings used for calls to getMeasurementProtocolSecret. -
listMeasurementProtocolSecretsSettings
public PagedCallSettings<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse, listMeasurementProtocolSecretsSettings()AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse> Returns the object with the settings used for calls to listMeasurementProtocolSecrets. -
createMeasurementProtocolSecretSettings
public UnaryCallSettings<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> createMeasurementProtocolSecretSettings()Returns the object with the settings used for calls to createMeasurementProtocolSecret. -
deleteMeasurementProtocolSecretSettings
public UnaryCallSettings<DeleteMeasurementProtocolSecretRequest,com.google.protobuf.Empty> deleteMeasurementProtocolSecretSettings()Returns the object with the settings used for calls to deleteMeasurementProtocolSecret. -
updateMeasurementProtocolSecretSettings
public UnaryCallSettings<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> updateMeasurementProtocolSecretSettings()Returns the object with the settings used for calls to updateMeasurementProtocolSecret. -
acknowledgeUserDataCollectionSettings
public UnaryCallSettings<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse> acknowledgeUserDataCollectionSettings()Returns the object with the settings used for calls to acknowledgeUserDataCollection. -
searchChangeHistoryEventsSettings
public PagedCallSettings<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse, searchChangeHistoryEventsSettings()AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse> Returns the object with the settings used for calls to searchChangeHistoryEvents. -
createConversionEventSettings
@Deprecated public UnaryCallSettings<CreateConversionEventRequest,ConversionEvent> createConversionEventSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createConversionEvent. -
updateConversionEventSettings
@Deprecated public UnaryCallSettings<UpdateConversionEventRequest,ConversionEvent> updateConversionEventSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateConversionEvent. -
getConversionEventSettings
@Deprecated public UnaryCallSettings<GetConversionEventRequest,ConversionEvent> getConversionEventSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getConversionEvent. -
deleteConversionEventSettings
@Deprecated public UnaryCallSettings<DeleteConversionEventRequest,com.google.protobuf.Empty> deleteConversionEventSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteConversionEvent. -
listConversionEventsSettings
@Deprecated public PagedCallSettings<ListConversionEventsRequest,ListConversionEventsResponse, listConversionEventsSettings()AnalyticsAdminServiceClient.ListConversionEventsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listConversionEvents. -
createKeyEventSettings
Returns the object with the settings used for calls to createKeyEvent. -
updateKeyEventSettings
Returns the object with the settings used for calls to updateKeyEvent. -
getKeyEventSettings
Returns the object with the settings used for calls to getKeyEvent. -
deleteKeyEventSettings
Returns the object with the settings used for calls to deleteKeyEvent. -
listKeyEventsSettings
public PagedCallSettings<ListKeyEventsRequest,ListKeyEventsResponse, listKeyEventsSettings()AnalyticsAdminServiceClient.ListKeyEventsPagedResponse> Returns the object with the settings used for calls to listKeyEvents. -
createCustomDimensionSettings
public UnaryCallSettings<CreateCustomDimensionRequest,CustomDimension> createCustomDimensionSettings()Returns the object with the settings used for calls to createCustomDimension. -
updateCustomDimensionSettings
public UnaryCallSettings<UpdateCustomDimensionRequest,CustomDimension> updateCustomDimensionSettings()Returns the object with the settings used for calls to updateCustomDimension. -
listCustomDimensionsSettings
public PagedCallSettings<ListCustomDimensionsRequest,ListCustomDimensionsResponse, listCustomDimensionsSettings()AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse> Returns the object with the settings used for calls to listCustomDimensions. -
archiveCustomDimensionSettings
public UnaryCallSettings<ArchiveCustomDimensionRequest,com.google.protobuf.Empty> archiveCustomDimensionSettings()Returns the object with the settings used for calls to archiveCustomDimension. -
getCustomDimensionSettings
Returns the object with the settings used for calls to getCustomDimension. -
createCustomMetricSettings
Returns the object with the settings used for calls to createCustomMetric. -
updateCustomMetricSettings
Returns the object with the settings used for calls to updateCustomMetric. -
listCustomMetricsSettings
public PagedCallSettings<ListCustomMetricsRequest,ListCustomMetricsResponse, listCustomMetricsSettings()AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse> Returns the object with the settings used for calls to listCustomMetrics. -
archiveCustomMetricSettings
public UnaryCallSettings<ArchiveCustomMetricRequest,com.google.protobuf.Empty> archiveCustomMetricSettings()Returns the object with the settings used for calls to archiveCustomMetric. -
getCustomMetricSettings
Returns the object with the settings used for calls to getCustomMetric. -
getDataRetentionSettingsSettings
public UnaryCallSettings<GetDataRetentionSettingsRequest,DataRetentionSettings> getDataRetentionSettingsSettings()Returns the object with the settings used for calls to getDataRetentionSettings. -
updateDataRetentionSettingsSettings
public UnaryCallSettings<UpdateDataRetentionSettingsRequest,DataRetentionSettings> updateDataRetentionSettingsSettings()Returns the object with the settings used for calls to updateDataRetentionSettings. -
createDataStreamSettings
Returns the object with the settings used for calls to createDataStream. -
deleteDataStreamSettings
public UnaryCallSettings<DeleteDataStreamRequest,com.google.protobuf.Empty> deleteDataStreamSettings()Returns the object with the settings used for calls to deleteDataStream. -
updateDataStreamSettings
Returns the object with the settings used for calls to updateDataStream. -
listDataStreamsSettings
public PagedCallSettings<ListDataStreamsRequest,ListDataStreamsResponse, listDataStreamsSettings()AnalyticsAdminServiceClient.ListDataStreamsPagedResponse> Returns the object with the settings used for calls to listDataStreams. -
getDataStreamSettings
Returns the object with the settings used for calls to getDataStream. -
runAccessReportSettings
Returns the object with the settings used for calls to runAccessReport. -
create
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub) throws IOException - Throws:
IOException
-
defaultExecutorProviderBuilder
Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Returns the default service endpoint. -
getDefaultServiceScopes
Returns the default service scopes. -
defaultCredentialsProviderBuilder
Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Returns a builder for the default gRPC ChannelProvider for this service. -
defaultHttpJsonTransportProviderBuilder
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()Returns a builder for the default REST ChannelProvider for this service. -
defaultTransportChannelProvider
-
defaultApiClientHeaderProviderBuilder
-
newBuilder
Returns a new gRPC builder for this class. -
newHttpJsonBuilder
Returns a new REST builder for this class. -
newBuilder
Returns a new builder for this class. -
toBuilder
Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<AnalyticsAdminServiceSettings>
-