Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesVideo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesVideo
- 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
Instance Attribute Summary collapse
-
#channel_id ⇒ String
Output only.
-
#duration_millis ⇒ Fixnum
Output only.
-
#id ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#title ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesVideo
constructor
A new instance of GoogleAdsSearchads360V23ResourcesVideo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesVideo
Returns a new instance of GoogleAdsSearchads360V23ResourcesVideo.
34569 34570 34571 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
Output only. The owner channel id of the video.
Corresponds to the JSON property channelId
34546 34547 34548 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34546 def channel_id @channel_id end |
#duration_millis ⇒ Fixnum
Output only. The duration of the video in milliseconds.
Corresponds to the JSON property durationMillis
34551 34552 34553 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34551 def duration_millis @duration_millis end |
#id ⇒ String
Output only. The ID of the video.
Corresponds to the JSON property id
34556 34557 34558 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34556 def id @id end |
#resource_name ⇒ String
Output only. The resource name of the video. Video resource names have the
form: customers/customer_id/videos/video_id`
Corresponds to the JSON propertyresourceName`
34562 34563 34564 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34562 def resource_name @resource_name end |
#title ⇒ String
Output only. The title of the video.
Corresponds to the JSON property title
34567 34568 34569 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34567 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34574 34575 34576 34577 34578 34579 34580 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 34574 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @duration_millis = args[:duration_millis] if args.key?(:duration_millis) @id = args[:id] if args.key?(:id) @resource_name = args[:resource_name] if args.key?(:resource_name) @title = args[:title] if args.key?(:title) end |