code: @BetaApi
    public final Operation setNodeTemplateNodeGroup(
        String nodeGroup, NodeGroupsSetNodeTemplateRequest nodeGroupsSetNodeTemplateRequestResource) {
  
      SetNodeTemplateNodeGroupHttpRequest request =
          SetNodeTemplateNodeGroupHttpRequest.newBuilder()
              .setNodeGroup(nodeGroup)
              .setNodeGroupsSetNodeTemplateRequestResource(nodeGroupsSetNodeTemplateRequestResource)
              .build();
      return setNodeTemplateNodeGroup(request);
    }
docs: Updates the node template of the node group.
  
  <p>Sample code:
  
  <pre><code>
  try (NodeGroupClient nodeGroupClient = NodeGroupClient.create()) {
  ProjectZoneNodeGroupName nodeGroup = ProjectZoneNodeGroupName.of("[PROJECT]", "[ZONE]", "[NODE_GROUP]");
  NodeGroupsSetNodeTemplateRequest nodeGroupsSetNodeTemplateRequestResource = NodeGroupsSetNodeTemplateRequest.newBuilder().build();
  Operation response = nodeGroupClient.setNodeTemplateNodeGroup(nodeGroup.toString(), nodeGroupsSetNodeTemplateRequestResource);
  }
  </code></pre>
  
  @param nodeGroup Name of the NodeGroup resource to update.
  @param nodeGroupsSetNodeTemplateRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails