Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::DiskList (v2.7.0)

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

A list of Disk resources.

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::Disk>
Returns

#items=

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

#kind

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

#kind=

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

#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