Class: Google::Apis::YoutubePartnerV1::SpreadsheetTemplate
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::SpreadsheetTemplate
 
- 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. 
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The template status. 
- 
  
    
      #template_content  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The template content. 
- 
  
    
      #template_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The template name. 
- 
  
    
      #template_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The template type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SpreadsheetTemplate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SpreadsheetTemplate. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpreadsheetTemplate
Returns a new instance of SpreadsheetTemplate
| 3568 3569 3570 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3568 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For spreadsheet template resources, the value is
youtubePartner#spreadsheetTemplate.
Corresponds to the JSON property kind
| 3546 3547 3548 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3546 def kind @kind end | 
#status ⇒ String
The template status.
Corresponds to the JSON property status
| 3551 3552 3553 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3551 def status @status end | 
#template_content ⇒ String
The template content.
Corresponds to the JSON property templateContent
| 3556 3557 3558 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3556 def template_content @template_content end | 
#template_name ⇒ String
The template name.
Corresponds to the JSON property templateName
| 3561 3562 3563 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3561 def template_name @template_name end | 
#template_type ⇒ String
The template type.
Corresponds to the JSON property templateType
| 3566 3567 3568 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3566 def template_type @template_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3573 3574 3575 3576 3577 3578 3579 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3573 def update!(**args) @kind = args[:kind] if args.key?(:kind) @status = args[:status] if args.key?(:status) @template_content = args[:template_content] if args.key?(:template_content) @template_name = args[:template_name] if args.key?(:template_name) @template_type = args[:template_type] if args.key?(:template_type) end |