/// Registers an existing legacy notebook instance to the Notebooks API server.
/// Legacy instances are instances created with the legacy Compute Engine
/// calls. They are not manageable by the Notebooks API out of the box. This
/// call makes these instances manageable by the Notebooks API.
Registers an existing legacy notebook instance to the Notebooks API server.
Legacy instances are instances created with the legacy Compute Engine
calls. They are not manageable by the Notebooks API out of the box. This
call makes these instances manageable by the Notebooks API.
Registers an existing legacy notebook instance to the Notebooks API server . Legacy instances are instances created with the legacy Compute Engine calls . They are not manageable by the Notebooks API out of the box . This call makes these instances manageable by the Notebooks API .
pub async fn register_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::RegisterInstanceRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            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.NotebookService/RegisterInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn register_instance ( & mut self , request : impl tonic :: IntoRequest < super :: RegisterInstanceRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: longrunning :: Operation > , 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 }
Registers an existing legacy notebook instance to the Notebooks API server.
Registers an existing legacy notebook instance to the Notebooks API server .
&mut self
request
impl tonic::IntoRequest<super::RegisterInstanceRequest>