Class AnalyticsAdminServiceSettings (0.70.0)

publicclassAnalyticsAdminServiceSettingsextendsClientSettings<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 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_libraryAnalyticsAdminServiceSettings.BuilderanalyticsAdminServiceSettingsBuilder=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());AnalyticsAdminServiceSettingsanalyticsAdminServiceSettings=analyticsAdminServiceSettingsBuilder.build();

Please refer to the Client Side Retry Guide for additional support in setting retries.

Inheritance

java.lang.Object > ClientSettings > AnalyticsAdminServiceSettings

Static Methods

create(AnalyticsAdminServiceStubSettings stub)

publicstaticfinalAnalyticsAdminServiceSettingscreate(AnalyticsAdminServiceStubSettingsstub)
Parameter
NameDescription
stubAnalyticsAdminServiceStubSettings
Returns
TypeDescription
AnalyticsAdminServiceSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

publicstaticApiClientHeaderProvider.BuilderdefaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

publicstaticGoogleCredentialsProvider.BuilderdefaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

publicstaticInstantiatingExecutorProvider.BuilderdefaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

publicstaticInstantiatingGrpcChannelProvider.BuilderdefaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

publicstaticInstantiatingHttpJsonChannelProvider.BuilderdefaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

publicstaticTransportChannelProviderdefaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

publicstaticStringgetDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

publicstaticList<String>getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

publicstaticAnalyticsAdminServiceSettings.BuildernewBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
AnalyticsAdminServiceSettings.Builder

newBuilder(ClientContext clientContext)

publicstaticAnalyticsAdminServiceSettings.BuildernewBuilder(ClientContextclientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
AnalyticsAdminServiceSettings.Builder

newHttpJsonBuilder()

publicstaticAnalyticsAdminServiceSettings.BuildernewHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
AnalyticsAdminServiceSettings.Builder

Constructors

AnalyticsAdminServiceSettings(AnalyticsAdminServiceSettings.Builder settingsBuilder)

protectedAnalyticsAdminServiceSettings(AnalyticsAdminServiceSettings.BuildersettingsBuilder)
Parameter
NameDescription
settingsBuilderAnalyticsAdminServiceSettings.Builder

Methods

acknowledgeUserDataCollectionSettings()

publicUnaryCallSettings<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse>acknowledgeUserDataCollectionSettings()

Returns the object with the settings used for calls to acknowledgeUserDataCollection.

Returns
TypeDescription
UnaryCallSettings<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse>

archiveCustomDimensionSettings()

publicUnaryCallSettings<ArchiveCustomDimensionRequest,Empty>archiveCustomDimensionSettings()

Returns the object with the settings used for calls to archiveCustomDimension.

Returns
TypeDescription
UnaryCallSettings<ArchiveCustomDimensionRequest,Empty>

archiveCustomMetricSettings()

publicUnaryCallSettings<ArchiveCustomMetricRequest,Empty>archiveCustomMetricSettings()

Returns the object with the settings used for calls to archiveCustomMetric.

Returns
TypeDescription
UnaryCallSettings<ArchiveCustomMetricRequest,Empty>

createConversionEventSettings() (deprecated)

publicUnaryCallSettings<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.

Returns
TypeDescription
UnaryCallSettings<CreateConversionEventRequest,ConversionEvent>

createCustomDimensionSettings()

publicUnaryCallSettings<CreateCustomDimensionRequest,CustomDimension>createCustomDimensionSettings()

Returns the object with the settings used for calls to createCustomDimension.

Returns
TypeDescription
UnaryCallSettings<CreateCustomDimensionRequest,CustomDimension>

createCustomMetricSettings()

publicUnaryCallSettings<CreateCustomMetricRequest,CustomMetric>createCustomMetricSettings()

Returns the object with the settings used for calls to createCustomMetric.

Returns
TypeDescription
UnaryCallSettings<CreateCustomMetricRequest,CustomMetric>

createDataStreamSettings()

publicUnaryCallSettings<CreateDataStreamRequest,DataStream>createDataStreamSettings()

Returns the object with the settings used for calls to createDataStream.

Returns
TypeDescription
UnaryCallSettings<CreateDataStreamRequest,DataStream>

createFirebaseLinkSettings()

publicUnaryCallSettings<CreateFirebaseLinkRequest,FirebaseLink>createFirebaseLinkSettings()

Returns the object with the settings used for calls to createFirebaseLink.

Returns
TypeDescription
UnaryCallSettings<CreateFirebaseLinkRequest,FirebaseLink>

createGoogleAdsLinkSettings()

publicUnaryCallSettings<CreateGoogleAdsLinkRequest,GoogleAdsLink>createGoogleAdsLinkSettings()

Returns the object with the settings used for calls to createGoogleAdsLink.

Returns
TypeDescription
UnaryCallSettings<CreateGoogleAdsLinkRequest,GoogleAdsLink>

createKeyEventSettings()

publicUnaryCallSettings<CreateKeyEventRequest,KeyEvent>createKeyEventSettings()

Returns the object with the settings used for calls to createKeyEvent.

Returns
TypeDescription
UnaryCallSettings<CreateKeyEventRequest,KeyEvent>

createMeasurementProtocolSecretSettings()

publicUnaryCallSettings<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>createMeasurementProtocolSecretSettings()

Returns the object with the settings used for calls to createMeasurementProtocolSecret.

Returns
TypeDescription
UnaryCallSettings<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

createPropertySettings()

publicUnaryCallSettings<CreatePropertyRequest,Property>createPropertySettings()

Returns the object with the settings used for calls to createProperty.

Returns
TypeDescription
UnaryCallSettings<CreatePropertyRequest,Property>

deleteAccountSettings()

publicUnaryCallSettings<DeleteAccountRequest,Empty>deleteAccountSettings()

Returns the object with the settings used for calls to deleteAccount.

Returns
TypeDescription
UnaryCallSettings<DeleteAccountRequest,Empty>

deleteConversionEventSettings() (deprecated)

publicUnaryCallSettings<DeleteConversionEventRequest,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.

Returns
TypeDescription
UnaryCallSettings<DeleteConversionEventRequest,Empty>

deleteDataStreamSettings()

publicUnaryCallSettings<DeleteDataStreamRequest,Empty>deleteDataStreamSettings()

Returns the object with the settings used for calls to deleteDataStream.

Returns
TypeDescription
UnaryCallSettings<DeleteDataStreamRequest,Empty>

deleteFirebaseLinkSettings()

publicUnaryCallSettings<DeleteFirebaseLinkRequest,Empty>deleteFirebaseLinkSettings()

Returns the object with the settings used for calls to deleteFirebaseLink.

Returns
TypeDescription
UnaryCallSettings<DeleteFirebaseLinkRequest,Empty>

deleteGoogleAdsLinkSettings()

publicUnaryCallSettings<DeleteGoogleAdsLinkRequest,Empty>deleteGoogleAdsLinkSettings()

Returns the object with the settings used for calls to deleteGoogleAdsLink.

Returns
TypeDescription
UnaryCallSettings<DeleteGoogleAdsLinkRequest,Empty>

deleteKeyEventSettings()

publicUnaryCallSettings<DeleteKeyEventRequest,Empty>deleteKeyEventSettings()

Returns the object with the settings used for calls to deleteKeyEvent.

Returns
TypeDescription
UnaryCallSettings<DeleteKeyEventRequest,Empty>

deleteMeasurementProtocolSecretSettings()

publicUnaryCallSettings<DeleteMeasurementProtocolSecretRequest,Empty>deleteMeasurementProtocolSecretSettings()

Returns the object with the settings used for calls to deleteMeasurementProtocolSecret.

Returns
TypeDescription
UnaryCallSettings<DeleteMeasurementProtocolSecretRequest,Empty>

deletePropertySettings()

publicUnaryCallSettings<DeletePropertyRequest,Property>deletePropertySettings()

Returns the object with the settings used for calls to deleteProperty.

Returns
TypeDescription
UnaryCallSettings<DeletePropertyRequest,Property>

getAccountSettings()

publicUnaryCallSettings<GetAccountRequest,Account>getAccountSettings()

Returns the object with the settings used for calls to getAccount.

Returns
TypeDescription
UnaryCallSettings<GetAccountRequest,Account>

getConversionEventSettings() (deprecated)

publicUnaryCallSettings<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.

Returns
TypeDescription
UnaryCallSettings<GetConversionEventRequest,ConversionEvent>

getCustomDimensionSettings()

publicUnaryCallSettings<GetCustomDimensionRequest,CustomDimension>getCustomDimensionSettings()

Returns the object with the settings used for calls to getCustomDimension.

Returns
TypeDescription
UnaryCallSettings<GetCustomDimensionRequest,CustomDimension>

getCustomMetricSettings()

publicUnaryCallSettings<GetCustomMetricRequest,CustomMetric>getCustomMetricSettings()

Returns the object with the settings used for calls to getCustomMetric.

Returns
TypeDescription
UnaryCallSettings<GetCustomMetricRequest,CustomMetric>

getDataRetentionSettingsSettings()

publicUnaryCallSettings<GetDataRetentionSettingsRequest,DataRetentionSettings>getDataRetentionSettingsSettings()

Returns the object with the settings used for calls to getDataRetentionSettings.

Returns
TypeDescription
UnaryCallSettings<GetDataRetentionSettingsRequest,DataRetentionSettings>

getDataSharingSettingsSettings()

publicUnaryCallSettings<GetDataSharingSettingsRequest,DataSharingSettings>getDataSharingSettingsSettings()

Returns the object with the settings used for calls to getDataSharingSettings.

Returns
TypeDescription
UnaryCallSettings<GetDataSharingSettingsRequest,DataSharingSettings>

getDataStreamSettings()

publicUnaryCallSettings<GetDataStreamRequest,DataStream>getDataStreamSettings()

Returns the object with the settings used for calls to getDataStream.

Returns
TypeDescription
UnaryCallSettings<GetDataStreamRequest,DataStream>

getKeyEventSettings()

publicUnaryCallSettings<GetKeyEventRequest,KeyEvent>getKeyEventSettings()

Returns the object with the settings used for calls to getKeyEvent.

Returns
TypeDescription
UnaryCallSettings<GetKeyEventRequest,KeyEvent>

getMeasurementProtocolSecretSettings()

publicUnaryCallSettings<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>getMeasurementProtocolSecretSettings()

Returns the object with the settings used for calls to getMeasurementProtocolSecret.

Returns
TypeDescription
UnaryCallSettings<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

getPropertySettings()

publicUnaryCallSettings<GetPropertyRequest,Property>getPropertySettings()

Returns the object with the settings used for calls to getProperty.

Returns
TypeDescription
UnaryCallSettings<GetPropertyRequest,Property>

listAccountSummariesSettings()

publicPagedCallSettings<ListAccountSummariesRequest,ListAccountSummariesResponse,AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse>listAccountSummariesSettings()

Returns the object with the settings used for calls to listAccountSummaries.

Returns
TypeDescription
PagedCallSettings<ListAccountSummariesRequest,ListAccountSummariesResponse,ListAccountSummariesPagedResponse>

listAccountsSettings()

publicPagedCallSettings<ListAccountsRequest,ListAccountsResponse,AnalyticsAdminServiceClient.ListAccountsPagedResponse>listAccountsSettings()

Returns the object with the settings used for calls to listAccounts.

Returns
TypeDescription
PagedCallSettings<ListAccountsRequest,ListAccountsResponse,ListAccountsPagedResponse>

listConversionEventsSettings() (deprecated)

publicPagedCallSettings<ListConversionEventsRequest,ListConversionEventsResponse,AnalyticsAdminServiceClient.ListConversionEventsPagedResponse>listConversionEventsSettings()

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.

Returns
TypeDescription
PagedCallSettings<ListConversionEventsRequest,ListConversionEventsResponse,ListConversionEventsPagedResponse>

listCustomDimensionsSettings()

publicPagedCallSettings<ListCustomDimensionsRequest,ListCustomDimensionsResponse,AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse>listCustomDimensionsSettings()

Returns the object with the settings used for calls to listCustomDimensions.

Returns
TypeDescription
PagedCallSettings<ListCustomDimensionsRequest,ListCustomDimensionsResponse,ListCustomDimensionsPagedResponse>

listCustomMetricsSettings()

publicPagedCallSettings<ListCustomMetricsRequest,ListCustomMetricsResponse,AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse>listCustomMetricsSettings()

Returns the object with the settings used for calls to listCustomMetrics.

Returns
TypeDescription
PagedCallSettings<ListCustomMetricsRequest,ListCustomMetricsResponse,ListCustomMetricsPagedResponse>

listDataStreamsSettings()

publicPagedCallSettings<ListDataStreamsRequest,ListDataStreamsResponse,AnalyticsAdminServiceClient.ListDataStreamsPagedResponse>listDataStreamsSettings()

Returns the object with the settings used for calls to listDataStreams.

Returns
TypeDescription
PagedCallSettings<ListDataStreamsRequest,ListDataStreamsResponse,ListDataStreamsPagedResponse>

listFirebaseLinksSettings()

publicPagedCallSettings<ListFirebaseLinksRequest,ListFirebaseLinksResponse,AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse>listFirebaseLinksSettings()

Returns the object with the settings used for calls to listFirebaseLinks.

Returns
TypeDescription
PagedCallSettings<ListFirebaseLinksRequest,ListFirebaseLinksResponse,ListFirebaseLinksPagedResponse>

listGoogleAdsLinksSettings()

publicPagedCallSettings<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse>listGoogleAdsLinksSettings()

Returns the object with the settings used for calls to listGoogleAdsLinks.

Returns
TypeDescription
PagedCallSettings<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,ListGoogleAdsLinksPagedResponse>

listKeyEventsSettings()

publicPagedCallSettings<ListKeyEventsRequest,ListKeyEventsResponse,AnalyticsAdminServiceClient.ListKeyEventsPagedResponse>listKeyEventsSettings()

Returns the object with the settings used for calls to listKeyEvents.

Returns
TypeDescription
PagedCallSettings<ListKeyEventsRequest,ListKeyEventsResponse,ListKeyEventsPagedResponse>

listMeasurementProtocolSecretsSettings()

publicPagedCallSettings<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse>listMeasurementProtocolSecretsSettings()

Returns the object with the settings used for calls to listMeasurementProtocolSecrets.

Returns
TypeDescription
PagedCallSettings<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,ListMeasurementProtocolSecretsPagedResponse>

listPropertiesSettings()

publicPagedCallSettings<ListPropertiesRequest,ListPropertiesResponse,AnalyticsAdminServiceClient.ListPropertiesPagedResponse>listPropertiesSettings()

Returns the object with the settings used for calls to listProperties.

Returns
TypeDescription
PagedCallSettings<ListPropertiesRequest,ListPropertiesResponse,ListPropertiesPagedResponse>

provisionAccountTicketSettings()

publicUnaryCallSettings<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>provisionAccountTicketSettings()

Returns the object with the settings used for calls to provisionAccountTicket.

Returns
TypeDescription
UnaryCallSettings<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>

runAccessReportSettings()

publicUnaryCallSettings<RunAccessReportRequest,RunAccessReportResponse>runAccessReportSettings()

Returns the object with the settings used for calls to runAccessReport.

Returns
TypeDescription
UnaryCallSettings<RunAccessReportRequest,RunAccessReportResponse>

searchChangeHistoryEventsSettings()

publicPagedCallSettings<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse>searchChangeHistoryEventsSettings()

Returns the object with the settings used for calls to searchChangeHistoryEvents.

Returns
TypeDescription
PagedCallSettings<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,SearchChangeHistoryEventsPagedResponse>

toBuilder()

publicAnalyticsAdminServiceSettings.BuildertoBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
AnalyticsAdminServiceSettings.Builder
Overrides

updateAccountSettings()

publicUnaryCallSettings<UpdateAccountRequest,Account>updateAccountSettings()

Returns the object with the settings used for calls to updateAccount.

Returns
TypeDescription
UnaryCallSettings<UpdateAccountRequest,Account>

updateConversionEventSettings() (deprecated)

publicUnaryCallSettings<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.

Returns
TypeDescription
UnaryCallSettings<UpdateConversionEventRequest,ConversionEvent>

updateCustomDimensionSettings()

publicUnaryCallSettings<UpdateCustomDimensionRequest,CustomDimension>updateCustomDimensionSettings()

Returns the object with the settings used for calls to updateCustomDimension.

Returns
TypeDescription
UnaryCallSettings<UpdateCustomDimensionRequest,CustomDimension>

updateCustomMetricSettings()

publicUnaryCallSettings<UpdateCustomMetricRequest,CustomMetric>updateCustomMetricSettings()

Returns the object with the settings used for calls to updateCustomMetric.

Returns
TypeDescription
UnaryCallSettings<UpdateCustomMetricRequest,CustomMetric>

updateDataRetentionSettingsSettings()

publicUnaryCallSettings<UpdateDataRetentionSettingsRequest,DataRetentionSettings>updateDataRetentionSettingsSettings()

Returns the object with the settings used for calls to updateDataRetentionSettings.

Returns
TypeDescription
UnaryCallSettings<UpdateDataRetentionSettingsRequest,DataRetentionSettings>

updateDataStreamSettings()

publicUnaryCallSettings<UpdateDataStreamRequest,DataStream>updateDataStreamSettings()

Returns the object with the settings used for calls to updateDataStream.

Returns
TypeDescription
UnaryCallSettings<UpdateDataStreamRequest,DataStream>

updateGoogleAdsLinkSettings()

publicUnaryCallSettings<UpdateGoogleAdsLinkRequest,GoogleAdsLink>updateGoogleAdsLinkSettings()

Returns the object with the settings used for calls to updateGoogleAdsLink.

Returns
TypeDescription
UnaryCallSettings<UpdateGoogleAdsLinkRequest,GoogleAdsLink>

updateKeyEventSettings()

publicUnaryCallSettings<UpdateKeyEventRequest,KeyEvent>updateKeyEventSettings()

Returns the object with the settings used for calls to updateKeyEvent.

Returns
TypeDescription
UnaryCallSettings<UpdateKeyEventRequest,KeyEvent>

updateMeasurementProtocolSecretSettings()

publicUnaryCallSettings<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>updateMeasurementProtocolSecretSettings()

Returns the object with the settings used for calls to updateMeasurementProtocolSecret.

Returns
TypeDescription
UnaryCallSettings<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

updatePropertySettings()

publicUnaryCallSettings<UpdatePropertyRequest,Property>updatePropertySettings()

Returns the object with the settings used for calls to updateProperty.

Returns
TypeDescription
UnaryCallSettings<UpdatePropertyRequest,Property>