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
- Output Only
-
Creation timestamp in RFC3339 text format.
Corresponds to the JSON property `creationTimestamp` @return [String]
Deprecation status for a public resource. Corresponds to the JSON property `deprecated` @return [Google::Apis::ComputeV1::DeprecationStatus]
- Output Only
-
Textual description of the resource.
Corresponds to the JSON property `description` @return [String]
- Output Only
-
The unique identifier for the resource. This identifier is
defined by the server. Corresponds to the JSON property `id` @return [Fixnum]
- Output Only
-
Type of the resource. Always compute#region for regions.
Corresponds to the JSON property `kind` @return [String]
- Output Only
-
Name of the resource.
Corresponds to the JSON property `name` @return [String]
- Output Only
-
Quotas assigned to this region.
Corresponds to the JSON property `quotas` @return [Array<Google::Apis::ComputeV1::Quota>]
- Output Only
-
Server-defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
- Output Only
-
Status of the region, either UP or DOWN.
Corresponds to the JSON property `status` @return [String]
- Output Only
-
Reserved for future use.
Corresponds to the JSON property `supportsPzs` @return [Boolean]
- Output Only
-
Reserved for future use.
Corresponds to the JSON property `supportsPzs` @return [Boolean]
- 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
# File lib/google/apis/compute_v1/classes.rb, line 26269 def initialize(**args) update!(**args) end
Public Instance Methods
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