Class LiasettingsResource
The "liasettings" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class LiasettingsResource
Constructors
LiasettingsResource(IClientService)
Constructs a new resource.
Declaration
public LiasettingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Custombatch(LiasettingsCustomBatchRequest)
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
Declaration
public virtual LiasettingsResource.CustombatchRequest Custombatch(LiasettingsCustomBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
LiasettingsCustomBatchRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
LiasettingsResource.CustombatchRequest |
Get(UInt64, UInt64)
Retrieves the LIA settings of the account.
Declaration
public virtual LiasettingsResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account for which to get or update LIA settings. |
Returns
Type | Description |
---|---|
LiasettingsResource.GetRequest |
Getaccessiblegmbaccounts(UInt64, UInt64)
Retrieves the list of accessible Google My Business accounts.
Declaration
public virtual LiasettingsResource.GetaccessiblegmbaccountsRequest Getaccessiblegmbaccounts(ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account for which to retrieve accessible Google My Business accounts. |
Returns
Type | Description |
---|---|
LiasettingsResource.GetaccessiblegmbaccountsRequest |
List(UInt64)
Lists the LIA settings of the sub-accounts in your Merchant Center account.
Declaration
public virtual LiasettingsResource.ListRequest List(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. This must be a multi-client account. |
Returns
Type | Description |
---|---|
LiasettingsResource.ListRequest |
Listposdataproviders()
Retrieves the list of POS data providers that have active settings for the all eiligible countries.
Declaration
public virtual LiasettingsResource.ListposdataprovidersRequest Listposdataproviders()
Returns
Type | Description |
---|---|
LiasettingsResource.ListposdataprovidersRequest |
Requestgmbaccess(UInt64, UInt64, String)
Requests access to a specified Google My Business account.
Declaration
public virtual LiasettingsResource.RequestgmbaccessRequest Requestgmbaccess(ulong merchantId, ulong accountId, string gmbEmail)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account for which GMB access is requested. |
System.String | gmbEmail | The email of the Google My Business account. |
Returns
Type | Description |
---|---|
LiasettingsResource.RequestgmbaccessRequest |
Requestinventoryverification(UInt64, UInt64, String)
Requests inventory validation for the specified country.
Declaration
public virtual LiasettingsResource.RequestinventoryverificationRequest Requestinventoryverification(ulong merchantId, ulong accountId, string country)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account that manages the order. This cannot be a multi-client account. |
System.String | country | The country for which inventory validation is requested. |
Returns
Type | Description |
---|---|
LiasettingsResource.RequestinventoryverificationRequest |
Setinventoryverificationcontact(UInt64, UInt64, String, String, String, String)
Sets the inventory verification contract for the specified country.
Declaration
public virtual LiasettingsResource.SetinventoryverificationcontactRequest Setinventoryverificationcontact(ulong merchantId, ulong accountId, string country, string language, string contactName, string contactEmail)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account that manages the order. This cannot be a multi-client account. |
System.String | country | The country for which inventory verification is requested. |
System.String | language | The language for which inventory verification is requested. |
System.String | contactName | The name of the inventory verification contact. |
System.String | contactEmail | The email of the inventory verification contact. |
Returns
Type | Description |
---|---|
LiasettingsResource.SetinventoryverificationcontactRequest |
Setposdataprovider(UInt64, UInt64, String)
Sets the POS data provider for the specified country.
Declaration
public virtual LiasettingsResource.SetposdataproviderRequest Setposdataprovider(ulong merchantId, ulong accountId, string country)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account for which to retrieve accessible Google My Business accounts. |
System.String | country | The country for which the POS data provider is selected. |
Returns
Type | Description |
---|---|
LiasettingsResource.SetposdataproviderRequest |
Update(LiaSettings, UInt64, UInt64)
Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.
Declaration
public virtual LiasettingsResource.UpdateRequest Update(LiaSettings body, ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
LiaSettings | body | The body of the request. |
System.UInt64 | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
System.UInt64 | accountId | The ID of the account for which to get or update LIA settings. |
Returns
Type | Description |
---|---|
LiasettingsResource.UpdateRequest |