Esempio n. 1
0
        /// <summary>Snippet for ListNetworkEndpointsAsync</summary>
        public async Task ListNetworkEndpointsRequestObjectAsync()
        {
            // Snippet: ListNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest, CallSettings)
            // Additional: ListNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest, CancellationToken)
            // Create client
            NetworkEndpointGroupsClient networkEndpointGroupsClient = await NetworkEndpointGroupsClient.CreateAsync();

            // Initialize request argument(s)
            ListNetworkEndpointsNetworkEndpointGroupsRequest request = new ListNetworkEndpointsNetworkEndpointGroupsRequest
            {
                Zone       = "",
                PageToken  = "",
                MaxResults = 0U,
                NetworkEndpointGroupsListEndpointsRequestResource = new NetworkEndpointGroupsListEndpointsRequest(),
                OrderBy = "",
                Project = "",
                Filter  = "",
                NetworkEndpointGroup = "",
                ReturnPartialSuccess = false,
            };
            // Make the request
            NetworkEndpointGroupsListNetworkEndpoints response = await networkEndpointGroupsClient.ListNetworkEndpointsAsync(request);

            // End snippet
        }
Esempio n. 2
0
 /// <summary>Snippet for ListNetworkEndpoints</summary>
 public void ListNetworkEndpoints()
 {
     // Snippet: ListNetworkEndpoints(string, string, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     string project = "";
     string networkEndpointGroup = "";
     // Make the request
     NetworkEndpointGroupsListNetworkEndpoints response = globalNetworkEndpointGroupsClient.ListNetworkEndpoints(project, networkEndpointGroup);
     // End snippet
 }
Esempio n. 3
0
 /// <summary>Snippet for ListNetworkEndpoints</summary>
 public void ListNetworkEndpoints()
 {
     // Snippet: ListNetworkEndpoints(string, string, string, NetworkEndpointGroupsListEndpointsRequest, CallSettings)
     // Create client
     NetworkEndpointGroupsClient networkEndpointGroupsClient = NetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     string project = "";
     string zone    = "";
     string networkEndpointGroup = "";
     NetworkEndpointGroupsListEndpointsRequest networkEndpointGroupsListEndpointsRequestResource = new NetworkEndpointGroupsListEndpointsRequest();
     // Make the request
     NetworkEndpointGroupsListNetworkEndpoints response = networkEndpointGroupsClient.ListNetworkEndpoints(project, zone, networkEndpointGroup, networkEndpointGroupsListEndpointsRequestResource);
     // End snippet
 }
Esempio n. 4
0
        /// <summary>Snippet for ListNetworkEndpointsAsync</summary>
        public async Task ListNetworkEndpointsAsync()
        {
            // Snippet: ListNetworkEndpointsAsync(string, string, CallSettings)
            // Additional: ListNetworkEndpointsAsync(string, string, CancellationToken)
            // Create client
            GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = await GlobalNetworkEndpointGroupsClient.CreateAsync();

            // Initialize request argument(s)
            string project = "";
            string networkEndpointGroup = "";
            // Make the request
            NetworkEndpointGroupsListNetworkEndpoints response = await globalNetworkEndpointGroupsClient.ListNetworkEndpointsAsync(project, networkEndpointGroup);

            // End snippet
        }
Esempio n. 5
0
        /// <summary>Snippet for ListNetworkEndpointsAsync</summary>
        public async Task ListNetworkEndpointsAsync()
        {
            // Snippet: ListNetworkEndpointsAsync(string, string, string, NetworkEndpointGroupsListEndpointsRequest, CallSettings)
            // Additional: ListNetworkEndpointsAsync(string, string, string, NetworkEndpointGroupsListEndpointsRequest, CancellationToken)
            // Create client
            NetworkEndpointGroupsClient networkEndpointGroupsClient = await NetworkEndpointGroupsClient.CreateAsync();

            // Initialize request argument(s)
            string project = "";
            string zone    = "";
            string networkEndpointGroup = "";
            NetworkEndpointGroupsListEndpointsRequest networkEndpointGroupsListEndpointsRequestResource = new NetworkEndpointGroupsListEndpointsRequest();
            // Make the request
            NetworkEndpointGroupsListNetworkEndpoints response = await networkEndpointGroupsClient.ListNetworkEndpointsAsync(project, zone, networkEndpointGroup, networkEndpointGroupsListEndpointsRequestResource);

            // End snippet
        }
Esempio n. 6
0
 /// <summary>Snippet for ListNetworkEndpoints</summary>
 public void ListNetworkEndpointsRequestObject()
 {
     // Snippet: ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request = new ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest
     {
         PageToken            = "",
         MaxResults           = 0U,
         Filter               = "",
         OrderBy              = "",
         NetworkEndpointGroup = "",
         Project              = "",
         ReturnPartialSuccess = false,
     };
     // Make the request
     NetworkEndpointGroupsListNetworkEndpoints response = globalNetworkEndpointGroupsClient.ListNetworkEndpoints(request);
     // End snippet
 }