Class: Google::Apis::YoutubeV3::InvideoBranding
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::InvideoBranding
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Overview
LINT.IfChange Describes an invideo branding.
Instance Attribute Summary collapse
- 
  
    
      #image_bytes  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The bytes the uploaded image.
 - 
  
    
      #image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The url of the uploaded image.
 - 
  
    
      #position  ⇒ Google::Apis::YoutubeV3::InvideoPosition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Describes the spatial position of a visual widget inside a video.
 - 
  
    
      #target_channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The channel to which this branding links.
 - 
  
    
      #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.
 
Constructor Details
#initialize(**args) ⇒ InvideoBranding
Returns a new instance of InvideoBranding.
      3500 3501 3502  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3500 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#image_bytes ⇒ String
The bytes the uploaded image. Only used in api to youtube communication.
Corresponds to the JSON property imageBytes
NOTE: Values are automatically base64 encoded/decoded in the client library.
      3476 3477 3478  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3476 def image_bytes @image_bytes end  | 
  
#image_url ⇒ String
The url of the uploaded image. Only used in apiary to api communication.
Corresponds to the JSON property imageUrl
      3481 3482 3483  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3481 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
      3487 3488 3489  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3487 def position @position end  | 
  
#target_channel_id ⇒ String
The channel to which this branding links. If not present it defaults to the
current channel.
Corresponds to the JSON property targetChannelId
      3493 3494 3495  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3493 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
      3498 3499 3500  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3498 def timing @timing end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3505 3506 3507 3508 3509 3510 3511  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3505 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  |