Class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub>
com.google.analytics.admin.v1alpha.AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub
Enclosing class:
AnalyticsAdminServiceGrpc

public static final class AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService.
 Service Interface for the Google Analytics Admin API.
 
  • Method Details

    • build

      protected AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AnalyticsAdminServiceGrpc.AnalyticsAdminServiceBlockingV2Stub>
    • getAccount

      public Account getAccount(GetAccountRequest request) throws io.grpc.StatusException
       Lookup for a single Account.
       
      Throws:
      io.grpc.StatusException
    • listAccounts

      public ListAccountsResponse listAccounts(ListAccountsRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deleteAccount

      public com.google.protobuf.Empty deleteAccount(DeleteAccountRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • updateAccount

      public Account updateAccount(UpdateAccountRequest request) throws io.grpc.StatusException
       Updates an account.
       
      Throws:
      io.grpc.StatusException
    • provisionAccountTicket

      public ProvisionAccountTicketResponse provisionAccountTicket(ProvisionAccountTicketRequest request) throws io.grpc.StatusException
       Requests a ticket for creating an account.
       
      Throws:
      io.grpc.StatusException
    • listAccountSummaries

      public ListAccountSummariesResponse listAccountSummaries(ListAccountSummariesRequest request) throws io.grpc.StatusException
       Returns summaries of all accounts accessible by the caller.
       
      Throws:
      io.grpc.StatusException
    • getProperty

      public Property getProperty(GetPropertyRequest request) throws io.grpc.StatusException
       Lookup for a single GA Property.
       
      Throws:
      io.grpc.StatusException
    • listProperties

      public ListPropertiesResponse listProperties(ListPropertiesRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • createProperty

      public Property createProperty(CreatePropertyRequest request) throws io.grpc.StatusException
       Creates a Google Analytics property with the specified location and
       attributes.
       
      Throws:
      io.grpc.StatusException
    • deleteProperty

      public Property deleteProperty(DeletePropertyRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • updateProperty

      public Property updateProperty(UpdatePropertyRequest request) throws io.grpc.StatusException
       Updates a property.
       
      Throws:
      io.grpc.StatusException
    • createFirebaseLink

      public FirebaseLink createFirebaseLink(CreateFirebaseLinkRequest request) throws io.grpc.StatusException
       Creates a FirebaseLink.
       Properties can have at most one FirebaseLink.
       
      Throws:
      io.grpc.StatusException
    • deleteFirebaseLink

      public com.google.protobuf.Empty deleteFirebaseLink(DeleteFirebaseLinkRequest request) throws io.grpc.StatusException
       Deletes a FirebaseLink on a property
       
      Throws:
      io.grpc.StatusException
    • listFirebaseLinks

      public ListFirebaseLinksResponse listFirebaseLinks(ListFirebaseLinksRequest request) throws io.grpc.StatusException
       Lists FirebaseLinks on a property.
       Properties can have at most one FirebaseLink.
       
      Throws:
      io.grpc.StatusException
    • getGlobalSiteTag

      public GlobalSiteTag getGlobalSiteTag(GetGlobalSiteTagRequest request) throws io.grpc.StatusException
       Returns the Site Tag for the specified web stream.
       Site Tags are immutable singletons.
       
      Throws:
      io.grpc.StatusException
    • createGoogleAdsLink

      public GoogleAdsLink createGoogleAdsLink(CreateGoogleAdsLinkRequest request) throws io.grpc.StatusException
       Creates a GoogleAdsLink.
       
      Throws:
      io.grpc.StatusException
    • updateGoogleAdsLink

      public GoogleAdsLink updateGoogleAdsLink(UpdateGoogleAdsLinkRequest request) throws io.grpc.StatusException
       Updates a GoogleAdsLink on a property
       
      Throws:
      io.grpc.StatusException
    • deleteGoogleAdsLink

      public com.google.protobuf.Empty deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request) throws io.grpc.StatusException
       Deletes a GoogleAdsLink on a property
       
      Throws:
      io.grpc.StatusException
    • listGoogleAdsLinks

      public ListGoogleAdsLinksResponse listGoogleAdsLinks(ListGoogleAdsLinksRequest request) throws io.grpc.StatusException
       Lists GoogleAdsLinks on a property.
       
      Throws:
      io.grpc.StatusException
    • getDataSharingSettings

      public DataSharingSettings getDataSharingSettings(GetDataSharingSettingsRequest request) throws io.grpc.StatusException
       Get data sharing settings on an account.
       Data sharing settings are singletons.
       
      Throws:
      io.grpc.StatusException
    • getMeasurementProtocolSecret

      public MeasurementProtocolSecret getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request) throws io.grpc.StatusException
       Lookup for a single MeasurementProtocolSecret.
       
      Throws:
      io.grpc.StatusException
    • listMeasurementProtocolSecrets

      public ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request) throws io.grpc.StatusException
       Returns child MeasurementProtocolSecrets under the specified parent
       Property.
       
      Throws:
      io.grpc.StatusException
    • createMeasurementProtocolSecret

      public MeasurementProtocolSecret createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request) throws io.grpc.StatusException
       Creates a measurement protocol secret.
       
      Throws:
      io.grpc.StatusException
    • deleteMeasurementProtocolSecret

      public com.google.protobuf.Empty deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request) throws io.grpc.StatusException
       Deletes target MeasurementProtocolSecret.
       
      Throws:
      io.grpc.StatusException
    • updateMeasurementProtocolSecret

      public MeasurementProtocolSecret updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request) throws io.grpc.StatusException
       Updates a measurement protocol secret.
       
      Throws:
      io.grpc.StatusException
    • acknowledgeUserDataCollection

      public AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • getSKAdNetworkConversionValueSchema

      public SKAdNetworkConversionValueSchema getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request) throws io.grpc.StatusException
       Looks up a single SKAdNetworkConversionValueSchema.
       
      Throws:
      io.grpc.StatusException
    • createSKAdNetworkConversionValueSchema

      public SKAdNetworkConversionValueSchema createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request) throws io.grpc.StatusException
       Creates a SKAdNetworkConversionValueSchema.
       
      Throws:
      io.grpc.StatusException
    • deleteSKAdNetworkConversionValueSchema

      public com.google.protobuf.Empty deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request) throws io.grpc.StatusException
       Deletes target SKAdNetworkConversionValueSchema.
       
      Throws:
      io.grpc.StatusException
    • updateSKAdNetworkConversionValueSchema

      public SKAdNetworkConversionValueSchema updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request) throws io.grpc.StatusException
       Updates a SKAdNetworkConversionValueSchema.
       
      Throws:
      io.grpc.StatusException
    • listSKAdNetworkConversionValueSchemas

      public ListSKAdNetworkConversionValueSchemasResponse listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request) throws io.grpc.StatusException
       Lists SKAdNetworkConversionValueSchema on a stream.
       Properties can have at most one SKAdNetworkConversionValueSchema.
       
      Throws:
      io.grpc.StatusException
    • searchChangeHistoryEvents

      public SearchChangeHistoryEventsResponse searchChangeHistoryEvents(SearchChangeHistoryEventsRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • getGoogleSignalsSettings

      public GoogleSignalsSettings getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request) throws io.grpc.StatusException
       Lookup for Google Signals settings for a property.
       
      Throws:
      io.grpc.StatusException
    • updateGoogleSignalsSettings

      public GoogleSignalsSettings updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request) throws io.grpc.StatusException
       Updates Google Signals settings for a property.
       
      Throws:
      io.grpc.StatusException
    • createConversionEvent

      @Deprecated public ConversionEvent createConversionEvent(CreateConversionEventRequest request) throws io.grpc.StatusException
      Deprecated.
       Deprecated: Use `CreateKeyEvent` instead.
       Creates a conversion event with the specified attributes.
       
      Throws:
      io.grpc.StatusException
    • updateConversionEvent

      @Deprecated public ConversionEvent updateConversionEvent(UpdateConversionEventRequest request) throws io.grpc.StatusException
      Deprecated.
       Deprecated: Use `UpdateKeyEvent` instead.
       Updates a conversion event with the specified attributes.
       
      Throws:
      io.grpc.StatusException
    • getConversionEvent

      @Deprecated public ConversionEvent getConversionEvent(GetConversionEventRequest request) throws io.grpc.StatusException
      Deprecated.
       Deprecated: Use `GetKeyEvent` instead.
       Retrieve a single conversion event.
       
      Throws:
      io.grpc.StatusException
    • deleteConversionEvent

      @Deprecated public com.google.protobuf.Empty deleteConversionEvent(DeleteConversionEventRequest request) throws io.grpc.StatusException
      Deprecated.
       Deprecated: Use `DeleteKeyEvent` instead.
       Deletes a conversion event in a property.
       
      Throws:
      io.grpc.StatusException
    • listConversionEvents

      @Deprecated public ListConversionEventsResponse listConversionEvents(ListConversionEventsRequest request) throws io.grpc.StatusException
      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.
       
      Throws:
      io.grpc.StatusException
    • createKeyEvent

      public KeyEvent createKeyEvent(CreateKeyEventRequest request) throws io.grpc.StatusException
       Creates a Key Event.
       
      Throws:
      io.grpc.StatusException
    • updateKeyEvent

      public KeyEvent updateKeyEvent(UpdateKeyEventRequest request) throws io.grpc.StatusException
       Updates a Key Event.
       
      Throws:
      io.grpc.StatusException
    • getKeyEvent

      public KeyEvent getKeyEvent(GetKeyEventRequest request) throws io.grpc.StatusException
       Retrieve a single Key Event.
       
      Throws:
      io.grpc.StatusException
    • deleteKeyEvent

      public com.google.protobuf.Empty deleteKeyEvent(DeleteKeyEventRequest request) throws io.grpc.StatusException
       Deletes a Key Event.
       
      Throws:
      io.grpc.StatusException
    • listKeyEvents

      public ListKeyEventsResponse listKeyEvents(ListKeyEventsRequest request) throws io.grpc.StatusException
       Returns a list of Key Events in the specified parent property.
       Returns an empty list if no Key Events are found.
       
      Throws:
      io.grpc.StatusException
    • getDisplayVideo360AdvertiserLink

      public DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest request) throws io.grpc.StatusException
       Look up a single DisplayVideo360AdvertiserLink
       
      Throws:
      io.grpc.StatusException
    • listDisplayVideo360AdvertiserLinks

      public ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest request) throws io.grpc.StatusException
       Lists all DisplayVideo360AdvertiserLinks on a property.
       
      Throws:
      io.grpc.StatusException
    • createDisplayVideo360AdvertiserLink

      public DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest request) throws io.grpc.StatusException
       Creates a DisplayVideo360AdvertiserLink.
       This can only be utilized by users who have proper authorization both on
       the Google Analytics property and on the Display & Video 360 advertiser.
       Users who do not have access to the Display & Video 360 advertiser should
       instead seek to create a DisplayVideo360LinkProposal.
       
      Throws:
      io.grpc.StatusException
    • deleteDisplayVideo360AdvertiserLink

      public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest request) throws io.grpc.StatusException
       Deletes a DisplayVideo360AdvertiserLink on a property.
       
      Throws:
      io.grpc.StatusException
    • updateDisplayVideo360AdvertiserLink

      public DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest request) throws io.grpc.StatusException
       Updates a DisplayVideo360AdvertiserLink on a property.
       
      Throws:
      io.grpc.StatusException
    • getDisplayVideo360AdvertiserLinkProposal

      public DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request) throws io.grpc.StatusException
       Lookup for a single DisplayVideo360AdvertiserLinkProposal.
       
      Throws:
      io.grpc.StatusException
    • listDisplayVideo360AdvertiserLinkProposals

      public ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request) throws io.grpc.StatusException
       Lists DisplayVideo360AdvertiserLinkProposals on a property.
       
      Throws:
      io.grpc.StatusException
    • createDisplayVideo360AdvertiserLinkProposal

      public DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request) throws io.grpc.StatusException
       Creates a DisplayVideo360AdvertiserLinkProposal.
       
      Throws:
      io.grpc.StatusException
    • deleteDisplayVideo360AdvertiserLinkProposal

      public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request) throws io.grpc.StatusException
       Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
       This can only be used on cancelled proposals.
       
      Throws:
      io.grpc.StatusException
    • approveDisplayVideo360AdvertiserLinkProposal

      public ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request) throws io.grpc.StatusException
       Approves a DisplayVideo360AdvertiserLinkProposal.
       The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
       DisplayVideo360AdvertiserLink will be created.
       
      Throws:
      io.grpc.StatusException
    • cancelDisplayVideo360AdvertiserLinkProposal

      public DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request) throws io.grpc.StatusException
       Cancels a DisplayVideo360AdvertiserLinkProposal.
       Cancelling can mean either:
       - Declining a proposal initiated from Display & Video 360
       - Withdrawing a proposal initiated from Google Analytics
       After being cancelled, a proposal will eventually be deleted automatically.
       
      Throws:
      io.grpc.StatusException
    • createCustomDimension

      public CustomDimension createCustomDimension(CreateCustomDimensionRequest request) throws io.grpc.StatusException
       Creates a CustomDimension.
       
      Throws:
      io.grpc.StatusException
    • updateCustomDimension

      public CustomDimension updateCustomDimension(UpdateCustomDimensionRequest request) throws io.grpc.StatusException
       Updates a CustomDimension on a property.
       
      Throws:
      io.grpc.StatusException
    • listCustomDimensions

      public ListCustomDimensionsResponse listCustomDimensions(ListCustomDimensionsRequest request) throws io.grpc.StatusException
       Lists CustomDimensions on a property.
       
      Throws:
      io.grpc.StatusException
    • archiveCustomDimension

      public com.google.protobuf.Empty archiveCustomDimension(ArchiveCustomDimensionRequest request) throws io.grpc.StatusException
       Archives a CustomDimension on a property.
       
      Throws:
      io.grpc.StatusException
    • getCustomDimension

      public CustomDimension getCustomDimension(GetCustomDimensionRequest request) throws io.grpc.StatusException
       Lookup for a single CustomDimension.
       
      Throws:
      io.grpc.StatusException
    • createCustomMetric

      public CustomMetric createCustomMetric(CreateCustomMetricRequest request) throws io.grpc.StatusException
       Creates a CustomMetric.
       
      Throws:
      io.grpc.StatusException
    • updateCustomMetric

      public CustomMetric updateCustomMetric(UpdateCustomMetricRequest request) throws io.grpc.StatusException
       Updates a CustomMetric on a property.
       
      Throws:
      io.grpc.StatusException
    • listCustomMetrics

      public ListCustomMetricsResponse listCustomMetrics(ListCustomMetricsRequest request) throws io.grpc.StatusException
       Lists CustomMetrics on a property.
       
      Throws:
      io.grpc.StatusException
    • archiveCustomMetric

      public com.google.protobuf.Empty archiveCustomMetric(ArchiveCustomMetricRequest request) throws io.grpc.StatusException
       Archives a CustomMetric on a property.
       
      Throws:
      io.grpc.StatusException
    • getCustomMetric

      public CustomMetric getCustomMetric(GetCustomMetricRequest request) throws io.grpc.StatusException
       Lookup for a single CustomMetric.
       
      Throws:
      io.grpc.StatusException
    • getDataRetentionSettings

      public DataRetentionSettings getDataRetentionSettings(GetDataRetentionSettingsRequest request) throws io.grpc.StatusException
       Returns the singleton data retention settings for this property.
       
      Throws:
      io.grpc.StatusException
    • updateDataRetentionSettings

      public DataRetentionSettings updateDataRetentionSettings(UpdateDataRetentionSettingsRequest request) throws io.grpc.StatusException
       Updates the singleton data retention settings for this property.
       
      Throws:
      io.grpc.StatusException
    • createDataStream

      public DataStream createDataStream(CreateDataStreamRequest request) throws io.grpc.StatusException
       Creates a DataStream.
       
      Throws:
      io.grpc.StatusException
    • deleteDataStream

      public com.google.protobuf.Empty deleteDataStream(DeleteDataStreamRequest request) throws io.grpc.StatusException
       Deletes a DataStream on a property.
       
      Throws:
      io.grpc.StatusException
    • updateDataStream

      public DataStream updateDataStream(UpdateDataStreamRequest request) throws io.grpc.StatusException
       Updates a DataStream on a property.
       
      Throws:
      io.grpc.StatusException
    • listDataStreams

      public ListDataStreamsResponse listDataStreams(ListDataStreamsRequest request) throws io.grpc.StatusException
       Lists DataStreams on a property.
       
      Throws:
      io.grpc.StatusException
    • getDataStream

      public DataStream getDataStream(GetDataStreamRequest request) throws io.grpc.StatusException
       Lookup for a single DataStream.
       
      Throws:
      io.grpc.StatusException
    • getAudience

      public Audience getAudience(GetAudienceRequest request) throws io.grpc.StatusException
       Lookup for a single Audience.
       Audiences created before 2020 may not be supported.
       Default audiences will not show filter definitions.
       
      Throws:
      io.grpc.StatusException
    • listAudiences

      public ListAudiencesResponse listAudiences(ListAudiencesRequest request) throws io.grpc.StatusException
       Lists Audiences on a property.
       Audiences created before 2020 may not be supported.
       Default audiences will not show filter definitions.
       
      Throws:
      io.grpc.StatusException
    • createAudience

      public Audience createAudience(CreateAudienceRequest request) throws io.grpc.StatusException
       Creates an Audience.
       
      Throws:
      io.grpc.StatusException
    • updateAudience

      public Audience updateAudience(UpdateAudienceRequest request) throws io.grpc.StatusException
       Updates an Audience on a property.
       
      Throws:
      io.grpc.StatusException
    • archiveAudience

      public com.google.protobuf.Empty archiveAudience(ArchiveAudienceRequest request) throws io.grpc.StatusException
       Archives an Audience on a property.
       
      Throws:
      io.grpc.StatusException
    • getSearchAds360Link

      public SearchAds360Link getSearchAds360Link(GetSearchAds360LinkRequest request) throws io.grpc.StatusException
       Look up a single SearchAds360Link
       
      Throws:
      io.grpc.StatusException
    • listSearchAds360Links

      public ListSearchAds360LinksResponse listSearchAds360Links(ListSearchAds360LinksRequest request) throws io.grpc.StatusException
       Lists all SearchAds360Links on a property.
       
      Throws:
      io.grpc.StatusException
    • createSearchAds360Link

      public SearchAds360Link createSearchAds360Link(CreateSearchAds360LinkRequest request) throws io.grpc.StatusException
       Creates a SearchAds360Link.
       
      Throws:
      io.grpc.StatusException
    • deleteSearchAds360Link

      public com.google.protobuf.Empty deleteSearchAds360Link(DeleteSearchAds360LinkRequest request) throws io.grpc.StatusException
       Deletes a SearchAds360Link on a property.
       
      Throws:
      io.grpc.StatusException
    • updateSearchAds360Link

      public SearchAds360Link updateSearchAds360Link(UpdateSearchAds360LinkRequest request) throws io.grpc.StatusException
       Updates a SearchAds360Link on a property.
       
      Throws:
      io.grpc.StatusException
    • getAttributionSettings

      public AttributionSettings getAttributionSettings(GetAttributionSettingsRequest request) throws io.grpc.StatusException
       Lookup for a AttributionSettings singleton.
       
      Throws:
      io.grpc.StatusException
    • updateAttributionSettings

      public AttributionSettings updateAttributionSettings(UpdateAttributionSettingsRequest request) throws io.grpc.StatusException
       Updates attribution settings on a property.
       
      Throws:
      io.grpc.StatusException
    • runAccessReport

      public RunAccessReportResponse runAccessReport(RunAccessReportRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • createAccessBinding

      public AccessBinding createAccessBinding(CreateAccessBindingRequest request) throws io.grpc.StatusException
       Creates an access binding on an account or property.
       
      Throws:
      io.grpc.StatusException
    • getAccessBinding

      public AccessBinding getAccessBinding(GetAccessBindingRequest request) throws io.grpc.StatusException
       Gets information about an access binding.
       
      Throws:
      io.grpc.StatusException
    • updateAccessBinding

      public AccessBinding updateAccessBinding(UpdateAccessBindingRequest request) throws io.grpc.StatusException
       Updates an access binding on an account or property.
       
      Throws:
      io.grpc.StatusException
    • deleteAccessBinding

      public com.google.protobuf.Empty deleteAccessBinding(DeleteAccessBindingRequest request) throws io.grpc.StatusException
       Deletes an access binding on an account or property.
       
      Throws:
      io.grpc.StatusException
    • listAccessBindings

      public ListAccessBindingsResponse listAccessBindings(ListAccessBindingsRequest request) throws io.grpc.StatusException
       Lists all access bindings on an account or property.
       
      Throws:
      io.grpc.StatusException
    • batchCreateAccessBindings

      public BatchCreateAccessBindingsResponse batchCreateAccessBindings(BatchCreateAccessBindingsRequest request) throws io.grpc.StatusException
       Creates information about multiple access bindings to an account or
       property.
       This method is transactional. If any AccessBinding cannot be created, none
       of the AccessBindings will be created.
       
      Throws:
      io.grpc.StatusException
    • batchGetAccessBindings

      public BatchGetAccessBindingsResponse batchGetAccessBindings(BatchGetAccessBindingsRequest request) throws io.grpc.StatusException
       Gets information about multiple access bindings to an account or property.
       
      Throws:
      io.grpc.StatusException
    • batchUpdateAccessBindings

      public BatchUpdateAccessBindingsResponse batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request) throws io.grpc.StatusException
       Updates information about multiple access bindings to an account or
       property.
       
      Throws:
      io.grpc.StatusException
    • batchDeleteAccessBindings

      public com.google.protobuf.Empty batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request) throws io.grpc.StatusException
       Deletes information about multiple users' links to an account or property.
       
      Throws:
      io.grpc.StatusException
    • getExpandedDataSet

      public ExpandedDataSet getExpandedDataSet(GetExpandedDataSetRequest request) throws io.grpc.StatusException
       Lookup for a single ExpandedDataSet.
       
      Throws:
      io.grpc.StatusException
    • listExpandedDataSets

      public ListExpandedDataSetsResponse listExpandedDataSets(ListExpandedDataSetsRequest request) throws io.grpc.StatusException
       Lists ExpandedDataSets on a property.
       
      Throws:
      io.grpc.StatusException
    • createExpandedDataSet

      public ExpandedDataSet createExpandedDataSet(CreateExpandedDataSetRequest request) throws io.grpc.StatusException
       Creates a ExpandedDataSet.
       
      Throws:
      io.grpc.StatusException
    • updateExpandedDataSet

      public ExpandedDataSet updateExpandedDataSet(UpdateExpandedDataSetRequest request) throws io.grpc.StatusException
       Updates a ExpandedDataSet on a property.
       
      Throws:
      io.grpc.StatusException
    • deleteExpandedDataSet

      public com.google.protobuf.Empty deleteExpandedDataSet(DeleteExpandedDataSetRequest request) throws io.grpc.StatusException
       Deletes a ExpandedDataSet on a property.
       
      Throws:
      io.grpc.StatusException
    • getChannelGroup

      public ChannelGroup getChannelGroup(GetChannelGroupRequest request) throws io.grpc.StatusException
       Lookup for a single ChannelGroup.
       
      Throws:
      io.grpc.StatusException
    • listChannelGroups

      public ListChannelGroupsResponse listChannelGroups(ListChannelGroupsRequest request) throws io.grpc.StatusException
       Lists ChannelGroups on a property.
       
      Throws:
      io.grpc.StatusException
    • createChannelGroup

      public ChannelGroup createChannelGroup(CreateChannelGroupRequest request) throws io.grpc.StatusException
       Creates a ChannelGroup.
       
      Throws:
      io.grpc.StatusException
    • updateChannelGroup

      public ChannelGroup updateChannelGroup(UpdateChannelGroupRequest request) throws io.grpc.StatusException
       Updates a ChannelGroup.
       
      Throws:
      io.grpc.StatusException
    • deleteChannelGroup

      public com.google.protobuf.Empty deleteChannelGroup(DeleteChannelGroupRequest request) throws io.grpc.StatusException
       Deletes a ChannelGroup on a property.
       
      Throws:
      io.grpc.StatusException
    • createBigQueryLink

      public BigQueryLink createBigQueryLink(CreateBigQueryLinkRequest request) throws io.grpc.StatusException
       Creates a BigQueryLink.
       
      Throws:
      io.grpc.StatusException
    • getBigQueryLink

      public BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request) throws io.grpc.StatusException
       Lookup for a single BigQuery Link.
       
      Throws:
      io.grpc.StatusException
    • listBigQueryLinks

      public ListBigQueryLinksResponse listBigQueryLinks(ListBigQueryLinksRequest request) throws io.grpc.StatusException
       Lists BigQuery Links on a property.
       
      Throws:
      io.grpc.StatusException
    • deleteBigQueryLink

      public com.google.protobuf.Empty deleteBigQueryLink(DeleteBigQueryLinkRequest request) throws io.grpc.StatusException
       Deletes a BigQueryLink on a property.
       
      Throws:
      io.grpc.StatusException
    • updateBigQueryLink

      public BigQueryLink updateBigQueryLink(UpdateBigQueryLinkRequest request) throws io.grpc.StatusException
       Updates a BigQueryLink.
       
      Throws:
      io.grpc.StatusException
    • getEnhancedMeasurementSettings

      public EnhancedMeasurementSettings getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request) throws io.grpc.StatusException
       Returns the enhanced measurement settings for this data stream.
       Note that the stream must enable enhanced measurement for these settings to
       take effect.
       
      Throws:
      io.grpc.StatusException
    • updateEnhancedMeasurementSettings

      public EnhancedMeasurementSettings updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request) throws io.grpc.StatusException
       Updates the enhanced measurement settings for this data stream.
       Note that the stream must enable enhanced measurement for these settings to
       take effect.
       
      Throws:
      io.grpc.StatusException
    • getAdSenseLink

      public AdSenseLink getAdSenseLink(GetAdSenseLinkRequest request) throws io.grpc.StatusException
       Looks up a single AdSenseLink.
       
      Throws:
      io.grpc.StatusException
    • createAdSenseLink

      public AdSenseLink createAdSenseLink(CreateAdSenseLinkRequest request) throws io.grpc.StatusException
       Creates an AdSenseLink.
       
      Throws:
      io.grpc.StatusException
    • deleteAdSenseLink

      public com.google.protobuf.Empty deleteAdSenseLink(DeleteAdSenseLinkRequest request) throws io.grpc.StatusException
       Deletes an AdSenseLink.
       
      Throws:
      io.grpc.StatusException
    • listAdSenseLinks

      public ListAdSenseLinksResponse listAdSenseLinks(ListAdSenseLinksRequest request) throws io.grpc.StatusException
       Lists AdSenseLinks on a property.
       
      Throws:
      io.grpc.StatusException
    • getEventCreateRule

      public EventCreateRule getEventCreateRule(GetEventCreateRuleRequest request) throws io.grpc.StatusException
       Lookup for a single EventCreateRule.
       
      Throws:
      io.grpc.StatusException
    • listEventCreateRules

      public ListEventCreateRulesResponse listEventCreateRules(ListEventCreateRulesRequest request) throws io.grpc.StatusException
       Lists EventCreateRules on a web data stream.
       
      Throws:
      io.grpc.StatusException
    • createEventCreateRule

      public EventCreateRule createEventCreateRule(CreateEventCreateRuleRequest request) throws io.grpc.StatusException
       Creates an EventCreateRule.
       
      Throws:
      io.grpc.StatusException
    • updateEventCreateRule

      public EventCreateRule updateEventCreateRule(UpdateEventCreateRuleRequest request) throws io.grpc.StatusException
       Updates an EventCreateRule.
       
      Throws:
      io.grpc.StatusException
    • deleteEventCreateRule

      public com.google.protobuf.Empty deleteEventCreateRule(DeleteEventCreateRuleRequest request) throws io.grpc.StatusException
       Deletes an EventCreateRule.
       
      Throws:
      io.grpc.StatusException
    • getEventEditRule

      public EventEditRule getEventEditRule(GetEventEditRuleRequest request) throws io.grpc.StatusException
       Lookup for a single EventEditRule.
       
      Throws:
      io.grpc.StatusException
    • listEventEditRules

      public ListEventEditRulesResponse listEventEditRules(ListEventEditRulesRequest request) throws io.grpc.StatusException
       Lists EventEditRules on a web data stream.
       
      Throws:
      io.grpc.StatusException
    • createEventEditRule

      public EventEditRule createEventEditRule(CreateEventEditRuleRequest request) throws io.grpc.StatusException
       Creates an EventEditRule.
       
      Throws:
      io.grpc.StatusException
    • updateEventEditRule

      public EventEditRule updateEventEditRule(UpdateEventEditRuleRequest request) throws io.grpc.StatusException
       Updates an EventEditRule.
       
      Throws:
      io.grpc.StatusException
    • deleteEventEditRule

      public com.google.protobuf.Empty deleteEventEditRule(DeleteEventEditRuleRequest request) throws io.grpc.StatusException
       Deletes an EventEditRule.
       
      Throws:
      io.grpc.StatusException
    • reorderEventEditRules

      public com.google.protobuf.Empty reorderEventEditRules(ReorderEventEditRulesRequest request) throws io.grpc.StatusException
       Changes the processing order of event edit rules on the specified stream.
       
      Throws:
      io.grpc.StatusException
    • updateDataRedactionSettings

      public DataRedactionSettings updateDataRedactionSettings(UpdateDataRedactionSettingsRequest request) throws io.grpc.StatusException
       Updates a DataRedactionSettings on a property.
       
      Throws:
      io.grpc.StatusException
    • getDataRedactionSettings

      public DataRedactionSettings getDataRedactionSettings(GetDataRedactionSettingsRequest request) throws io.grpc.StatusException
       Lookup for a single DataRedactionSettings.
       
      Throws:
      io.grpc.StatusException
    • getCalculatedMetric

      public CalculatedMetric getCalculatedMetric(GetCalculatedMetricRequest request) throws io.grpc.StatusException
       Lookup for a single CalculatedMetric.
       
      Throws:
      io.grpc.StatusException
    • createCalculatedMetric

      public CalculatedMetric createCalculatedMetric(CreateCalculatedMetricRequest request) throws io.grpc.StatusException
       Creates a CalculatedMetric.
       
      Throws:
      io.grpc.StatusException
    • listCalculatedMetrics

      public ListCalculatedMetricsResponse listCalculatedMetrics(ListCalculatedMetricsRequest request) throws io.grpc.StatusException
       Lists CalculatedMetrics on a property.
       
      Throws:
      io.grpc.StatusException
    • updateCalculatedMetric

      public CalculatedMetric updateCalculatedMetric(UpdateCalculatedMetricRequest request) throws io.grpc.StatusException
       Updates a CalculatedMetric on a property.
       
      Throws:
      io.grpc.StatusException
    • deleteCalculatedMetric

      public com.google.protobuf.Empty deleteCalculatedMetric(DeleteCalculatedMetricRequest request) throws io.grpc.StatusException
       Deletes a CalculatedMetric on a property.
       
      Throws:
      io.grpc.StatusException
    • createRollupProperty

      public CreateRollupPropertyResponse createRollupProperty(CreateRollupPropertyRequest request) throws io.grpc.StatusException
       Create a roll-up property and all roll-up property source links.
       
      Throws:
      io.grpc.StatusException
    • getRollupPropertySourceLink

      public RollupPropertySourceLink getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest request) throws io.grpc.StatusException
       Lookup for a single roll-up property source Link.
       Only roll-up properties can have source links, so this method will throw an
       error if used on other types of properties.
       
      Throws:
      io.grpc.StatusException
    • listRollupPropertySourceLinks

      public ListRollupPropertySourceLinksResponse listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest request) throws io.grpc.StatusException
       Lists roll-up property source Links on a property.
       Only roll-up properties can have source links, so this method will throw an
       error if used on other types of properties.
       
      Throws:
      io.grpc.StatusException
    • createRollupPropertySourceLink

      public RollupPropertySourceLink createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest request) throws io.grpc.StatusException
       Creates a roll-up property source link.
       Only roll-up properties can have source links, so this method will throw an
       error if used on other types of properties.
       
      Throws:
      io.grpc.StatusException
    • deleteRollupPropertySourceLink

      public com.google.protobuf.Empty deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest request) throws io.grpc.StatusException
       Deletes a roll-up property source link.
       Only roll-up properties can have source links, so this method will throw an
       error if used on other types of properties.
       
      Throws:
      io.grpc.StatusException
    • provisionSubproperty

      public ProvisionSubpropertyResponse provisionSubproperty(ProvisionSubpropertyRequest request) throws io.grpc.StatusException
       Create a subproperty and a subproperty event filter that applies to the
       created subproperty.
       
      Throws:
      io.grpc.StatusException
    • createSubpropertyEventFilter

      public SubpropertyEventFilter createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request) throws io.grpc.StatusException
       Creates a subproperty Event Filter.
       
      Throws:
      io.grpc.StatusException
    • getSubpropertyEventFilter

      public SubpropertyEventFilter getSubpropertyEventFilter(GetSubpropertyEventFilterRequest request) throws io.grpc.StatusException
       Lookup for a single subproperty Event Filter.
       
      Throws:
      io.grpc.StatusException
    • listSubpropertyEventFilters

      public ListSubpropertyEventFiltersResponse listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request) throws io.grpc.StatusException
       List all subproperty Event Filters on a property.
       
      Throws:
      io.grpc.StatusException
    • updateSubpropertyEventFilter

      public SubpropertyEventFilter updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request) throws io.grpc.StatusException
       Updates a subproperty Event Filter.
       
      Throws:
      io.grpc.StatusException
    • deleteSubpropertyEventFilter

      public com.google.protobuf.Empty deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request) throws io.grpc.StatusException
       Deletes a subproperty event filter.
       
      Throws:
      io.grpc.StatusException
    • createReportingDataAnnotation

      public ReportingDataAnnotation createReportingDataAnnotation(CreateReportingDataAnnotationRequest request) throws io.grpc.StatusException
       Creates a Reporting Data Annotation.
       
      Throws:
      io.grpc.StatusException
    • getReportingDataAnnotation

      public ReportingDataAnnotation getReportingDataAnnotation(GetReportingDataAnnotationRequest request) throws io.grpc.StatusException
       Lookup a single Reporting Data Annotation.
       
      Throws:
      io.grpc.StatusException
    • listReportingDataAnnotations

      public ListReportingDataAnnotationsResponse listReportingDataAnnotations(ListReportingDataAnnotationsRequest request) throws io.grpc.StatusException
       List all Reporting Data Annotations on a property.
       
      Throws:
      io.grpc.StatusException
    • updateReportingDataAnnotation

      public ReportingDataAnnotation updateReportingDataAnnotation(UpdateReportingDataAnnotationRequest request) throws io.grpc.StatusException
       Updates a Reporting Data Annotation.
       
      Throws:
      io.grpc.StatusException
    • deleteReportingDataAnnotation

      public com.google.protobuf.Empty deleteReportingDataAnnotation(DeleteReportingDataAnnotationRequest request) throws io.grpc.StatusException
       Deletes a Reporting Data Annotation.
       
      Throws:
      io.grpc.StatusException
    • submitUserDeletion

      public SubmitUserDeletionResponse submitUserDeletion(SubmitUserDeletionRequest request) throws io.grpc.StatusException
       Submits a request for user deletion for a property.
       
      Throws:
      io.grpc.StatusException
    • listSubpropertySyncConfigs

      public ListSubpropertySyncConfigsResponse listSubpropertySyncConfigs(ListSubpropertySyncConfigsRequest request) throws io.grpc.StatusException
       List all `SubpropertySyncConfig` resources for a property.
       
      Throws:
      io.grpc.StatusException
    • updateSubpropertySyncConfig

      public SubpropertySyncConfig updateSubpropertySyncConfig(UpdateSubpropertySyncConfigRequest request) throws io.grpc.StatusException
       Updates a `SubpropertySyncConfig`.
       
      Throws:
      io.grpc.StatusException
    • getSubpropertySyncConfig

      public SubpropertySyncConfig getSubpropertySyncConfig(GetSubpropertySyncConfigRequest request) throws io.grpc.StatusException
       Lookup for a single `SubpropertySyncConfig`.
       
      Throws:
      io.grpc.StatusException
    • getReportingIdentitySettings

      public ReportingIdentitySettings getReportingIdentitySettings(GetReportingIdentitySettingsRequest request) throws io.grpc.StatusException
       Returns the reporting identity settings for this property.
       
      Throws:
      io.grpc.StatusException
    • getUserProvidedDataSettings

      public UserProvidedDataSettings getUserProvidedDataSettings(GetUserProvidedDataSettingsRequest request) throws io.grpc.StatusException
       Looks up settings related to user-provided data for a property.
       
      Throws:
      io.grpc.StatusException