Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesDataLink
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesDataLink
- 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
-
#data_link_id ⇒ Fixnum
Output only.
-
#product_link_id ⇒ Fixnum
Output only.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#youtube_video ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier
The identifier for YouTube video Corresponds to the JSON property
youtubeVideo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesDataLink
constructor
A new instance of GoogleAdsSearchads360V23ResourcesDataLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#data_link_id ⇒ Fixnum
Output only. The ID of the data link. This field is read only.
Corresponds to the JSON property dataLinkId
28624 28625 28626 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28624 def data_link_id @data_link_id end |
#product_link_id ⇒ Fixnum
Output only. The ID of the link. This field is read only.
Corresponds to the JSON property productLinkId
28629 28630 28631 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28629 def product_link_id @product_link_id end |
#resource_name ⇒ String
Immutable. Resource name of the product data link. DataLink resource names
have the form:
Corresponds to the JSON propertyresourceName`
28635 28636 28637 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28635 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the data link.
Corresponds to the JSON property status
28640 28641 28642 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28640 def status @status end |
#type ⇒ String
Output only. The type of the data.
Corresponds to the JSON property type
28645 28646 28647 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28645 def type @type end |
#youtube_video ⇒ Google::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 |