Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceList (v2.13.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceList.

Contains a list of instances.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — [Output Only] Unique identifier for the resource; defined by the server.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Unique identifier for the resource; defined by the server.
Returns
  • (::String) — [Output Only] Unique identifier for the resource; defined by the server.

#items

def items() -> ::Array<::Google::Cloud::Compute::V1::Instance>
Returns

#items=

def items=(value) -> ::Array<::Google::Cloud::Compute::V1::Instance>
Parameter
Returns

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
Returns
  • (::String) — [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.

#next_page_token

def next_page_token() -> ::String
Returns
  • (::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.

#next_page_token=

def next_page_token=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for this resource.
Returns
  • (::String) — [Output Only] Server-defined URL for this resource.

#warning

def warning() -> ::Google::Cloud::Compute::V1::Warning
Returns

#warning=

def warning=(value) -> ::Google::Cloud::Compute::V1::Warning
Parameter
Returns