Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class SetAliasForRelationship.
Set an alias for a relationship between a provider and the account to be created.
Generated from protobuf message google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1 \ CreateAndConfigureAccountRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ provider |
string
Required. The provider of the service. This is a reference to an account such as |
↳ account_id_alias |
string
Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider. |
getProvider
Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProvider
Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccountIdAlias
Required. The unique ID of this account in the provider's system.
The value must be unique across all accounts on the platform for this provider.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccountIdAlias
Required. The unique ID of this account in the provider's system.
The value must be unique across all accounts on the platform for this provider.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|