Class: Google::Apis::YoutubeV3::InvideoBranding
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::InvideoBranding
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
 generated/google/apis/youtube_v3/representations.rb,
 generated/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #image_bytes  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property imageBytesNOTE: Values are automatically base64 encoded/decoded in the client library.
- 
  
    
      #image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property imageUrl.
- 
  
    
      #position  ⇒ Google::Apis::YoutubeV3::InvideoPosition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes the spatial position of a visual widget inside a video. 
- 
  
    
      #target_channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property targetChannelId.
- 
  
    
      #timing  ⇒ Google::Apis::YoutubeV3::InvideoTiming 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes a temporal position of a visual widget inside a video. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InvideoBranding 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InvideoBranding. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InvideoBranding
Returns a new instance of InvideoBranding
| 3368 3369 3370 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3368 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#image_bytes ⇒ String
Corresponds to the JSON property imageBytes
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 3345 3346 3347 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3345 def image_bytes @image_bytes end | 
#image_url ⇒ String
Corresponds to the JSON property imageUrl
| 3350 3351 3352 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3350 def image_url @image_url end | 
#position ⇒ Google::Apis::YoutubeV3::InvideoPosition
Describes the spatial position of a visual widget inside a video. It is a
union of various position types, out of which only will be set one.
Corresponds to the JSON property position
| 3356 3357 3358 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3356 def position @position end | 
#target_channel_id ⇒ String
Corresponds to the JSON property targetChannelId
| 3361 3362 3363 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3361 def target_channel_id @target_channel_id end | 
#timing ⇒ Google::Apis::YoutubeV3::InvideoTiming
Describes a temporal position of a visual widget inside a video.
Corresponds to the JSON property timing
| 3366 3367 3368 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3366 def timing @timing end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3373 3374 3375 3376 3377 3378 3379 | # File 'generated/google/apis/youtube_v3/classes.rb', line 3373 def update!(**args) @image_bytes = args[:image_bytes] if args.key?(:image_bytes) @image_url = args[:image_url] if args.key?(:image_url) @position = args[:position] if args.key?(:position) @target_channel_id = args[:target_channel_id] if args.key?(:target_channel_id) @timing = args[:timing] if args.key?(:timing) end |