Class CatalogsResource.ProductsResource.PatchRequest
Updates a specific Product resource.
Inheritance
System.Object
CatalogsResource.ProductsResource.PatchRequest
Implements
Inherited Members
CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>.Xgafv
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudPrivateCatalogProducer.v1beta1
Assembly: Google.Apis.CloudPrivateCatalogProducer.v1beta1.dll
Syntax
public class PatchRequest : CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>, IClientServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Product>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudPrivatecatalogproducerV1beta1Product, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudPrivatecatalogproducerV1beta1Product body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPrivatecatalogproducerV1beta1Product | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.MethodName
Name
Required. The resource name of the product in the format `catalogs/{catalog_id}/products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog, which cannot be changed after the product is created. The final segment of the name must between 1 and 256 characters in length.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.RestPath
UpdateMask
Field mask that controls which fields of the product should be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Product>.InitParameters()