Class: Google::Apis::IamV1::ListServiceAccountsResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::ListServiceAccountsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/google/apis/iam_v1/representations.rb
Overview
The service account list response.
Instance Attribute Summary collapse
-
#accounts ⇒ Array<Google::Apis::IamV1::ServiceAccount>
The list of matching service accounts.
-
#next_page_token ⇒ String
To retrieve the next page of results, set ListServiceAccountsRequest.page_token to this value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListServiceAccountsResponse
constructor
A new instance of ListServiceAccountsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListServiceAccountsResponse
Returns a new instance of ListServiceAccountsResponse
434 435 436 |
# File 'generated/google/apis/iam_v1/classes.rb', line 434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accounts ⇒ Array<Google::Apis::IamV1::ServiceAccount>
The list of matching service accounts.
Corresponds to the JSON property accounts
425 426 427 |
# File 'generated/google/apis/iam_v1/classes.rb', line 425 def accounts @accounts end |
#next_page_token ⇒ String
To retrieve the next page of results, set
ListServiceAccountsRequest.page_token
to this value.
Corresponds to the JSON property nextPageToken
432 433 434 |
# File 'generated/google/apis/iam_v1/classes.rb', line 432 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
439 440 441 442 |
# File 'generated/google/apis/iam_v1/classes.rb', line 439 def update!(**args) @accounts = args[:accounts] if args.key?(:accounts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |