Пример #1
0
 /// <summary>Snippet for CreateEntryGroup</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateEntryGroupResourceNames()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     LocationName parent       = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
     string       entryGroupId = "";
     EntryGroup   entryGroup   = new EntryGroup();
     // Make the request
     EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
 }
 /// <summary>Snippet for CreateEntryGroup</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateEntryGroup()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     string     parent       = "projects/[PROJECT]/locations/[LOCATION]";
     string     entryGroupId = "";
     EntryGroup entryGroup   = new EntryGroup();
     // Make the request
     EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
 }
Пример #3
0
 /// <summary>Snippet for CreateEntryGroup</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateEntryGroupRequestObject()
 {
     // Create client
     DataCatalogClient dataCatalogClient = DataCatalogClient.Create();
     // Initialize request argument(s)
     CreateEntryGroupRequest request = new CreateEntryGroupRequest
     {
         ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
         EntryGroup           = new EntryGroup(),
         EntryGroupId         = "",
     };
     // Make the request
     EntryGroup response = dataCatalogClient.CreateEntryGroup(request);
 }