Class: Google::Apis::DatamanagerV1::PartnerLink
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::PartnerLink
- 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
A partner link between an owning account and a partner account.
Instance Attribute Summary collapse
-
#name ⇒ String
Identifier.
-
#owning_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
-
#partner_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
-
#partner_link_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartnerLink
constructor
A new instance of PartnerLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartnerLink
Returns a new instance of PartnerLink.
1653 1654 1655 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Identifier. The name of the partner link. Format: accountTypes/account_type/
accounts/account/partnerLinks/partner_link
Corresponds to the JSON property name
1636 1637 1638 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1636 def name @name end |
#owning_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
Corresponds to the JSON property owningAccount
1641 1642 1643 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1641 def owning_account @owning_account end |
#partner_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
Corresponds to the JSON property partnerAccount
1646 1647 1648 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1646 def partner_account @partner_account end |
#partner_link_id ⇒ String
Output only. The partner link ID.
Corresponds to the JSON property partnerLinkId
1651 1652 1653 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1651 def partner_link_id @partner_link_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1658 1659 1660 1661 1662 1663 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1658 def update!(**args) @name = args[:name] if args.key?(:name) @owning_account = args[:owning_account] if args.key?(:owning_account) @partner_account = args[:partner_account] if args.key?(:partner_account) @partner_link_id = args[:partner_link_id] if args.key?(:partner_link_id) end |