Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier
- 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
The identifier for YouTube video
Instance Attribute Summary collapse
-
#channel_id ⇒ String
Immutable.
-
#video_id ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier
constructor
A new instance of GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier
Returns a new instance of GoogleAdsSearchads360V23ResourcesYoutubeVideoIdentifier.
34923 34924 34925 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34923 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
Immutable. The ID of the hosting channel of the video. This is a string value
with “UC” prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
Corresponds to the JSON property channelId
34913 34914 34915 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34913 def channel_id @channel_id end |
#video_id ⇒ String
Immutable. The ID of the video associated with the video link. This is the 11
character string value used in the YouTube video URL. For example, video ID is
jV1vkHv4zq8 from the YouTube video URL "https://www.youtube.com/watch?v=
jV1vkHv4zq8&t=2s".
Corresponds to the JSON property videoId
34921 34922 34923 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34921 def video_id @video_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34928 34929 34930 34931 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34928 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @video_id = args[:video_id] if args.key?(:video_id) end |