Class ProjectsResource.LocationsResource.TagTemplatesResource.FieldsResource.CreateRequest
Creates a field in a tag template. You must enable the Data Catalog API in the project
identified by the parent
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.CreateRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>, IClientServiceRequest<GoogleCloudDatacatalogV1TagTemplateField>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDatacatalogV1TagTemplateField, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDatacatalogV1TagTemplateField body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1TagTemplateField | 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.
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. Note: Adding a required field to an existing template is not allowed. 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()