Class TagKeysResource.PatchRequest
Updates the attributes of the TagKey resource.
Inheritance
System.Object
TagKeysResource.PatchRequest
Inherited Members
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.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class 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 | |
| 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.CloudResourceManager.v3.Data.Operation>.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.CloudResourceManager.v3.Data.Operation>.MethodName
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 |
|---|---|
| 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.CloudResourceManager.v3.Data.Operation>.RestPath
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 |
|---|---|
| System.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 |
|---|---|
| System.Nullable<System.Boolean> |
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.CloudResourceManager.v3.Data.Operation>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudResourceManager.v3.CloudResourceManagerBaseServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Operation>.InitParameters()