class Google::Apis::ContentV2_1::AccountsLinkRequest
Attributes
Action to perform for this link. The `“request”` action is only available to select merchants. Acceptable values are: - “`approve`” - “`remove`” - “` request`” Corresponds to the JSON property `action` @return [String]
Type of the link between the two accounts. Acceptable values are: - “` channelPartner`” - “`eCommercePlatform`” - “`paymentServiceProvider`” Corresponds to the JSON property `linkType` @return [String]
The ID of the linked account. Corresponds to the JSON property `linkedAccountId` @return [String]
Additional information required for PAYMENT_SERVICE_PROVIDER link type. Corresponds to the JSON property `paymentServiceProviderLinkInfo` @return [Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo]
Acceptable values are: - “`shoppingAdsProductManagement`” - “` shoppingActionsProductManagement`” - “`shoppingActionsOrderManagement`” - “` paymentProcessing`” Corresponds to the JSON property `services` @return [Array<String>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 1164 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 1169 def update!(**args) @action = args[:action] if args.key?(:action) @link_type = args[:link_type] if args.key?(:link_type) @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) @payment_service_provider_link_info = args[:payment_service_provider_link_info] if args.key?(:payment_service_provider_link_info) @services = args[:services] if args.key?(:services) end