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.



925
926
927
# File 'lib/google/apis/iam_v1/classes.rb', line 925

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)


918
919
920
# File 'lib/google/apis/iam_v1/classes.rb', line 918

def next_page_token
  @next_page_token
end

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

A list of pools. Corresponds to the JSON property workforcePools



923
924
925
# File 'lib/google/apis/iam_v1/classes.rb', line 923

def workforce_pools
  @workforce_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



930
931
932
933
# File 'lib/google/apis/iam_v1/classes.rb', line 930

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