Class CatalogsResource.ProductsResource.VersionsResource.PatchRequest
Updates a specific Version resource.
Inheritance
System.Object
CatalogsResource.ProductsResource.VersionsResource.PatchRequest
Implements
Inherited Members
CloudPrivateCatalogProducerBaseServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Version>.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<GoogleCloudPrivatecatalogproducerV1beta1Version>, IClientServiceRequest<GoogleCloudPrivatecatalogproducerV1beta1Version>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudPrivatecatalogproducerV1beta1Version, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudPrivatecatalogproducerV1beta1Version body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPrivatecatalogproducerV1beta1Version | 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.GoogleCloudPrivatecatalogproducerV1beta1Version>.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.GoogleCloudPrivatecatalogproducerV1beta1Version>.MethodName
Name
Required. The resource name of the version, in the format `catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0-9]'.
A unique identifier for the version under a product, which can't be changed after the version is created. The final segment of the name must between 1 and 63 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.GoogleCloudPrivatecatalogproducerV1beta1Version>.RestPath
UpdateMask
Field mask that controls which fields of the version 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.GoogleCloudPrivatecatalogproducerV1beta1Version>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudPrivateCatalogProducer.v1beta1.CloudPrivateCatalogProducerBaseServiceRequest<Google.Apis.CloudPrivateCatalogProducer.v1beta1.Data.GoogleCloudPrivatecatalogproducerV1beta1Version>.InitParameters()