Send feedback
Class AnalyticsAdminServiceSettings.Builder (0.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.22.0 keyboard_arrow_down
public static class AnalyticsAdminServiceSettings . Builder extends ClientSettings . Builder<AnalyticsAdminServiceSettings , AnalyticsAdminServiceSettings . Builder >
Builder for AnalyticsAdminServiceSettings.
Constructors
Builder()
Builder(AnalyticsAdminServiceSettings settings)
protected Builder ( AnalyticsAdminServiceSettings settings )
Parameter
Builder(AnalyticsAdminServiceStubSettings.Builder stubSettings)
protected Builder ( AnalyticsAdminServiceStubSettings . Builder stubSettings )
Parameter
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Methods
acknowledgeUserDataCollectionSettings()
public UnaryCallSettings . Builder<AcknowledgeUserDataCollectionRequest , AcknowledgeUserDataCollectionResponse > acknowledgeUserDataCollectionSettings ()
Returns the builder for the settings used for calls to acknowledgeUserDataCollection.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AnalyticsAdminServiceSettings . Builder applyToAllUnaryMethods ( 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
Returns
archiveCustomDimensionSettings()
public UnaryCallSettings . Builder<ArchiveCustomDimensionRequest , Empty > archiveCustomDimensionSettings ()
Returns the builder for the settings used for calls to archiveCustomDimension.
Returns
archiveCustomMetricSettings()
public UnaryCallSettings . Builder<ArchiveCustomMetricRequest , Empty > archiveCustomMetricSettings ()
Returns the builder for the settings used for calls to archiveCustomMetric.
Returns
build()
public AnalyticsAdminServiceSettings build ()
Returns
Overrides
Exceptions
createConversionEventSettings()
public UnaryCallSettings . Builder<CreateConversionEventRequest , ConversionEvent > createConversionEventSettings ()
Returns the builder for the settings used for calls to createConversionEvent.
Returns
createCustomDimensionSettings()
public UnaryCallSettings . Builder<CreateCustomDimensionRequest , CustomDimension > createCustomDimensionSettings ()
Returns the builder for the settings used for calls to createCustomDimension.
Returns
createCustomMetricSettings()
public UnaryCallSettings . Builder<CreateCustomMetricRequest , CustomMetric > createCustomMetricSettings ()
Returns the builder for the settings used for calls to createCustomMetric.
Returns
createDataStreamSettings()
public UnaryCallSettings . Builder<CreateDataStreamRequest , DataStream > createDataStreamSettings ()
Returns the builder for the settings used for calls to createDataStream.
Returns
createFirebaseLinkSettings()
public UnaryCallSettings . Builder<CreateFirebaseLinkRequest , FirebaseLink > createFirebaseLinkSettings ()
Returns the builder for the settings used for calls to createFirebaseLink.
Returns
createGoogleAdsLinkSettings()
public UnaryCallSettings . Builder<CreateGoogleAdsLinkRequest , GoogleAdsLink > createGoogleAdsLinkSettings ()
Returns the builder for the settings used for calls to createGoogleAdsLink.
Returns
createMeasurementProtocolSecretSettings()
public UnaryCallSettings . Builder<CreateMeasurementProtocolSecretRequest , MeasurementProtocolSecret > createMeasurementProtocolSecretSettings ()
Returns the builder for the settings used for calls to createMeasurementProtocolSecret.
Returns
createPropertySettings()
public UnaryCallSettings . Builder<CreatePropertyRequest , Property > createPropertySettings ()
Returns the builder for the settings used for calls to createProperty.
Returns
deleteAccountSettings()
public UnaryCallSettings . Builder<DeleteAccountRequest , Empty > deleteAccountSettings ()
Returns the builder for the settings used for calls to deleteAccount.
Returns
deleteConversionEventSettings()
public UnaryCallSettings . Builder<DeleteConversionEventRequest , Empty > deleteConversionEventSettings ()
Returns the builder for the settings used for calls to deleteConversionEvent.
Returns
deleteDataStreamSettings()
public UnaryCallSettings . Builder<DeleteDataStreamRequest , Empty > deleteDataStreamSettings ()
Returns the builder for the settings used for calls to deleteDataStream.
Returns
deleteFirebaseLinkSettings()
public UnaryCallSettings . Builder<DeleteFirebaseLinkRequest , Empty > deleteFirebaseLinkSettings ()
Returns the builder for the settings used for calls to deleteFirebaseLink.
Returns
deleteGoogleAdsLinkSettings()
public UnaryCallSettings . Builder<DeleteGoogleAdsLinkRequest , Empty > deleteGoogleAdsLinkSettings ()
Returns the builder for the settings used for calls to deleteGoogleAdsLink.
Returns
deleteMeasurementProtocolSecretSettings()
public UnaryCallSettings . Builder<DeleteMeasurementProtocolSecretRequest , Empty > deleteMeasurementProtocolSecretSettings ()
Returns the builder for the settings used for calls to deleteMeasurementProtocolSecret.
Returns
deletePropertySettings()
public UnaryCallSettings . Builder<DeletePropertyRequest , Property > deletePropertySettings ()
Returns the builder for the settings used for calls to deleteProperty.
Returns
getAccountSettings()
public UnaryCallSettings . Builder<GetAccountRequest , Account > getAccountSettings ()
Returns the builder for the settings used for calls to getAccount.
Returns
getConversionEventSettings()
public UnaryCallSettings . Builder<GetConversionEventRequest , ConversionEvent > getConversionEventSettings ()
Returns the builder for the settings used for calls to getConversionEvent.
Returns
getCustomDimensionSettings()
public UnaryCallSettings . Builder<GetCustomDimensionRequest , CustomDimension > getCustomDimensionSettings ()
Returns the builder for the settings used for calls to getCustomDimension.
Returns
getCustomMetricSettings()
public UnaryCallSettings . Builder<GetCustomMetricRequest , CustomMetric > getCustomMetricSettings ()
Returns the builder for the settings used for calls to getCustomMetric.
Returns
getDataRetentionSettingsSettings()
public UnaryCallSettings . Builder<GetDataRetentionSettingsRequest , DataRetentionSettings > getDataRetentionSettingsSettings ()
Returns the builder for the settings used for calls to getDataRetentionSettings.
Returns
getDataSharingSettingsSettings()
public UnaryCallSettings . Builder<GetDataSharingSettingsRequest , DataSharingSettings > getDataSharingSettingsSettings ()
Returns the builder for the settings used for calls to getDataSharingSettings.
Returns
getDataStreamSettings()
public UnaryCallSettings . Builder<GetDataStreamRequest , DataStream > getDataStreamSettings ()
Returns the builder for the settings used for calls to getDataStream.
Returns
getMeasurementProtocolSecretSettings()
public UnaryCallSettings . Builder<GetMeasurementProtocolSecretRequest , MeasurementProtocolSecret > getMeasurementProtocolSecretSettings ()
Returns the builder for the settings used for calls to getMeasurementProtocolSecret.
Returns
getPropertySettings()
public UnaryCallSettings . Builder<GetPropertyRequest , Property > getPropertySettings ()
Returns the builder for the settings used for calls to getProperty.
Returns
getStubSettingsBuilder()
public AnalyticsAdminServiceStubSettings . Builder getStubSettingsBuilder ()
Returns
listAccountSummariesSettings()
public PagedCallSettings . Builder<ListAccountSummariesRequest , ListAccountSummariesResponse , AnalyticsAdminServiceClient . ListAccountSummariesPagedResponse > listAccountSummariesSettings ()
Returns the builder for the settings used for calls to listAccountSummaries.
Returns
listAccountsSettings()
public PagedCallSettings . Builder<ListAccountsRequest , ListAccountsResponse , AnalyticsAdminServiceClient . ListAccountsPagedResponse > listAccountsSettings ()
Returns the builder for the settings used for calls to listAccounts.
Returns
listConversionEventsSettings()
public PagedCallSettings . Builder<ListConversionEventsRequest , ListConversionEventsResponse , AnalyticsAdminServiceClient . ListConversionEventsPagedResponse > listConversionEventsSettings ()
Returns the builder for the settings used for calls to listConversionEvents.
Returns
listCustomDimensionsSettings()
public PagedCallSettings . Builder<ListCustomDimensionsRequest , ListCustomDimensionsResponse , AnalyticsAdminServiceClient . ListCustomDimensionsPagedResponse > listCustomDimensionsSettings ()
Returns the builder for the settings used for calls to listCustomDimensions.
Returns
listCustomMetricsSettings()
public PagedCallSettings . Builder<ListCustomMetricsRequest , ListCustomMetricsResponse , AnalyticsAdminServiceClient . ListCustomMetricsPagedResponse > listCustomMetricsSettings ()
Returns the builder for the settings used for calls to listCustomMetrics.
Returns
listDataStreamsSettings()
public PagedCallSettings . Builder<ListDataStreamsRequest , ListDataStreamsResponse , AnalyticsAdminServiceClient . ListDataStreamsPagedResponse > listDataStreamsSettings ()
Returns the builder for the settings used for calls to listDataStreams.
Returns
listFirebaseLinksSettings()
public PagedCallSettings . Builder<ListFirebaseLinksRequest , ListFirebaseLinksResponse , AnalyticsAdminServiceClient . ListFirebaseLinksPagedResponse > listFirebaseLinksSettings ()
Returns the builder for the settings used for calls to listFirebaseLinks.
Returns
listGoogleAdsLinksSettings()
public PagedCallSettings . Builder<ListGoogleAdsLinksRequest , ListGoogleAdsLinksResponse , AnalyticsAdminServiceClient . ListGoogleAdsLinksPagedResponse > listGoogleAdsLinksSettings ()
Returns the builder for the settings used for calls to listGoogleAdsLinks.
Returns
listMeasurementProtocolSecretsSettings()
public PagedCallSettings . Builder<ListMeasurementProtocolSecretsRequest , ListMeasurementProtocolSecretsResponse , AnalyticsAdminServiceClient . ListMeasurementProtocolSecretsPagedResponse > listMeasurementProtocolSecretsSettings ()
Returns the builder for the settings used for calls to listMeasurementProtocolSecrets.
Returns
listPropertiesSettings()
public PagedCallSettings . Builder<ListPropertiesRequest , ListPropertiesResponse , AnalyticsAdminServiceClient . ListPropertiesPagedResponse > listPropertiesSettings ()
Returns the builder for the settings used for calls to listProperties.
Returns
provisionAccountTicketSettings()
public UnaryCallSettings . Builder<ProvisionAccountTicketRequest , ProvisionAccountTicketResponse > provisionAccountTicketSettings ()
Returns the builder for the settings used for calls to provisionAccountTicket.
Returns
searchChangeHistoryEventsSettings()
public PagedCallSettings . Builder<SearchChangeHistoryEventsRequest , SearchChangeHistoryEventsResponse , AnalyticsAdminServiceClient . SearchChangeHistoryEventsPagedResponse > searchChangeHistoryEventsSettings ()
Returns the builder for the settings used for calls to searchChangeHistoryEvents.
Returns
updateAccountSettings()
public UnaryCallSettings . Builder<UpdateAccountRequest , Account > updateAccountSettings ()
Returns the builder for the settings used for calls to updateAccount.
Returns
updateCustomDimensionSettings()
public UnaryCallSettings . Builder<UpdateCustomDimensionRequest , CustomDimension > updateCustomDimensionSettings ()
Returns the builder for the settings used for calls to updateCustomDimension.
Returns
updateCustomMetricSettings()
public UnaryCallSettings . Builder<UpdateCustomMetricRequest , CustomMetric > updateCustomMetricSettings ()
Returns the builder for the settings used for calls to updateCustomMetric.
Returns
updateDataRetentionSettingsSettings()
public UnaryCallSettings . Builder<UpdateDataRetentionSettingsRequest , DataRetentionSettings > updateDataRetentionSettingsSettings ()
Returns the builder for the settings used for calls to updateDataRetentionSettings.
Returns
updateDataStreamSettings()
public UnaryCallSettings . Builder<UpdateDataStreamRequest , DataStream > updateDataStreamSettings ()
Returns the builder for the settings used for calls to updateDataStream.
Returns
updateGoogleAdsLinkSettings()
public UnaryCallSettings . Builder<UpdateGoogleAdsLinkRequest , GoogleAdsLink > updateGoogleAdsLinkSettings ()
Returns the builder for the settings used for calls to updateGoogleAdsLink.
Returns
updateMeasurementProtocolSecretSettings()
public UnaryCallSettings . Builder<UpdateMeasurementProtocolSecretRequest , MeasurementProtocolSecret > updateMeasurementProtocolSecretSettings ()
Returns the builder for the settings used for calls to updateMeasurementProtocolSecret.
Returns
updatePropertySettings()
public UnaryCallSettings . Builder<UpdatePropertyRequest , Property > updatePropertySettings ()
Returns the builder for the settings used for calls to updateProperty.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document details the `AnalyticsAdminServiceSettings.Builder` class, which is a builder for configuring settings related to the Google Analytics Admin API service."],["The document lists a wide range of available versions, spanning from 0.14.0 to 0.70.0, with 0.70.0 being the latest version available."],["The class extends `ClientSettings.Builder` and provides methods to configure various settings like account management, custom dimensions/metrics, data streams, links, and other operations."],["It includes constructors to initialize the builder with default settings, existing settings, stub settings, or a client context."],["The document provides a detailed breakdown of methods for various actions, such as creating, deleting, getting, listing, and updating different entities like accounts, properties, and data streams."]]],[]]