Class ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.ProductsResource.PatchRequest
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
ProjectsResource.LocationsResource.CatalogsResource.BranchesResource.ProductsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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()
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class PatchRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2Product>, IClientServiceRequest<GoogleCloudRetailV2Product>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudRetailV2Product, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudRetailV2Product body, string name)
Parameters
Properties
AllowMissing
If set to true, and the Product is not found, a new Product will be created. In this
situation, update_mask is ignored.
Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.MethodName
Name
Immutable. Full resource name of the product, such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id.
The branch ID must be "default_branch".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.RestPath
UpdateMask
Indicates which fields in the provided Product to update. The immutable and output only
fields are NOT supported. If not set, all supported fields (the fields that are neither
immutable nor output only) are updated. If an unsupported or unknown field is provided,
an INVALID_ARGUMENT error is returned.
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.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRetail.v2.CloudRetailBaseServiceRequest<Google.Apis.CloudRetail.v2.Data.GoogleCloudRetailV2Product>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest