Class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest
Updates a policy tag.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TaxonomiesResource.PolicyTagsResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1beta1PolicyTag>, IClientServiceRequest<GoogleCloudDatacatalogV1beta1PolicyTag>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1beta1PolicyTag, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1beta1PolicyTag body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1beta1PolicyTag | 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. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
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
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not
provided, all allowed fields (i.e. display_name, description and parent) will be updated.
For more information including the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If
not set, defaults to all of the fields that are allowed to update.
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()