/// <summary>Snippet for DeleteTagTemplateAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteTagTemplateAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]"; bool force = false; // Make the request await dataCatalogClient.DeleteTagTemplateAsync(name, force); }
/// <summary>Snippet for DeleteTagTemplateAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteTagTemplateResourceNamesAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) TagTemplateName name = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"); bool force = false; // Make the request await dataCatalogClient.DeleteTagTemplateAsync(name, force); }
/// <summary>Snippet for DeleteTagTemplateAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteTagTemplateRequestObjectAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) DeleteTagTemplateRequest request = new DeleteTagTemplateRequest { TagTemplateName = TagTemplateName.FromProjectLocationTagTemplate("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"), Force = false, }; // Make the request await dataCatalogClient.DeleteTagTemplateAsync(request); }