Class: Google::Apis::ResellerV1::PrimaryAdmin

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

Overview

JSON template for primary admin in case of TEAM customers

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrimaryAdmin

Returns a new instance of PrimaryAdmin.



267
268
269
# File 'lib/google/apis/reseller_v1/classes.rb', line 267

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

Instance Attribute Details

#primary_emailString

The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. Corresponds to the JSON property primaryEmail

Returns:

  • (String)


265
266
267
# File 'lib/google/apis/reseller_v1/classes.rb', line 265

def primary_email
  @primary_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



272
273
274
# File 'lib/google/apis/reseller_v1/classes.rb', line 272

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