/// Imports Apt artifacts. The returned Operation will complete once the
/// resources are imported. Package, Version, and File resources are created
/// based on the imported artifacts. Imported artifacts that conflict with
/// existing resources are ignored.
Imports Apt artifacts. The returned Operation will complete once the
resources are imported. Package, Version, and File resources are created
based on the imported artifacts. Imported artifacts that conflict with
existing resources are ignored.
Imports Apt artifacts . The returned Operation will complete once the resources are imported . Package Version and File resources are created based on the imported artifacts . Imported artifacts that conflict with existing resources are ignored .
pub async fn import_apt_artifacts(
            &mut self,
            request: impl tonic::IntoRequest<super::ImportAptArtifactsRequest>,
        ) -> 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.devtools.artifactregistry.v1beta2.ArtifactRegistry/ImportAptArtifacts",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn import_apt_artifacts ( & mut self , request : impl tonic :: IntoRequest < super :: ImportAptArtifactsRequest > , ) -> 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 }
Imports Apt artifacts.
Imports Apt artifacts .
&mut self
request
impl tonic::IntoRequest<super::ImportAptArtifactsRequest>