/// <summary>Snippet for AddNodes</summary> public void AddNodes() { // Snippet: AddNodes(string, string, string, NodeGroupsAddNodesRequest, CallSettings) // Create client NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string nodeGroup = ""; NodeGroupsAddNodesRequest nodeGroupsAddNodesRequestResource = new NodeGroupsAddNodesRequest(); // Make the request Operation response = nodeGroupsClient.AddNodes(project, zone, nodeGroup, nodeGroupsAddNodesRequestResource); // End snippet }
/// <summary>Snippet for AddNodes</summary> public void AddNodesRequestObject() { // Snippet: AddNodes(AddNodesNodeGroupRequest, CallSettings) // Create client NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create(); // Initialize request argument(s) AddNodesNodeGroupRequest request = new AddNodesNodeGroupRequest { Zone = "", RequestId = "", NodeGroupsAddNodesRequestResource = new NodeGroupsAddNodesRequest(), NodeGroup = "", Project = "", }; // Make the request Operation response = nodeGroupsClient.AddNodes(request); // End snippet }