Google Analytics Admin API - Module Google::Analytics::Admin (v0.1.4)

Reference documentation and code samples for the Google Analytics Admin API module Google::Analytics::Admin.

Methods

.analytics_admin_service

def self.analytics_admin_service(version: :v1alpha, &block) -> AnalyticsAdminService::Client

Create a new client object for AnalyticsAdminService.

By default, this returns an instance of Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client for version V1alpha of the API. However, you can specify specify a different API version by passing it in the version parameter. If the AnalyticsAdminService service is supported by that API version, and the corresponding gem is available, the appropriate versioned client will be returned.

About AnalyticsAdminService

Service Interface for the Analytics Admin API (GA4).

Parameter
  • version (::String, ::Symbol) (defaults to: :v1alpha) — The API version to connect to. Optional. Defaults to :v1alpha.
Returns
  • (AnalyticsAdminService::Client) — A client object for the specified version.

Constants

VERSION

value: "0.1.4"