class Google::Apis::ClouduseraccountsBeta::User
A User resource.
Attributes
- Output Only
-
Creation timestamp in RFC3339 text format.
Corresponds to the JSON property `creationTimestamp` @return [String]
An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]
- Output Only
-
A list of URLs to Group resources who contain the user. Users
are only members of groups in the same project. Corresponds to the JSON property `groups` @return [Array<String>]
- Output Only
-
Unique identifier for the resource; defined by the server.
Corresponds to the JSON property `id` @return [String]
- Output Only
-
Type of the resource. Always clouduseraccounts#user for users.
Corresponds to the JSON property `kind` @return [String]
Name of the resource; provided by the client when the resource is created. Corresponds to the JSON property `name` @return [String]
Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account. Corresponds to the JSON property `owner` @return [String]
- Output Only
-
Public keys that this user may use to login.
Corresponds to the JSON property `publicKeys` @return [Array<Google::Apis::ClouduseraccountsBeta::PublicKey>]
- Output Only
-
Server defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 782 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 787 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @groups = args[:groups] if args.key?(:groups) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @owner = args[:owner] if args.key?(:owner) @public_keys = args[:public_keys] if args.key?(:public_keys) @self_link = args[:self_link] if args.key?(:self_link) end