Class ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.PatchRequest
Updates a field in a tag template. You can't update the field type with this method. You must
enable the Data Catalog API in the project identified by the 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.FieldsResource.PatchRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>, IClientServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDatacatalogV1TagTemplateField, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDatacatalogV1TagTemplateField body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1TagTemplateField | 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.
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()