/// Updates the specified connection. For security reasons, also resets
/// credential if connection properties are in the update field mask.
Updates the specified connection. For security reasons, also resets
credential if connection properties are in the update field mask.
Updates the specified connection . For security reasons also resets credential if connection properties are in the update field mask .
pub async fn update_connection(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateConnectionRequest>,
        ) -> Result<tonic::Response<super::Connection>, 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.bigquery.connection.v1.ConnectionService/UpdateConnection",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn update_connection ( & mut self , request : impl tonic :: IntoRequest < super :: UpdateConnectionRequest > , ) -> Result < tonic :: Response < super :: Connection > , 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 }
Updates the specified connection.
Updates the specified connection .
&mut self
request
impl tonic::IntoRequest<super::UpdateConnectionRequest>