Class ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest
Creates 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
ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DataCatalog.v1beta1
Assembly: Google.Apis.DataCatalog.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TagTemplatesResource.CreateRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplate>, IClientServiceRequest<GoogleCloudDatacatalogV1beta1TagTemplate>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDatacatalogV1beta1TagTemplate, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDatacatalogV1beta1TagTemplate body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1beta1TagTemplate | 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](https://cloud.google.com/data-catalog/docs/concepts/regions. Example: * projects/{project_id}/locations/us-central1
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.
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()