/// Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
///
/// Redis may stop serving during this operation. Instance state will be
/// IMPORTING for entire operation. When complete, the instance will contain
/// only data from the imported file.
///
/// The returned operation is automatically deleted after a few hours, so
/// there is no need to call DeleteOperation.
Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
Redis may stop serving during this operation. Instance state will be
IMPORTING for entire operation. When complete, the instance will contain
only data from the imported file.

The returned operation is automatically deleted after a few hours, so
there is no need to call DeleteOperation.
Import a Redis RDB snapshot file from Cloud Storage into a Redis instance . Redis may stop serving during this operation . Instance state will be IMPORTING for entire operation . When complete the instance will contain only data from the imported file . The returned operation is automatically deleted after a few hours so there is no need to call DeleteOperation .
pub async fn import_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::ImportInstanceRequest>,
        ) -> 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.redis.v1beta1.CloudRedis/ImportInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn import_instance ( & mut self , request : impl tonic :: IntoRequest < super :: ImportInstanceRequest > , ) -> 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 }
Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
Import a Redis RDB snapshot file from Cloud Storage into a Redis instance .
&mut self
request
impl tonic::IntoRequest<super::ImportInstanceRequest>