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.



28652
28653
28654
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28652

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)


28624
28625
28626
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28624

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)


28629
28630
28631
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28629

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)


28635
28636
28637
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28635

def resource_name
  @resource_name
end

#statusString

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

Returns:

  • (String)


28640
28641
28642
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28640

def status
  @status
end

#typeString

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

Returns:

  • (String)


28645
28646
28647
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28645

def type
  @type
end

#youtube_videoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier

The identifier for YouTube video Corresponds to the JSON property youtubeVideo



28650
28651
28652
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28650

def youtube_video
  @youtube_video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28657
28658
28659
28660
28661
28662
28663
28664
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28657

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