示例#1
0
 /// <summary>Snippet for RenameTagTemplateField</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void RenameTagTemplateFieldResourceNames()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     TagTemplateFieldName name    = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]");
     string newTagTemplateFieldId = "";
     // Make the request
     TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
 }
示例#2
0
 /// <summary>Snippet for RenameTagTemplateField</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void RenameTagTemplateField()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/tagTemplates/[TAG_TEMPLATE]/fields/[FIELD]";
     string newTagTemplateFieldId = "";
     // Make the request
     TagTemplateField response = dataCatalogClient.RenameTagTemplateField(name, newTagTemplateFieldId);
 }
示例#3
0
 /// <summary>Snippet for RenameTagTemplateField</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void RenameTagTemplateFieldRequestObject()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     RenameTagTemplateFieldRequest request = new RenameTagTemplateFieldRequest
     {
         TagTemplateFieldName  = TagTemplateFieldName.FromProjectLocationTagTemplateField("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"),
         NewTagTemplateFieldId = "",
     };
     // Make the request
     TagTemplateField response = dataCatalogClient.RenameTagTemplateField(request);
 }