Class: Google::Apis::CloudcontrolspartnerV1::ListWorkloadsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::ListWorkloadsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
Response message for list customer workloads requests.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page. -
#unreachable ⇒ Array<String>
Locations that could not be reached.
-
#workloads ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Workload>
List of customer workloads Corresponds to the JSON property
workloads
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListWorkloadsResponse
constructor
A new instance of ListWorkloadsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListWorkloadsResponse
Returns a new instance of ListWorkloadsResponse.
523 524 525 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
511 512 513 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 511 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
516 517 518 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 516 def unreachable @unreachable end |
#workloads ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Workload>
List of customer workloads
Corresponds to the JSON property workloads
521 522 523 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 521 def workloads @workloads end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
528 529 530 531 532 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 528 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) @workloads = args[:workloads] if args.key?(:workloads) end |