Class DatafeedstatusesResource.GetRequest
Retrieves the status of a datafeed from your Merchant Center account.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class DatafeedstatusesResource.GetRequest : ShoppingContentBaseServiceRequest<DatafeedStatus>, IClientServiceRequest<DatafeedStatus>, IClientServiceRequest
Constructors
GetRequest(IClientService, ulong, ulong)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, ulong merchantId, ulong datafeedId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ulong | merchantId | |
ulong | datafeedId |
Properties
Country
Deprecated. Use feedLabel
instead. The country to get the datafeed status for. If this parameter is
provided then language
must also be provided. Note that this parameter is required for feeds targeting
multiple countries and languages, since a feed may have a different status for each target.
Declaration
[RequestParameter("country", RequestParameterType.Query)]
public virtual string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
DatafeedId
The ID of the datafeed.
Declaration
[RequestParameter("datafeedId", RequestParameterType.Path)]
public virtual ulong DatafeedId { get; }
Property Value
Type | Description |
---|---|
ulong |
FeedLabel
The feed label to get the datafeed status for. If this parameter is provided then language
must also
be provided. Note that this parameter is required for feeds targeting multiple countries and languages,
since a feed may have a different status for each target.
Declaration
[RequestParameter("feedLabel", RequestParameterType.Query)]
public virtual string FeedLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Language
The language to get the datafeed status for. If this parameter is provided then country
must also be
provided. Note that this parameter is required for feeds targeting multiple countries and languages,
since a feed may have a different status for each target.
Declaration
[RequestParameter("language", RequestParameterType.Query)]
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
MerchantId
The ID of the account that manages the datafeed. This account cannot be a multi-client account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
ulong |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()