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.
70 71 72 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Primary email of the admin user.
Corresponds to the JSON property email
58 59 60 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 58 def email @email end |
#family_name ⇒ String
Family name of the admin user.
Corresponds to the JSON property familyName
63 64 65 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 63 def family_name @family_name end |
#given_name ⇒ String
Given name of the admin user.
Corresponds to the JSON property givenName
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 |