pub async fn discover_connection_profile(
            &mut self,
            request: impl tonic::IntoRequest<super::DiscoverConnectionProfileRequest>,
        ) -> Result<
            tonic::Response<super::DiscoverConnectionProfileResponse>,
            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.datastream.v1.Datastream/DiscoverConnectionProfile",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Use this method to discover a connection profile.
/// The discover API call exposes the data objects and metadata belonging to
/// the profile. Typically, a request returns children data objects of a
/// parent data object that's optionally supplied in the request.
Use this method to discover a connection profile.
The discover API call exposes the data objects and metadata belonging to
the profile. Typically, a request returns children data objects of a
parent data object that's optionally supplied in the request.
Use this method to discover a connection profile . The discover API call exposes the data objects and metadata belonging to the profile . Typically a request returns children data objects of a parent data object that ' s optionally supplied in the request .
pub async fn discover_connection_profile(
            &mut self,
            request: impl tonic::IntoRequest<super::DiscoverConnectionProfileRequest>,
        ) -> Result<
            tonic::Response<super::DiscoverConnectionProfileResponse>,
            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.datastream.v1.Datastream/DiscoverConnectionProfile",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn discover_connection_profile ( & mut self , request : impl tonic :: IntoRequest < super :: DiscoverConnectionProfileRequest > , ) -> Result < tonic :: Response < super :: DiscoverConnectionProfileResponse > , 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 }
Use this method to discover a connection profile.
Use this method to discover a connection profile .
&mut self
request
impl tonic::IntoRequest<super::DiscoverConnectionProfileRequest>
&mut self
request
impl tonic::IntoRequest<super::DiscoverConnectionProfileRequest>