Class ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.PatchRequest
Updates an existing tag.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryGroupsResource.TagsResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1beta1Tag>, IClientServiceRequest<GoogleCloudDatacatalogV1beta1Tag>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1beta1Tag, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1beta1Tag body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1beta1Tag | 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
The resource name of the tag in URL format. Example: *
projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
where tag_id
is a system-generated identifier. Note that this Tag may not actually be
stored in the location in this name.
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
Note: Currently, this parameter can only take "fields"
as value. Names of fields whose
values to overwrite on a tag. Currently, a tag has the only modifiable field with the name
fields
. In general, if this parameter is absent or empty, all modifiable fields are
overwritten. If such fields are non-required and omitted in the request body, their values
are emptied.
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()