Class: Google::Apis::AndroidenterpriseV1::EnterpriseAccount
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::EnterpriseAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb
Overview
A service account that can be used to authenticate as the enterprise to API calls that require such authentication.
Instance Attribute Summary collapse
-
#account_email ⇒ String
The email address of the service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseAccount
constructor
A new instance of EnterpriseAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseAccount
Returns a new instance of EnterpriseAccount.
942 943 944 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_email ⇒ String
The email address of the service account.
Corresponds to the JSON property accountEmail
940 941 942 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 940 def account_email @account_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
947 948 949 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 947 def update!(**args) @account_email = args[:account_email] if args.key?(:account_email) end |