Class: Google::Apis::IamV1::ListServiceAccountsResponse

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListServiceAccountsResponse

Returns a new instance of ListServiceAccountsResponse



118
119
120
# File 'generated/google/apis/iam_v1/classes.rb', line 118

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

Instance Attribute Details

#accountsArray<Google::Apis::IamV1::ServiceAccount>

The list of matching service accounts. Corresponds to the JSON property accounts



116
117
118
# File 'generated/google/apis/iam_v1/classes.rb', line 116

def accounts
  @accounts
end

#next_page_tokenString

To retrieve the next page of results, set ListServiceAccountsRequest.page_token to this value. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


111
112
113
# File 'generated/google/apis/iam_v1/classes.rb', line 111

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



123
124
125
126
# File 'generated/google/apis/iam_v1/classes.rb', line 123

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @accounts = args[:accounts] if args.key?(:accounts)
end