class Google::Apis::ClouduseraccountsBeta::User

A User resource.

Attributes

creation_timestamp[RW]
Output Only

Creation timestamp in RFC3339 text format.

Corresponds to the JSON property `creationTimestamp` @return [String]

description[RW]

An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]

groups[RW]
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>]

id[RW]
Output Only

Unique identifier for the resource; defined by the server.

Corresponds to the JSON property `id` @return [String]

kind[RW]
Output Only

Type of the resource. Always clouduseraccounts#user for users.

Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of the resource; provided by the client when the resource is created. Corresponds to the JSON property `name` @return [String]

owner[RW]

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]

public_keys[RW]
Output Only

Public keys that this user may use to login.

Corresponds to the JSON property `publicKeys` @return [Array<Google::Apis::ClouduseraccountsBeta::PublicKey>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 782
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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