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.



1576
1577
1578
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1576

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



1564
1565
1566
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1564

def job_templates
  @job_templates
end

#next_page_tokenString

The pagination token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1569
1570
1571
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1569

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>)


1574
1575
1576
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1574

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1581
1582
1583
1584
1585
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1581

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