Class: Google::Apis::YoutubePartnerV1::AssetShare
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::AssetShare
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
 generated/google/apis/youtube_partner_v1/representations.rb,
 generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the API resource. 
- 
  
    
      #share_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A value that YouTube assigns and uses to uniquely identify the asset share. 
- 
  
    
      #view_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A value that YouTube assigns and uses to uniquely identify the asset view. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AssetShare 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AssetShare. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AssetShare
Returns a new instance of AssetShare
| 505 506 507 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 505 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For this resource, the value is youtubePartner#
assetShare.
Corresponds to the JSON property kind
| 493 494 495 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 493 def kind @kind end | 
#share_id ⇒ String
A value that YouTube assigns and uses to uniquely identify the asset share.
Corresponds to the JSON property shareId
| 498 499 500 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 498 def share_id @share_id end | 
#view_id ⇒ String
A value that YouTube assigns and uses to uniquely identify the asset view.
Corresponds to the JSON property viewId
| 503 504 505 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 503 def view_id @view_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 510 511 512 513 514 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 510 def update!(**args) @kind = args[:kind] if args.key?(:kind) @share_id = args[:share_id] if args.key?(:share_id) @view_id = args[:view_id] if args.key?(:view_id) end |