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.



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

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


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

def email
  @email
end

#family_nameString

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

Returns:

  • (String)


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

def family_name
  @family_name
end

#given_nameString

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

Returns:

  • (String)


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