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

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

Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#available_cpu_platforms

def available_cpu_platforms() -> ::Array<::String>
Returns
  • (::Array<::String>) — [Output Only] Available cpu/platform selections for the zone.

#available_cpu_platforms=

def available_cpu_platforms=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — [Output Only] Available cpu/platform selections for the zone.
Returns
  • (::Array<::String>) — [Output Only] Available cpu/platform selections for the zone.

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#deprecated

def deprecated() -> ::Google::Cloud::Compute::V1::DeprecationStatus
Returns

#deprecated=

def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — [Output Only] Textual description of the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Textual description of the resource.
Returns
  • (::String) — [Output Only] Textual description of the resource.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#zone for zones.

#kind=

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

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] Name of the resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Name of the resource.
Returns
  • (::String) — [Output Only] Name of the resource.

#region

def region() -> ::String
Returns
  • (::String) — [Output Only] Full URL reference to the region which hosts the zone.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Full URL reference to the region which hosts the zone.
Returns
  • (::String) — [Output Only] Full URL reference to the region which hosts the zone.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for the resource.
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.

#status

def status() -> ::String
Returns
  • (::String) — [Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.
Returns
  • (::String) — [Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.

#supports_pzs

def supports_pzs() -> ::Boolean
Returns
  • (::Boolean) — [Output Only] Reserved for future use.

#supports_pzs=

def supports_pzs=(value) -> ::Boolean
Parameter
  • value (::Boolean) — [Output Only] Reserved for future use.
Returns
  • (::Boolean) — [Output Only] Reserved for future use.