Class: Google::Apis::AutoscalerV1beta2::ZoneList
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::ZoneList
- 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
-
#id ⇒ String
Corresponds to the JSON property
id
. -
#items ⇒ Array<Google::Apis::AutoscalerV1beta2::Zone>
Corresponds to the JSON property
items
. -
#kind ⇒ String
Type of resource.
-
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken
. -
#self_link ⇒ String
[Output Only] Server-defined URL for this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneList
constructor
A new instance of ZoneList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ZoneList
Returns a new instance of ZoneList.
695 696 697 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
673 674 675 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 673 def id @id end |
#items ⇒ Array<Google::Apis::AutoscalerV1beta2::Zone>
Corresponds to the JSON property items
678 679 680 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 678 def items @items end |
#kind ⇒ String
Type of resource.
Corresponds to the JSON property kind
683 684 685 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 683 def kind @kind end |
#next_page_token ⇒ String
Corresponds to the JSON property nextPageToken
688 689 690 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 688 def next_page_token @next_page_token end |
#self_link ⇒ String
[Output Only] Server-defined URL for this resource.
Corresponds to the JSON property selfLink
693 694 695 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 693 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
700 701 702 703 704 705 706 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 700 def update!(**args) @id = args[:id] if args.key?(:id) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end |