Class: Google::Apis::ResellerV1::PrimaryAdmin
- Inherits:
-
Object
- Object
- Google::Apis::ResellerV1::PrimaryAdmin
- 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
-
#primary_email ⇒ String
Primary admin's domained email This email's domain will be used to create TEAM customer Corresponds to the JSON property
primaryEmail.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrimaryAdmin
constructor
A new instance of PrimaryAdmin.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_email ⇒ String
Primary admin's domained email This email's domain will be used to create TEAM
customer
Corresponds to the JSON property primaryEmail
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 |