Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::GetDiskRequest (v2.7.2)

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

A request message for Disks.Get. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk

def disk() -> ::String
Returns
  • (::String) — Name of the persistent disk to return.

#disk=

def disk=(value) -> ::String
Parameter
  • value (::String) — Name of the persistent disk to return.
Returns
  • (::String) — Name of the persistent disk to return.

#project

def project() -> ::String
Returns
  • (::String) — Project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID for this request.
Returns
  • (::String) — Project ID for this request.

#zone

def zone() -> ::String
Returns
  • (::String) — The name of the zone for this request.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — The name of the zone for this request.
Returns
  • (::String) — The name of the zone for this request.