Esempio n. 1
0
 /// <summary>Snippet for CreateTagTemplate</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateTagTemplate()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     string      parent        = "projects/[PROJECT]/locations/[LOCATION]";
     string      tagTemplateId = "";
     TagTemplate tagTemplate   = new TagTemplate();
     // Make the request
     TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
 }
 /// <summary>Snippet for CreateTagTemplate</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateTagTemplateResourceNames()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     LocationName parent        = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
     string       tagTemplateId = "";
     TagTemplate  tagTemplate   = new TagTemplate();
     // Make the request
     TagTemplate response = dataCatalogClient.CreateTagTemplate(parent, tagTemplateId, tagTemplate);
 }
Esempio n. 3
0
 /// <summary>Snippet for CreateTagTemplate</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateTagTemplateRequestObject()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     CreateTagTemplateRequest request = new CreateTagTemplateRequest
     {
         ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
         TagTemplate          = new TagTemplate(),
         TagTemplateId        = "",
     };
     // Make the request
     TagTemplate response = dataCatalogClient.CreateTagTemplate(request);
 }