Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Region (v1.5.0)

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

Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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#region for regions.

#kind=

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

#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.

#quotas

def quotas() -> ::Array<::Google::Cloud::Compute::V1::Quota>
Returns

#quotas=

def quotas=(value) -> ::Array<::Google::Cloud::Compute::V1::Quota>
Parameter
Returns
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 region, 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 region, either UP or DOWN. Check the Status enum for the list of possible values.
Returns
  • (::String) — [Output Only] Status of the region, 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.

#zones

def zones() -> ::Array<::String>
Returns
  • (::Array<::String>) — [Output Only] A list of zones available in this region, in the form of resource URLs.

#zones=

def zones=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — [Output Only] A list of zones available in this region, in the form of resource URLs.
Returns
  • (::Array<::String>) — [Output Only] A list of zones available in this region, in the form of resource URLs.