Show / Hide Table of Contents

Class ProjectsResource

The "projects" collection of methods.

Inheritance
object
ProjectsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class ProjectsResource

Constructors

ProjectsResource(IClientService)

Constructs a new resource.

Declaration
public ProjectsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

GetServiceAccount(string)

RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the bigquery.jobs.create permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration.

Declaration
public virtual ProjectsResource.GetServiceAccountRequest GetServiceAccount(string projectId)
Parameters
Type Name Description
string projectId

Required. ID of the project.

Returns
Type Description
ProjectsResource.GetServiceAccountRequest

List()

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 API, which provides the underlying data for this method and has more capabilities. # IAM Permissions Requires no specific IAM permission(s) to use this method. The results are filtered to only include projects on which the caller has been granted a project-level role such as a BigQuery predefined IAM role or a basic role such as Viewer or Owner.

Declaration
public virtual ProjectsResource.ListRequest List()
Returns
Type Description
ProjectsResource.ListRequest
In this article
Back to top Generated by DocFX