Class ProjectsResource.PatchRequest
Updates the editable settings of a Discovery Engine Project.
Inheritance
ProjectsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.PatchRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaProject>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaProject>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDiscoveryengineV1alphaProject, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaProject body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaProject | 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
Output only. Full resource name of the project, for example projects/{project}. Note that when making
requests, project number and project id are both acceptable, but the server will always respond in
project number.
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. The list of fields to update. Supported fields: * customer_provided_config
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()