
target.apidocs.com.google.api.services.bigquery.Bigquery.Tables.html Maven / Gradle / Ivy
Bigquery.Tables (BigQuery API v2-rev20220422-1.32.1)
com.google.api.services.bigquery
Class Bigquery.Tables
- java.lang.Object
-
- com.google.api.services.bigquery.Bigquery.Tables
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Bigquery.Tables.Delete
class
Bigquery.Tables.Get
class
Bigquery.Tables.GetIamPolicy
class
Bigquery.Tables.Insert
class
Bigquery.Tables.List
class
Bigquery.Tables.Patch
class
Bigquery.Tables.SetIamPolicy
class
Bigquery.Tables.TestIamPermissions
class
Bigquery.Tables.Update
-
Constructor Summary
Constructors
Constructor and Description
Tables()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Bigquery.Tables.Delete
delete(String projectId,
String datasetId,
String tableId)
Deletes the table specified by tableId from the dataset.
Bigquery.Tables.Get
get(String projectId,
String datasetId,
String tableId)
Gets the specified table resource by table ID.
Bigquery.Tables.GetIamPolicy
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
Bigquery.Tables.Insert
insert(String projectId,
String datasetId,
Table content)
Creates a new, empty table in the dataset.
Bigquery.Tables.List
list(String projectId,
String datasetId)
Lists all tables in the specified dataset.
Bigquery.Tables.Patch
patch(String projectId,
String datasetId,
String tableId,
Table content)
Updates information in an existing table.
Bigquery.Tables.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
Bigquery.Tables.TestIamPermissions
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
Bigquery.Tables.Update
update(String projectId,
String datasetId,
String tableId,
Table content)
Updates information in an existing table.
-
-
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
- Project ID of the table to delete
datasetId
- Dataset ID of the table to delete
tableId
- 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
- Project ID of the requested table
datasetId
- Dataset ID of the requested table
tableId
- 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 the operation documentation 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
- Project ID of the new table
datasetId
- 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
- Project ID of the tables to list
datasetId
- 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 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
- Project ID of the table to update
datasetId
- Dataset ID of the table to update
tableId
- 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 the operation documentation 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 the operation
documentation 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
- Project ID of the table to update
datasetId
- Dataset ID of the table to update
tableId
- Table ID of the table to update
content
- the Table
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy