class Google::Apis::AutoscalerV1beta2::Zone

Attributes

creation_timestamp[RW]

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

deprecated[RW]

Corresponds to the JSON property `deprecated` @return [Google::Apis::AutoscalerV1beta2::DeprecationStatus]

description[RW]

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

id[RW]

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

kind[RW]
Output Only

Type of the resource. Always kind#zone for zones.

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

maintenance_windows[RW]

Corresponds to the JSON property `maintenanceWindows` @return [Array<Google::Apis::AutoscalerV1beta2::Zone::MaintenanceWindow>]

name[RW]

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

region[RW]

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

status[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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