Class AccountsResource.DataSourcesResource.PatchRequest
Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.
Inheritance
AccountsResource.DataSourcesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class AccountsResource.DataSourcesResource.PatchRequest : MerchantBaseServiceRequest<DataSource>, IClientServiceRequest<DataSource>, IClientServiceRequest
Constructors
PatchRequest(IClientService, DataSource, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, DataSource body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DataSource | 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
Identifier. The name of the data source. Format:
{datasource.name=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
UpdateMask
Required. The list of data source fields to be updated. Fields specified in the update mask without a value specified in the body will be deleted from the data source. Providing special "*" value for full data source replacement is not supported.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()