Class: Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1/accounts.rb
Overview
Request message for the CreateAndConfigureAccount method.
Defined Under Namespace
Classes: AddAccountService, AddUser
Instance Attribute Summary collapse
-
#account ⇒ ::Google::Shopping::Merchant::Accounts::V1::Account
Required.
-
#service ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddAccountService>
Required.
-
#user ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddUser>
Optional.
Instance Attribute Details
#account ⇒ ::Google::Shopping::Merchant::Accounts::V1::Account
Returns Required. The account to be created.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/accounts.rb', line 104 class CreateAndConfigureAccountRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instruction for adding a user to the account during creation. # @!attribute [rw] user_id # @return [::String] # Required. The email address of the user (for example, # `[email protected]`). # @!attribute [rw] user # @return [::Google::Shopping::Merchant::Accounts::V1::User] # Optional. Details about the user to be added. At the moment, only access # rights may be specified. class AddUser include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Additional instructions to add account services during creation of the # account. # @!attribute [rw] account_aggregation # @return [::Google::Shopping::Merchant::Accounts::V1::AccountAggregation] # The provider is an # [aggregator](https://support.google.com/merchants/answer/188487) for # the account. Payload for service type Account Aggregation. # @!attribute [rw] provider # @return [::String] # Required. The provider of the service. Either the reference to an account # such as `providers/123` or a well-known service provider (one of # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). class AddAccountService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#service ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddAccountService>
Returns Required. An account service between the account to be created and the
provider account is initialized as part of the creation. At least one such
service needs to be provided. Currently exactly one of these needs to be
account_aggregation and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
product_management services may be provided.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/accounts.rb', line 104 class CreateAndConfigureAccountRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instruction for adding a user to the account during creation. # @!attribute [rw] user_id # @return [::String] # Required. The email address of the user (for example, # `[email protected]`). # @!attribute [rw] user # @return [::Google::Shopping::Merchant::Accounts::V1::User] # Optional. Details about the user to be added. At the moment, only access # rights may be specified. class AddUser include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Additional instructions to add account services during creation of the # account. # @!attribute [rw] account_aggregation # @return [::Google::Shopping::Merchant::Accounts::V1::AccountAggregation] # The provider is an # [aggregator](https://support.google.com/merchants/answer/188487) for # the account. Payload for service type Account Aggregation. # @!attribute [rw] provider # @return [::String] # Required. The provider of the service. Either the reference to an account # such as `providers/123` or a well-known service provider (one of # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). class AddAccountService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#user ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1::CreateAndConfigureAccountRequest::AddUser>
Returns Optional. Users to be added to the account.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/accounts.rb', line 104 class CreateAndConfigureAccountRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Instruction for adding a user to the account during creation. # @!attribute [rw] user_id # @return [::String] # Required. The email address of the user (for example, # `[email protected]`). # @!attribute [rw] user # @return [::Google::Shopping::Merchant::Accounts::V1::User] # Optional. Details about the user to be added. At the moment, only access # rights may be specified. class AddUser include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Additional instructions to add account services during creation of the # account. # @!attribute [rw] account_aggregation # @return [::Google::Shopping::Merchant::Accounts::V1::AccountAggregation] # The provider is an # [aggregator](https://support.google.com/merchants/answer/188487) for # the account. Payload for service type Account Aggregation. # @!attribute [rw] provider # @return [::String] # Required. The provider of the service. Either the reference to an account # such as `providers/123` or a well-known service provider (one of # `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). class AddAccountService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |