Class AccountsResource.DataSourcesResource.FetchRequest
Performs the data fetch immediately (even outside fetch schedule) on a data source from your Merchant Center Account. If you need to call this method more than once per day, you should use the Products service to update your product data instead. This method only works on data sources with a file input set.
Inheritance
AccountsResource.DataSourcesResource.FetchRequest
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class AccountsResource.DataSourcesResource.FetchRequest : MerchantBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
FetchRequest(IClientService, FetchDataSourceRequest, string)
Constructs a new Fetch request.
Declaration
public FetchRequest(IClientService service, FetchDataSourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FetchDataSourceRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the data source resource to fetch. Format:
accounts/{account}/dataSources/{datasource}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Fetch parameter list.
Declaration
protected override void InitParameters()