ProjectsLocationsJobs
class ProjectsLocationsJobs extends Resource (View source)
The "jobs" collection of methods.
Typical usage is:
$runService = new Google\Service\CloudRun(...);
$jobs = $runService->projects_locations_jobs;
Methods
Creates a Job. (jobs.create)
Deletes a Job. (jobs.delete)
Gets information about a Job. (jobs.get)
Gets the IAM Access Control policy currently in effect for the given Job.
Lists Jobs. Results are sorted by creation time, descending.
Updates a Job. (jobs.patch)
Triggers creation of a new Execution of this Job. (jobs.run)
Sets the IAM Access control policy for the specified Job. Overwrites any existing policy. (jobs.setIamPolicy)
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call. (jobs.testIamPermissions)
Details
GoogleLongrunningOperation
create(string $parent, GoogleCloudRunV2Job $postBody, array $optParams = [])
Creates a Job. (jobs.create)
GoogleLongrunningOperation
delete(string $name, array $optParams = [])
Deletes a Job. (jobs.delete)
GoogleCloudRunV2Job
get(string $name, array $optParams = [])
Gets information about a Job. (jobs.get)
GoogleIamV1Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the IAM Access Control policy currently in effect for the given Job.
This result does not include any inherited policies. (jobs.getIamPolicy)
GoogleCloudRunV2ListJobsResponse
listProjectsLocationsJobs(string $parent, array $optParams = [])
Lists Jobs. Results are sorted by creation time, descending.
(jobs.listProjectsLocationsJobs)
GoogleLongrunningOperation
patch(string $name, GoogleCloudRunV2Job $postBody, array $optParams = [])
Updates a Job. (jobs.patch)
GoogleLongrunningOperation
run(string $name, GoogleCloudRunV2RunJobRequest $postBody, array $optParams = [])
Triggers creation of a new Execution of this Job. (jobs.run)
GoogleIamV1Policy
setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $postBody, array $optParams = [])
Sets the IAM Access control policy for the specified Job. Overwrites any existing policy. (jobs.setIamPolicy)
GoogleIamV1TestIamPermissionsResponse
testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call. (jobs.testIamPermissions)