All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.Bigquery.Routines.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version






Bigquery.Routines (BigQuery API v2-rev20240905-2.0.0)












com.google.api.services.bigquery

Class Bigquery.Routines

  • Enclosing class:
    Bigquery


    public class Bigquery.Routines
    extends Object
    The "routines" collection of methods.
    • Constructor Detail

      • Routines

        public Routines()
    • Method Detail

      • delete

        public Bigquery.Routines.Delete delete(String projectId,
                                               String datasetId,
                                               String routineId)
                                        throws IOException
        Deletes the routine specified by routineId from the dataset. Create a request for the method "routines.delete". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. Project ID of the routine to delete
        datasetId - Required. Dataset ID of the routine to delete
        routineId - Required. Routine ID of the routine to delete
        Returns:
        the request
        Throws:
        IOException
      • get

        public Bigquery.Routines.Get get(String projectId,
                                         String datasetId,
                                         String routineId)
                                  throws IOException
        Gets the specified routine resource by routine ID. Create a request for the method "routines.get". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. Project ID of the requested routine
        datasetId - Required. Dataset ID of the requested routine
        routineId - Required. Routine ID of the requested routine
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Bigquery.Routines.GetIamPolicy getIamPolicy(String resource,
                                                           GetIamPolicyRequest content)
                                                    throws IOException
        Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. Create a request for the method "routines.getIamPolicy". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resource - 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.
        content - the GetIamPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Bigquery.Routines.Insert insert(String projectId,
                                               String datasetId,
                                               Routine content)
                                        throws IOException
        Creates a new routine in the dataset. Create a request for the method "routines.insert". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. Project ID of the new routine
        datasetId - Required. Dataset ID of the new routine
        content - the Routine
        Returns:
        the request
        Throws:
        IOException
      • list

        public Bigquery.Routines.List list(String projectId,
                                           String datasetId)
                                    throws IOException
        Lists all routines in the specified dataset. Requires the READER dataset role. Create a request for the method "routines.list". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. Project ID of the routines to list
        datasetId - Required. Dataset ID of the routines to list
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Bigquery.Routines.SetIamPolicy setIamPolicy(String resource,
                                                           SetIamPolicyRequest content)
                                                    throws IOException
        Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Create a request for the method "routines.setIamPolicy". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resource - 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.
        content - the SetIamPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • update

        public Bigquery.Routines.Update update(String projectId,
                                               String datasetId,
                                               String routineId,
                                               Routine content)
                                        throws IOException
        Updates information in an existing routine. The update method replaces the entire Routine resource. Create a request for the method "routines.update". This request holds the parameters needed by the bigquery server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. Project ID of the routine to update
        datasetId - Required. Dataset ID of the routine to update
        routineId - Required. Routine ID of the routine to update
        content - the Routine
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy