Class ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.PatchRequest
Updates a catalog item. Partial updating is supported. Non-existing items will be created.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.PatchRequest
Implements
Inherited Members
Namespace: Google.Apis.RecommendationsAI.v1beta1
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.PatchRequest : RecommendationsAIBaseServiceRequest<GoogleCloudRecommendationengineV1beta1CatalogItem>, IClientServiceRequest<GoogleCloudRecommendationengineV1beta1CatalogItem>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudRecommendationengineV1beta1CatalogItem, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudRecommendationengineV1beta1CatalogItem body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommendationengineV1beta1CatalogItem | 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. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id
.
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 'item' to update. If not set, will by default update 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()