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

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

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






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












com.google.api.services.bigquery

Class Bigquery.Tables

  • Enclosing class:
    Bigquery


    public class Bigquery.Tables
    extends Object
    The "tables" collection of methods.
    • Constructor Detail

      • Tables

        public Tables()
    • Method Detail

      • delete

        public Bigquery.Tables.Delete delete(String projectId,
                                             String datasetId,
                                             String tableId)
                                      throws IOException
        Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. Create a request for the method "tables.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 table to delete
        datasetId - Required. Dataset ID of the table to delete
        tableId - Required. Table ID of the table to delete
        Returns:
        the request
        Throws:
        IOException
      • get

        public Bigquery.Tables.Get get(String projectId,
                                       String datasetId,
                                       String tableId)
                                throws IOException
        Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. Create a request for the method "tables.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 table
        datasetId - Required. Dataset ID of the requested table
        tableId - Required. Table ID of the requested table
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Bigquery.Tables.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 "tables.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.Tables.Insert insert(String projectId,
                                             String datasetId,
                                             Table content)
                                      throws IOException
        Creates a new, empty table in the dataset. Create a request for the method "tables.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 table
        datasetId - Required. Dataset ID of the new table
        content - the Table
        Returns:
        the request
        Throws:
        IOException
      • list

        public Bigquery.Tables.List list(String projectId,
                                         String datasetId)
                                  throws IOException
        Lists all tables in the specified dataset. Requires the READER dataset role. Create a request for the method "tables.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 tables to list
        datasetId - Required. Dataset ID of the tables to list
        Returns:
        the request
        Throws:
        IOException
      • patch

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

        public Bigquery.Tables.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 "tables.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
      • testIamPermissions

        public Bigquery.Tables.TestIamPermissions testIamPermissions(String resource,
                                                                     TestIamPermissionsRequest content)
                                                              throws IOException
        Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. Create a request for the method "tables.testIamPermissions". 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 detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
        content - the TestIamPermissionsRequest
        Returns:
        the request
        Throws:
        IOException
      • update

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy