Class ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest
Creates 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]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project).
Inheritance
ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1TagTemplate>, IClientServiceRequest<GoogleCloudDatacatalogV1TagTemplate>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDatacatalogV1TagTemplate, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDatacatalogV1TagTemplate body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1TagTemplate | 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
TagTemplateId
Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.
Declaration
[RequestParameter("tagTemplateId", RequestParameterType.Query)]
public virtual string TagTemplateId { 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()