Class ProjectsResource.LocationsResource.TagTemplatesResource.PatchRequest
Updates a tag template. You can't update template fields with this method. These fields are separate
resources with their own create, update, and delete methods. You must enable the Data Catalog API in
the project identified by the tag_template.name
parameter. For more information, see Data Catalog
resource project.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TagTemplatesResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplate>, IClientServiceRequest<GoogleCloudDatacatalogV1TagTemplate>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1TagTemplate, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1TagTemplate body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1TagTemplate | 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. The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its 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
Names of fields whose values to overwrite on a tag template. Currently, only display_name
and
is_publicly_readable
can be overwritten. 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. Note: Updating the is_publicly_readable
field may require up to 12 hours
to take effect in search results.
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()