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
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this region.
#deprecated=
def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
Parameter
- value (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this region.
Returns
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this region.
#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
- (::Array<::Google::Cloud::Compute::V1::Quota>) — [Output Only] Quotas assigned to this region.
#quotas=
def quotas=(value) -> ::Array<::Google::Cloud::Compute::V1::Quota>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Quota>) — [Output Only] Quotas assigned to this region.
Returns
- (::Array<::Google::Cloud::Compute::V1::Quota>) — [Output Only] Quotas assigned to this region.
#self_link
def self_link() -> ::String
Returns
- (::String) — [Output Only] Server-defined URL for the resource.
#self_link=
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.