Class: Google::Apis::MarketingplatformadminV1alpha::AnalyticsAccountLink
- Inherits:
-
Object
- Object
- Google::Apis::MarketingplatformadminV1alpha::AnalyticsAccountLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/marketingplatformadmin_v1alpha/classes.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb
Overview
A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.
Instance Attribute Summary collapse
-
#analytics_account ⇒ String
Required.
-
#display_name ⇒ String
Output only.
-
#link_verification_state ⇒ String
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyticsAccountLink
constructor
A new instance of AnalyticsAccountLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyticsAccountLink
Returns a new instance of AnalyticsAccountLink.
57 58 59 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analytics_account ⇒ String
Required. Immutable. The resource name of the AnalyticsAdmin API account. The
account ID will be used as the ID of this AnalyticsAccountLink resource, which
will become the final component of the resource name. Format: analyticsadmin.
googleapis.com/accounts/account_id
Corresponds to the JSON property analyticsAccount
36 37 38 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 36 def analytics_account @analytics_account end |
#display_name ⇒ String
Output only. The human-readable name for the Analytics account.
Corresponds to the JSON property displayName
41 42 43 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 41 def display_name @display_name end |
#link_verification_state ⇒ String
Output only. The verification state of the link between the Analytics account
and the parent organization.
Corresponds to the JSON property linkVerificationState
47 48 49 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 47 def link_verification_state @link_verification_state end |
#name ⇒ String
Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID
is the same as the ID of the Analtyics account. Format: organizations/org_id
/
analyticsAccountLinks/analytics_account_link_id
Example: "organizations/xyz/
analyticsAccountLinks/1234"
Corresponds to the JSON property name
55 56 57 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 55 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 66 67 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 62 def update!(**args) @analytics_account = args[:analytics_account] if args.key?(:analytics_account) @display_name = args[:display_name] if args.key?(:display_name) @link_verification_state = args[:link_verification_state] if args.key?(:link_verification_state) @name = args[:name] if args.key?(:name) end |