Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1AdminUser
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1AdminUser
- 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
-
#email ⇒ String
Primary email of the admin user.
-
#family_name ⇒ String
Family name of the admin user.
-
#given_name ⇒ String
Given name of the admin user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1AdminUser
constructor
A new instance of GoogleCloudChannelV1AdminUser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1AdminUser
Returns a new instance of GoogleCloudChannelV1AdminUser.
71 72 73 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 71 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Primary email of the admin user.
Corresponds to the JSON property email
59 60 61 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 59 def email @email end |
#family_name ⇒ String
Family name of the admin user.
Corresponds to the JSON property familyName
64 65 66 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 64 def family_name @family_name end |
#given_name ⇒ String
Given name of the admin user.
Corresponds to the JSON property givenName
69 70 71 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 69 def given_name @given_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
76 77 78 79 80 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 76 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 |