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.



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

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



1558
1559
1560
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1558

def job_templates
  @job_templates
end

#next_page_tokenString

The pagination token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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

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


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

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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