Class: Google::Apis::TranscoderV1::ListJobTemplatesResponse

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



1170
1171
1172
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1170

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

Instance Attribute Details

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

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



1158
1159
1160
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1158

def job_templates
  @job_templates
end

#next_page_tokenString

The pagination token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1163
1164
1165
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1163

def next_page_token
  @next_page_token
end

#unreachableArray<String>

List of regions that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1168
1169
1170
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1168

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
1178
1179
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1175

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)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end