Show / Hide Table of Contents

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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>
ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.Xgafv
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.AccessToken
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.Alt
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.Callback
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.Fields
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.Key
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.OauthToken
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.PrettyPrint
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.QuotaUser
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.UploadType
DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class 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
Google.Apis.Services.IClientService service
GoogleCloudDatacatalogV1TagTemplateField body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.MethodName

Name

Required. The name of the tag template field.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.RestPath

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
System.Object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.DataCatalog.v1.DataCatalogBaseServiceRequest<Google.Apis.DataCatalog.v1.Data.GoogleCloudDatacatalogV1TagTemplateField>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top