target.apidocs.com.google.api.services.bigquery.Bigquery.Projects.html Maven / Gradle / Ivy
Bigquery.Projects (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery
Class Bigquery.Projects
- java.lang.Object
-
- com.google.api.services.bigquery.Bigquery.Projects
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Bigquery.Projects.GetServiceAccount
class
Bigquery.Projects.List
-
Constructor Summary
Constructors
Constructor and Description
Projects()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Bigquery.Projects.GetServiceAccount
getServiceAccount(String projectId)
RPC to get the service account for a project used for interactions with Google Cloud KMS
Create a request for the method "projects.getServiceAccount".
Bigquery.Projects.List
list()
RPC to list projects to which the user has been granted any project role.
-
-
Method Detail
-
getServiceAccount
public Bigquery.Projects.GetServiceAccount getServiceAccount(String projectId)
throws IOException
RPC to get the service account for a project used for interactions with Google Cloud KMS
Create a request for the method "projects.getServiceAccount".
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. ID of the project.
- Returns:
- the request
- Throws:
IOException
-
list
public Bigquery.Projects.List list()
throws IOException
RPC to list projects to which the user has been granted any project role. Users of this method
are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-
manager/docs/) API, which provides the underlying data for this method and has more capabilities.
Create a request for the method "projects.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.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.