pub async fn refresh_runtime_token_internal(
            &mut self,
            request: impl tonic::IntoRequest<super::RefreshRuntimeTokenInternalRequest>,
        ) -> Result<
            tonic::Response<super::RefreshRuntimeTokenInternalResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.notebooks.v1.ManagedNotebookService/RefreshRuntimeTokenInternal",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Gets an access token for the consumer service account that the customer
/// attached to the runtime. Only accessible from the tenant instance.
Gets an access token for the consumer service account that the customer
attached to the runtime. Only accessible from the tenant instance.
Gets an access token for the consumer service account that the customer attached to the runtime . Only accessible from the tenant instance .
pub async fn refresh_runtime_token_internal(
            &mut self,
            request: impl tonic::IntoRequest<super::RefreshRuntimeTokenInternalRequest>,
        ) -> Result<
            tonic::Response<super::RefreshRuntimeTokenInternalResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.notebooks.v1.ManagedNotebookService/RefreshRuntimeTokenInternal",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn refresh_runtime_token_internal ( & mut self , request : impl tonic :: IntoRequest < super :: RefreshRuntimeTokenInternalRequest > , ) -> Result < tonic :: Response < super :: RefreshRuntimeTokenInternalResponse > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Gets an access token for the consumer service account that the customer
attached to the runtime.
Gets an access token for the consumer service account that the customer attached to the runtime .
&mut self
request
impl tonic::IntoRequest<super::RefreshRuntimeTokenInternalRequest>
&mut self
request
impl tonic::IntoRequest<super::RefreshRuntimeTokenInternalRequest>