Class AnalyticsAdminServiceSettings.Builder (0.70.0)

publicstaticclassAnalyticsAdminServiceSettings.BuilderextendsClientSettings.Builder<AnalyticsAdminServiceSettings,AnalyticsAdminServiceSettings.Builder>

Builder for AnalyticsAdminServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AnalyticsAdminServiceSettings.Builder

Constructors

Builder()

protectedBuilder()

Builder(AnalyticsAdminServiceSettings settings)

protectedBuilder(AnalyticsAdminServiceSettingssettings)
Parameter
NameDescription
settingsAnalyticsAdminServiceSettings

Builder(AnalyticsAdminServiceStubSettings.Builder stubSettings)

protectedBuilder(AnalyticsAdminServiceStubSettings.BuilderstubSettings)
Parameter
NameDescription
stubSettingsAnalyticsAdminServiceStubSettings.Builder

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
NameDescription
clientContextClientContext

Methods

acknowledgeUserDataCollectionSettings()

publicUnaryCallSettings.Builder<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse>acknowledgeUserDataCollectionSettings()

Returns the builder for the settings used for calls to acknowledgeUserDataCollection.

Returns
TypeDescription
Builder<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

publicAnalyticsAdminServiceSettings.BuilderapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void>settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AnalyticsAdminServiceSettings.Builder

archiveCustomDimensionSettings()

publicUnaryCallSettings.Builder<ArchiveCustomDimensionRequest,Empty>archiveCustomDimensionSettings()

Returns the builder for the settings used for calls to archiveCustomDimension.

Returns
TypeDescription
Builder<ArchiveCustomDimensionRequest,Empty>

archiveCustomMetricSettings()

publicUnaryCallSettings.Builder<ArchiveCustomMetricRequest,Empty>archiveCustomMetricSettings()

Returns the builder for the settings used for calls to archiveCustomMetric.

Returns
TypeDescription
Builder<ArchiveCustomMetricRequest,Empty>

build()

publicAnalyticsAdminServiceSettingsbuild()
Returns
TypeDescription
AnalyticsAdminServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createConversionEventSettings() (deprecated)

publicUnaryCallSettings.Builder<CreateConversionEventRequest,ConversionEvent>createConversionEventSettings()

Deprecated.This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to createConversionEvent.

Returns
TypeDescription
Builder<CreateConversionEventRequest,ConversionEvent>

createCustomDimensionSettings()

publicUnaryCallSettings.Builder<CreateCustomDimensionRequest,CustomDimension>createCustomDimensionSettings()

Returns the builder for the settings used for calls to createCustomDimension.

Returns
TypeDescription
Builder<CreateCustomDimensionRequest,CustomDimension>

createCustomMetricSettings()

publicUnaryCallSettings.Builder<CreateCustomMetricRequest,CustomMetric>createCustomMetricSettings()

Returns the builder for the settings used for calls to createCustomMetric.

Returns
TypeDescription
Builder<CreateCustomMetricRequest,CustomMetric>

createDataStreamSettings()

publicUnaryCallSettings.Builder<CreateDataStreamRequest,DataStream>createDataStreamSettings()

Returns the builder for the settings used for calls to createDataStream.

Returns
TypeDescription
Builder<CreateDataStreamRequest,DataStream>

createFirebaseLinkSettings()

publicUnaryCallSettings.Builder<CreateFirebaseLinkRequest,FirebaseLink>createFirebaseLinkSettings()

Returns the builder for the settings used for calls to createFirebaseLink.

Returns
TypeDescription
Builder<CreateFirebaseLinkRequest,FirebaseLink>

createGoogleAdsLinkSettings()

publicUnaryCallSettings.Builder<CreateGoogleAdsLinkRequest,GoogleAdsLink>createGoogleAdsLinkSettings()

Returns the builder for the settings used for calls to createGoogleAdsLink.

Returns
TypeDescription
Builder<CreateGoogleAdsLinkRequest,GoogleAdsLink>

createKeyEventSettings()

publicUnaryCallSettings.Builder<CreateKeyEventRequest,KeyEvent>createKeyEventSettings()

Returns the builder for the settings used for calls to createKeyEvent.

Returns
TypeDescription
Builder<CreateKeyEventRequest,KeyEvent>

createMeasurementProtocolSecretSettings()

publicUnaryCallSettings.Builder<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>createMeasurementProtocolSecretSettings()

Returns the builder for the settings used for calls to createMeasurementProtocolSecret.

Returns
TypeDescription
Builder<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

createPropertySettings()

publicUnaryCallSettings.Builder<CreatePropertyRequest,Property>createPropertySettings()

Returns the builder for the settings used for calls to createProperty.

Returns
TypeDescription
Builder<CreatePropertyRequest,Property>

deleteAccountSettings()

publicUnaryCallSettings.Builder<DeleteAccountRequest,Empty>deleteAccountSettings()

Returns the builder for the settings used for calls to deleteAccount.

Returns
TypeDescription
Builder<DeleteAccountRequest,Empty>

deleteConversionEventSettings() (deprecated)

publicUnaryCallSettings.Builder<DeleteConversionEventRequest,Empty>deleteConversionEventSettings()

Deprecated.This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to deleteConversionEvent.

Returns
TypeDescription
Builder<DeleteConversionEventRequest,Empty>

deleteDataStreamSettings()

publicUnaryCallSettings.Builder<DeleteDataStreamRequest,Empty>deleteDataStreamSettings()

Returns the builder for the settings used for calls to deleteDataStream.

Returns
TypeDescription
Builder<DeleteDataStreamRequest,Empty>

deleteFirebaseLinkSettings()

publicUnaryCallSettings.Builder<DeleteFirebaseLinkRequest,Empty>deleteFirebaseLinkSettings()

Returns the builder for the settings used for calls to deleteFirebaseLink.

Returns
TypeDescription
Builder<DeleteFirebaseLinkRequest,Empty>

deleteGoogleAdsLinkSettings()

publicUnaryCallSettings.Builder<DeleteGoogleAdsLinkRequest,Empty>deleteGoogleAdsLinkSettings()

Returns the builder for the settings used for calls to deleteGoogleAdsLink.

Returns
TypeDescription
Builder<DeleteGoogleAdsLinkRequest,Empty>

deleteKeyEventSettings()

publicUnaryCallSettings.Builder<DeleteKeyEventRequest,Empty>deleteKeyEventSettings()

Returns the builder for the settings used for calls to deleteKeyEvent.

Returns
TypeDescription
Builder<DeleteKeyEventRequest,Empty>

deleteMeasurementProtocolSecretSettings()

publicUnaryCallSettings.Builder<DeleteMeasurementProtocolSecretRequest,Empty>deleteMeasurementProtocolSecretSettings()

Returns the builder for the settings used for calls to deleteMeasurementProtocolSecret.

Returns
TypeDescription
Builder<DeleteMeasurementProtocolSecretRequest,Empty>

deletePropertySettings()

publicUnaryCallSettings.Builder<DeletePropertyRequest,Property>deletePropertySettings()

Returns the builder for the settings used for calls to deleteProperty.

Returns
TypeDescription
Builder<DeletePropertyRequest,Property>

getAccountSettings()

publicUnaryCallSettings.Builder<GetAccountRequest,Account>getAccountSettings()

Returns the builder for the settings used for calls to getAccount.

Returns
TypeDescription
Builder<GetAccountRequest,Account>

getConversionEventSettings() (deprecated)

publicUnaryCallSettings.Builder<GetConversionEventRequest,ConversionEvent>getConversionEventSettings()

Deprecated.This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to getConversionEvent.

Returns
TypeDescription
Builder<GetConversionEventRequest,ConversionEvent>

getCustomDimensionSettings()

publicUnaryCallSettings.Builder<GetCustomDimensionRequest,CustomDimension>getCustomDimensionSettings()

Returns the builder for the settings used for calls to getCustomDimension.

Returns
TypeDescription
Builder<GetCustomDimensionRequest,CustomDimension>

getCustomMetricSettings()

publicUnaryCallSettings.Builder<GetCustomMetricRequest,CustomMetric>getCustomMetricSettings()

Returns the builder for the settings used for calls to getCustomMetric.

Returns
TypeDescription
Builder<GetCustomMetricRequest,CustomMetric>

getDataRetentionSettingsSettings()

publicUnaryCallSettings.Builder<GetDataRetentionSettingsRequest,DataRetentionSettings>getDataRetentionSettingsSettings()

Returns the builder for the settings used for calls to getDataRetentionSettings.

Returns
TypeDescription
Builder<GetDataRetentionSettingsRequest,DataRetentionSettings>

getDataSharingSettingsSettings()

publicUnaryCallSettings.Builder<GetDataSharingSettingsRequest,DataSharingSettings>getDataSharingSettingsSettings()

Returns the builder for the settings used for calls to getDataSharingSettings.

Returns
TypeDescription
Builder<GetDataSharingSettingsRequest,DataSharingSettings>

getDataStreamSettings()

publicUnaryCallSettings.Builder<GetDataStreamRequest,DataStream>getDataStreamSettings()

Returns the builder for the settings used for calls to getDataStream.

Returns
TypeDescription
Builder<GetDataStreamRequest,DataStream>

getKeyEventSettings()

publicUnaryCallSettings.Builder<GetKeyEventRequest,KeyEvent>getKeyEventSettings()

Returns the builder for the settings used for calls to getKeyEvent.

Returns
TypeDescription
Builder<GetKeyEventRequest,KeyEvent>

getMeasurementProtocolSecretSettings()

publicUnaryCallSettings.Builder<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>getMeasurementProtocolSecretSettings()

Returns the builder for the settings used for calls to getMeasurementProtocolSecret.

Returns
TypeDescription
Builder<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

getPropertySettings()

publicUnaryCallSettings.Builder<GetPropertyRequest,Property>getPropertySettings()

Returns the builder for the settings used for calls to getProperty.

Returns
TypeDescription
Builder<GetPropertyRequest,Property>

getStubSettingsBuilder()

publicAnalyticsAdminServiceStubSettings.BuildergetStubSettingsBuilder()
Returns
TypeDescription
AnalyticsAdminServiceStubSettings.Builder

listAccountSummariesSettings()

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

Returns the builder for the settings used for calls to listAccountSummaries.

Returns
TypeDescription
Builder<ListAccountSummariesRequest,ListAccountSummariesResponse,ListAccountSummariesPagedResponse>

listAccountsSettings()

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

Returns the builder for the settings used for calls to listAccounts.

Returns
TypeDescription
Builder<ListAccountsRequest,ListAccountsResponse,ListAccountsPagedResponse>

listConversionEventsSettings() (deprecated)

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

Deprecated.This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to listConversionEvents.

Returns
TypeDescription
Builder<ListConversionEventsRequest,ListConversionEventsResponse,ListConversionEventsPagedResponse>

listCustomDimensionsSettings()

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

Returns the builder for the settings used for calls to listCustomDimensions.

Returns
TypeDescription
Builder<ListCustomDimensionsRequest,ListCustomDimensionsResponse,ListCustomDimensionsPagedResponse>

listCustomMetricsSettings()

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

Returns the builder for the settings used for calls to listCustomMetrics.

Returns
TypeDescription
Builder<ListCustomMetricsRequest,ListCustomMetricsResponse,ListCustomMetricsPagedResponse>

listDataStreamsSettings()

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

Returns the builder for the settings used for calls to listDataStreams.

Returns
TypeDescription
Builder<ListDataStreamsRequest,ListDataStreamsResponse,ListDataStreamsPagedResponse>

listFirebaseLinksSettings()

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

Returns the builder for the settings used for calls to listFirebaseLinks.

Returns
TypeDescription
Builder<ListFirebaseLinksRequest,ListFirebaseLinksResponse,ListFirebaseLinksPagedResponse>

listGoogleAdsLinksSettings()

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

Returns the builder for the settings used for calls to listGoogleAdsLinks.

Returns
TypeDescription
Builder<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,ListGoogleAdsLinksPagedResponse>

listKeyEventsSettings()

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

Returns the builder for the settings used for calls to listKeyEvents.

Returns
TypeDescription
Builder<ListKeyEventsRequest,ListKeyEventsResponse,ListKeyEventsPagedResponse>

listMeasurementProtocolSecretsSettings()

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

Returns the builder for the settings used for calls to listMeasurementProtocolSecrets.

Returns
TypeDescription
Builder<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,ListMeasurementProtocolSecretsPagedResponse>

listPropertiesSettings()

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

Returns the builder for the settings used for calls to listProperties.

Returns
TypeDescription
Builder<ListPropertiesRequest,ListPropertiesResponse,ListPropertiesPagedResponse>

provisionAccountTicketSettings()

publicUnaryCallSettings.Builder<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>provisionAccountTicketSettings()

Returns the builder for the settings used for calls to provisionAccountTicket.

Returns
TypeDescription
Builder<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>

runAccessReportSettings()

publicUnaryCallSettings.Builder<RunAccessReportRequest,RunAccessReportResponse>runAccessReportSettings()

Returns the builder for the settings used for calls to runAccessReport.

Returns
TypeDescription
Builder<RunAccessReportRequest,RunAccessReportResponse>

searchChangeHistoryEventsSettings()

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

Returns the builder for the settings used for calls to searchChangeHistoryEvents.

Returns
TypeDescription
Builder<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,SearchChangeHistoryEventsPagedResponse>

updateAccountSettings()

publicUnaryCallSettings.Builder<UpdateAccountRequest,Account>updateAccountSettings()

Returns the builder for the settings used for calls to updateAccount.

Returns
TypeDescription
Builder<UpdateAccountRequest,Account>

updateConversionEventSettings() (deprecated)

publicUnaryCallSettings.Builder<UpdateConversionEventRequest,ConversionEvent>updateConversionEventSettings()

Deprecated.This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to updateConversionEvent.

Returns
TypeDescription
Builder<UpdateConversionEventRequest,ConversionEvent>

updateCustomDimensionSettings()

publicUnaryCallSettings.Builder<UpdateCustomDimensionRequest,CustomDimension>updateCustomDimensionSettings()

Returns the builder for the settings used for calls to updateCustomDimension.

Returns
TypeDescription
Builder<UpdateCustomDimensionRequest,CustomDimension>

updateCustomMetricSettings()

publicUnaryCallSettings.Builder<UpdateCustomMetricRequest,CustomMetric>updateCustomMetricSettings()

Returns the builder for the settings used for calls to updateCustomMetric.

Returns
TypeDescription
Builder<UpdateCustomMetricRequest,CustomMetric>

updateDataRetentionSettingsSettings()

publicUnaryCallSettings.Builder<UpdateDataRetentionSettingsRequest,DataRetentionSettings>updateDataRetentionSettingsSettings()

Returns the builder for the settings used for calls to updateDataRetentionSettings.

Returns
TypeDescription
Builder<UpdateDataRetentionSettingsRequest,DataRetentionSettings>

updateDataStreamSettings()

publicUnaryCallSettings.Builder<UpdateDataStreamRequest,DataStream>updateDataStreamSettings()

Returns the builder for the settings used for calls to updateDataStream.

Returns
TypeDescription
Builder<UpdateDataStreamRequest,DataStream>

updateGoogleAdsLinkSettings()

publicUnaryCallSettings.Builder<UpdateGoogleAdsLinkRequest,GoogleAdsLink>updateGoogleAdsLinkSettings()

Returns the builder for the settings used for calls to updateGoogleAdsLink.

Returns
TypeDescription
Builder<UpdateGoogleAdsLinkRequest,GoogleAdsLink>

updateKeyEventSettings()

publicUnaryCallSettings.Builder<UpdateKeyEventRequest,KeyEvent>updateKeyEventSettings()

Returns the builder for the settings used for calls to updateKeyEvent.

Returns
TypeDescription
Builder<UpdateKeyEventRequest,KeyEvent>

updateMeasurementProtocolSecretSettings()

publicUnaryCallSettings.Builder<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>updateMeasurementProtocolSecretSettings()

Returns the builder for the settings used for calls to updateMeasurementProtocolSecret.

Returns
TypeDescription
Builder<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

updatePropertySettings()

publicUnaryCallSettings.Builder<UpdatePropertyRequest,Property>updatePropertySettings()

Returns the builder for the settings used for calls to updateProperty.

Returns
TypeDescription
Builder<UpdatePropertyRequest,Property>