class Google::Apis::ComputeV1::CommitmentList
Contains a list of Commitment resources.
Attributes
- Output Only
-
Unique identifier for the resource; defined by the server.
Corresponds to the JSON property ‘id` @return [String]
A list of Commitment resources. Corresponds to the JSON property ‘items` @return [Array<Google::Apis::ComputeV1::Commitment>]
- Output Only
-
Type of resource. Always compute#commitmentList for lists of
commitments. Corresponds to the JSON property ‘kind` @return [String]
- 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]
- Output Only
-
Server-defined URL for this resource.
Corresponds to the JSON property ‘selfLink` @return [String]
- Output Only
-
Informational warning message.
Corresponds to the JSON property ‘warning` @return [Google::Apis::ComputeV1::CommitmentList::Warning]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 5194 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 5199 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