ProjectsLocationsCustomJobs
class ProjectsLocationsCustomJobs extends Resource (View source)
The "customJobs" collection of methods.
Typical usage is:
$aiplatformService = new Google\Service\Aiplatform(...);
$customJobs = $aiplatformService->projects_locations_customJobs;
Methods
Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed.
Creates a CustomJob. A created CustomJob right away will be attempted to be run. (customJobs.create)
Deletes a CustomJob. (customJobs.delete)
Gets a CustomJob. (customJobs.get)
Lists CustomJobs in a Location. (customJobs.listProjectsLocationsCustomJobs)
Details
GoogleProtobufEmpty
cancel(string $name, GoogleCloudAiplatformV1CancelCustomJobRequest $postBody, array $optParams = [])
Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed.
Clients can use JobService.GetCustomJob or other methods to check whether the
cancellation succeeded or whether the job completed despite cancellation. On
successful cancellation, the CustomJob is not deleted; instead it becomes a
job with a CustomJob.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
, and CustomJob.state is set to CANCELLED
.
(customJobs.cancel)
GoogleCloudAiplatformV1CustomJob
create(string $parent, GoogleCloudAiplatformV1CustomJob $postBody, array $optParams = [])
Creates a CustomJob. A created CustomJob right away will be attempted to be run. (customJobs.create)
GoogleLongrunningOperation
delete(string $name, array $optParams = [])
Deletes a CustomJob. (customJobs.delete)
GoogleCloudAiplatformV1CustomJob
get(string $name, array $optParams = [])
Gets a CustomJob. (customJobs.get)
GoogleCloudAiplatformV1ListCustomJobsResponse
listProjectsLocationsCustomJobs(string $parent, array $optParams = [])
Lists CustomJobs in a Location. (customJobs.listProjectsLocationsCustomJobs)