Class: Google::Apis::AdminDirectoryV1::GuestAccountInfo

Inherits:
Object
  • Object
show all
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

Overview

Account info specific to Guest users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestAccountInfo

Returns a new instance of GuestAccountInfo.



2879
2880
2881
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2879

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#primary_guest_emailString

Immutable. The guest's external email. Corresponds to the JSON property primaryGuestEmail

Returns:

  • (String)


2877
2878
2879
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2877

def primary_guest_email
  @primary_guest_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2884
2885
2886
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2884

def update!(**args)
  @primary_guest_email = args[:primary_guest_email] if args.key?(:primary_guest_email)
end