Class: Google::Apis::AnalyticsV3::LinkedForeignAccount

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb

Overview

JSON template for an Analytics Remarketing Audience Foreign Link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LinkedForeignAccount

Returns a new instance of LinkedForeignAccount.



3302
3303
3304
# File 'generated/google/apis/analytics_v3/classes.rb', line 3302

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

Account ID to which this linked foreign account belongs. Corresponds to the JSON property accountId

Returns:

  • (String)


3252
3253
3254
# File 'generated/google/apis/analytics_v3/classes.rb', line 3252

def 
  @account_id
end

#eligible_for_searchBoolean Also known as: eligible_for_search?

Boolean indicating whether this is eligible for search. Corresponds to the JSON property eligibleForSearch

Returns:

  • (Boolean)


3257
3258
3259
# File 'generated/google/apis/analytics_v3/classes.rb', line 3257

def eligible_for_search
  @eligible_for_search
end

#idString

Entity ad account link ID. Corresponds to the JSON property id

Returns:

  • (String)


3263
3264
3265
# File 'generated/google/apis/analytics_v3/classes.rb', line 3263

def id
  @id
end

#internal_web_property_idString

Internal ID for the web property to which this linked foreign account belongs. Corresponds to the JSON property internalWebPropertyId

Returns:

  • (String)


3268
3269
3270
# File 'generated/google/apis/analytics_v3/classes.rb', line 3268

def internal_web_property_id
  @internal_web_property_id
end

#kindString

Resource type for linked foreign account. Corresponds to the JSON property kind

Returns:

  • (String)


3273
3274
3275
# File 'generated/google/apis/analytics_v3/classes.rb', line 3273

def kind
  @kind
end

#linked_account_idString

The foreign account ID. For example the an AdWords linkedAccountId has the following format XXX-XXX-XXXX. Corresponds to the JSON property linkedAccountId

Returns:

  • (String)


3279
3280
3281
# File 'generated/google/apis/analytics_v3/classes.rb', line 3279

def 
  @linked_account_id
end

#remarketing_audience_idString

Remarketing audience ID to which this linked foreign account belongs. Corresponds to the JSON property remarketingAudienceId

Returns:

  • (String)


3284
3285
3286
# File 'generated/google/apis/analytics_v3/classes.rb', line 3284

def remarketing_audience_id
  @remarketing_audience_id
end

#statusString

The status of this foreign account link. Corresponds to the JSON property status

Returns:

  • (String)


3289
3290
3291
# File 'generated/google/apis/analytics_v3/classes.rb', line 3289

def status
  @status
end

#typeString

The type of the foreign account. For example ADWORDS_LINKS. Corresponds to the JSON property type

Returns:

  • (String)


3294
3295
3296
# File 'generated/google/apis/analytics_v3/classes.rb', line 3294

def type
  @type
end

#web_property_idString

Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs. Corresponds to the JSON property webPropertyId

Returns:

  • (String)


3300
3301
3302
# File 'generated/google/apis/analytics_v3/classes.rb', line 3300

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
# File 'generated/google/apis/analytics_v3/classes.rb', line 3307

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