class Google::Apis::AutoscalerV1beta2::Zone
Attributes
Corresponds to the JSON property `creationTimestamp` @return [String]
Corresponds to the JSON property `deprecated` @return [Google::Apis::AutoscalerV1beta2::DeprecationStatus]
Corresponds to the JSON property `description` @return [String]
Corresponds to the JSON property `id` @return [String]
- Output Only
-
Type of the resource. Always kind#zone for zones.
Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `maintenanceWindows` @return [Array<Google::Apis::AutoscalerV1beta2::Zone::MaintenanceWindow>]
Corresponds to the JSON property `name` @return [String]
Corresponds to the JSON property `region` @return [String]
- Output Only
-
Server defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 647 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 652 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) @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows) @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