code: @BetaApi
    public final Operation setSchedulingInstance(String instance, Scheduling schedulingResource) {
  
      SetSchedulingInstanceHttpRequest request =
          SetSchedulingInstanceHttpRequest.newBuilder()
              .setInstance(instance)
              .setSchedulingResource(schedulingResource)
              .build();
      return setSchedulingInstance(request);
    }
docs: Sets an instance's scheduling options.
  
  <p>Sample code:
  
  <pre><code>
  try (InstanceClient instanceClient = InstanceClient.create()) {
  ProjectZoneInstanceName instance = ProjectZoneInstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]");
  Scheduling schedulingResource = Scheduling.newBuilder().build();
  Operation response = instanceClient.setSchedulingInstance(instance.toString(), schedulingResource);
  }
  </code></pre>
  
  @param instance Instance name for this request.
  @param schedulingResource Sets the scheduling options for an Instance.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails