Class: Google::Apis::TranscoderV1beta1::ListJobTemplatesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb

Overview

Response message for TranscoderService.ListJobTemplates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListJobTemplatesResponse

Returns a new instance of ListJobTemplatesResponse.



947
948
949
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 947

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#job_templatesArray<Google::Apis::TranscoderV1beta1::JobTemplate>

List of job templates in the specified region. Corresponds to the JSON property jobTemplates



940
941
942
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 940

def job_templates
  @job_templates
end

#next_page_tokenString

The pagination token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


945
946
947
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 945

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



952
953
954
955
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 952

def update!(**args)
  @job_templates = args[:job_templates] if args.key?(:job_templates)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end