Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1AdminUser

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Information needed to create an Admin User for Google Workspace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1AdminUser

Returns a new instance of GoogleCloudChannelV1AdminUser.



70
71
72
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 70

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

Instance Attribute Details

#emailString

Primary email of the admin user. Corresponds to the JSON property email

Returns:

  • (String)


58
59
60
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 58

def email
  @email
end

#family_nameString

Family name of the admin user. Corresponds to the JSON property familyName

Returns:

  • (String)


63
64
65
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 63

def family_name
  @family_name
end

#given_nameString

Given name of the admin user. Corresponds to the JSON property givenName

Returns:

  • (String)


68
69
70
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 68

def given_name
  @given_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75
76
77
78
79
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 75

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