Class: Google::Apis::DatamanagerV1::PartnerCustomerAccount
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::PartnerCustomerAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
Represents a customer account in the partner's system.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Required.
-
#account_name ⇒ String
Optional.
-
#account_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartnerCustomerAccount
constructor
A new instance of PartnerCustomerAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartnerCustomerAccount
Returns a new instance of PartnerCustomerAccount.
2542 2543 2544 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Required. The identifier of the customer account in the partner's ID space.
Corresponds to the JSON property accountId
2529 2530 2531 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2529 def account_id @account_id end |
#account_name ⇒ String
Optional. The name of the account.
Corresponds to the JSON property accountName
2534 2535 2536 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2534 def account_name @account_name end |
#account_type ⇒ String
Optional. The type of the account. Can be used to distinguish between
advertiser accounts and business level accounts, for example.
Corresponds to the JSON property accountType
2540 2541 2542 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2540 def account_type @account_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2547 2548 2549 2550 2551 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2547 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_name = args[:account_name] if args.key?(:account_name) @account_type = args[:account_type] if args.key?(:account_type) end |