Beispiel #1
0
        /// <summary>Snippet for DeleteTransitionRouteGroup</summary>
        public void DeleteTransitionRouteGroup()
        {
            // Snippet: DeleteTransitionRouteGroup(string, CallSettings)
            // Create client
            TransitionRouteGroupsClient transitionRouteGroupsClient = TransitionRouteGroupsClient.Create();
            // Initialize request argument(s)
            string name = "projects/[PROJECT]/locations/[LOCATION]/agents/[AGENT]/flows/[FLOW]/transitionRouteGroups/[TRANSITION_ROUTE_GROUP]";

            // Make the request
            transitionRouteGroupsClient.DeleteTransitionRouteGroup(name);
            // End snippet
        }
Beispiel #2
0
        /// <summary>Snippet for DeleteTransitionRouteGroup</summary>
        public void DeleteTransitionRouteGroupResourceNames()
        {
            // Snippet: DeleteTransitionRouteGroup(TransitionRouteGroupName, CallSettings)
            // Create client
            TransitionRouteGroupsClient transitionRouteGroupsClient = TransitionRouteGroupsClient.Create();
            // Initialize request argument(s)
            TransitionRouteGroupName name = TransitionRouteGroupName.FromProjectLocationAgentFlowTransitionRouteGroup("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]", "[TRANSITION_ROUTE_GROUP]");

            // Make the request
            transitionRouteGroupsClient.DeleteTransitionRouteGroup(name);
            // End snippet
        }
Beispiel #3
0
        /// <summary>Snippet for DeleteTransitionRouteGroup</summary>
        public void DeleteTransitionRouteGroupRequestObject()
        {
            // Snippet: DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest, CallSettings)
            // Create client
            TransitionRouteGroupsClient transitionRouteGroupsClient = TransitionRouteGroupsClient.Create();
            // Initialize request argument(s)
            DeleteTransitionRouteGroupRequest request = new DeleteTransitionRouteGroupRequest
            {
                TransitionRouteGroupName = TransitionRouteGroupName.FromProjectLocationAgentFlowTransitionRouteGroup("[PROJECT]", "[LOCATION]", "[AGENT]", "[FLOW]", "[TRANSITION_ROUTE_GROUP]"),
                Force = false,
            };

            // Make the request
            transitionRouteGroupsClient.DeleteTransitionRouteGroup(request);
            // End snippet
        }