Class ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.PatchRequest
Updates a field in a tag template. This method cannot be used to update the field type. Users
should enable the Data Catalog API in the project identified by the name
parameter (see [Data
Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project)
for more information).
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplateField>, IClientServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplateField>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1beta1TagTemplateField, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1beta1TagTemplateField body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1beta1TagTemplateField | 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
Required. The name of the tag template field. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_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
Optional. Names of fields whose values to overwrite on an individual field of a tag
template. The following fields are modifiable: * display_name
* type.enum_type
*
is_required
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
with one exception: when updating an enum type, the provided values are merged with the
existing values. Therefore, enum values can only be added, existing enum values cannot be
deleted or renamed. Additionally, updating a template field from optional to required is
not allowed.
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()