class Google::Apis::CloudidentityV1::UserInvitation

The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer’s Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.

Attributes

mails_sent_count[RW]

Number of invitation emails sent to the user. Corresponds to the JSON property `mailsSentCount` @return [Fixnum]

name[RW]

Shall be of the form `customers/`customer`/userinvitations/`user_email_address` `. Corresponds to the JSON property `name` @return [String]

state[RW]

State of the `UserInvitation`. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Time when the `UserInvitation` was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1/classes.rb, line 1997
def update!(**args)
  @mails_sent_count = args[:mails_sent_count] if args.key?(:mails_sent_count)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end