Struct gcp_bigquery_client::project::ProjectApi
source · [−]pub struct ProjectApi { /* private fields */ }
Expand description
A project API handler.
Implementations
sourceimpl ProjectApi
impl ProjectApi
sourcepub async fn get_service_account(
&self,
project_id: &str
) -> Result<GetServiceAccountResponse, BQError>
pub async fn get_service_account(
&self,
project_id: &str
) -> Result<GetServiceAccountResponse, BQError>
RPC to get the service account for a project used for interactions with Google Cloud KMS.
Arguments
project_id
- ID of the project
sourcepub async fn list(&self, options: GetOptions) -> Result<ProjectList, BQError>
pub async fn list(&self, options: GetOptions) -> Result<ProjectList, BQError>
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.
Trait Implementations
sourceimpl Clone for ProjectApi
impl Clone for ProjectApi
sourcefn clone(&self) -> ProjectApi
fn clone(&self) -> ProjectApi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ProjectApi
impl Send for ProjectApi
impl Sync for ProjectApi
impl Unpin for ProjectApi
impl !UnwindSafe for ProjectApi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more