Class: Google::Apis::IamV1::ListWorkforcePoolsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkforcePoolsResponse

Returns a new instance of ListWorkforcePoolsResponse.



1248
1249
1250
# File 'lib/google/apis/iam_v1/classes.rb', line 1248

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1241
1242
1243
# File 'lib/google/apis/iam_v1/classes.rb', line 1241

def next_page_token
  @next_page_token
end

#workforce_poolsArray<Google::Apis::IamV1::WorkforcePool>

A list of pools. Corresponds to the JSON property workforcePools



1246
1247
1248
# File 'lib/google/apis/iam_v1/classes.rb', line 1246

def workforce_pools
  @workforce_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1253
1254
1255
1256
# File 'lib/google/apis/iam_v1/classes.rb', line 1253

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