Class: Google::Apis::IamV1::ListWorkforcePoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::ListWorkforcePoolsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Response message for ListWorkforcePools.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#workforce_pools ⇒ Array<Google::Apis::IamV1::WorkforcePool>
A list of pools.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListWorkforcePoolsResponse
constructor
A new instance of ListWorkforcePoolsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListWorkforcePoolsResponse
Returns a new instance of ListWorkforcePoolsResponse.
1032 1033 1034 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which 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
1025 1026 1027 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1025 def next_page_token @next_page_token end |
#workforce_pools ⇒ Array<Google::Apis::IamV1::WorkforcePool>
A list of pools.
Corresponds to the JSON property workforcePools
1030 1031 1032 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1030 def workforce_pools @workforce_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1037 1038 1039 1040 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1037 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @workforce_pools = args[:workforce_pools] if args.key?(:workforce_pools) end |