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.



28724
28725
28726
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28724

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)


28696
28697
28698
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28696

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)


28701
28702
28703
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28701

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)


28707
28708
28709
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28707

def resource_name
  @resource_name
end

#statusString

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

Returns:

  • (String)


28712
28713
28714
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28712

def status
  @status
end

#typeString

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

Returns:

  • (String)


28717
28718
28719
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28717

def type
  @type
end

#youtube_videoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier

The identifier for YouTube video Corresponds to the JSON property youtubeVideo



28722
28723
28724
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28722

def youtube_video
  @youtube_video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28729
28730
28731
28732
28733
28734
28735
28736
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28729

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