Beispiel #1
0
        /// <summary>Snippet for DeleteTransitionRouteGroupAsync</summary>
        public async Task DeleteTransitionRouteGroupResourceNamesAsync()
        {
            // Snippet: DeleteTransitionRouteGroupAsync(TransitionRouteGroupName, CallSettings)
            // Additional: DeleteTransitionRouteGroupAsync(TransitionRouteGroupName, CancellationToken)
            // Create client
            TransitionRouteGroupsClient transitionRouteGroupsClient = await TransitionRouteGroupsClient.CreateAsync();

            // Initialize request argument(s)
            TransitionRouteGroupName name = TransitionRouteGroupName.FromProjectLocationAgentFlowTransitionRouteGroup("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]", "[TRANSITION_ROUTE_GROUP]");
            // Make the request
            await transitionRouteGroupsClient.DeleteTransitionRouteGroupAsync(name);

            // End snippet
        }
Beispiel #2
0
        /// <summary>Snippet for DeleteTransitionRouteGroupAsync</summary>
        public async Task DeleteTransitionRouteGroupAsync()
        {
            // Snippet: DeleteTransitionRouteGroupAsync(string, CallSettings)
            // Additional: DeleteTransitionRouteGroupAsync(string, CancellationToken)
            // Create client
            TransitionRouteGroupsClient transitionRouteGroupsClient = await TransitionRouteGroupsClient.CreateAsync();

            // Initialize request argument(s)
            string name = "projects/[PROJECT]/locations/[LOCATION]/agents/[AGENT]/flows/[FLOW]/transitionRouteGroups/[TRANSITION_ROUTE_GROUP]";
            // Make the request
            await transitionRouteGroupsClient.DeleteTransitionRouteGroupAsync(name);

            // End snippet
        }