class Google::Apis::ComputeV1::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.

Attributes

available_cpu_platforms[RW]
Output Only

Available cpu/platform selections for the zone.

Corresponds to the JSON property `availableCpuPlatforms` @return [Array<String>]

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#zone for zones.

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

name[RW]
Output Only

Name of the resource.

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

region[RW]
Output Only

Full URL reference to the region which hosts the zone.

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

status[RW]
Output Only

Status of the zone, 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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 41430
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 41435
def update!(**args)
  @available_cpu_platforms = args[:available_cpu_platforms] if args.key?(:available_cpu_platforms)
  @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)
  @region = args[:region] if args.key?(:region)
  @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)
end