/// <summary>Snippet for AttachNetworkEndpoints</summary> public void AttachNetworkEndpoints() { // Snippet: AttachNetworkEndpoints(string, string, string, NetworkEndpointGroupsAttachEndpointsRequest, CallSettings) // Create client NetworkEndpointGroupsClient networkEndpointGroupsClient = NetworkEndpointGroupsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string networkEndpointGroup = ""; NetworkEndpointGroupsAttachEndpointsRequest networkEndpointGroupsAttachEndpointsRequestResource = new NetworkEndpointGroupsAttachEndpointsRequest(); // Make the request Operation response = networkEndpointGroupsClient.AttachNetworkEndpoints(project, zone, networkEndpointGroup, networkEndpointGroupsAttachEndpointsRequestResource); // End snippet }
/// <summary>Snippet for AttachNetworkEndpoints</summary> public void AttachNetworkEndpointsRequestObject() { // Snippet: AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest, CallSettings) // Create client NetworkEndpointGroupsClient networkEndpointGroupsClient = NetworkEndpointGroupsClient.Create(); // Initialize request argument(s) AttachNetworkEndpointsNetworkEndpointGroupRequest request = new AttachNetworkEndpointsNetworkEndpointGroupRequest { NetworkEndpointGroupsAttachEndpointsRequestResource = new NetworkEndpointGroupsAttachEndpointsRequest(), Zone = "", RequestId = "", Project = "", NetworkEndpointGroup = "", }; // Make the request Operation response = networkEndpointGroupsClient.AttachNetworkEndpoints(request); // End snippet }