Class: Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse
- 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
-
#items ⇒ Array<Google::Apis::AutoscalerV1beta2::Autoscaler>
Autoscaler resources.
-
#kind ⇒ String
Type of resource.
-
#next_page_token ⇒ String
[Output only] A token used to continue a truncated list request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAutoscalerResponse
constructor
A new instance of ListAutoscalerResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAutoscalerResponse
Returns a new instance of ListAutoscalerResponse.
107 108 109 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AutoscalerV1beta2::Autoscaler>
Autoscaler resources.
Corresponds to the JSON property items
95 96 97 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 95 def items @items end |
#kind ⇒ String
Type of resource.
Corresponds to the JSON property kind
100 101 102 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 100 def kind @kind end |
#next_page_token ⇒ String
[Output only] A token used to continue a truncated list request.
Corresponds to the JSON property nextPageToken
105 106 107 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 105 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
112 113 114 115 116 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 112 def update!(**args) @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) end |