Class: Google::Apis::AutoscalerV1beta2::Zone
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::Zone
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/autoscaler_v1beta2/classes.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
Corresponds to the JSON property
creationTimestamp
. -
#deprecated ⇒ Google::Apis::AutoscalerV1beta2::DeprecationStatus
Corresponds to the JSON property
deprecated
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
[Output Only] Type of the resource.
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#region ⇒ String
Corresponds to the JSON property
region
. -
#self_link ⇒ String
Corresponds to the JSON property
selfLink
. -
#status ⇒ String
Corresponds to the JSON property
status
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Zone
constructor
A new instance of Zone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Zone
Returns a new instance of Zone.
648 649 650 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
Corresponds to the JSON property creationTimestamp
606 607 608 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 606 def @creation_timestamp end |
#deprecated ⇒ Google::Apis::AutoscalerV1beta2::DeprecationStatus
Corresponds to the JSON property deprecated
611 612 613 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 611 def deprecated @deprecated end |
#description ⇒ String
Corresponds to the JSON property description
616 617 618 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 616 def description @description end |
#id ⇒ String
Corresponds to the JSON property id
621 622 623 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 621 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#zone for zones.
Corresponds to the JSON property kind
626 627 628 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 626 def kind @kind end |
#name ⇒ String
Corresponds to the JSON property name
631 632 633 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 631 def name @name end |
#region ⇒ String
Corresponds to the JSON property region
636 637 638 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 636 def region @region end |
#self_link ⇒ String
Corresponds to the JSON property selfLink
641 642 643 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 641 def self_link @self_link end |
#status ⇒ String
Corresponds to the JSON property status
646 647 648 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 646 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
653 654 655 656 657 658 659 660 661 662 663 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 653 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 |