/// <summary>Snippet for CreateEntryGroupAsync</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 CreateEntryGroupResourceNamesAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); string entryGroupId = ""; EntryGroup entryGroup = new EntryGroup(); // Make the request EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup); }
/// <summary>Snippet for CreateEntryGroupAsync</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 CreateEntryGroupAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) string parent = "projects/[PROJECT]/locations/[LOCATION]"; string entryGroupId = ""; EntryGroup entryGroup = new EntryGroup(); // Make the request EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup); }
/// <summary>Snippet for CreateEntryGroupAsync</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 CreateEntryGroupRequestObjectAsync() { // Create client DataCatalogClient dataCatalogClient = await DataCatalogClient.CreateAsync(); // Initialize request argument(s) CreateEntryGroupRequest request = new CreateEntryGroupRequest { ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), EntryGroup = new EntryGroup(), EntryGroupId = "", }; // Make the request EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request); }