Class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest
Updates a policy tag, including its display name, description, and parent policy tag.
Inheritance
ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1PolicyTag>, IClientServiceRequest<GoogleCloudDatacatalogV1PolicyTag>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1PolicyTag, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1PolicyTag body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1PolicyTag | 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
Identifier. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.
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
Specifies the fields to update. You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
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()