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.
1872 1873 1874 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1872 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
1855 1856 1857 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1855 def name @name end |
#owning_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
Corresponds to the JSON property owningAccount
1860 1861 1862 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1860 def owning_account @owning_account end |
#partner_account ⇒ Google::Apis::DatamanagerV1::ProductAccount
Represents a specific account.
Corresponds to the JSON property partnerAccount
1865 1866 1867 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1865 def partner_account @partner_account end |
#partner_link_id ⇒ String
Output only. The partner link ID.
Corresponds to the JSON property partnerLinkId
1870 1871 1872 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1870 def partner_link_id @partner_link_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1877 1878 1879 1880 1881 1882 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1877 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 |