Class: Google::Apis::AdminDirectoryV1::Users
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDirectoryV1::Users
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
 generated/google/apis/admin_directory_v1/representations.rb,
 generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON response template for List Users operation in Apps Directory API.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ETag of the resource. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Kind of resource this is. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token used to access next page of this result. 
- 
  
    
      #trigger_event  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Event that triggered this response (only used in case of Push Response) Corresponds to the JSON property trigger_event.
- 
  
    
      #users  ⇒ Array<Google::Apis::AdminDirectoryV1::User> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of user objects. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Users 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Users. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Users
Returns a new instance of Users
| 4038 4039 4040 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4038 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
| 4016 4017 4018 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4016 def etag @etag end | 
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
| 4021 4022 4023 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4021 def kind @kind end | 
#next_page_token ⇒ String
Token used to access next page of this result.
Corresponds to the JSON property nextPageToken
| 4026 4027 4028 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4026 def next_page_token @next_page_token end | 
#trigger_event ⇒ String
Event that triggered this response (only used in case of Push Response)
Corresponds to the JSON property trigger_event
| 4031 4032 4033 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4031 def trigger_event @trigger_event end | 
#users ⇒ Array<Google::Apis::AdminDirectoryV1::User>
List of user objects.
Corresponds to the JSON property users
| 4036 4037 4038 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4036 def users @users end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4043 4044 4045 4046 4047 4048 4049 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 4043 def update!(**args) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @trigger_event = args[:trigger_event] if args.key?(:trigger_event) @users = args[:users] if args.key?(:users) end |