Class ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.CreateRequest
Creates a field in a tag template. The user should enable the Data Catalog API in the project
identified by the parent parameter (see Data Catalog 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.CreateRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplateField>, IClientServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplateField>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDatacatalogV1beta1TagTemplateField, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDatacatalogV1beta1TagTemplateField body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDatacatalogV1beta1TagTemplateField | body | |
| string | parent |
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
Parent
Required. The name of the project and the template location region. Example: * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
TagTemplateFieldId
Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.
Declaration
[RequestParameter("tagTemplateFieldId", RequestParameterType.Query)]
public virtual string TagTemplateFieldId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()