class Google::Apis::ComputeBeta::Zone
A Zone resource.
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::ComputeBeta::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 [String]
- Output Only
-
Type of the resource. Always compute#zone for zones.
Corresponds to the JSON property `kind` @return [String]
- Output Only
-
Name of the resource.
Corresponds to the JSON property `name` @return [String]
- Output Only
-
Full URL reference to the region which hosts the zone.
Corresponds to the JSON property `region` @return [String]
- Output Only
-
Server-defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
- Output Only
-
Status of the zone, either UP or DOWN.
Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File generated/google/apis/compute_beta/classes.rb, line 9899 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/compute_beta/classes.rb, line 9904 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) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) end