Class: Google::Apis::AutoscalerV1beta2::OperationList
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::OperationList
- 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::Operation>
Corresponds to the JSON property
items
. -
#kind ⇒ String
[Output Only] Type of resource.
-
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken
. -
#self_link ⇒ String
Corresponds to the JSON property
selfLink
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationList
constructor
A new instance of OperationList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationList
Returns a new instance of OperationList
585 586 587 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
562 563 564 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 562 def id @id end |
#items ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation>
Corresponds to the JSON property items
567 568 569 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 567 def items @items end |
#kind ⇒ String
[Output Only] Type of resource. Always compute#operations for Operations
resource.
Corresponds to the JSON property kind
573 574 575 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 573 def kind @kind end |
#next_page_token ⇒ String
Corresponds to the JSON property nextPageToken
578 579 580 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 578 def next_page_token @next_page_token end |
#self_link ⇒ String
Corresponds to the JSON property selfLink
583 584 585 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 583 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
590 591 592 593 594 595 596 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 590 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 |