/// <summary>Snippet for SetNodeTemplate</summary> public void SetNodeTemplate() { // Snippet: SetNodeTemplate(string, string, string, NodeGroupsSetNodeTemplateRequest, CallSettings) // Create client NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string nodeGroup = ""; NodeGroupsSetNodeTemplateRequest nodeGroupsSetNodeTemplateRequestResource = new NodeGroupsSetNodeTemplateRequest(); // Make the request Operation response = nodeGroupsClient.SetNodeTemplate(project, zone, nodeGroup, nodeGroupsSetNodeTemplateRequestResource); // End snippet }
/// <summary>Snippet for SetNodeTemplate</summary> public void SetNodeTemplateRequestObject() { // Snippet: SetNodeTemplate(SetNodeTemplateNodeGroupRequest, CallSettings) // Create client NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create(); // Initialize request argument(s) SetNodeTemplateNodeGroupRequest request = new SetNodeTemplateNodeGroupRequest { Zone = "", RequestId = "", NodeGroupsSetNodeTemplateRequestResource = new NodeGroupsSetNodeTemplateRequest(), NodeGroup = "", Project = "", }; // Make the request Operation response = nodeGroupsClient.SetNodeTemplate(request); // End snippet }