BigQuery API (bigquery:v2)

2024-03-31

2 new methods

Additions

    Methods
  • bigquery.routines.getIamPolicy

      Description: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Flat Path: projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:getIamPolicy

      HTTP Method: POST

      Parameter Order: resource

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Location: path

          Pattern: ^projects/[^/]+/datasets/[^/]+/routines/[^/]+$

          Required: Yes

          Type: string

      Path: {+resource}:getIamPolicy

      Scopes:

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
  • bigquery.routines.setIamPolicy

      Description: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Flat Path: projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:setIamPolicy

      HTTP Method: POST

      Parameter Order: resource

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Location: path

          Pattern: ^projects/[^/]+/datasets/[^/]+/routines/[^/]+$

          Required: Yes

          Type: string

      Path: {+resource}:setIamPolicy

      Scopes:

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform