Class AccountsResource.DataSourcesResource
The "dataSources" collection of methods.
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class AccountsResource.DataSourcesResource
Constructors
DataSourcesResource(IClientService)
Constructs a new resource.
Declaration
public DataSourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
FileUploads
Gets the FileUploads resource.
Declaration
public virtual AccountsResource.DataSourcesResource.FileUploadsResource FileUploads { get; }
Property Value
Type | Description |
---|---|
AccountsResource.DataSourcesResource.FileUploadsResource |
Methods
Create(DataSource, string)
Creates the new data source configuration for the given account.
Declaration
public virtual AccountsResource.DataSourcesResource.CreateRequest Create(DataSource body, string parent)
Parameters
Type | Name | Description |
---|---|---|
DataSource | body | The body of the request. |
string | parent | Required. The account where this data source will be created. Format: |
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.CreateRequest |
Delete(string)
Deletes a data source from your Merchant Center account.
Declaration
public virtual AccountsResource.DataSourcesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the data source to delete. Format: |
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.DeleteRequest |
Fetch(FetchDataSourceRequest, string)
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.
Declaration
public virtual AccountsResource.DataSourcesResource.FetchRequest Fetch(FetchDataSourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
FetchDataSourceRequest | body | The body of the request. |
string | name | Required. The name of the data source resource to fetch. Format:
|
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.FetchRequest |
Get(string)
Retrieves the data source configuration for the given account.
Declaration
public virtual AccountsResource.DataSourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the data source to retrieve. Format: |
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.GetRequest |
List(string)
Lists the configurations for data sources for the given account.
Declaration
public virtual AccountsResource.DataSourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The account to list data sources for. Format: |
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.ListRequest |
Patch(DataSource, string)
Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.
Declaration
public virtual AccountsResource.DataSourcesResource.PatchRequest Patch(DataSource body, string name)
Parameters
Type | Name | Description |
---|---|---|
DataSource | body | The body of the request. |
string | name | Identifier. The name of the data source. Format:
|
Returns
Type | Description |
---|---|
AccountsResource.DataSourcesResource.PatchRequest |