pub struct ProjectManagementServiceClient<T> { /* private fields */ }
Expand description
Allows retrieving project related information.
Implementations§
Source§impl<T> ProjectManagementServiceClient<T>where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
impl<T> ProjectManagementServiceClient<T>where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self
Sourcepub async fn get_config(
&mut self,
request: impl IntoRequest<GetConfigRequest>,
) -> Result<Response<GetConfigResponse>, Status>
pub async fn get_config( &mut self, request: impl IntoRequest<GetConfigRequest>, ) -> Result<Response<GetConfigResponse>, Status>
Get the service account information associated with your project. You need this information in order to grant the service account persmissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
Trait Implementations§
Source§impl<T: Clone> Clone for ProjectManagementServiceClient<T>
impl<T: Clone> Clone for ProjectManagementServiceClient<T>
Auto Trait Implementations§
impl<T> Freeze for ProjectManagementServiceClient<T>where
T: Freeze,
impl<T> !RefUnwindSafe for ProjectManagementServiceClient<T>
impl<T> Send for ProjectManagementServiceClient<T>where
T: Send,
impl<T> Sync for ProjectManagementServiceClient<T>where
T: Sync,
impl<T> Unpin for ProjectManagementServiceClient<T>where
T: Unpin,
impl<T> !UnwindSafe for ProjectManagementServiceClient<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request