class Google::Apis::ChatV1::User

A user in Google Chat.

Attributes

display_name[RW]

The user's display name. Corresponds to the JSON property `displayName` @return [String]

domain_id[RW]

Obfuscated domain information. Corresponds to the JSON property `domainId` @return [String]

is_anonymous[RW]

True when the user is deleted or the user's profile is not visible. Corresponds to the JSON property `isAnonymous` @return [Boolean]

is_anonymous?[RW]

True when the user is deleted or the user's profile is not visible. Corresponds to the JSON property `isAnonymous` @return [Boolean]

name[RW]

Resource name, in the format “users/*”. Corresponds to the JSON property `name` @return [String]

type[RW]

User type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 2834
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @domain_id = args[:domain_id] if args.key?(:domain_id)
  @is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end