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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/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.



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

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



938
939
940
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 938

def job_templates
  @job_templates
end

#next_page_tokenString

The pagination token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


943
944
945
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 943

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



950
951
952
953
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 950

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