> + * Sets an instance's scheduling options. > + * @see <a href = > "https://cloud.google.com/compute/docs/instances#onhostmaintenance"/> > + * > + * @param instanceName The name of the instance > + * @param onHostMaintenance either MIGRATE or TERMINATE the default is > MIGRATE (Live Migration). > + * @param automaticRestart Defines whether the Instance should be > automatically > + * restarted when it is terminated by Compute Engine (not terminated by > user). > + * Used when onHostMaintenance is set to TERMINATE. > + * @param preemptible Defines whether the Instance should be launched as > spot instance > + * @return > + */ > + @Named("Instances:setScheduling") > + @POST > + @Path("/{instance}/setScheduling") > + @MapBinder(BindToJsonPayload.class) > + Operation setScheduling(@PathParam("instance") String instanceName,
:) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/169/files#r47872978