class Google::Apis::ComputeBeta::InstanceTemplateList

A list of instance templates.

Attributes

id[RW]
Output Only

A unique identifier for this instance template. The server

defines this identifier. Corresponds to the JSON property `id` @return [String]

items[RW]
Output Only

list of InstanceTemplate resources.

Corresponds to the JSON property `items` @return [Array<Google::Apis::ComputeBeta::InstanceTemplate>]

kind[RW]
Output Only

The resource type, which is always compute#

instanceTemplatesListResponse for instance template lists. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]
Output Only

This token allows you to get the next page of results for list

requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_beta/classes.rb, line 4671
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_beta/classes.rb, line 4676
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @self_link = args[:self_link] if args.key?(:self_link)
end