Ejemplo n.º 1
0
 /// <summary>Snippet for AttachNetworkEndpoints</summary>
 public void AttachNetworkEndpoints()
 {
     // Snippet: AttachNetworkEndpoints(string, string, GlobalNetworkEndpointGroupsAttachEndpointsRequest, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     string project = "";
     string networkEndpointGroup = "";
     GlobalNetworkEndpointGroupsAttachEndpointsRequest globalNetworkEndpointGroupsAttachEndpointsRequestResource = new GlobalNetworkEndpointGroupsAttachEndpointsRequest();
     // Make the request
     Operation response = globalNetworkEndpointGroupsClient.AttachNetworkEndpoints(project, networkEndpointGroup, globalNetworkEndpointGroupsAttachEndpointsRequestResource);
     // End snippet
 }
Ejemplo n.º 2
0
 /// <summary>Snippet for AttachNetworkEndpoints</summary>
 public void AttachNetworkEndpointsRequestObject()
 {
     // Snippet: AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request = new AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest
     {
         GlobalNetworkEndpointGroupsAttachEndpointsRequestResource = new GlobalNetworkEndpointGroupsAttachEndpointsRequest(),
         RequestId            = "",
         Project              = "",
         NetworkEndpointGroup = "",
     };
     // Make the request
     Operation response = globalNetworkEndpointGroupsClient.AttachNetworkEndpoints(request);
     // End snippet
 }