Class: Google::Apis::IamV1::ListRolesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::IamV1::ListRolesResponse
 
- 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 response containing the roles defined under a resource.
Instance Attribute Summary collapse
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    To retrieve the next page of results, set ListRolesRequest.page_tokento this value.
- 
  
    
      #roles  ⇒ Array<Google::Apis::IamV1::Role> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Roles defined on this resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListRolesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListRolesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListRolesResponse
Returns a new instance of ListRolesResponse
| 387 388 389 | # File 'generated/google/apis/iam_v1/classes.rb', line 387 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#next_page_token ⇒ String
To retrieve the next page of results, set
ListRolesRequest.page_token to this value.
Corresponds to the JSON property nextPageToken
| 380 381 382 | # File 'generated/google/apis/iam_v1/classes.rb', line 380 def next_page_token @next_page_token end | 
#roles ⇒ Array<Google::Apis::IamV1::Role>
The Roles defined on this resource.
Corresponds to the JSON property roles
| 385 386 387 | # File 'generated/google/apis/iam_v1/classes.rb', line 385 def roles @roles end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 392 393 394 395 | # File 'generated/google/apis/iam_v1/classes.rb', line 392 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @roles = args[:roles] if args.key?(:roles) end |