/// <summary>Snippet for RemoveInstances</summary> public void RemoveInstances() { // Snippet: RemoveInstances(string, string, string, InstanceGroupsRemoveInstancesRequest, CallSettings) // Create client InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string instanceGroup = ""; InstanceGroupsRemoveInstancesRequest instanceGroupsRemoveInstancesRequestResource = new InstanceGroupsRemoveInstancesRequest(); // Make the request Operation response = instanceGroupsClient.RemoveInstances(project, zone, instanceGroup, instanceGroupsRemoveInstancesRequestResource); // End snippet }
/// <summary>Snippet for RemoveInstances</summary> public void RemoveInstancesRequestObject() { // Snippet: RemoveInstances(RemoveInstancesInstanceGroupRequest, CallSettings) // Create client InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.Create(); // Initialize request argument(s) RemoveInstancesInstanceGroupRequest request = new RemoveInstancesInstanceGroupRequest { Zone = "", RequestId = "", InstanceGroup = "", Project = "", InstanceGroupsRemoveInstancesRequestResource = new InstanceGroupsRemoveInstancesRequest(), }; // Make the request Operation response = instanceGroupsClient.RemoveInstances(request); // End snippet }