Class CasesResource.PatchRequest
Update the specified case. Only a subset of fields can be updated.
Inheritance
CasesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class CasesResource.PatchRequest : CloudSupportBaseServiceRequest<Case>, IClientServiceRequest<Case>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Case, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Case body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Case | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.Case>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.Case>.MethodName
Name
The resource name for the case.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.Case>.RestPath
UpdateMask
A list of attributes of the case object that should be updated as part of this request. Supported values
are priority, display_name, and subscriber_email_addresses. If no fields are specified, all
supported fields are updated. WARNING: If you do not provide a field mask, then you might accidentally
clear some fields. For example, if you leave the field mask empty and do not provide a value for
subscriber_email_addresses, then subscriber_email_addresses is updated to empty.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.Case>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()