class Google::Apis::ComputeV1::InstanceTemplateList

A list of instance templates.

Attributes

id[RW]
Output Only

Unique identifier for the resource; defined by the server.

Corresponds to the JSON property ‘id` @return [String]

items[RW]

A list of InstanceTemplate resources. Corresponds to the JSON property ‘items` @return [Array<Google::Apis::ComputeV1::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]

warning[RW]
Output Only

Informational warning message.

Corresponds to the JSON property ‘warning` @return [Google::Apis::ComputeV1::InstanceTemplateList::Warning]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 15787
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)
  @warning = args[:warning] if args.key?(:warning)
end