Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesDataLink

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

Overview

Represents the data sharing connection between

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesDataLink

Returns a new instance of GoogleAdsSearchads360V23ResourcesDataLink.



28564
28565
28566
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28564

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

Instance Attribute Details

Output only. The ID of the data link. This field is read only. Corresponds to the JSON property dataLinkId

Returns:

  • (Fixnum)


28536
28537
28538
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28536

def data_link_id
  @data_link_id
end

Output only. The ID of the link. This field is read only. Corresponds to the JSON property productLinkId

Returns:

  • (Fixnum)


28541
28542
28543
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28541

def product_link_id
  @product_link_id
end

#resource_nameString

Immutable. Resource name of the product data link. DataLink resource names have the form: Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


28547
28548
28549
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28547

def resource_name
  @resource_name
end

#statusString

Output only. The status of the data link. Corresponds to the JSON property status

Returns:

  • (String)


28552
28553
28554
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28552

def status
  @status
end

#typeString

Output only. The type of the data. Corresponds to the JSON property type

Returns:

  • (String)


28557
28558
28559
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28557

def type
  @type
end

#youtube_videoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier

The identifier for YouTube video Corresponds to the JSON property youtubeVideo



28562
28563
28564
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28562

def youtube_video
  @youtube_video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28569
28570
28571
28572
28573
28574
28575
28576
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28569

def update!(**args)
  @data_link_id = args[:data_link_id] if args.key?(:data_link_id)
  @product_link_id = args[:product_link_id] if args.key?(:product_link_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @status = args[:status] if args.key?(:status)
  @type = args[:type] if args.key?(:type)
  @youtube_video = args[:youtube_video] if args.key?(:youtube_video)
end