Class: Google::Apis::AnalyticsV3::LinkedForeignAccount
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::LinkedForeignAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
JSON template for an Analytics Remarketing Audience Foreign Link.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID to which this linked foreign account belongs.
-
#eligible_for_search ⇒ Boolean
(also: #eligible_for_search?)
Boolean indicating whether this is eligible for search.
-
#id ⇒ String
Entity ad account link ID.
-
#internal_web_property_id ⇒ String
Internal ID for the web property to which this linked foreign account belongs.
-
#kind ⇒ String
Resource type for linked foreign account.
-
#linked_account_id ⇒ String
The foreign account ID.
-
#remarketing_audience_id ⇒ String
Remarketing audience ID to which this linked foreign account belongs.
-
#status ⇒ String
The status of this foreign account link.
-
#type ⇒ String
The type of the foreign account.
-
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedForeignAccount
constructor
A new instance of LinkedForeignAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedForeignAccount
Returns a new instance of LinkedForeignAccount.
3467 3468 3469 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID to which this linked foreign account belongs.
Corresponds to the JSON property accountId
3416 3417 3418 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3416 def account_id @account_id end |
#eligible_for_search ⇒ Boolean Also known as: eligible_for_search?
Boolean indicating whether this is eligible for search.
Corresponds to the JSON property eligibleForSearch
3421 3422 3423 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3421 def eligible_for_search @eligible_for_search end |
#id ⇒ String
Entity ad account link ID.
Corresponds to the JSON property id
3427 3428 3429 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3427 def id @id end |
#internal_web_property_id ⇒ String
Internal ID for the web property to which this linked foreign account belongs.
Corresponds to the JSON property internalWebPropertyId
3432 3433 3434 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3432 def internal_web_property_id @internal_web_property_id end |
#kind ⇒ String
Resource type for linked foreign account.
Corresponds to the JSON property kind
3437 3438 3439 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3437 def kind @kind end |
#linked_account_id ⇒ String
The foreign account ID. For example the an Google Ads linkedAccountId
has
the following format XXX-XXX-XXXX.
Corresponds to the JSON property linkedAccountId
3443 3444 3445 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3443 def linked_account_id @linked_account_id end |
#remarketing_audience_id ⇒ String
Remarketing audience ID to which this linked foreign account belongs.
Corresponds to the JSON property remarketingAudienceId
3448 3449 3450 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3448 def remarketing_audience_id @remarketing_audience_id end |
#status ⇒ String
The status of this foreign account link.
Corresponds to the JSON property status
3453 3454 3455 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3453 def status @status end |
#type ⇒ String
The type of the foreign account. For example, ADWORDS_LINKS
, DBM_LINKS
,
MCC_LINKS
or OPTIMIZE
.
Corresponds to the JSON property type
3459 3460 3461 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3459 def type @type end |
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY to which this linked foreign account
belongs.
Corresponds to the JSON property webPropertyId
3465 3466 3467 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3465 def web_property_id @web_property_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3472 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @eligible_for_search = args[:eligible_for_search] if args.key?(:eligible_for_search) @id = args[:id] if args.key?(:id) @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id) @kind = args[:kind] if args.key?(:kind) @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) @remarketing_audience_id = args[:remarketing_audience_id] if args.key?(:remarketing_audience_id) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @web_property_id = args[:web_property_id] if args.key?(:web_property_id) end |