Class: Google::Apis::AdminDirectoryV1::Users
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Users
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
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>
A 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.
Constructor Details
#initialize(**args) ⇒ Users
Returns a new instance of Users.
5792 5793 5794 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
5770 5771 5772 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5770 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
5775 5776 5777 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5775 def kind @kind end |
#next_page_token ⇒ String
Token used to access next page of this result.
Corresponds to the JSON property nextPageToken
5780 5781 5782 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5780 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
5785 5786 5787 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5785 def trigger_event @trigger_event end |
#users ⇒ Array<Google::Apis::AdminDirectoryV1::User>
A list of user objects.
Corresponds to the JSON property users
5790 5791 5792 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5790 def users @users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5797 5798 5799 5800 5801 5802 5803 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 5797 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 |