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.



260
261
262
# File 'lib/google/apis/reseller_v1/classes.rb', line 260

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

Instance Attribute Details

#primary_emailString

Primary admin's domained email This email's domain will be used to create TEAM customer Corresponds to the JSON property primaryEmail

Returns:

  • (String)


258
259
260
# File 'lib/google/apis/reseller_v1/classes.rb', line 258

def primary_email
  @primary_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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