Send feedback
  
   
 
  
    
      Class HttpJsonAnalyticsAdminServiceStub (0.88.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    Beta 
    
    This library is covered by the Pre-GA Offerings Terms 
    of the  Terms of Service. Pre-GA libraries might have limited support,
    and changes to pre-GA libraries might not be compatible with other pre-GA versions.
    For more information, see the
    launch stage descriptions .
    
   
  
    
public   class  HttpJsonAnalyticsAdminServiceStub   extends   AnalyticsAdminServiceStub  
  REST stub implementation for the AnalyticsAdminService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Static Methods
   
  create(AnalyticsAdminServiceStubSettings settings) 
  
    
public   static   final   HttpJsonAnalyticsAdminServiceStub   create ( AnalyticsAdminServiceStubSettings   settings )  
  
  
  
  create(ClientContext clientContext) 
  
    
public   static   final   HttpJsonAnalyticsAdminServiceStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonAnalyticsAdminServiceStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  Constructors
   
  HttpJsonAnalyticsAdminServiceStub(AnalyticsAdminServiceStubSettings settings, ClientContext clientContext) 
  
    
protected   HttpJsonAnalyticsAdminServiceStub ( AnalyticsAdminServiceStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of HttpJsonAnalyticsAdminServiceStub, using the given settings. This is
 protected so that it is easy to make a subclass, but otherwise, the static factory methods
 should be preferred.
HttpJsonAnalyticsAdminServiceStub(AnalyticsAdminServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
protected   HttpJsonAnalyticsAdminServiceStub ( AnalyticsAdminServiceStubSettings   settings ,   ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  Constructs an instance of HttpJsonAnalyticsAdminServiceStub, using the given settings. This is
 protected so that it is easy to make a subclass, but otherwise, the static factory methods
 should be preferred.
Methods
   
  acknowledgeUserDataCollectionCallable() 
  
    
public   UnaryCallable<AcknowledgeUserDataCollectionRequest , AcknowledgeUserDataCollectionResponse >  acknowledgeUserDataCollectionCallable ()  
  
  Overrides 
  
  archiveCustomDimensionCallable() 
  
    
public   UnaryCallable<ArchiveCustomDimensionRequest , Empty >  archiveCustomDimensionCallable ()  
  
  Overrides 
  
  archiveCustomMetricCallable() 
  
    
public   UnaryCallable<ArchiveCustomMetricRequest , Empty >  archiveCustomMetricCallable ()  
  
  Overrides 
  
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createConversionEventCallable() 
  
    
public   UnaryCallable<CreateConversionEventRequest , ConversionEvent >  createConversionEventCallable ()  
  
  Overrides 
  
  createCustomDimensionCallable() 
  
    
public   UnaryCallable<CreateCustomDimensionRequest , CustomDimension >  createCustomDimensionCallable ()  
  
  Overrides 
  
  createCustomMetricCallable() 
  
    
public   UnaryCallable<CreateCustomMetricRequest , CustomMetric >  createCustomMetricCallable ()  
  
  Overrides 
  
  createDataStreamCallable() 
  
    
public   UnaryCallable<CreateDataStreamRequest , DataStream >  createDataStreamCallable ()  
  
  Overrides 
  
  createFirebaseLinkCallable() 
  
    
public   UnaryCallable<CreateFirebaseLinkRequest , FirebaseLink >  createFirebaseLinkCallable ()  
  
  Overrides 
  
  createGoogleAdsLinkCallable() 
  
    
public   UnaryCallable<CreateGoogleAdsLinkRequest , GoogleAdsLink >  createGoogleAdsLinkCallable ()  
  
  Overrides 
  
  createKeyEventCallable() 
  
    
public   UnaryCallable<CreateKeyEventRequest , KeyEvent >  createKeyEventCallable ()  
  
  Overrides 
  
  createMeasurementProtocolSecretCallable() 
  
    
public   UnaryCallable<CreateMeasurementProtocolSecretRequest , MeasurementProtocolSecret >  createMeasurementProtocolSecretCallable ()  
  
  Overrides 
  
  createPropertyCallable() 
  
    
public   UnaryCallable<CreatePropertyRequest , Property >  createPropertyCallable ()  
  
  Overrides 
  
  deleteAccountCallable() 
  
    
public   UnaryCallable<DeleteAccountRequest , Empty >  deleteAccountCallable ()  
  
  Overrides 
  
  deleteConversionEventCallable() 
  
    
public   UnaryCallable<DeleteConversionEventRequest , Empty >  deleteConversionEventCallable ()  
  
  Overrides 
  
  deleteDataStreamCallable() 
  
    
public   UnaryCallable<DeleteDataStreamRequest , Empty >  deleteDataStreamCallable ()  
  
  Overrides 
  
  deleteFirebaseLinkCallable() 
  
    
public   UnaryCallable<DeleteFirebaseLinkRequest , Empty >  deleteFirebaseLinkCallable ()  
  
  Overrides 
  
  deleteGoogleAdsLinkCallable() 
  
    
public   UnaryCallable<DeleteGoogleAdsLinkRequest , Empty >  deleteGoogleAdsLinkCallable ()  
  
  Overrides 
  
  deleteKeyEventCallable() 
  
    
public   UnaryCallable<DeleteKeyEventRequest , Empty >  deleteKeyEventCallable ()  
  
  Overrides 
  
  deleteMeasurementProtocolSecretCallable() 
  
    
public   UnaryCallable<DeleteMeasurementProtocolSecretRequest , Empty >  deleteMeasurementProtocolSecretCallable ()  
  
  Overrides 
  
  deletePropertyCallable() 
  
    
public   UnaryCallable<DeletePropertyRequest , Property >  deletePropertyCallable ()  
  
  Overrides 
  
  getAccountCallable() 
  
    
public   UnaryCallable<GetAccountRequest , Account >  getAccountCallable ()  
  
  Overrides 
  
  getConversionEventCallable() 
  
    
public   UnaryCallable<GetConversionEventRequest , ConversionEvent >  getConversionEventCallable ()  
  
  Overrides 
  
  getCustomDimensionCallable() 
  
    
public   UnaryCallable<GetCustomDimensionRequest , CustomDimension >  getCustomDimensionCallable ()  
  
  Overrides 
  
  getCustomMetricCallable() 
  
    
public   UnaryCallable<GetCustomMetricRequest , CustomMetric >  getCustomMetricCallable ()  
  
  Overrides 
  
  getDataRetentionSettingsCallable() 
  
    
public   UnaryCallable<GetDataRetentionSettingsRequest , DataRetentionSettings >  getDataRetentionSettingsCallable ()  
  
  Overrides 
  
  getDataSharingSettingsCallable() 
  
    
public   UnaryCallable<GetDataSharingSettingsRequest , DataSharingSettings >  getDataSharingSettingsCallable ()  
  
  Overrides 
  
  getDataStreamCallable() 
  
    
public   UnaryCallable<GetDataStreamRequest , DataStream >  getDataStreamCallable ()  
  
  Overrides 
  
  getKeyEventCallable() 
  
    
public   UnaryCallable<GetKeyEventRequest , KeyEvent >  getKeyEventCallable ()  
  
  Overrides 
  
  getMeasurementProtocolSecretCallable() 
  
    
public   UnaryCallable<GetMeasurementProtocolSecretRequest , MeasurementProtocolSecret >  getMeasurementProtocolSecretCallable ()  
  
  Overrides 
  
  getPropertyCallable() 
  
    
public   UnaryCallable<GetPropertyRequest , Property >  getPropertyCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listAccountSummariesCallable() 
  
    
public   UnaryCallable<ListAccountSummariesRequest , ListAccountSummariesResponse >  listAccountSummariesCallable ()  
  
  Overrides 
  
  listAccountSummariesPagedCallable() 
  
    
public   UnaryCallable<ListAccountSummariesRequest , AnalyticsAdminServiceClient . ListAccountSummariesPagedResponse >  listAccountSummariesPagedCallable ()  
  
  Overrides 
  
  listAccountsCallable() 
  
    
public   UnaryCallable<ListAccountsRequest , ListAccountsResponse >  listAccountsCallable ()  
  
  Overrides 
  
  listAccountsPagedCallable() 
  
    
public   UnaryCallable<ListAccountsRequest , AnalyticsAdminServiceClient . ListAccountsPagedResponse >  listAccountsPagedCallable ()  
  
  Overrides 
  
  listConversionEventsCallable() 
  
    
public   UnaryCallable<ListConversionEventsRequest , ListConversionEventsResponse >  listConversionEventsCallable ()  
  
  Overrides 
  
  listConversionEventsPagedCallable() 
  
    
public   UnaryCallable<ListConversionEventsRequest , AnalyticsAdminServiceClient . ListConversionEventsPagedResponse >  listConversionEventsPagedCallable ()  
  
  Overrides 
  
  listCustomDimensionsCallable() 
  
    
public   UnaryCallable<ListCustomDimensionsRequest , ListCustomDimensionsResponse >  listCustomDimensionsCallable ()  
  
  Overrides 
  
  listCustomDimensionsPagedCallable() 
  
    
public   UnaryCallable<ListCustomDimensionsRequest , AnalyticsAdminServiceClient . ListCustomDimensionsPagedResponse >  listCustomDimensionsPagedCallable ()  
  
  Overrides 
  
  listCustomMetricsCallable() 
  
    
public   UnaryCallable<ListCustomMetricsRequest , ListCustomMetricsResponse >  listCustomMetricsCallable ()  
  
  Overrides 
  
  listCustomMetricsPagedCallable() 
  
    
public   UnaryCallable<ListCustomMetricsRequest , AnalyticsAdminServiceClient . ListCustomMetricsPagedResponse >  listCustomMetricsPagedCallable ()  
  
  Overrides 
  
  listDataStreamsCallable() 
  
    
public   UnaryCallable<ListDataStreamsRequest , ListDataStreamsResponse >  listDataStreamsCallable ()  
  
  Overrides 
  
  listDataStreamsPagedCallable() 
  
    
public   UnaryCallable<ListDataStreamsRequest , AnalyticsAdminServiceClient . ListDataStreamsPagedResponse >  listDataStreamsPagedCallable ()  
  
  Overrides 
  
  listFirebaseLinksCallable() 
  
    
public   UnaryCallable<ListFirebaseLinksRequest , ListFirebaseLinksResponse >  listFirebaseLinksCallable ()  
  
  Overrides 
  
  listFirebaseLinksPagedCallable() 
  
    
public   UnaryCallable<ListFirebaseLinksRequest , AnalyticsAdminServiceClient . ListFirebaseLinksPagedResponse >  listFirebaseLinksPagedCallable ()  
  
  Overrides 
  
  listGoogleAdsLinksCallable() 
  
    
public   UnaryCallable<ListGoogleAdsLinksRequest , ListGoogleAdsLinksResponse >  listGoogleAdsLinksCallable ()  
  
  Overrides 
  
  listGoogleAdsLinksPagedCallable() 
  
    
public   UnaryCallable<ListGoogleAdsLinksRequest , AnalyticsAdminServiceClient . ListGoogleAdsLinksPagedResponse >  listGoogleAdsLinksPagedCallable ()  
  
  Overrides 
  
  listKeyEventsCallable() 
  
    
public   UnaryCallable<ListKeyEventsRequest , ListKeyEventsResponse >  listKeyEventsCallable ()  
  
  Overrides 
  
  listKeyEventsPagedCallable() 
  
    
public   UnaryCallable<ListKeyEventsRequest , AnalyticsAdminServiceClient . ListKeyEventsPagedResponse >  listKeyEventsPagedCallable ()  
  
  Overrides 
  
  listMeasurementProtocolSecretsCallable() 
  
    
public   UnaryCallable<ListMeasurementProtocolSecretsRequest , ListMeasurementProtocolSecretsResponse >  listMeasurementProtocolSecretsCallable ()  
  
  Overrides 
  
  listMeasurementProtocolSecretsPagedCallable() 
  
    
public   UnaryCallable<ListMeasurementProtocolSecretsRequest , AnalyticsAdminServiceClient . ListMeasurementProtocolSecretsPagedResponse >  listMeasurementProtocolSecretsPagedCallable ()  
  
  Overrides 
  
  listPropertiesCallable() 
  
    
public   UnaryCallable<ListPropertiesRequest , ListPropertiesResponse >  listPropertiesCallable ()  
  
  Overrides 
  
  listPropertiesPagedCallable() 
  
    
public   UnaryCallable<ListPropertiesRequest , AnalyticsAdminServiceClient . ListPropertiesPagedResponse >  listPropertiesPagedCallable ()  
  
  Overrides 
  
  provisionAccountTicketCallable() 
  
    
public   UnaryCallable<ProvisionAccountTicketRequest , ProvisionAccountTicketResponse >  provisionAccountTicketCallable ()  
  
  Overrides 
  
  runAccessReportCallable() 
  
    
public   UnaryCallable<RunAccessReportRequest , RunAccessReportResponse >  runAccessReportCallable ()  
  
  Overrides 
  
  searchChangeHistoryEventsCallable() 
  
    
public   UnaryCallable<SearchChangeHistoryEventsRequest , SearchChangeHistoryEventsResponse >  searchChangeHistoryEventsCallable ()  
  
  Overrides 
  
  searchChangeHistoryEventsPagedCallable() 
  
    
public   UnaryCallable<SearchChangeHistoryEventsRequest , AnalyticsAdminServiceClient . SearchChangeHistoryEventsPagedResponse >  searchChangeHistoryEventsPagedCallable ()  
  
  Overrides 
  
  shutdown() 
  
  shutdownNow() 
  
    
public   void   shutdownNow ()  
  updateAccountCallable() 
  
    
public   UnaryCallable<UpdateAccountRequest , Account >  updateAccountCallable ()  
  
  Overrides 
  
  updateConversionEventCallable() 
  
    
public   UnaryCallable<UpdateConversionEventRequest , ConversionEvent >  updateConversionEventCallable ()  
  
  Overrides 
  
  updateCustomDimensionCallable() 
  
    
public   UnaryCallable<UpdateCustomDimensionRequest , CustomDimension >  updateCustomDimensionCallable ()  
  
  Overrides 
  
  updateCustomMetricCallable() 
  
    
public   UnaryCallable<UpdateCustomMetricRequest , CustomMetric >  updateCustomMetricCallable ()  
  
  Overrides 
  
  updateDataRetentionSettingsCallable() 
  
    
public   UnaryCallable<UpdateDataRetentionSettingsRequest , DataRetentionSettings >  updateDataRetentionSettingsCallable ()  
  
  Overrides 
  
  updateDataStreamCallable() 
  
    
public   UnaryCallable<UpdateDataStreamRequest , DataStream >  updateDataStreamCallable ()  
  
  Overrides 
  
  updateGoogleAdsLinkCallable() 
  
    
public   UnaryCallable<UpdateGoogleAdsLinkRequest , GoogleAdsLink >  updateGoogleAdsLinkCallable ()  
  
  Overrides 
  
  updateKeyEventCallable() 
  
    
public   UnaryCallable<UpdateKeyEventRequest , KeyEvent >  updateKeyEventCallable ()  
  
  Overrides 
  
  updateMeasurementProtocolSecretCallable() 
  
    
public   UnaryCallable<UpdateMeasurementProtocolSecretRequest , MeasurementProtocolSecret >  updateMeasurementProtocolSecretCallable ()  
  
  Overrides 
  
  updatePropertyCallable() 
  
    
public   UnaryCallable<UpdatePropertyRequest , Property >  updatePropertyCallable ()  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    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-10-28 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-10-28 UTC."],[],[]]