pub async fn create_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateInstanceRequest>,
        ) -> 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/CreateInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Creates a Redis instance based on the specified tier and memory size.
///
/// By default, the instance is accessible from the project's
/// [default network](https://cloud.google.com/vpc/docs/vpc).
///
/// The creation is executed asynchronously and callers may check the returned
/// operation to track its progress. Once the operation is completed the Redis
/// instance will be fully functional. The completed longrunning.Operation will
/// contain the new instance object in the response field.
///
/// The returned operation is automatically deleted after a few hours, so there
/// is no need to call DeleteOperation.
Creates a Redis instance based on the specified tier and memory size.
By default, the instance is accessible from the project's
[default network].

The creation is executed asynchronously and callers may check the returned
operation to track its progress. Once the operation is completed the Redis
instance will be fully functional. The completed longrunning.Operation will
contain the new instance object in the response field.

The returned operation is automatically deleted after a few hours, so there
is no need to call DeleteOperation.
Creates a Redis instance based on the specified tier and memory size . By default the instance is accessible from the project ' s [ default network ] . The creation is executed asynchronously and callers may check the returned operation to track its progress . Once the operation is completed the Redis instance will be fully functional . The completed longrunning . Operation will contain the new instance object in the response field . The returned operation is automatically deleted after a few hours so there is no need to call DeleteOperation .
pub async fn create_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateInstanceRequest>,
        ) -> 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/CreateInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn create_instance ( & mut self , request : impl tonic :: IntoRequest < super :: CreateInstanceRequest > , ) -> 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 }
Creates a Redis instance based on the specified tier and memory size.
Creates a Redis instance based on the specified tier and memory size .
&mut self
request
impl tonic::IntoRequest<super::CreateInstanceRequest>
&mut self
request
impl tonic::IntoRequest<super::CreateInstanceRequest>