class Google::Apis::AnalyticsV3::LinkedForeignAccount

JSON template for an Analytics Remarketing Audience Foreign Link.

Attributes

account_id[RW]

Account ID to which this linked foreign account belongs. Corresponds to the JSON property `accountId` @return [String]

eligible_for_search?[RW]

Boolean indicating whether this is eligible for search. Corresponds to the JSON property `eligibleForSearch` @return [Boolean]

id[RW]

Entity ad account link ID. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for the web property to which this linked foreign account belongs. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

Resource type for linked foreign account. Corresponds to the JSON property `kind` @return [String]

linked_account_id[RW]

The foreign account ID. For example the an Google Ads `linkedAccountId` has the following format XXX-XXX-XXXX. Corresponds to the JSON property `linkedAccountId` @return [String]

remarketing_audience_id[RW]

Remarketing audience ID to which this linked foreign account belongs. Corresponds to the JSON property `remarketingAudienceId` @return [String]

status[RW]

The status of this foreign account link. Corresponds to the JSON property `status` @return [String]

type[RW]

The type of the foreign account. For example, `ADWORDS_LINKS`, `DBM_LINKS`, ` MCC_LINKS` or `OPTIMIZE`. Corresponds to the JSON property `type` @return [String]

web_property_id[RW]

Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs. Corresponds to the JSON property `webPropertyId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 3467
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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