Show / Hide Table of Contents

Class LiasettingsResource

The "liasettings" collection of methods.

Inheritance
object
LiasettingsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class LiasettingsResource

Constructors

LiasettingsResource(IClientService)

Constructs a new resource.

Declaration
public LiasettingsResource(IClientService service)
Parameters
Type Name Description
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(ulong, ulong)

Retrieves the LIA settings of the account.

Declaration
public virtual LiasettingsResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type Name Description
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which to get or update LIA settings.

Returns
Type Description
LiasettingsResource.GetRequest

Getaccessiblegmbaccounts(ulong, ulong)

Retrieves the list of accessible Business Profiles.

Declaration
public virtual LiasettingsResource.GetaccessiblegmbaccountsRequest Getaccessiblegmbaccounts(ulong merchantId, ulong accountId)
Parameters
Type Name Description
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which to retrieve accessible Business Profiles.

Returns
Type Description
LiasettingsResource.GetaccessiblegmbaccountsRequest

List(ulong)

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
ulong 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(ulong, ulong, string)

Requests access to a specified Business Profile.

Declaration
public virtual LiasettingsResource.RequestgmbaccessRequest Requestgmbaccess(ulong merchantId, ulong accountId, string gmbEmail)
Parameters
Type Name Description
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which Business Profile access is requested.

string gmbEmail

The email of the Business Profile.

Returns
Type Description
LiasettingsResource.RequestgmbaccessRequest

Requestinventoryverification(ulong, ulong, string)

Requests inventory validation for the specified country.

Declaration
public virtual LiasettingsResource.RequestinventoryverificationRequest Requestinventoryverification(ulong merchantId, ulong accountId, string country)
Parameters
Type Name Description
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account that manages the order. This cannot be a multi-client account.

string country

The country for which inventory validation is requested.

Returns
Type Description
LiasettingsResource.RequestinventoryverificationRequest

Setinventoryverificationcontact(ulong, ulong, string, string, string, string)

Sets the inventory verification contact 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
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account that manages the order. This cannot be a multi-client account.

string country

The country for which inventory verification is requested.

string language

The language for which inventory verification is requested.

string contactName

The name of the inventory verification contact.

string contactEmail

The email of the inventory verification contact.

Returns
Type Description
LiasettingsResource.SetinventoryverificationcontactRequest

Setomnichannelexperience(ulong, ulong)

Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles about LFP and how to get started with it.

Declaration
public virtual LiasettingsResource.SetomnichannelexperienceRequest Setomnichannelexperience(ulong merchantId, ulong accountId)
Parameters
Type Name Description
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which to retrieve accessible Business Profiles.

Returns
Type Description
LiasettingsResource.SetomnichannelexperienceRequest

Setposdataprovider(ulong, ulong, 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
ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which to retrieve accessible Business Profiles.

string country

The country for which the POS data provider is selected.

Returns
Type Description
LiasettingsResource.SetposdataproviderRequest

Update(LiaSettings, ulong, ulong)

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.

ulong 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 accountId must be the ID of a sub-account of this account.

ulong accountId

The ID of the account for which to get or update LIA settings.

Returns
Type Description
LiasettingsResource.UpdateRequest
In this article
Back to top Generated by DocFX