Routines
class Routines extends Resource (View source)
The "routines" collection of methods.
Typical usage is:
$bigqueryService = new Google\Service\Bigquery(...);
$routines = $bigqueryService->routines;
Methods
Deletes the routine specified by routineId from the dataset.
Gets the specified routine resource by routine ID. (routines.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (routines.getIamPolicy)
Lists all routines in the specified dataset. Requires the READER dataset role. (routines.listRoutines)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (routines.setIamPolicy)
Details
delete(string $projectId, string $datasetId, string $routineId, array $optParams = [])
Deletes the routine specified by routineId from the dataset.
(routines.delete)
Routine
get(string $projectId, string $datasetId, string $routineId, array $optParams = [])
Gets the specified routine resource by routine ID. (routines.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (routines.getIamPolicy)
Routine
insert(string $projectId, string $datasetId, Routine $postBody, array $optParams = [])
Creates a new routine in the dataset. (routines.insert)
ListRoutinesResponse
listRoutines(string $projectId, string $datasetId, array $optParams = [])
Lists all routines in the specified dataset. Requires the READER dataset role. (routines.listRoutines)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (routines.setIamPolicy)