Class: Google::Apis::AndroiddeviceprovisioningV1::Company
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::Company
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Company
Instance Attribute Summary collapse
-
#admin_emails ⇒ Array<String>
Admin emails.
-
#company_id ⇒ Fixnum
Company ID.
-
#company_name ⇒ String
Company name.
-
#name ⇒ String
The API resource name of the company in the format
partners/[PARTNER_ID]/customers/[CUSTOMER_ID]
. -
#owner_emails ⇒ Array<String>
Owner emails.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Company
constructor
A new instance of Company.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Company
Returns a new instance of Company
135 136 137 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_emails ⇒ Array<String>
Admin emails.
Admins are able to operate on the portal.
This field is a write-only field at creation time.
Corresponds to the JSON property adminEmails
110 111 112 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 110 def admin_emails @admin_emails end |
#company_id ⇒ Fixnum
Company ID.
Corresponds to the JSON property companyId
115 116 117 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 115 def company_id @company_id end |
#company_name ⇒ String
Company name.
Corresponds to the JSON property companyName
120 121 122 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 120 def company_name @company_name end |
#name ⇒ String
The API resource name of the company in the format
partners/[PARTNER_ID]/customers/[CUSTOMER_ID]
.
Corresponds to the JSON property name
126 127 128 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 126 def name @name end |
#owner_emails ⇒ Array<String>
Owner emails.
Owners are able to operate on the portal, and modify admins or other
owners. This field is a write-only field at creation time.
Corresponds to the JSON property ownerEmails
133 134 135 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 133 def owner_emails @owner_emails end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
140 141 142 143 144 145 146 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 140 def update!(**args) @admin_emails = args[:admin_emails] if args.key?(:admin_emails) @company_id = args[:company_id] if args.key?(:company_id) @company_name = args[:company_name] if args.key?(:company_name) @name = args[:name] if args.key?(:name) @owner_emails = args[:owner_emails] if args.key?(:owner_emails) end |