Struct gcp_bigquery_client::project::ProjectApi[][src]

pub struct ProjectApi { /* fields omitted */ }

A project API handler.

Implementations

impl ProjectApi[src]

pub async fn get_service_account(
    &self,
    project_id: &str
) -> Result<GetServiceAccountResponse, BQError>
[src]

RPC to get the service account for a project used for interactions with Google Cloud KMS.

Arguments

  • project_id- ID of the project

pub async fn list(&self, options: GetOptions) -> Result<ProjectList, BQError>[src]

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.

Arguments

  • options - Get options.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.