Class: Google::Apis::AndroidenterpriseV1::EnterpriseAccount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseAccount

Returns a new instance of EnterpriseAccount.



958
959
960
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 958

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

Instance Attribute Details

#account_emailString

The email address of the service account. Corresponds to the JSON property accountEmail

Returns:

  • (String)


956
957
958
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 956

def 
  @account_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



963
964
965
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 963

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