@@ -1133,7 +1133,7 @@ class ArtifactRegistryClient {
11331133 // / [`StatusOr`]: @ref google::cloud::StatusOr
11341134 // / [`Status`]: @ref google::cloud::Status
11351135 // / [google.devtools.artifactregistry.v1.DeleteRepositoryRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/repository.proto#L757}
1136- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1136+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
11371137 // /
11381138 // clang-format on
11391139 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1186,7 +1186,7 @@ class ArtifactRegistryClient {
11861186 // / [`StatusOr`]: @ref google::cloud::StatusOr
11871187 // / [`Status`]: @ref google::cloud::Status
11881188 // / [google.devtools.artifactregistry.v1.DeleteRepositoryRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/repository.proto#L757}
1189- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1189+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
11901190 // /
11911191 // clang-format on
11921192 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1382,7 +1382,7 @@ class ArtifactRegistryClient {
13821382 // / [`StatusOr`]: @ref google::cloud::StatusOr
13831383 // / [`Status`]: @ref google::cloud::Status
13841384 // / [google.devtools.artifactregistry.v1.DeletePackageRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/package.proto#L147}
1385- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1385+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
13861386 // /
13871387 // clang-format on
13881388 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1434,7 +1434,7 @@ class ArtifactRegistryClient {
14341434 // / [`StatusOr`]: @ref google::cloud::StatusOr
14351435 // / [`Status`]: @ref google::cloud::Status
14361436 // / [google.devtools.artifactregistry.v1.DeletePackageRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/package.proto#L147}
1437- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1437+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
14381438 // /
14391439 // clang-format on
14401440 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1630,7 +1630,7 @@ class ArtifactRegistryClient {
16301630 // / [`StatusOr`]: @ref google::cloud::StatusOr
16311631 // / [`Status`]: @ref google::cloud::Status
16321632 // / [google.devtools.artifactregistry.v1.DeleteVersionRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/version.proto#L173}
1633- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1633+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
16341634 // /
16351635 // clang-format on
16361636 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1682,7 +1682,7 @@ class ArtifactRegistryClient {
16821682 // / [`StatusOr`]: @ref google::cloud::StatusOr
16831683 // / [`Status`]: @ref google::cloud::Status
16841684 // / [google.devtools.artifactregistry.v1.DeleteVersionRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/version.proto#L173}
1685- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
1685+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
16861686 // /
16871687 // clang-format on
16881688 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -2067,7 +2067,7 @@ class ArtifactRegistryClient {
20672067 // / [`StatusOr`]: @ref google::cloud::StatusOr
20682068 // / [`Status`]: @ref google::cloud::Status
20692069 // / [google.devtools.artifactregistry.v1.DeleteFileRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/file.proto#L186}
2070- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
2070+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
20712071 // /
20722072 // clang-format on
20732073 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -2121,7 +2121,7 @@ class ArtifactRegistryClient {
21212121 // / [`StatusOr`]: @ref google::cloud::StatusOr
21222122 // / [`Status`]: @ref google::cloud::Status
21232123 // / [google.devtools.artifactregistry.v1.DeleteFileRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/file.proto#L186}
2124- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
2124+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
21252125 // /
21262126 // clang-format on
21272127 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3495,7 +3495,7 @@ class ArtifactRegistryClient {
34953495 // / [`StatusOr`]: @ref google::cloud::StatusOr
34963496 // / [`Status`]: @ref google::cloud::Status
34973497 // / [google.devtools.artifactregistry.v1.DeleteAttachmentRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/attachment.proto#L152}
3498- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
3498+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
34993499 // /
35003500 // clang-format on
35013501 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3548,7 +3548,7 @@ class ArtifactRegistryClient {
35483548 // / [`StatusOr`]: @ref google::cloud::StatusOr
35493549 // / [`Status`]: @ref google::cloud::Status
35503550 // / [google.devtools.artifactregistry.v1.DeleteAttachmentRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/attachment.proto#L152}
3551- // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547 }
3551+ // / [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561 }
35523552 // /
35533553 // clang-format on
35543554 future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3587,6 +3587,78 @@ class ArtifactRegistryClient {
35873587 DeleteAttachment (google::longrunning::Operation const & operation,
35883588 Options opts = {});
35893589
3590+ // clang-format off
3591+ // /
3592+ // / Exports an artifact.
3593+ // /
3594+ // / @param request Unary RPCs, such as the one wrapped by this
3595+ // / function, receive a single `request` proto message which includes all
3596+ // / the inputs for the RPC. In this case, the proto message is a
3597+ // / [google.devtools.artifactregistry.v1.ExportArtifactRequest].
3598+ // / Proto messages are converted to C++ classes by Protobuf, using the
3599+ // / [Protobuf mapping rules].
3600+ // / @param opts Optional. Override the class-level options, such as retry and
3601+ // / backoff policies.
3602+ // / @return A [`future`] that becomes satisfied when the LRO
3603+ // / ([Long Running Operation]) completes or the polling policy in effect
3604+ // / for this call is exhausted. The future is satisfied with an error if
3605+ // / the LRO completes with an error or the polling policy is exhausted.
3606+ // / In this case the [`StatusOr`] returned by the future contains the
3607+ // / error. If the LRO completes successfully the value of the future
3608+ // / contains the LRO's result. For this RPC the result is a
3609+ // / [google.devtools.artifactregistry.v1.ExportArtifactResponse] proto message.
3610+ // / The C++ class representing this message is created by Protobuf, using
3611+ // / the [Protobuf mapping rules].
3612+ // /
3613+ // / [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
3614+ // / [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
3615+ // / [Long Running Operation]: https://google.aip.dev/151
3616+ // / [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
3617+ // / [`future`]: @ref google::cloud::future
3618+ // / [`StatusOr`]: @ref google::cloud::StatusOr
3619+ // / [`Status`]: @ref google::cloud::Status
3620+ // / [google.devtools.artifactregistry.v1.ExportArtifactRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/export.proto#L33}
3621+ // / [google.devtools.artifactregistry.v1.ExportArtifactResponse]: @googleapis_reference_link{google/devtools/artifactregistry/v1/export.proto#L70}
3622+ // /
3623+ // clang-format on
3624+ future<
3625+ StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
3626+ ExportArtifact (
3627+ google::devtools::artifactregistry::v1::ExportArtifactRequest const &
3628+ request,
3629+ Options opts = {});
3630+
3631+ // clang-format off
3632+ // /
3633+ // / @copybrief ExportArtifact
3634+ // /
3635+ // / Specifying the [`NoAwaitTag`] immediately returns the
3636+ // / [`google::longrunning::Operation`] that corresponds to the Long Running
3637+ // / Operation that has been started. No polling for operation status occurs.
3638+ // /
3639+ // / [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag
3640+ // /
3641+ // clang-format on
3642+ StatusOr<google::longrunning::Operation> ExportArtifact (
3643+ NoAwaitTag,
3644+ google::devtools::artifactregistry::v1::ExportArtifactRequest const &
3645+ request,
3646+ Options opts = {});
3647+
3648+ // clang-format off
3649+ // /
3650+ // / @copybrief ExportArtifact
3651+ // /
3652+ // / This method accepts a `google::longrunning::Operation` that corresponds
3653+ // / to a previously started Long Running Operation (LRO) and polls the status
3654+ // / of the LRO in the background.
3655+ // /
3656+ // clang-format on
3657+ future<
3658+ StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
3659+ ExportArtifact (google::longrunning::Operation const & operation,
3660+ Options opts = {});
3661+
35903662 // clang-format off
35913663 // /
35923664 // / Lists information about the supported locations for this service.
0 commit comments