class Google::Apis::ComputeV1::Region

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

Attributes

creation_timestamp[RW]
Output Only

Creation timestamp in RFC3339 text format.

Corresponds to the JSON property `creationTimestamp` @return [String]

deprecated[RW]

Deprecation status for a public resource. Corresponds to the JSON property `deprecated` @return [Google::Apis::ComputeV1::DeprecationStatus]

description[RW]
Output Only

Textual description of the resource.

Corresponds to the JSON property `description` @return [String]

id[RW]
Output Only

The unique identifier for the resource. This identifier is

defined by the server. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]
Output Only

Type of the resource. Always compute#region for regions.

Corresponds to the JSON property `kind` @return [String]

name[RW]
Output Only

Name of the resource.

Corresponds to the JSON property `name` @return [String]

quotas[RW]
Output Only

Quotas assigned to this region.

Corresponds to the JSON property `quotas` @return [Array<Google::Apis::ComputeV1::Quota>]

status[RW]
Output Only

Status of the region, either UP or DOWN.

Corresponds to the JSON property `status` @return [String]

supports_pzs[RW]
Output Only

Reserved for future use.

Corresponds to the JSON property `supportsPzs` @return [Boolean]

supports_pzs?[RW]
Output Only

Reserved for future use.

Corresponds to the JSON property `supportsPzs` @return [Boolean]

zones[RW]
Output Only

A list of zones available in this region, in the form of

resource URLs. Corresponds to the JSON property `zones` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 26269
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 26274
def update!(**args)
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
  @deprecated = args[:deprecated] if args.key?(:deprecated)
  @description = args[:description] if args.key?(:description)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @quotas = args[:quotas] if args.key?(:quotas)
  @self_link = args[:self_link] if args.key?(:self_link)
  @status = args[:status] if args.key?(:status)
  @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
  @zones = args[:zones] if args.key?(:zones)
end