Class ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.PatchRequest
Updates a ServingConfig.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.ServingConfigsResource.PatchRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2alphaServingConfig>, IClientServiceRequest<GoogleCloudRetailV2alphaServingConfig>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudRetailV2alphaServingConfig, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudRetailV2alphaServingConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2alphaServingConfig | 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
Immutable. Fully qualified name projects/*/locations/global/catalogs/*/servingConfig/*
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
Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.
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()