Class TagKeysResource.PatchRequest
Updates the attributes of the TagKey resource.
Inheritance
TagKeysResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class TagKeysResource.PatchRequest : CloudResourceManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, TagKey, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, TagKey body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| TagKey | 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
Immutable. The resource name for a TagKey. Must be in the format tagKeys/{tag_key_id}, where
tag_key_id is the generated numeric id for the TagKey.
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
Fields to be updated. The mask may only contain description or etag. If omitted entirely, both
description and etag are assumed to be significant.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ValidateOnly
Set as true to perform validations necessary for updating the resource, but not actually perform the action.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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()