Class ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PatchRequest
Update of model metadata. Only fields that currently can be updated are: filtering_option
and
periodic_tuning_state
. If other values are provided, this API method ignores them.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PatchRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaModel>, IClientServiceRequest<GoogleCloudRetailV2alphaModel>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudRetailV2alphaModel, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudRetailV2alphaModel body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaModel | 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 fully qualified resource name of the model. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
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
Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.
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()