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

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

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






Bigquery.Datasets (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery

Class Bigquery.Datasets

  • Enclosing class:
    Bigquery


    public class Bigquery.Datasets
    extends Object
    The "datasets" collection of methods.
    • Constructor Detail

      • Datasets

        public Datasets()
    • Method Detail

      • delete

        public Bigquery.Datasets.Delete delete(String projectId,
                                               String datasetId)
                                        throws IOException
        Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. Create a request for the method "datasets.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 dataset being deleted
        datasetId - Required. Dataset ID of dataset being deleted
        Returns:
        the request
        Throws:
        IOException
      • get

        public Bigquery.Datasets.Get get(String projectId,
                                         String datasetId)
                                  throws IOException
        Returns the dataset specified by datasetID. Create a request for the method "datasets.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 dataset
        datasetId - Required. Dataset ID of the requested dataset
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Bigquery.Datasets.Insert insert(String projectId,
                                               Dataset content)
                                        throws IOException
        Creates a new empty dataset. Create a request for the method "datasets.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 dataset
        content - the Dataset
        Returns:
        the request
        Throws:
        IOException
      • list

        public Bigquery.Datasets.List list(String projectId)
                                    throws IOException
        Lists all datasets in the specified project to which the user has been granted the READER dataset role. Create a request for the method "datasets.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 datasets to be listed
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Bigquery.Datasets.Patch patch(String projectId,
                                             String datasetId,
                                             Dataset content)
                                      throws IOException
        Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics. Create a request for the method "datasets.patch". 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 dataset being updated
        datasetId - Required. Dataset ID of the dataset being updated
        content - the Dataset
        Returns:
        the request
        Throws:
        IOException
      • undelete

        public Bigquery.Datasets.Undelete undelete(String projectId,
                                                   String datasetId,
                                                   UndeleteDatasetRequest content)
                                            throws IOException
        Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. Create a request for the method "datasets.undelete". 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 dataset to be undeleted
        datasetId - Required. Dataset ID of dataset being deleted
        content - the UndeleteDatasetRequest
        Returns:
        the request
        Throws:
        IOException
      • update

        public Bigquery.Datasets.Update update(String projectId,
                                               String datasetId,
                                               Dataset content)
                                        throws IOException
        Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. Create a request for the method "datasets.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 dataset being updated
        datasetId - Required. Dataset ID of the dataset being updated
        content - the Dataset
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy