diff --git a/MODULE.bazel b/MODULE.bazel index 5d0c447cfdb56..711eae8f8fdfe 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -52,12 +52,12 @@ python.toolchain( bazel_dep(name = "googleapis", version = "0.0.0", repo_name = "com_google_googleapis") archive_override( module_name = "googleapis", - integrity = "sha256-B9C8wQIemnTrAU+vRg/93P816tjLJZjrNpLjmUT7qOg=", + integrity = "sha256-nqH6sI2rZfsPg8mmAw2vfv2eyiVJCWGyrnyqx2acWk4=", patch_strip = 1, patches = ["//bazel:googleapis.modules.patch"], - strip_prefix = "googleapis-d675ec222c431e3346ba8aaf0027392fe8b3d90c", + strip_prefix = "googleapis-f4eff5440fd07389f820d22d2a55690c6390dc6d", urls = [ - "https://github.com/googleapis/googleapis/archive/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz", + "https://github.com/googleapis/googleapis/archive/f4eff5440fd07389f820d22d2a55690c6390dc6d.tar.gz", ], ) diff --git a/bazel/workspace0.bzl b/bazel/workspace0.bzl index b2307139467cb..e48854d694f67 100644 --- a/bazel/workspace0.bzl +++ b/bazel/workspace0.bzl @@ -126,10 +126,10 @@ def gl_cpp_workspace0(name = None): http_archive, name = "com_google_googleapis", urls = [ - "https://github.com/googleapis/googleapis/archive/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz", + "https://github.com/googleapis/googleapis/archive/f4eff5440fd07389f820d22d2a55690c6390dc6d.tar.gz", ], - sha256 = "07d0bcc1021e9a74eb014faf460ffddcff35ead8cb2598eb3692e39944fba8e8", - strip_prefix = "googleapis-d675ec222c431e3346ba8aaf0027392fe8b3d90c", + sha256 = "9ea1fab08dab65fb0f83c9a6030daf7efd9eca25490961b2ae7caac7669c5a4e", + strip_prefix = "googleapis-f4eff5440fd07389f820d22d2a55690c6390dc6d", build_file = Label("//bazel:googleapis.BUILD"), # Scaffolding for patching googleapis after download. For example: # patches = ["googleapis.patch"] diff --git a/cmake/GoogleapisConfig.cmake b/cmake/GoogleapisConfig.cmake index e8e44719b9b31..98006a5fdb448 100644 --- a/cmake/GoogleapisConfig.cmake +++ b/cmake/GoogleapisConfig.cmake @@ -27,9 +27,9 @@ set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256 mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256) set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA - "d675ec222c431e3346ba8aaf0027392fe8b3d90c") + "f4eff5440fd07389f820d22d2a55690c6390dc6d") set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256 - "07d0bcc1021e9a74eb014faf460ffddcff35ead8cb2598eb3692e39944fba8e8") + "9ea1fab08dab65fb0f83c9a6030daf7efd9eca25490961b2ae7caac7669c5a4e") set(DOXYGEN_ALIASES "googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\"" diff --git a/external/googleapis/protodeps/monitoring.deps b/external/googleapis/protodeps/monitoring.deps index cad94d45258d7..ff168475aa60d 100644 --- a/external/googleapis/protodeps/monitoring.deps +++ b/external/googleapis/protodeps/monitoring.deps @@ -2,6 +2,7 @@ @com_google_googleapis//google/api:client_proto @com_google_googleapis//google/api:distribution_proto @com_google_googleapis//google/api:field_behavior_proto +@com_google_googleapis//google/api:field_info_proto @com_google_googleapis//google/api:http_proto @com_google_googleapis//google/api:label_proto @com_google_googleapis//google/api:launch_stage_proto @@ -12,3 +13,4 @@ @com_google_googleapis//google/rpc:status_proto @com_google_googleapis//google/type:calendar_period_proto @com_google_googleapis//google/type:interval_proto +@com_google_googleapis//google/type:timeofday_proto diff --git a/external/googleapis/protodeps/networkconnectivity.deps b/external/googleapis/protodeps/networkconnectivity.deps index 6ef8f9ccdeb73..3797f67d24463 100644 --- a/external/googleapis/protodeps/networkconnectivity.deps +++ b/external/googleapis/protodeps/networkconnectivity.deps @@ -1,6 +1,7 @@ @com_google_googleapis//google/api:annotations_proto @com_google_googleapis//google/api:client_proto @com_google_googleapis//google/api:field_behavior_proto +@com_google_googleapis//google/api:field_info_proto @com_google_googleapis//google/api:http_proto @com_google_googleapis//google/api:launch_stage_proto @com_google_googleapis//google/api:resource_proto diff --git a/external/googleapis/renovate.sh b/external/googleapis/renovate.sh index a6e15958cae85..ccffb363535d4 100755 --- a/external/googleapis/renovate.sh +++ b/external/googleapis/renovate.sh @@ -36,6 +36,9 @@ if [[ -z "$COMMIT_DATE" ]]; then COMMIT_DATE=$(date +%Y-%m-%d) fi +COMMIT=f4eff5440fd07389f820d22d2a55690c6390dc6d +COMMIT_DATE="2024-12-13" + DOWNLOAD="$(mktemp)" curl -fsSL "https://github.com/${REPO}/archive/${COMMIT}.tar.gz" -o "${DOWNLOAD}" gsutil -q cp "${DOWNLOAD}" "gs://cloud-cpp-community-archive/com_google_googleapis/${COMMIT}.tar.gz" @@ -51,8 +54,8 @@ until grep -q "/googleapis/archive/${REV_COMMIT}\.tar" bazel/workspace0.bzl; do done rm -f "${DOWNLOAD}" -banner "Updating Cache for Bazel" -bazel/deps-cache.py -p +#banner "Updating Cache for Bazel" +#bazel/deps-cache.py -p banner "Updating Bazel/CMake dependencies" sed -i -f - bazel/workspace0.bzl <UpdateReservation(context, options, request); } +StatusOr +ReservationServiceAuth::FailoverReservation( + grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + auto status = auth_->ConfigureContext(context); + if (!status.ok()) return status; + return child_->FailoverReservation(context, options, request); +} + StatusOr ReservationServiceAuth::CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_auth_decorator.h b/google/cloud/bigquery/reservation/v1/internal/reservation_auth_decorator.h index d6ffdc4dd4280..3e4cc0ff77841 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_auth_decorator.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_auth_decorator.h @@ -67,6 +67,11 @@ class ReservationServiceAuth : public ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.cc index 4f4bae2922bee..ea11e0953b365 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.cc @@ -165,6 +165,22 @@ ReservationServiceConnectionImpl::UpdateReservation( *current, request, __func__); } +StatusOr +ReservationServiceConnectionImpl::FailoverReservation( + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + auto current = google::cloud::internal::SaveCurrentOptions(); + return google::cloud::internal::RetryLoop( + retry_policy(*current), backoff_policy(*current), + idempotency_policy(*current)->FailoverReservation(request), + [this](grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) { + return stub_->FailoverReservation(context, options, request); + }, + *current, request, __func__); +} + StatusOr ReservationServiceConnectionImpl::CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.h b/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.h index f9349b38d779d..d60f9e463dd3d 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_connection_impl.h @@ -74,6 +74,10 @@ class ReservationServiceConnectionImpl google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.cc index f7cec9db54798..ed902883e9f83 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.cc @@ -105,6 +105,20 @@ ReservationServiceLogging::UpdateReservation( context, options, request, __func__, tracing_options_); } +StatusOr +ReservationServiceLogging::FailoverReservation( + grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + return google::cloud::internal::LogWrapper( + [this](grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) { + return child_->FailoverReservation(context, options, request); + }, + context, options, request, __func__, tracing_options_); +} + StatusOr ReservationServiceLogging::CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.h b/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.h index ac557342cfa7a..5385a4c818c40 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_logging_decorator.h @@ -67,6 +67,11 @@ class ReservationServiceLogging : public ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.cc index aa2507b104099..78bba746bae3f 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.cc @@ -94,6 +94,16 @@ ReservationServiceMetadata::UpdateReservation( return child_->UpdateReservation(context, options, request); } +StatusOr +ReservationServiceMetadata::FailoverReservation( + grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + SetMetadata(context, options, + absl::StrCat("name=", internal::UrlEncode(request.name()))); + return child_->FailoverReservation(context, options, request); +} + StatusOr ReservationServiceMetadata::CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.h b/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.h index 50b0444d1e47a..382e2405ee850 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_metadata_decorator.h @@ -68,6 +68,11 @@ class ReservationServiceMetadata : public ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_stub.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_stub.cc index 70a8728018a58..d3afe4961e766 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_stub.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_stub.cc @@ -94,6 +94,19 @@ DefaultReservationServiceStub::UpdateReservation( return response; } +StatusOr +DefaultReservationServiceStub::FailoverReservation( + grpc::ClientContext& context, Options const&, + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + google::cloud::bigquery::reservation::v1::Reservation response; + auto status = grpc_stub_->FailoverReservation(&context, request, &response); + if (!status.ok()) { + return google::cloud::MakeStatusFromRpcError(status); + } + return response; +} + StatusOr DefaultReservationServiceStub::CreateCapacityCommitment( grpc::ClientContext& context, Options const&, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_stub.h b/google/cloud/bigquery/reservation/v1/internal/reservation_stub.h index bf8f09db881d8..e911ed6c9b18b 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_stub.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_stub.h @@ -65,6 +65,11 @@ class ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) = 0; + virtual StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) = 0; + virtual StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, @@ -199,6 +204,11 @@ class DefaultReservationServiceStub : public ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.cc index 6ed3a1f123e4d..71ca51b9e70fc 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.cc @@ -89,6 +89,17 @@ ReservationServiceTracingConnection::UpdateReservation( return internal::EndSpan(*span, child_->UpdateReservation(request)); } +StatusOr +ReservationServiceTracingConnection::FailoverReservation( + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + auto span = internal::MakeSpan( + "bigquery_reservation_v1::ReservationServiceConnection::" + "FailoverReservation"); + auto scope = opentelemetry::trace::Scope(span); + return internal::EndSpan(*span, child_->FailoverReservation(request)); +} + StatusOr ReservationServiceTracingConnection::CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.h b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.h index 543f41e4435d6..324c3c2438979 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_connection.h @@ -65,6 +65,10 @@ class ReservationServiceTracingConnection google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.cc b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.cc index a7c74c07d2b70..2d389fcb18bb1 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.cc +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.cc @@ -101,6 +101,20 @@ ReservationServiceTracingStub::UpdateReservation( context, *span, child_->UpdateReservation(context, options, request)); } +StatusOr +ReservationServiceTracingStub::FailoverReservation( + grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request) { + auto span = internal::MakeSpanGrpc( + "google.cloud.bigquery.reservation.v1.ReservationService", + "FailoverReservation"); + auto scope = opentelemetry::trace::Scope(span); + internal::InjectTraceContext(context, *propagator_); + return internal::EndSpan( + context, *span, child_->FailoverReservation(context, options, request)); +} + StatusOr ReservationServiceTracingStub::CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.h b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.h index 807c0b215d52d..f762d787d03d0 100644 --- a/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.h +++ b/google/cloud/bigquery/reservation/v1/internal/reservation_tracing_stub.h @@ -68,6 +68,11 @@ class ReservationServiceTracingStub : public ReservationServiceStub { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request) override; + StatusOr + FailoverReservation(grpc::ClientContext& context, Options const& options, + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request) override; + StatusOr CreateCapacityCommitment( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/bigquery/reservation/v1/mocks/mock_reservation_connection.h b/google/cloud/bigquery/reservation/v1/mocks/mock_reservation_connection.h index e63b8a378aee1..2c5a180d70f8f 100644 --- a/google/cloud/bigquery/reservation/v1/mocks/mock_reservation_connection.h +++ b/google/cloud/bigquery/reservation/v1/mocks/mock_reservation_connection.h @@ -81,6 +81,12 @@ class MockReservationServiceConnection request), (override)); + MOCK_METHOD(StatusOr, + FailoverReservation, + (google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request), + (override)); + MOCK_METHOD( StatusOr, CreateCapacityCommitment, diff --git a/google/cloud/bigquery/reservation/v1/reservation_client.cc b/google/cloud/bigquery/reservation/v1/reservation_client.cc index 988e188ee4177..fc21a5975e878 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_client.cc +++ b/google/cloud/bigquery/reservation/v1/reservation_client.cc @@ -125,6 +125,15 @@ ReservationServiceClient::UpdateReservation( return connection_->UpdateReservation(request); } +StatusOr +ReservationServiceClient::FailoverReservation( + google::cloud::bigquery::reservation::v1::FailoverReservationRequest const& + request, + Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + return connection_->FailoverReservation(request); +} + StatusOr ReservationServiceClient::CreateCapacityCommitment( std::string const& parent, diff --git a/google/cloud/bigquery/reservation/v1/reservation_client.h b/google/cloud/bigquery/reservation/v1/reservation_client.h index 6076a27c9b2a2..9837beb1f991c 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_client.h +++ b/google/cloud/bigquery/reservation/v1/reservation_client.h @@ -124,8 +124,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CreateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L617} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.CreateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L678} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StatusOr @@ -157,8 +157,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CreateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L617} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.CreateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L678} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StatusOr @@ -195,8 +195,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.ListReservationsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L638} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.ListReservationsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L699} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StreamRange @@ -234,8 +234,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.ListReservationsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L638} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.ListReservationsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L699} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StreamRange @@ -262,8 +262,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.GetReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L668} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.GetReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L729} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StatusOr @@ -292,8 +292,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.GetReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L668} - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} + /// [google.cloud.bigquery.reservation.v1.GetReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L729} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} /// // clang-format on StatusOr @@ -321,7 +321,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L681} + /// [google.cloud.bigquery.reservation.v1.DeleteReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L742} /// // clang-format on Status DeleteReservation(std::string const& name, Options opts = {}); @@ -349,7 +349,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L681} + /// [google.cloud.bigquery.reservation.v1.DeleteReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L742} /// // clang-format on Status DeleteReservation( @@ -376,8 +376,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} - /// [google.cloud.bigquery.reservation.v1.UpdateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L694} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} + /// [google.cloud.bigquery.reservation.v1.UpdateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L755} /// // clang-format on StatusOr @@ -408,8 +408,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L395} - /// [google.cloud.bigquery.reservation.v1.UpdateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L694} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} + /// [google.cloud.bigquery.reservation.v1.UpdateReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L755} /// // clang-format on StatusOr @@ -418,6 +418,42 @@ class ReservationServiceClient { request, Options opts = {}); + // clang-format off + /// + /// Fail over a reservation to the secondary location. The operation should be + /// done in the current secondary location, which will be promoted to the + /// new primary location for the reservation. + /// Attempting to failover a reservation in the current primary location will + /// fail with the error code `google.rpc.Code.FAILED_PRECONDITION`. + /// + /// @param request Unary RPCs, such as the one wrapped by this + /// function, receive a single `request` proto message which includes all + /// the inputs for the RPC. In this case, the proto message is a + /// [google.cloud.bigquery.reservation.v1.FailoverReservationRequest]. + /// Proto messages are converted to C++ classes by Protobuf, using the + /// [Protobuf mapping rules]. + /// @param opts Optional. Override the class-level options, such as retry and + /// backoff policies. + /// @return the result of the RPC. The response message type + /// ([google.cloud.bigquery.reservation.v1.Reservation]) + /// is mapped to a C++ class using the [Protobuf mapping rules]. + /// If the request fails, the [`StatusOr`] contains the error details. + /// + /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/ + /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator + /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string + /// [`future`]: @ref google::cloud::future + /// [`StatusOr`]: @ref google::cloud::StatusOr + /// [`Status`]: @ref google::cloud::Status + /// [google.cloud.bigquery.reservation.v1.FailoverReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L764} + /// [google.cloud.bigquery.reservation.v1.Reservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L407} + /// + // clang-format on + StatusOr + FailoverReservation(google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request, + Options opts = {}); + // clang-format off /// /// Creates a new capacity commitment resource. @@ -438,8 +474,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L704} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L777} /// // clang-format on StatusOr @@ -472,8 +508,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L704} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L777} /// // clang-format on StatusOr @@ -509,8 +545,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L731} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L804} /// // clang-format on StreamRange @@ -548,8 +584,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L731} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L804} /// // clang-format on StreamRange @@ -577,8 +613,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L761} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L834} /// // clang-format on StatusOr @@ -607,8 +643,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L761} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L834} /// // clang-format on StatusOr @@ -635,7 +671,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L774} + /// [google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L847} /// // clang-format on Status DeleteCapacityCommitment(std::string const& name, Options opts = {}); @@ -663,7 +699,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L774} + /// [google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L847} /// // clang-format on Status DeleteCapacityCommitment( @@ -696,8 +732,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L792} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L865} /// // clang-format on StatusOr @@ -735,8 +771,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L792} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L865} /// // clang-format on StatusOr @@ -771,8 +807,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L802} - /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L818} + /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L875} + /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L891} /// // clang-format on StatusOr< @@ -810,8 +846,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L802} - /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L818} + /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L875} + /// [google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L891} /// // clang-format on StatusOr< @@ -850,8 +886,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L828} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L901} /// // clang-format on StatusOr @@ -889,8 +925,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L487} - /// [google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L828} + /// [google.cloud.bigquery.reservation.v1.CapacityCommitment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L539} + /// [google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L901} /// // clang-format on StatusOr @@ -952,8 +988,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.CreateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L907} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.CreateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L982} /// // clang-format on StatusOr @@ -1019,8 +1055,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.CreateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L907} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.CreateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L982} /// // clang-format on StatusOr @@ -1082,8 +1118,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.ListAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L929} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.ListAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1004} /// // clang-format on StreamRange @@ -1141,8 +1177,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.ListAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L929} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.ListAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1004} /// // clang-format on StreamRange @@ -1181,7 +1217,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L966} + /// [google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1041} /// // clang-format on Status DeleteAssignment(std::string const& name, Options opts = {}); @@ -1221,7 +1257,7 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L966} + /// [google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1041} /// // clang-format on Status DeleteAssignment( @@ -1289,8 +1325,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L981} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1056} /// // clang-format on GOOGLE_CLOUD_CPP_DEPRECATED("This RPC is deprecated.") @@ -1354,8 +1390,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L981} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1056} /// // clang-format on GOOGLE_CLOUD_CPP_DEPRECATED("This RPC is deprecated.") @@ -1420,8 +1456,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1012} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1087} /// // clang-format on StreamRange @@ -1479,8 +1515,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1012} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1087} /// // clang-format on StreamRange @@ -1515,8 +1551,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.MoveAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1070} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.MoveAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1145} /// // clang-format on StatusOr MoveAssignment( @@ -1550,8 +1586,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.MoveAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1070} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.MoveAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1145} /// // clang-format on StatusOr MoveAssignment( @@ -1580,8 +1616,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1097} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1172} /// // clang-format on StatusOr @@ -1614,8 +1650,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L845} - /// [google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1097} + /// [google.cloud.bigquery.reservation.v1.Assignment]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L918} + /// [google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1172} /// // clang-format on StatusOr @@ -1643,8 +1679,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1119} - /// [google.cloud.bigquery.reservation.v1.GetBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1142} + /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1194} + /// [google.cloud.bigquery.reservation.v1.GetBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1217} /// // clang-format on StatusOr @@ -1673,8 +1709,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1119} - /// [google.cloud.bigquery.reservation.v1.GetBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1142} + /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1194} + /// [google.cloud.bigquery.reservation.v1.GetBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1217} /// // clang-format on StatusOr @@ -1709,8 +1745,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1119} - /// [google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1154} + /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1194} + /// [google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1229} /// // clang-format on StatusOr @@ -1749,8 +1785,8 @@ class ReservationServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1119} - /// [google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1154} + /// [google.cloud.bigquery.reservation.v1.BiReservation]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1194} + /// [google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest]: @googleapis_reference_link{google/cloud/bigquery/reservation/v1/reservation.proto#L1229} /// // clang-format on StatusOr diff --git a/google/cloud/bigquery/reservation/v1/reservation_connection.cc b/google/cloud/bigquery/reservation/v1/reservation_connection.cc index 07e97da1adf31..913f8a6b258e8 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_connection.cc +++ b/google/cloud/bigquery/reservation/v1/reservation_connection.cc @@ -69,6 +69,13 @@ ReservationServiceConnection::UpdateReservation( return Status(StatusCode::kUnimplemented, "not implemented"); } +StatusOr +ReservationServiceConnection::FailoverReservation( + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const&) { + return Status(StatusCode::kUnimplemented, "not implemented"); +} + StatusOr ReservationServiceConnection::CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/reservation_connection.h b/google/cloud/bigquery/reservation/v1/reservation_connection.h index e0eebb61a4c52..f0cbce473d92a 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_connection.h +++ b/google/cloud/bigquery/reservation/v1/reservation_connection.h @@ -210,6 +210,10 @@ class ReservationServiceConnection { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request); + virtual StatusOr + FailoverReservation(google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request); + virtual StatusOr CreateCapacityCommitment(google::cloud::bigquery::reservation::v1:: CreateCapacityCommitmentRequest const& request); diff --git a/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.cc b/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.cc index 08897c7852b75..c3333481a551a 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.cc +++ b/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.cc @@ -60,6 +60,12 @@ Idempotency ReservationServiceConnectionIdempotencyPolicy::UpdateReservation( return Idempotency::kNonIdempotent; } +Idempotency ReservationServiceConnectionIdempotencyPolicy::FailoverReservation( + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const&) { + return Idempotency::kNonIdempotent; +} + Idempotency ReservationServiceConnectionIdempotencyPolicy::CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: diff --git a/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.h b/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.h index cd2d1368bdcdc..44de998f601af 100644 --- a/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.h +++ b/google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.h @@ -57,6 +57,10 @@ class ReservationServiceConnectionIdempotencyPolicy { google::cloud::bigquery::reservation::v1::UpdateReservationRequest const& request); + virtual google::cloud::Idempotency FailoverReservation( + google::cloud::bigquery::reservation::v1:: + FailoverReservationRequest const& request); + virtual google::cloud::Idempotency CreateCapacityCommitment( google::cloud::bigquery::reservation::v1:: CreateCapacityCommitmentRequest const& request); diff --git a/google/cloud/billing/v1/cloud_billing_client.h b/google/cloud/billing/v1/cloud_billing_client.h index fca2585a56f93..332e4d6bf9d6b 100644 --- a/google/cloud/billing/v1/cloud_billing_client.h +++ b/google/cloud/billing/v1/cloud_billing_client.h @@ -110,7 +110,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.GetBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L322} + /// [google.cloud.billing.v1.GetBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L333} /// // clang-format on StatusOr GetBillingAccount( @@ -142,7 +142,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.GetBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L322} + /// [google.cloud.billing.v1.GetBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L333} /// // clang-format on StatusOr GetBillingAccount( @@ -178,7 +178,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L334} + /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L345} /// // clang-format on StreamRange ListBillingAccounts( @@ -219,7 +219,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L334} + /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L345} /// // clang-format on StreamRange ListBillingAccounts( @@ -260,7 +260,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L334} + /// [google.cloud.billing.v1.ListBillingAccountsRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L345} /// // clang-format on StreamRange ListBillingAccounts( @@ -293,7 +293,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.UpdateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L389} + /// [google.cloud.billing.v1.UpdateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L400} /// // clang-format on StatusOr UpdateBillingAccount( @@ -330,7 +330,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.UpdateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L389} + /// [google.cloud.billing.v1.UpdateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L400} /// // clang-format on StatusOr UpdateBillingAccount( @@ -373,7 +373,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L374} + /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L385} /// // clang-format on StatusOr CreateBillingAccount( @@ -420,7 +420,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L374} + /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L385} /// // clang-format on StatusOr CreateBillingAccount( @@ -465,7 +465,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L374} + /// [google.cloud.billing.v1.CreateBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L385} /// // clang-format on StatusOr CreateBillingAccount( @@ -504,8 +504,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.ListProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L408} - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} + /// [google.cloud.billing.v1.ListProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L419} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} /// // clang-format on StreamRange @@ -546,8 +546,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.ListProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L408} - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} + /// [google.cloud.billing.v1.ListProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L419} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} /// // clang-format on StreamRange @@ -578,8 +578,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.GetProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L442} - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} + /// [google.cloud.billing.v1.GetProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L453} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} /// // clang-format on StatusOr @@ -612,8 +612,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.GetProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L442} - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} + /// [google.cloud.billing.v1.GetProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L453} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} /// // clang-format on StatusOr @@ -675,8 +675,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} - /// [google.cloud.billing.v1.UpdateProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L454} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} + /// [google.cloud.billing.v1.UpdateProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L465} /// // clang-format on StatusOr @@ -739,8 +739,8 @@ class CloudBillingClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L293} - /// [google.cloud.billing.v1.UpdateProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L454} + /// [google.cloud.billing.v1.ProjectBillingInfo]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L304} + /// [google.cloud.billing.v1.UpdateProjectBillingInfoRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L465} /// // clang-format on StatusOr @@ -994,7 +994,7 @@ class CloudBillingClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.billing.v1.BillingAccount]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L242} - /// [google.cloud.billing.v1.MoveBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L467} + /// [google.cloud.billing.v1.MoveBillingAccountRequest]: @googleapis_reference_link{google/cloud/billing/v1/cloud_billing.proto#L478} /// // clang-format on StatusOr MoveBillingAccount( diff --git a/google/cloud/composer/v1/environments_client.h b/google/cloud/composer/v1/environments_client.h index 0601e0aee39a7..265e2dbef855a 100644 --- a/google/cloud/composer/v1/environments_client.h +++ b/google/cloud/composer/v1/environments_client.h @@ -116,7 +116,7 @@ class EnvironmentsClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L328} - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// // clang-format on future< @@ -175,7 +175,7 @@ class EnvironmentsClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L328} - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// // clang-format on future< @@ -234,7 +234,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L338} /// // clang-format on @@ -264,7 +264,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L338} /// // clang-format on @@ -301,7 +301,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L345} /// // clang-format on @@ -340,7 +340,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L345} /// // clang-format on @@ -386,7 +386,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L374} /// // clang-format on @@ -445,7 +445,7 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1886} + /// [google.cloud.orchestration.airflow.service.v1.Environment]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L1902} /// [google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L374} /// // clang-format on @@ -736,8 +736,8 @@ class EnvironmentsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.orchestration.airflow.service.v1.ListWorkloadsRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L814} - /// [google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L843} + /// [google.cloud.orchestration.airflow.service.v1.ListWorkloadsRequest]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L828} + /// [google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload]: @googleapis_reference_link{google/cloud/orchestration/airflow/service/v1/environments.proto#L857} /// // clang-format on StreamRange ListDeployments( @@ -158,7 +158,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.ListDeploymentsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L572} + /// [google.cloud.config.v1.ListDeploymentsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L573} /// // clang-format on StreamRange ListDeployments( @@ -185,7 +185,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.GetDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L631} + /// [google.cloud.config.v1.GetDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L632} /// // clang-format on StatusOr GetDeployment( @@ -215,7 +215,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.GetDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L631} + /// [google.cloud.config.v1.GetDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L632} /// // clang-format on StatusOr GetDeployment( @@ -251,7 +251,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.CreateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L714} + /// [google.cloud.config.v1.CreateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L715} /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} /// // clang-format on @@ -306,7 +306,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.CreateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L714} + /// [google.cloud.config.v1.CreateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L715} /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} /// // clang-format on @@ -378,7 +378,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.UpdateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L747} + /// [google.cloud.config.v1.UpdateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L748} /// // clang-format on future> UpdateDeployment( @@ -431,7 +431,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.UpdateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L747} + /// [google.cloud.config.v1.UpdateDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L748} /// // clang-format on future> UpdateDeployment( @@ -492,7 +492,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeleteDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L780} + /// [google.cloud.config.v1.DeleteDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L781} /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} /// // clang-format on @@ -543,7 +543,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeleteDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L780} + /// [google.cloud.config.v1.DeleteDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L781} /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} /// // clang-format on @@ -608,8 +608,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListRevisionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L643} - /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L873} + /// [google.cloud.config.v1.ListRevisionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L644} + /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L874} /// // clang-format on StreamRange ListRevisions( @@ -647,8 +647,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListRevisionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L643} - /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L873} + /// [google.cloud.config.v1.ListRevisionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L644} + /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L874} /// // clang-format on StreamRange ListRevisions( @@ -674,8 +674,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetRevisionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L705} - /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L873} + /// [google.cloud.config.v1.GetRevisionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L706} + /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L874} /// // clang-format on StatusOr GetRevision( @@ -704,8 +704,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetRevisionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L705} - /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L873} + /// [google.cloud.config.v1.GetRevisionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L706} + /// [google.cloud.config.v1.Revision]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L874} /// // clang-format on StatusOr GetRevision( @@ -732,8 +732,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetResourceRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1218} - /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1129} + /// [google.cloud.config.v1.GetResourceRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1219} + /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1130} /// // clang-format on StatusOr GetResource( @@ -763,8 +763,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetResourceRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1218} - /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1129} + /// [google.cloud.config.v1.GetResourceRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1219} + /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1130} /// // clang-format on StatusOr GetResource( @@ -773,7 +773,7 @@ class ConfigClient { // clang-format off /// - /// Lists [Resource][google.cloud.config.v1.Resource]s in a given revision. + /// Lists [Resources][google.cloud.config.v1.Resource] in a given revision. /// /// @param parent Required. The parent in whose context the Resources are listed. The parent /// value is in the format: @@ -800,8 +800,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListResourcesRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1228} - /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1129} + /// [google.cloud.config.v1.ListResourcesRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1229} + /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1130} /// // clang-format on StreamRange ListResources( @@ -809,7 +809,7 @@ class ConfigClient { // clang-format off /// - /// Lists [Resource][google.cloud.config.v1.Resource]s in a given revision. + /// Lists [Resources][google.cloud.config.v1.Resource] in a given revision. /// /// @param request Unary RPCs, such as the one wrapped by this /// function, receive a single `request` proto message which includes all @@ -839,8 +839,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListResourcesRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1228} - /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1129} + /// [google.cloud.config.v1.ListResourcesRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1229} + /// [google.cloud.config.v1.Resource]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1130} /// // clang-format on StreamRange ListResources( @@ -870,8 +870,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ExportDeploymentStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1288} - /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1280} + /// [google.cloud.config.v1.ExportDeploymentStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1289} + /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1281} /// // clang-format on StatusOr ExportDeploymentStatefile( @@ -902,8 +902,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ExportRevisionStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1307} - /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1280} + /// [google.cloud.config.v1.ExportRevisionStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1308} + /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1281} /// // clang-format on StatusOr ExportRevisionStatefile( @@ -933,8 +933,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ImportStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1318} - /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1280} + /// [google.cloud.config.v1.ImportStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1319} + /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1281} /// // clang-format on StatusOr ImportStatefile( @@ -964,8 +964,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ImportStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1318} - /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1280} + /// [google.cloud.config.v1.ImportStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1319} + /// [google.cloud.config.v1.Statefile]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1281} /// // clang-format on StatusOr ImportStatefile( @@ -989,7 +989,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeleteStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1338} + /// [google.cloud.config.v1.DeleteStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1339} /// // clang-format on Status DeleteStatefile(std::string const& name, Options opts = {}); @@ -1015,7 +1015,7 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeleteStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1338} + /// [google.cloud.config.v1.DeleteStatefileRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1339} /// // clang-format on Status DeleteStatefile( @@ -1049,7 +1049,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.LockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1354} + /// [google.cloud.config.v1.LockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1355} /// // clang-format on future> LockDeployment( @@ -1100,7 +1100,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.LockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1354} + /// [google.cloud.config.v1.LockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1355} /// // clang-format on future> LockDeployment( @@ -1163,7 +1163,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.UnlockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1366} + /// [google.cloud.config.v1.UnlockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1367} /// // clang-format on future> UnlockDeployment( @@ -1215,7 +1215,7 @@ class ConfigClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.config.v1.Deployment]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L312} - /// [google.cloud.config.v1.UnlockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1366} + /// [google.cloud.config.v1.UnlockDeploymentRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1367} /// // clang-format on future> UnlockDeployment( @@ -1269,8 +1269,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ExportLockInfoRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1381} - /// [google.cloud.config.v1.LockInfo]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1393} + /// [google.cloud.config.v1.ExportLockInfoRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1382} + /// [google.cloud.config.v1.LockInfo]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1394} /// // clang-format on StatusOr ExportLockInfo( @@ -1299,8 +1299,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ExportLockInfoRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1381} - /// [google.cloud.config.v1.LockInfo]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1393} + /// [google.cloud.config.v1.ExportLockInfoRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1382} + /// [google.cloud.config.v1.LockInfo]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1394} /// // clang-format on StatusOr ExportLockInfo( @@ -1334,8 +1334,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.CreatePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1661} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.CreatePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1668} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on future> CreatePreview( @@ -1387,8 +1387,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.CreatePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1661} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.CreatePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1668} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on future> CreatePreview( @@ -1442,8 +1442,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetPreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1697} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.GetPreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1704} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on StatusOr GetPreview( @@ -1472,8 +1472,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetPreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1697} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.GetPreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1704} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on StatusOr GetPreview( @@ -1509,8 +1509,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListPreviewsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1707} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.ListPreviewsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1714} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on StreamRange ListPreviews( @@ -1549,8 +1549,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListPreviewsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1707} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.ListPreviewsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1714} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on StreamRange ListPreviews( @@ -1583,8 +1583,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeletePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1768} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.DeletePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1775} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on future> DeletePreview( @@ -1634,8 +1634,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.DeletePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1768} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.DeletePreviewRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1775} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on future> DeletePreview( @@ -1693,9 +1693,9 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ExportPreviewResultRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1796} - /// [google.cloud.config.v1.ExportPreviewResultResponse]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1807} - /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1416} + /// [google.cloud.config.v1.ExportPreviewResultRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1803} + /// [google.cloud.config.v1.ExportPreviewResultResponse]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1814} + /// [google.cloud.config.v1.Preview]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1417} /// // clang-format on StatusOr @@ -1733,8 +1733,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListTerraformVersionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1834} - /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1884} + /// [google.cloud.config.v1.ListTerraformVersionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1841} + /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1891} /// // clang-format on StreamRange @@ -1773,8 +1773,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.ListTerraformVersionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1834} - /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1884} + /// [google.cloud.config.v1.ListTerraformVersionsRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1841} + /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1891} /// // clang-format on StreamRange @@ -1802,8 +1802,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetTerraformVersionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1822} - /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1884} + /// [google.cloud.config.v1.GetTerraformVersionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1829} + /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1891} /// // clang-format on StatusOr GetTerraformVersion( @@ -1833,8 +1833,8 @@ class ConfigClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.config.v1.GetTerraformVersionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1822} - /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1884} + /// [google.cloud.config.v1.GetTerraformVersionRequest]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1829} + /// [google.cloud.config.v1.TerraformVersion]: @googleapis_reference_link{google/cloud/config/v1/config.proto#L1891} /// // clang-format on StatusOr GetTerraformVersion( diff --git a/google/cloud/deploy/v1/cloud_deploy_client.h b/google/cloud/deploy/v1/cloud_deploy_client.h index cad671b1dcbed..303c14a549644 100644 --- a/google/cloud/deploy/v1/cloud_deploy_client.h +++ b/google/cloud/deploy/v1/cloud_deploy_client.h @@ -494,7 +494,7 @@ class CloudDeployClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.deploy.v1.DeleteDeliveryPipelineRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1097} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -545,7 +545,7 @@ class CloudDeployClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.deploy.v1.DeleteDeliveryPipelineRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1097} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -610,7 +610,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListTargetsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1492} + /// [google.cloud.deploy.v1.ListTargetsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1497} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -649,7 +649,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListTargetsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1492} + /// [google.cloud.deploy.v1.ListTargetsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1497} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -736,7 +736,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1538} + /// [google.cloud.deploy.v1.GetTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1543} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -766,7 +766,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1538} + /// [google.cloud.deploy.v1.GetTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1543} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -803,7 +803,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1550} + /// [google.cloud.deploy.v1.CreateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1555} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -858,7 +858,7 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1550} + /// [google.cloud.deploy.v1.CreateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1555} /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} /// // clang-format on @@ -924,7 +924,7 @@ class CloudDeployClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} - /// [google.cloud.deploy.v1.UpdateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1588} + /// [google.cloud.deploy.v1.UpdateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1593} /// // clang-format on future> UpdateTarget( @@ -977,7 +977,7 @@ class CloudDeployClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.deploy.v1.Target]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1206} - /// [google.cloud.deploy.v1.UpdateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1588} + /// [google.cloud.deploy.v1.UpdateTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1593} /// // clang-format on future> UpdateTarget( @@ -1037,8 +1037,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1625} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1630} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> DeleteTarget( @@ -1089,8 +1089,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1625} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteTargetRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1630} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> DeleteTarget( @@ -1152,8 +1152,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.ListCustomTargetTypesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1810} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.ListCustomTargetTypesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1815} /// // clang-format on StreamRange @@ -1191,8 +1191,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.ListCustomTargetTypesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1810} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.ListCustomTargetTypesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1815} /// // clang-format on StreamRange @@ -1219,8 +1219,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.GetCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1856} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.GetCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1861} /// // clang-format on StatusOr GetCustomTargetType( @@ -1249,8 +1249,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.GetCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1856} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.GetCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1861} /// // clang-format on StatusOr GetCustomTargetType( @@ -1285,8 +1285,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1868} - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} + /// [google.cloud.deploy.v1.CreateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1873} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} /// // clang-format on future> @@ -1341,8 +1341,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1868} - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} + /// [google.cloud.deploy.v1.CreateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1873} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} /// // clang-format on future> @@ -1409,8 +1409,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.UpdateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1906} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.UpdateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1911} /// // clang-format on future> @@ -1464,8 +1464,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1669} - /// [google.cloud.deploy.v1.UpdateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1906} + /// [google.cloud.deploy.v1.CustomTargetType]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1674} + /// [google.cloud.deploy.v1.UpdateCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1911} /// // clang-format on future> @@ -1528,8 +1528,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1944} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1949} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -1579,8 +1579,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1944} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteCustomTargetTypeRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1949} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -1645,8 +1645,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListReleasesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2747} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.ListReleasesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2752} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on StreamRange ListReleases( @@ -1684,8 +1684,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListReleasesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2747} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.ListReleasesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2752} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on StreamRange ListReleases( @@ -1711,8 +1711,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2793} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.GetReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2798} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on StatusOr GetRelease( @@ -1741,8 +1741,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2793} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.GetReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2798} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on StatusOr GetRelease( @@ -1778,8 +1778,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2805} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.CreateReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2810} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on future> CreateRelease( @@ -1833,8 +1833,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2805} - /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2257} + /// [google.cloud.deploy.v1.CreateReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2810} + /// [google.cloud.deploy.v1.Release]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2262} /// // clang-format on future> CreateRelease( @@ -1888,8 +1888,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AbandonReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3595} - /// [google.cloud.deploy.v1.AbandonReleaseResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3607} + /// [google.cloud.deploy.v1.AbandonReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3601} + /// [google.cloud.deploy.v1.AbandonReleaseResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3613} /// // clang-format on StatusOr AbandonRelease( @@ -1918,8 +1918,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AbandonReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3595} - /// [google.cloud.deploy.v1.AbandonReleaseResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3607} + /// [google.cloud.deploy.v1.AbandonReleaseRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3601} + /// [google.cloud.deploy.v1.AbandonReleaseResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3613} /// // clang-format on StatusOr AbandonRelease( @@ -1954,8 +1954,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2497} - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} + /// [google.cloud.deploy.v1.CreateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2502} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} /// // clang-format on future> CreateDeployPolicy( @@ -2009,8 +2009,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2497} - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} + /// [google.cloud.deploy.v1.CreateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2502} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} /// // clang-format on future> CreateDeployPolicy( @@ -2075,8 +2075,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.UpdateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2534} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.UpdateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2539} /// // clang-format on future> UpdateDeployPolicy( @@ -2128,8 +2128,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.UpdateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2534} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.UpdateDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2539} /// // clang-format on future> UpdateDeployPolicy( @@ -2190,8 +2190,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2571} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2576} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -2241,8 +2241,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2571} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2576} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -2307,8 +2307,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.ListDeployPoliciesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2611} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.ListDeployPoliciesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2616} /// // clang-format on StreamRange ListDeployPolicies( @@ -2346,8 +2346,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.ListDeployPoliciesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2611} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.ListDeployPoliciesRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2616} /// // clang-format on StreamRange ListDeployPolicies( @@ -2373,8 +2373,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.GetDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2656} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.GetDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2661} /// // clang-format on StatusOr GetDeployPolicy( @@ -2403,8 +2403,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1987} - /// [google.cloud.deploy.v1.GetDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2656} + /// [google.cloud.deploy.v1.DeployPolicy]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L1992} + /// [google.cloud.deploy.v1.GetDeployPolicyRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2661} /// // clang-format on StatusOr GetDeployPolicy( @@ -2430,8 +2430,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ApproveRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3457} - /// [google.cloud.deploy.v1.ApproveRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3481} + /// [google.cloud.deploy.v1.ApproveRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3463} + /// [google.cloud.deploy.v1.ApproveRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3487} /// // clang-format on StatusOr ApproveRollout( @@ -2460,8 +2460,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ApproveRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3457} - /// [google.cloud.deploy.v1.ApproveRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3481} + /// [google.cloud.deploy.v1.ApproveRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3463} + /// [google.cloud.deploy.v1.ApproveRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3487} /// // clang-format on StatusOr ApproveRollout( @@ -2488,8 +2488,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AdvanceRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3484} - /// [google.cloud.deploy.v1.AdvanceRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3508} + /// [google.cloud.deploy.v1.AdvanceRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3490} + /// [google.cloud.deploy.v1.AdvanceRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3514} /// // clang-format on StatusOr AdvanceRollout( @@ -2518,8 +2518,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AdvanceRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3484} - /// [google.cloud.deploy.v1.AdvanceRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3508} + /// [google.cloud.deploy.v1.AdvanceRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3490} + /// [google.cloud.deploy.v1.AdvanceRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3514} /// // clang-format on StatusOr AdvanceRollout( @@ -2545,8 +2545,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CancelRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3511} - /// [google.cloud.deploy.v1.CancelRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3532} + /// [google.cloud.deploy.v1.CancelRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3517} + /// [google.cloud.deploy.v1.CancelRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3538} /// // clang-format on StatusOr CancelRollout( @@ -2575,8 +2575,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CancelRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3511} - /// [google.cloud.deploy.v1.CancelRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3532} + /// [google.cloud.deploy.v1.CancelRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3517} + /// [google.cloud.deploy.v1.CancelRolloutResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3538} /// // clang-format on StatusOr CancelRollout( @@ -2610,8 +2610,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListRolloutsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3319} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.ListRolloutsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3324} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on StreamRange ListRollouts( @@ -2649,8 +2649,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.ListRolloutsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3319} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.ListRolloutsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3324} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on StreamRange ListRollouts( @@ -2676,8 +2676,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3364} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.GetRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3369} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on StatusOr GetRollout( @@ -2706,8 +2706,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3364} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.GetRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3369} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on StatusOr GetRollout( @@ -2743,8 +2743,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3376} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.CreateRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3381} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on future> CreateRollout( @@ -2798,8 +2798,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CreateRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3376} - /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2854} + /// [google.cloud.deploy.v1.CreateRolloutRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3381} + /// [google.cloud.deploy.v1.Rollout]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L2859} /// // clang-format on future> CreateRollout( @@ -2855,8 +2855,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.IgnoreJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3535} - /// [google.cloud.deploy.v1.IgnoreJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3562} + /// [google.cloud.deploy.v1.IgnoreJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3541} + /// [google.cloud.deploy.v1.IgnoreJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3568} /// // clang-format on StatusOr IgnoreJob( @@ -2886,8 +2886,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.IgnoreJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3535} - /// [google.cloud.deploy.v1.IgnoreJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3562} + /// [google.cloud.deploy.v1.IgnoreJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3541} + /// [google.cloud.deploy.v1.IgnoreJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3568} /// // clang-format on StatusOr IgnoreJob( @@ -2915,8 +2915,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.RetryJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3565} - /// [google.cloud.deploy.v1.RetryJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3592} + /// [google.cloud.deploy.v1.RetryJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3571} + /// [google.cloud.deploy.v1.RetryJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3598} /// // clang-format on StatusOr RetryJob( @@ -2946,8 +2946,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.RetryJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3565} - /// [google.cloud.deploy.v1.RetryJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3592} + /// [google.cloud.deploy.v1.RetryJobRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3571} + /// [google.cloud.deploy.v1.RetryJobResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3598} /// // clang-format on StatusOr RetryJob( @@ -2981,8 +2981,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3612} - /// [google.cloud.deploy.v1.ListJobRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3916} + /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3618} + /// [google.cloud.deploy.v1.ListJobRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3922} /// // clang-format on StreamRange ListJobRuns( @@ -3020,8 +3020,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3612} - /// [google.cloud.deploy.v1.ListJobRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3916} + /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3618} + /// [google.cloud.deploy.v1.ListJobRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3922} /// // clang-format on StreamRange ListJobRuns( @@ -3046,8 +3046,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3961} - /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3612} + /// [google.cloud.deploy.v1.GetJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3967} + /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3618} /// // clang-format on StatusOr GetJobRun(std::string const& name, @@ -3076,8 +3076,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.GetJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3961} - /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3612} + /// [google.cloud.deploy.v1.GetJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3967} + /// [google.cloud.deploy.v1.JobRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3618} /// // clang-format on StatusOr GetJobRun( @@ -3103,8 +3103,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.TerminateJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3973} - /// [google.cloud.deploy.v1.TerminateJobRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3994} + /// [google.cloud.deploy.v1.TerminateJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3979} + /// [google.cloud.deploy.v1.TerminateJobRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4000} /// // clang-format on StatusOr TerminateJobRun( @@ -3133,8 +3133,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.TerminateJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3973} - /// [google.cloud.deploy.v1.TerminateJobRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3994} + /// [google.cloud.deploy.v1.TerminateJobRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3979} + /// [google.cloud.deploy.v1.TerminateJobRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4000} /// // clang-format on StatusOr TerminateJobRun( @@ -3159,8 +3159,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Config]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3997} - /// [google.cloud.deploy.v1.GetConfigRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4030} + /// [google.cloud.deploy.v1.Config]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4003} + /// [google.cloud.deploy.v1.GetConfigRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4036} /// // clang-format on StatusOr GetConfig(std::string const& name, @@ -3189,8 +3189,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Config]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3997} - /// [google.cloud.deploy.v1.GetConfigRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4030} + /// [google.cloud.deploy.v1.Config]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4003} + /// [google.cloud.deploy.v1.GetConfigRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4036} /// // clang-format on StatusOr GetConfig( @@ -3226,8 +3226,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.CreateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4357} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.CreateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4363} /// // clang-format on future> CreateAutomation( @@ -3281,8 +3281,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.CreateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4357} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.CreateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4363} /// // clang-format on future> CreateAutomation( @@ -3347,8 +3347,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.UpdateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4395} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.UpdateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4401} /// // clang-format on future> UpdateAutomation( @@ -3400,8 +3400,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.UpdateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4395} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.UpdateAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4401} /// // clang-format on future> UpdateAutomation( @@ -3462,8 +3462,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4432} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4438} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -3513,8 +3513,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.DeleteAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4432} - /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3427} + /// [google.cloud.deploy.v1.DeleteAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4438} + /// [google.cloud.deploy.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L3432} /// // clang-format on future> @@ -3570,8 +3570,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.GetAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4519} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.GetAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4525} /// // clang-format on StatusOr GetAutomation( @@ -3600,8 +3600,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.GetAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4519} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.GetAutomationRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4525} /// // clang-format on StatusOr GetAutomation( @@ -3637,8 +3637,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.ListAutomationsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4473} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.ListAutomationsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4479} /// // clang-format on StreamRange ListAutomations( @@ -3676,8 +3676,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4047} - /// [google.cloud.deploy.v1.ListAutomationsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4473} + /// [google.cloud.deploy.v1.Automation]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4053} + /// [google.cloud.deploy.v1.ListAutomationsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4479} /// // clang-format on StreamRange ListAutomations( @@ -3703,8 +3703,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4534} - /// [google.cloud.deploy.v1.GetAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4822} + /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4540} + /// [google.cloud.deploy.v1.GetAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4828} /// // clang-format on StatusOr GetAutomationRun( @@ -3733,8 +3733,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4534} - /// [google.cloud.deploy.v1.GetAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4822} + /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4540} + /// [google.cloud.deploy.v1.GetAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4828} /// // clang-format on StatusOr GetAutomationRun( @@ -3770,8 +3770,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4534} - /// [google.cloud.deploy.v1.ListAutomationRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4776} + /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4540} + /// [google.cloud.deploy.v1.ListAutomationRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4782} /// // clang-format on StreamRange ListAutomationRuns( @@ -3809,8 +3809,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4534} - /// [google.cloud.deploy.v1.ListAutomationRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4776} + /// [google.cloud.deploy.v1.AutomationRun]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4540} + /// [google.cloud.deploy.v1.ListAutomationRunsRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4782} /// // clang-format on StreamRange ListAutomationRuns( @@ -3839,8 +3839,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CancelAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4834} - /// [google.cloud.deploy.v1.CancelAutomationRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4846} + /// [google.cloud.deploy.v1.CancelAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4840} + /// [google.cloud.deploy.v1.CancelAutomationRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4852} /// // clang-format on StatusOr @@ -3872,8 +3872,8 @@ class CloudDeployClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.deploy.v1.CancelAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4834} - /// [google.cloud.deploy.v1.CancelAutomationRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4846} + /// [google.cloud.deploy.v1.CancelAutomationRunRequest]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4840} + /// [google.cloud.deploy.v1.CancelAutomationRunResponse]: @googleapis_reference_link{google/cloud/deploy/v1/cloud_deploy.proto#L4852} /// // clang-format on StatusOr diff --git a/google/cloud/dialogflow_es/answer_records_client.h b/google/cloud/dialogflow_es/answer_records_client.h index 69ef371b9c6c2..4bb2855313c61 100644 --- a/google/cloud/dialogflow_es/answer_records_client.h +++ b/google/cloud/dialogflow_es/answer_records_client.h @@ -62,7 +62,7 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN /// such a copy when using this class from multiple threads. /// /// [google.cloud.dialogflow.v2.AnswerRecord]: -/// @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L98} +/// @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L99} /// class AnswerRecordsClient { public: @@ -119,8 +119,8 @@ class AnswerRecordsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L98} - /// [google.cloud.dialogflow.v2.ListAnswerRecordsRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L125} + /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L99} + /// [google.cloud.dialogflow.v2.ListAnswerRecordsRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L126} /// // clang-format on StreamRange ListAnswerRecords( @@ -159,8 +159,8 @@ class AnswerRecordsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L98} - /// [google.cloud.dialogflow.v2.ListAnswerRecordsRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L125} + /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L99} + /// [google.cloud.dialogflow.v2.ListAnswerRecordsRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L126} /// // clang-format on StreamRange ListAnswerRecords( @@ -186,8 +186,8 @@ class AnswerRecordsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L98} - /// [google.cloud.dialogflow.v2.UpdateAnswerRecordRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L173} + /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L99} + /// [google.cloud.dialogflow.v2.UpdateAnswerRecordRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L174} /// // clang-format on StatusOr UpdateAnswerRecord( @@ -217,8 +217,8 @@ class AnswerRecordsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L98} - /// [google.cloud.dialogflow.v2.UpdateAnswerRecordRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L173} + /// [google.cloud.dialogflow.v2.AnswerRecord]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L99} + /// [google.cloud.dialogflow.v2.UpdateAnswerRecordRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/answer_record.proto#L174} /// // clang-format on StatusOr UpdateAnswerRecord( diff --git a/google/cloud/dialogflow_es/conversation_profiles_client.h b/google/cloud/dialogflow_es/conversation_profiles_client.h index f1bfdc90cc60d..f4ed813ee24df 100644 --- a/google/cloud/dialogflow_es/conversation_profiles_client.h +++ b/google/cloud/dialogflow_es/conversation_profiles_client.h @@ -64,7 +64,7 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN /// such a copy when using this class from multiple threads. /// /// [google.cloud.dialogflow.v2.ConversationProfile]: -/// @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} +/// @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} /// class ConversationProfilesClient { public: @@ -122,8 +122,8 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.ListConversationProfilesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L269} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ListConversationProfilesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L285} /// // clang-format on StreamRange @@ -161,8 +161,8 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.ListConversationProfilesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L269} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ListConversationProfilesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L285} /// // clang-format on StreamRange @@ -189,8 +189,8 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.GetConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L301} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.GetConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L317} /// // clang-format on StatusOr @@ -219,8 +219,8 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.GetConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L301} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.GetConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L317} /// // clang-format on StatusOr @@ -233,7 +233,9 @@ class ConversationProfilesClient { /// /// Creates a conversation profile in the specified project. /// - /// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] + /// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] + /// and + /// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] /// aren't populated in the response. You can retrieve them via /// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] /// API. @@ -254,9 +256,11 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ConversationProfile.create_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L213} + /// [google.cloud.dialogflow.v2.ConversationProfile.update_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L217} /// [google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L63} - /// [google.cloud.dialogflow.v2.CreateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L315} + /// [google.cloud.dialogflow.v2.CreateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L331} /// // clang-format on StatusOr @@ -270,7 +274,9 @@ class ConversationProfilesClient { /// /// Creates a conversation profile in the specified project. /// - /// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] + /// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] + /// and + /// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] /// aren't populated in the response. You can retrieve them via /// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] /// API. @@ -294,9 +300,11 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ConversationProfile.create_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L213} + /// [google.cloud.dialogflow.v2.ConversationProfile.update_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L217} /// [google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L63} - /// [google.cloud.dialogflow.v2.CreateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L315} + /// [google.cloud.dialogflow.v2.CreateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L331} /// // clang-format on StatusOr @@ -309,7 +317,9 @@ class ConversationProfilesClient { /// /// Updates the specified conversation profile. /// - /// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] + /// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] + /// and + /// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] /// aren't populated in the response. You can retrieve them via /// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] /// API. @@ -329,9 +339,11 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ConversationProfile.create_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L213} + /// [google.cloud.dialogflow.v2.ConversationProfile.update_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L217} /// [google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L63} - /// [google.cloud.dialogflow.v2.UpdateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L332} + /// [google.cloud.dialogflow.v2.UpdateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L348} /// // clang-format on StatusOr @@ -344,7 +356,9 @@ class ConversationProfilesClient { /// /// Updates the specified conversation profile. /// - /// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] + /// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] + /// and + /// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] /// aren't populated in the response. You can retrieve them via /// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] /// API. @@ -368,9 +382,11 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.ConversationProfile.create_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L213} + /// [google.cloud.dialogflow.v2.ConversationProfile.update_time]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L217} /// [google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L63} - /// [google.cloud.dialogflow.v2.UpdateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L332} + /// [google.cloud.dialogflow.v2.UpdateConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L348} /// // clang-format on StatusOr @@ -396,7 +412,7 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.DeleteConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L347} + /// [google.cloud.dialogflow.v2.DeleteConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L363} /// // clang-format on Status DeleteConversationProfile(std::string const& name, Options opts = {}); @@ -422,7 +438,7 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.DeleteConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L347} + /// [google.cloud.dialogflow.v2.DeleteConversationProfileRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L363} /// // clang-format on Status DeleteConversationProfile( @@ -473,9 +489,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L906} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L871} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L924} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L887} /// // clang-format on future> @@ -542,9 +558,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L906} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L871} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L924} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L887} /// // clang-format on future> @@ -620,9 +636,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L906} - /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L871} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L924} + /// [google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L887} /// // clang-format on future> @@ -697,9 +713,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L927} - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L888} - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L946} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L905} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} /// // clang-format on future> @@ -759,9 +775,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L927} - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L888} - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L946} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L905} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} /// // clang-format on future> @@ -830,9 +846,9 @@ class ConversationProfilesClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L927} - /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L888} - /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L193} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L946} + /// [google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L905} + /// [google.cloud.dialogflow.v2.ConversationProfile]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation_profile.proto#L197} /// // clang-format on future> diff --git a/google/cloud/dialogflow_es/conversations_client.h b/google/cloud/dialogflow_es/conversations_client.h index c2bc50516143e..1584e264f935a 100644 --- a/google/cloud/dialogflow_es/conversations_client.h +++ b/google/cloud/dialogflow_es/conversations_client.h @@ -558,8 +558,8 @@ class ConversationsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L526} - /// [google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L577} + /// [google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L528} + /// [google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L579} /// // clang-format on StatusOr @@ -592,8 +592,8 @@ class ConversationsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L612} - /// [google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L645} + /// [google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L616} + /// [google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L649} /// // clang-format on StatusOr @@ -625,8 +625,8 @@ class ConversationsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SearchKnowledgeRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L653} - /// [google.cloud.dialogflow.v2.SearchKnowledgeResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L911} + /// [google.cloud.dialogflow.v2.SearchKnowledgeRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L657} + /// [google.cloud.dialogflow.v2.SearchKnowledgeResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/conversation.proto#L915} /// // clang-format on StatusOr diff --git a/google/cloud/dialogflow_es/participants_client.h b/google/cloud/dialogflow_es/participants_client.h index b95b5362bcfbc..511634ee387e0 100644 --- a/google/cloud/dialogflow_es/participants_client.h +++ b/google/cloud/dialogflow_es/participants_client.h @@ -479,8 +479,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L559} - /// [google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L674} + /// [google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L560} + /// [google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L676} /// // clang-format on std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< @@ -508,8 +508,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestArticlesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L728} - /// [google.cloud.dialogflow.v2.SuggestArticlesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L763} + /// [google.cloud.dialogflow.v2.SuggestArticlesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L730} + /// [google.cloud.dialogflow.v2.SuggestArticlesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L765} /// // clang-format on StatusOr @@ -539,8 +539,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestArticlesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L728} - /// [google.cloud.dialogflow.v2.SuggestArticlesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L763} + /// [google.cloud.dialogflow.v2.SuggestArticlesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L730} + /// [google.cloud.dialogflow.v2.SuggestArticlesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L765} /// // clang-format on StatusOr @@ -568,8 +568,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestFaqAnswersRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L785} - /// [google.cloud.dialogflow.v2.SuggestFaqAnswersResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L819} + /// [google.cloud.dialogflow.v2.SuggestFaqAnswersRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L787} + /// [google.cloud.dialogflow.v2.SuggestFaqAnswersResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L821} /// // clang-format on StatusOr @@ -599,8 +599,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestFaqAnswersRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L785} - /// [google.cloud.dialogflow.v2.SuggestFaqAnswersResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L819} + /// [google.cloud.dialogflow.v2.SuggestFaqAnswersRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L787} + /// [google.cloud.dialogflow.v2.SuggestFaqAnswersResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L821} /// // clang-format on StatusOr @@ -628,8 +628,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestSmartRepliesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L841} - /// [google.cloud.dialogflow.v2.SuggestSmartRepliesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L874} + /// [google.cloud.dialogflow.v2.SuggestSmartRepliesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L843} + /// [google.cloud.dialogflow.v2.SuggestSmartRepliesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L876} /// // clang-format on StatusOr @@ -659,8 +659,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestSmartRepliesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L841} - /// [google.cloud.dialogflow.v2.SuggestSmartRepliesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L874} + /// [google.cloud.dialogflow.v2.SuggestSmartRepliesRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L843} + /// [google.cloud.dialogflow.v2.SuggestSmartRepliesResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L876} /// // clang-format on StatusOr @@ -691,8 +691,8 @@ class ParticipantsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L1161} - /// [google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L1198} + /// [google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L1163} + /// [google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/participant.proto#L1200} /// // clang-format on StatusOr diff --git a/google/cloud/dialogflow_es/sessions_client.h b/google/cloud/dialogflow_es/sessions_client.h index 71561d4d5d1b0..98e21fdf6092a 100644 --- a/google/cloud/dialogflow_es/sessions_client.h +++ b/google/cloud/dialogflow_es/sessions_client.h @@ -230,8 +230,8 @@ class SessionsClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.dialogflow.v2.StreamingDetectIntentRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/session.proto#L423} - /// [google.cloud.dialogflow.v2.StreamingDetectIntentResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/session.proto#L578} + /// [google.cloud.dialogflow.v2.StreamingDetectIntentRequest]: @googleapis_reference_link{google/cloud/dialogflow/v2/session.proto#L422} + /// [google.cloud.dialogflow.v2.StreamingDetectIntentResponse]: @googleapis_reference_link{google/cloud/dialogflow/v2/session.proto#L579} /// // clang-format on std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< diff --git a/google/cloud/managedkafka/v1/managed_kafka_client.h b/google/cloud/managedkafka/v1/managed_kafka_client.h index b05930a708e25..c788d99fb9335 100644 --- a/google/cloud/managedkafka/v1/managed_kafka_client.h +++ b/google/cloud/managedkafka/v1/managed_kafka_client.h @@ -490,7 +490,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.DeleteClusterRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L310} - /// [google.cloud.managedkafka.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L240} + /// [google.cloud.managedkafka.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L246} /// // clang-format on future> @@ -541,7 +541,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.DeleteClusterRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L310} - /// [google.cloud.managedkafka.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L240} + /// [google.cloud.managedkafka.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L246} /// // clang-format on future> @@ -607,7 +607,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.ListTopicsRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L340} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StreamRange ListTopics( @@ -646,7 +646,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.ListTopicsRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L340} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StreamRange ListTopics( @@ -674,7 +674,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.GetTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L375} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StatusOr GetTopic( @@ -704,7 +704,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.GetTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L375} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StatusOr GetTopic( @@ -738,7 +738,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.CreateTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L388} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StatusOr CreateTopic( @@ -770,7 +770,7 @@ class ManagedKafkaClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.cloud.managedkafka.v1.CreateTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L388} - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// // clang-format on StatusOr CreateTopic( @@ -800,7 +800,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// [google.cloud.managedkafka.v1.UpdateTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L411} /// // clang-format on @@ -831,7 +831,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L167} + /// [google.cloud.managedkafka.v1.Topic]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L173} /// [google.cloud.managedkafka.v1.UpdateTopicRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L411} /// // clang-format on @@ -918,7 +918,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.ListConsumerGroupsRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L437} /// // clang-format on @@ -957,7 +957,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.ListConsumerGroupsRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L437} /// // clang-format on @@ -985,7 +985,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.GetConsumerGroupRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L473} /// // clang-format on @@ -1015,7 +1015,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.GetConsumerGroupRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L473} /// // clang-format on @@ -1046,7 +1046,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.UpdateConsumerGroupRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L485} /// // clang-format on @@ -1077,7 +1077,7 @@ class ManagedKafkaClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L219} + /// [google.cloud.managedkafka.v1.ConsumerGroup]: @googleapis_reference_link{google/cloud/managedkafka/v1/resources.proto#L225} /// [google.cloud.managedkafka.v1.UpdateConsumerGroupRequest]: @googleapis_reference_link{google/cloud/managedkafka/v1/managed_kafka.proto#L485} /// // clang-format on diff --git a/google/cloud/monitoring/v3/alert_policy_client.h b/google/cloud/monitoring/v3/alert_policy_client.h index 555c62957507f..7b14535127758 100644 --- a/google/cloud/monitoring/v3/alert_policy_client.h +++ b/google/cloud/monitoring/v3/alert_policy_client.h @@ -133,7 +133,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.AlertPolicyService.GetAlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L61} /// [google.monitoring.v3.ListAlertPoliciesRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L153} /// @@ -173,7 +173,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.ListAlertPoliciesRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L153} /// // clang-format on @@ -201,7 +201,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.GetAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L140} /// // clang-format on @@ -231,7 +231,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.GetAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L140} /// // clang-format on @@ -276,7 +276,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.CreateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L112} /// // clang-format on @@ -312,7 +312,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} /// [google.monitoring.v3.CreateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L112} /// // clang-format on @@ -344,8 +344,8 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} - /// [google.monitoring.v3.DeleteAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L244} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} + /// [google.monitoring.v3.DeleteAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L246} /// // clang-format on Status DeleteAlertPolicy(std::string const& name, Options opts = {}); @@ -375,7 +375,7 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.DeleteAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L244} + /// [google.monitoring.v3.DeleteAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L246} /// // clang-format on Status DeleteAlertPolicy( @@ -431,8 +431,8 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} - /// [google.monitoring.v3.UpdateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L212} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} + /// [google.monitoring.v3.UpdateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L213} /// // clang-format on StatusOr UpdateAlertPolicy( @@ -470,8 +470,8 @@ class AlertPolicyServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L40} - /// [google.monitoring.v3.UpdateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L212} + /// [google.monitoring.v3.AlertPolicy]: @googleapis_reference_link{google/monitoring/v3/alert.proto#L41} + /// [google.monitoring.v3.UpdateAlertPolicyRequest]: @googleapis_reference_link{google/monitoring/v3/alert_service.proto#L213} /// // clang-format on StatusOr UpdateAlertPolicy( diff --git a/google/cloud/monitoring/v3/metric_client.h b/google/cloud/monitoring/v3/metric_client.h index 0a2d05aea981a..8160762d55f1e 100644 --- a/google/cloud/monitoring/v3/metric_client.h +++ b/google/cloud/monitoring/v3/metric_client.h @@ -331,7 +331,7 @@ class MetricServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.api.MetricDescriptor]: @googleapis_reference_link{google/api/metric.proto#L33} - /// [google.monitoring.v3.GetMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L289} + /// [google.monitoring.v3.GetMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L290} /// // clang-format on StatusOr GetMetricDescriptor( @@ -361,7 +361,7 @@ class MetricServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.api.MetricDescriptor]: @googleapis_reference_link{google/api/metric.proto#L33} - /// [google.monitoring.v3.GetMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L289} + /// [google.monitoring.v3.GetMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L290} /// // clang-format on StatusOr GetMetricDescriptor( @@ -398,7 +398,7 @@ class MetricServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.api.MetricDescriptor]: @googleapis_reference_link{google/api/metric.proto#L33} - /// [google.monitoring.v3.CreateMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L306} + /// [google.monitoring.v3.CreateMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L307} /// // clang-format on StatusOr CreateMetricDescriptor( @@ -435,7 +435,7 @@ class MetricServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.api.MetricDescriptor]: @googleapis_reference_link{google/api/metric.proto#L33} - /// [google.monitoring.v3.CreateMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L306} + /// [google.monitoring.v3.CreateMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L307} /// // clang-format on StatusOr CreateMetricDescriptor( @@ -466,7 +466,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.DeleteMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L326} + /// [google.monitoring.v3.DeleteMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L327} /// // clang-format on Status DeleteMetricDescriptor(std::string const& name, Options opts = {}); @@ -494,7 +494,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.DeleteMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L326} + /// [google.monitoring.v3.DeleteMetricDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L327} /// // clang-format on Status DeleteMetricDescriptor( @@ -546,7 +546,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.ListTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L343} + /// [google.monitoring.v3.ListTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L344} /// [google.monitoring.v3.TimeSeries]: @googleapis_reference_link{google/monitoring/v3/metric.proto#L53} /// // clang-format on @@ -588,7 +588,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.ListTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L343} + /// [google.monitoring.v3.ListTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L344} /// [google.monitoring.v3.TimeSeries]: @googleapis_reference_link{google/monitoring/v3/metric.proto#L53} /// // clang-format on @@ -628,7 +628,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// // clang-format on Status CreateTimeSeries( @@ -663,7 +663,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// // clang-format on Status CreateTimeSeries( @@ -705,7 +705,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// [google.monitoring.v3.MetricService.CreateTimeSeries]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L154} /// // clang-format on @@ -743,7 +743,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// [google.monitoring.v3.MetricService.CreateTimeSeries]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L154} /// // clang-format on @@ -784,7 +784,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// // clang-format on future AsyncCreateTimeSeries( @@ -819,7 +819,7 @@ class MetricServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L439} + /// [google.monitoring.v3.CreateTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L440} /// // clang-format on future AsyncCreateTimeSeries( diff --git a/google/cloud/monitoring/v3/notification_channel_client.h b/google/cloud/monitoring/v3/notification_channel_client.h index 868ea7a7dd7e8..cd81600b5423b 100644 --- a/google/cloud/monitoring/v3/notification_channel_client.h +++ b/google/cloud/monitoring/v3/notification_channel_client.h @@ -131,7 +131,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListNotificationChannelDescriptorsRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L193} - /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L37} + /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L38} /// [google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L58} /// // clang-format on @@ -173,7 +173,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListNotificationChannelDescriptorsRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L193} - /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L37} + /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L38} /// // clang-format on StreamRange @@ -203,7 +203,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetNotificationChannelDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L237} - /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L37} + /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L38} /// // clang-format on StatusOr @@ -234,7 +234,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetNotificationChannelDescriptorRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L237} - /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L37} + /// [google.monitoring.v3.NotificationChannelDescriptor]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L38} /// // clang-format on StatusOr @@ -284,7 +284,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListNotificationChannelsRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L274} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// [google.monitoring.v3.NotificationChannelService.GetNotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L82} /// // clang-format on @@ -326,7 +326,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListNotificationChannelsRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L274} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// // clang-format on StreamRange @@ -359,7 +359,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L337} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// // clang-format on StatusOr GetNotificationChannel( @@ -393,7 +393,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L337} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// // clang-format on StatusOr GetNotificationChannel( @@ -435,7 +435,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.CreateNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L250} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// // clang-format on StatusOr @@ -474,7 +474,7 @@ class NotificationChannelServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.CreateNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L250} - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// // clang-format on StatusOr @@ -492,7 +492,7 @@ class NotificationChannelServiceClient { /// CreateNotificationChannel, DeleteNotificationChannel and /// UpdateNotificationChannel. /// - /// @param update_mask The fields to update. + /// @param update_mask Optional. The fields to update. /// @param notification_channel Required. A description of the changes to be applied to the specified /// notification channel. The description must provide a definition for /// fields to be updated; the names of these fields should also be @@ -510,7 +510,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// [google.monitoring.v3.UpdateNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L350} /// // clang-format on @@ -549,7 +549,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} /// [google.monitoring.v3.UpdateNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L350} /// // clang-format on @@ -572,8 +572,8 @@ class NotificationChannelServiceClient { /// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] /// @param force If true, the notification channel will be deleted regardless of its /// use in alert policies (the policies will be updated to remove the - /// channel). If false, channels that are still referenced by an existing - /// alerting policy will fail to be deleted in a delete operation. + /// channel). If false, this operation will fail if the notification channel + /// is referenced by existing alerting policies. /// @param opts Optional. Override the class-level options, such as retry and /// backoff policies. /// @return a [`Status`] object. If the request failed, the @@ -585,7 +585,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.DeleteNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L363} + /// [google.monitoring.v3.DeleteNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L364} /// // clang-format on Status DeleteNotificationChannel(std::string const& name, bool force, @@ -617,7 +617,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.DeleteNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L363} + /// [google.monitoring.v3.DeleteNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L364} /// // clang-format on Status DeleteNotificationChannel( @@ -641,7 +641,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.SendNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L382} + /// [google.monitoring.v3.SendNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L383} /// // clang-format on Status SendNotificationChannelVerificationCode(std::string const& name, @@ -669,7 +669,7 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.SendNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L382} + /// [google.monitoring.v3.SendNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L383} /// // clang-format on Status SendNotificationChannelVerificationCode( @@ -717,8 +717,8 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.GetNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L393} - /// [google.monitoring.v3.GetNotificationChannelVerificationCodeResponse]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L417} + /// [google.monitoring.v3.GetNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L394} + /// [google.monitoring.v3.GetNotificationChannelVerificationCodeResponse]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L418} /// // clang-format on StatusOr< @@ -769,8 +769,8 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.GetNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L393} - /// [google.monitoring.v3.GetNotificationChannelVerificationCodeResponse]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L417} + /// [google.monitoring.v3.GetNotificationChannelVerificationCodeRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L394} + /// [google.monitoring.v3.GetNotificationChannelVerificationCodeResponse]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L418} /// // clang-format on StatusOr< @@ -807,8 +807,8 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} - /// [google.monitoring.v3.VerifyNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L431} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} + /// [google.monitoring.v3.VerifyNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L432} /// // clang-format on StatusOr @@ -840,8 +840,8 @@ class NotificationChannelServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L87} - /// [google.monitoring.v3.VerifyNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L431} + /// [google.monitoring.v3.NotificationChannel]: @googleapis_reference_link{google/monitoring/v3/notification.proto#L88} + /// [google.monitoring.v3.VerifyNotificationChannelRequest]: @googleapis_reference_link{google/monitoring/v3/notification_service.proto#L432} /// // clang-format on StatusOr diff --git a/google/cloud/monitoring/v3/query_client.h b/google/cloud/monitoring/v3/query_client.h index 2dd39f479de54..4ff9c5ec2154c 100644 --- a/google/cloud/monitoring/v3/query_client.h +++ b/google/cloud/monitoring/v3/query_client.h @@ -89,7 +89,12 @@ class QueryServiceClient { // clang-format off /// - /// Queries time series using Monitoring Query Language. + /// @deprecated This RPC is deprecated. + /// + /// Queries time series by using Monitoring Query Language (MQL). We recommend + /// using PromQL instead of MQL. For more information about the status of MQL, + /// see the [MQL deprecation + /// notice](https://cloud.google.com/stackdriver/docs/deprecations/mql). /// /// @param request Unary RPCs, such as the one wrapped by this /// function, receive a single `request` proto message which includes all @@ -119,10 +124,11 @@ class QueryServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.monitoring.v3.QueryTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L493} - /// [google.monitoring.v3.TimeSeriesData]: @googleapis_reference_link{google/monitoring/v3/metric.proto#L133} + /// [google.monitoring.v3.QueryTimeSeriesRequest]: @googleapis_reference_link{google/monitoring/v3/metric_service.proto#L496} + /// [google.monitoring.v3.TimeSeriesData]: @googleapis_reference_link{google/monitoring/v3/metric.proto#L140} /// // clang-format on + GOOGLE_CLOUD_CPP_DEPRECATED("This RPC is deprecated.") StreamRange QueryTimeSeries( google::monitoring::v3::QueryTimeSeriesRequest request, Options opts = {}); diff --git a/google/cloud/monitoring/v3/uptime_check_client.h b/google/cloud/monitoring/v3/uptime_check_client.h index 5d6663ada5b98..b89218ddd3d6f 100644 --- a/google/cloud/monitoring/v3/uptime_check_client.h +++ b/google/cloud/monitoring/v3/uptime_check_client.h @@ -128,7 +128,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListUptimeCheckConfigsRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L113} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StreamRange ListUptimeCheckConfigs( @@ -168,7 +168,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListUptimeCheckConfigsRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L113} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StreamRange ListUptimeCheckConfigs( @@ -196,7 +196,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L163} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr GetUptimeCheckConfig( @@ -226,7 +226,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.GetUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L163} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr GetUptimeCheckConfig( @@ -257,7 +257,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.CreateUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L176} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr CreateUptimeCheckConfig( @@ -289,7 +289,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.CreateUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L176} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr CreateUptimeCheckConfig( @@ -328,7 +328,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.UpdateUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L195} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr UpdateUptimeCheckConfig( @@ -362,7 +362,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.UpdateUptimeCheckConfigRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L195} - /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L123} + /// [google.monitoring.v3.UptimeCheckConfig]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L124} /// // clang-format on StatusOr UpdateUptimeCheckConfig( @@ -426,7 +426,7 @@ class UptimeCheckServiceClient { // clang-format off /// - /// Returns the list of IP addresses that checkers run from + /// Returns the list of IP addresses that checkers run from. /// /// @param request Unary RPCs, such as the one wrapped by this /// function, receive a single `request` proto message which includes all @@ -457,7 +457,7 @@ class UptimeCheckServiceClient { /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status /// [google.monitoring.v3.ListUptimeCheckIpsRequest]: @googleapis_reference_link{google/monitoring/v3/uptime_service.proto#L231} - /// [google.monitoring.v3.UptimeCheckIp]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L566} + /// [google.monitoring.v3.UptimeCheckIp]: @googleapis_reference_link{google/monitoring/v3/uptime.proto#L568} /// // clang-format on StreamRange ListUptimeCheckIps( diff --git a/google/cloud/networkconnectivity/v1/hub_client.cc b/google/cloud/networkconnectivity/v1/hub_client.cc index 6c2b3c67a7be3..ad9d786341c7c 100644 --- a/google/cloud/networkconnectivity/v1/hub_client.cc +++ b/google/cloud/networkconnectivity/v1/hub_client.cc @@ -210,6 +210,22 @@ HubServiceClient::ListHubSpokes( return connection_->ListHubSpokes(std::move(request)); } +StreamRange +HubServiceClient::QueryHubStatus(std::string const& name, Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request; + request.set_name(name); + return connection_->QueryHubStatus(request); +} + +StreamRange +HubServiceClient::QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request, + Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + return connection_->QueryHubStatus(std::move(request)); +} + StreamRange HubServiceClient::ListSpokes(std::string const& parent, Options opts) { internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); @@ -559,6 +575,50 @@ HubServiceClient::ListGroups( return connection_->ListGroups(std::move(request)); } +future> +HubServiceClient::UpdateGroup( + google::cloud::networkconnectivity::v1::Group const& group, + google::protobuf::FieldMask const& update_mask, Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + google::cloud::networkconnectivity::v1::UpdateGroupRequest request; + *request.mutable_group() = group; + *request.mutable_update_mask() = update_mask; + return connection_->UpdateGroup(request); +} + +StatusOr HubServiceClient::UpdateGroup( + NoAwaitTag, google::cloud::networkconnectivity::v1::Group const& group, + google::protobuf::FieldMask const& update_mask, Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + google::cloud::networkconnectivity::v1::UpdateGroupRequest request; + *request.mutable_group() = group; + *request.mutable_update_mask() = update_mask; + return connection_->UpdateGroup(NoAwaitTag{}, request); +} + +future> +HubServiceClient::UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request, + Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + return connection_->UpdateGroup(request); +} + +StatusOr HubServiceClient::UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request, + Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + return connection_->UpdateGroup(NoAwaitTag{}, request); +} + +future> +HubServiceClient::UpdateGroup(google::longrunning::Operation const& operation, + Options opts) { + internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); + return connection_->UpdateGroup(operation); +} + StreamRange HubServiceClient::ListLocations( google::cloud::location::ListLocationsRequest request, Options opts) { internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); diff --git a/google/cloud/networkconnectivity/v1/hub_client.h b/google/cloud/networkconnectivity/v1/hub_client.h index 96566c5b5a4a9..bc79371b9a783 100644 --- a/google/cloud/networkconnectivity/v1/hub_client.h +++ b/google/cloud/networkconnectivity/v1/hub_client.h @@ -115,8 +115,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} - /// [google.cloud.networkconnectivity.v1.ListHubsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L667} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} + /// [google.cloud.networkconnectivity.v1.ListHubsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L786} /// // clang-format on StreamRange ListHubs( @@ -154,8 +154,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} - /// [google.cloud.networkconnectivity.v1.ListHubsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L667} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} + /// [google.cloud.networkconnectivity.v1.ListHubsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L786} /// // clang-format on StreamRange ListHubs( @@ -180,8 +180,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L708} - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} + /// [google.cloud.networkconnectivity.v1.GetHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L827} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} /// // clang-format on StatusOr GetHub( @@ -210,8 +210,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L708} - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} + /// [google.cloud.networkconnectivity.v1.GetHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L827} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} /// // clang-format on StatusOr GetHub( @@ -245,8 +245,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.CreateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L721} - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} + /// [google.cloud.networkconnectivity.v1.CreateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L840} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} /// // clang-format on future> CreateHub( @@ -300,8 +300,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.CreateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L721} - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} + /// [google.cloud.networkconnectivity.v1.CreateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L840} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} /// // clang-format on future> CreateHub( @@ -367,8 +367,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} - /// [google.cloud.networkconnectivity.v1.UpdateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L756} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} + /// [google.cloud.networkconnectivity.v1.UpdateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L875} /// // clang-format on future> UpdateHub( @@ -421,8 +421,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L338} - /// [google.cloud.networkconnectivity.v1.UpdateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L756} + /// [google.cloud.networkconnectivity.v1.Hub]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L395} + /// [google.cloud.networkconnectivity.v1.UpdateHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L875} /// // clang-format on future> UpdateHub( @@ -482,7 +482,7 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.DeleteHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L787} + /// [google.cloud.networkconnectivity.v1.DeleteHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L906} /// [google.cloud.networkconnectivity.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/common.proto#L40} /// // clang-format on @@ -534,7 +534,7 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.DeleteHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L787} + /// [google.cloud.networkconnectivity.v1.DeleteHubRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L906} /// [google.cloud.networkconnectivity.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/common.proto#L40} /// // clang-format on @@ -600,8 +600,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListHubSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L816} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.ListHubSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L935} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StreamRange ListHubSpokes( @@ -641,14 +641,91 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListHubSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L816} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.ListHubSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L935} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StreamRange ListHubSpokes( google::cloud::networkconnectivity::v1::ListHubSpokesRequest request, Options opts = {}); + // clang-format off + /// + /// Query the Private Service Connect propagation status of a Network + /// Connectivity Center hub. + /// + /// @param name Required. The name of the hub. + /// @param opts Optional. Override the class-level options, such as retry and + /// backoff policies. + /// @return a [StreamRange](@ref google::cloud::StreamRange) + /// to iterate of the results. See the documentation of this type for + /// details. In brief, this class has `begin()` and `end()` member + /// functions returning a iterator class meeting the + /// [input iterator requirements]. The value type for this iterator is a + /// [`StatusOr`] as the iteration may fail even after some values are + /// retrieved successfully, for example, if there is a network disconnect. + /// An empty set of results does not indicate an error, it indicates + /// that there are no resources meeting the request criteria. + /// On a successful iteration the `StatusOr` contains elements of type + /// [google.cloud.networkconnectivity.v1.HubStatusEntry], or rather, + /// the C++ class generated by Protobuf from that type. Please consult the + /// Protobuf documentation for details on the [Protobuf mapping rules]. + /// + /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/ + /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator + /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string + /// [`future`]: @ref google::cloud::future + /// [`StatusOr`]: @ref google::cloud::StatusOr + /// [`Status`]: @ref google::cloud::Status + /// [google.cloud.networkconnectivity.v1.HubStatusEntry]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1070} + /// [google.cloud.networkconnectivity.v1.QueryHubStatusRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1007} + /// + // clang-format on + StreamRange + QueryHubStatus(std::string const& name, Options opts = {}); + + // clang-format off + /// + /// Query the Private Service Connect propagation status of a Network + /// Connectivity Center hub. + /// + /// @param request Unary RPCs, such as the one wrapped by this + /// function, receive a single `request` proto message which includes all + /// the inputs for the RPC. In this case, the proto message is a + /// [google.cloud.networkconnectivity.v1.QueryHubStatusRequest]. + /// Proto messages are converted to C++ classes by Protobuf, using the + /// [Protobuf mapping rules]. + /// @param opts Optional. Override the class-level options, such as retry and + /// backoff policies. + /// @return a [StreamRange](@ref google::cloud::StreamRange) + /// to iterate of the results. See the documentation of this type for + /// details. In brief, this class has `begin()` and `end()` member + /// functions returning a iterator class meeting the + /// [input iterator requirements]. The value type for this iterator is a + /// [`StatusOr`] as the iteration may fail even after some values are + /// retrieved successfully, for example, if there is a network disconnect. + /// An empty set of results does not indicate an error, it indicates + /// that there are no resources meeting the request criteria. + /// On a successful iteration the `StatusOr` contains elements of type + /// [google.cloud.networkconnectivity.v1.HubStatusEntry], or rather, + /// the C++ class generated by Protobuf from that type. Please consult the + /// Protobuf documentation for details on the [Protobuf mapping rules]. + /// + /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/ + /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator + /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string + /// [`future`]: @ref google::cloud::future + /// [`StatusOr`]: @ref google::cloud::StatusOr + /// [`Status`]: @ref google::cloud::Status + /// [google.cloud.networkconnectivity.v1.HubStatusEntry]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1070} + /// [google.cloud.networkconnectivity.v1.QueryHubStatusRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1007} + /// + // clang-format on + StreamRange + QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request, + Options opts = {}); + // clang-format off /// /// Lists the Network Connectivity Center spokes in a specified project and @@ -677,8 +754,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L888} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.ListSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1147} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StreamRange ListSpokes( @@ -717,8 +794,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L888} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.ListSpokesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1147} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StreamRange ListSpokes( @@ -743,8 +820,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L927} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.GetSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1186} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StatusOr GetSpoke( @@ -773,8 +850,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L927} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.GetSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1186} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on StatusOr GetSpoke( @@ -808,8 +885,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.CreateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L939} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.CreateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1198} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on future> CreateSpoke( @@ -863,8 +940,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.CreateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L939} - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} + /// [google.cloud.networkconnectivity.v1.CreateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1198} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} /// // clang-format on future> CreateSpoke( @@ -929,8 +1006,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} - /// [google.cloud.networkconnectivity.v1.UpdateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L974} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} + /// [google.cloud.networkconnectivity.v1.UpdateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1233} /// // clang-format on future> UpdateSpoke( @@ -982,8 +1059,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L422} - /// [google.cloud.networkconnectivity.v1.UpdateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L974} + /// [google.cloud.networkconnectivity.v1.Spoke]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L497} + /// [google.cloud.networkconnectivity.v1.UpdateSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1233} /// // clang-format on future> UpdateSpoke( @@ -1047,8 +1124,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.RejectHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1076} - /// [google.cloud.networkconnectivity.v1.RejectHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1115} + /// [google.cloud.networkconnectivity.v1.RejectHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1335} + /// [google.cloud.networkconnectivity.v1.RejectHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1374} /// // clang-format on future< @@ -1104,8 +1181,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.RejectHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1076} - /// [google.cloud.networkconnectivity.v1.RejectHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1115} + /// [google.cloud.networkconnectivity.v1.RejectHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1335} + /// [google.cloud.networkconnectivity.v1.RejectHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1374} /// // clang-format on future< @@ -1173,8 +1250,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1033} - /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1069} + /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1292} + /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1328} /// // clang-format on future< @@ -1228,8 +1305,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1033} - /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1069} + /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1292} + /// [google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1328} /// // clang-format on future< @@ -1295,7 +1372,7 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.DeleteSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1005} + /// [google.cloud.networkconnectivity.v1.DeleteSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1264} /// [google.cloud.networkconnectivity.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/common.proto#L40} /// // clang-format on @@ -1347,7 +1424,7 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.DeleteSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1005} + /// [google.cloud.networkconnectivity.v1.DeleteSpokeRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1264} /// [google.cloud.networkconnectivity.v1.OperationMetadata]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/common.proto#L40} /// // clang-format on @@ -1403,8 +1480,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetRouteTableRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1122} - /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L525} + /// [google.cloud.networkconnectivity.v1.GetRouteTableRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1381} + /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L604} /// // clang-format on StatusOr GetRouteTable( @@ -1433,8 +1510,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetRouteTableRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1122} - /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L525} + /// [google.cloud.networkconnectivity.v1.GetRouteTableRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1381} + /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L604} /// // clang-format on StatusOr GetRouteTable( @@ -1460,8 +1537,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetRouteRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1134} - /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L564} + /// [google.cloud.networkconnectivity.v1.GetRouteRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1393} + /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L643} /// // clang-format on StatusOr GetRoute( @@ -1490,8 +1567,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetRouteRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1134} - /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L564} + /// [google.cloud.networkconnectivity.v1.GetRouteRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1393} + /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L643} /// // clang-format on StatusOr GetRoute( @@ -1500,7 +1577,7 @@ class HubServiceClient { // clang-format off /// - /// Lists routes in a given project. + /// Lists routes in a given route table. /// /// @param parent Required. The parent resource's name. /// @param opts Optional. Override the class-level options, such as retry and @@ -1525,8 +1602,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListRoutesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1147} - /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L564} + /// [google.cloud.networkconnectivity.v1.ListRoutesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1406} + /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L643} /// // clang-format on StreamRange ListRoutes( @@ -1534,7 +1611,7 @@ class HubServiceClient { // clang-format off /// - /// Lists routes in a given project. + /// Lists routes in a given route table. /// /// @param request Unary RPCs, such as the one wrapped by this /// function, receive a single `request` proto message which includes all @@ -1564,8 +1641,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListRoutesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1147} - /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L564} + /// [google.cloud.networkconnectivity.v1.ListRoutesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1406} + /// [google.cloud.networkconnectivity.v1.Route]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L643} /// // clang-format on StreamRange ListRoutes( @@ -1574,7 +1651,7 @@ class HubServiceClient { // clang-format off /// - /// Lists route tables in a given project. + /// Lists route tables in a given hub. /// /// @param parent Required. The parent resource's name. /// @param opts Optional. Override the class-level options, such as retry and @@ -1599,8 +1676,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListRouteTablesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1188} - /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L525} + /// [google.cloud.networkconnectivity.v1.ListRouteTablesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1447} + /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L604} /// // clang-format on StreamRange @@ -1608,7 +1685,7 @@ class HubServiceClient { // clang-format off /// - /// Lists route tables in a given project. + /// Lists route tables in a given hub. /// /// @param request Unary RPCs, such as the one wrapped by this /// function, receive a single `request` proto message which includes all @@ -1638,8 +1715,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.ListRouteTablesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1188} - /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L525} + /// [google.cloud.networkconnectivity.v1.ListRouteTablesRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1447} + /// [google.cloud.networkconnectivity.v1.RouteTable]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L604} /// // clang-format on StreamRange @@ -1665,8 +1742,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1430} - /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L627} + /// [google.cloud.networkconnectivity.v1.GetGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1812} + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} /// // clang-format on StatusOr GetGroup( @@ -1695,8 +1772,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.GetGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1430} - /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L627} + /// [google.cloud.networkconnectivity.v1.GetGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1812} + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} /// // clang-format on StatusOr GetGroup( @@ -1730,8 +1807,8 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L627} - /// [google.cloud.networkconnectivity.v1.ListGroupsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1229} + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} + /// [google.cloud.networkconnectivity.v1.ListGroupsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1488} /// // clang-format on StreamRange ListGroups( @@ -1769,14 +1846,133 @@ class HubServiceClient { /// [`future`]: @ref google::cloud::future /// [`StatusOr`]: @ref google::cloud::StatusOr /// [`Status`]: @ref google::cloud::Status - /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L627} - /// [google.cloud.networkconnectivity.v1.ListGroupsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1229} + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} + /// [google.cloud.networkconnectivity.v1.ListGroupsRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1488} /// // clang-format on StreamRange ListGroups( google::cloud::networkconnectivity::v1::ListGroupsRequest request, Options opts = {}); + // clang-format off + /// + /// Updates the parameters of a Network Connectivity Center group. + /// + /// @param group Required. The state that the group should be in after the update. + /// @param update_mask Optional. In the case of an update to an existing group, field mask is used + /// to specify the fields to be overwritten. The fields specified in the + /// update_mask are relative to the resource, not the full request. A field is + /// overwritten if it is in the mask. If the user does not provide a mask, then + /// all fields are overwritten. + /// @param opts Optional. Override the class-level options, such as retry and + /// backoff policies. + /// @return A [`future`] that becomes satisfied when the LRO + /// ([Long Running Operation]) completes or the polling policy in effect + /// for this call is exhausted. The future is satisfied with an error if + /// the LRO completes with an error or the polling policy is exhausted. + /// In this case the [`StatusOr`] returned by the future contains the + /// error. If the LRO completes successfully the value of the future + /// contains the LRO's result. For this RPC the result is a + /// [google.cloud.networkconnectivity.v1.Group] proto message. + /// The C++ class representing this message is created by Protobuf, using + /// the [Protobuf mapping rules]. + /// + /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/ + /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator + /// [Long Running Operation]: https://google.aip.dev/151 + /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string + /// [`future`]: @ref google::cloud::future + /// [`StatusOr`]: @ref google::cloud::StatusOr + /// [`Status`]: @ref google::cloud::Status + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} + /// [google.cloud.networkconnectivity.v1.UpdateGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1825} + /// + // clang-format on + future> UpdateGroup( + google::cloud::networkconnectivity::v1::Group const& group, + google::protobuf::FieldMask const& update_mask, Options opts = {}); + + // clang-format off + /// + /// @copybrief UpdateGroup + /// + /// Specifying the [`NoAwaitTag`] immediately returns the + /// [`google::longrunning::Operation`] that corresponds to the Long Running + /// Operation that has been started. No polling for operation status occurs. + /// + /// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag + /// + // clang-format on + StatusOr UpdateGroup( + NoAwaitTag, google::cloud::networkconnectivity::v1::Group const& group, + google::protobuf::FieldMask const& update_mask, Options opts = {}); + + // clang-format off + /// + /// Updates the parameters of a Network Connectivity Center group. + /// + /// @param request Unary RPCs, such as the one wrapped by this + /// function, receive a single `request` proto message which includes all + /// the inputs for the RPC. In this case, the proto message is a + /// [google.cloud.networkconnectivity.v1.UpdateGroupRequest]. + /// Proto messages are converted to C++ classes by Protobuf, using the + /// [Protobuf mapping rules]. + /// @param opts Optional. Override the class-level options, such as retry and + /// backoff policies. + /// @return A [`future`] that becomes satisfied when the LRO + /// ([Long Running Operation]) completes or the polling policy in effect + /// for this call is exhausted. The future is satisfied with an error if + /// the LRO completes with an error or the polling policy is exhausted. + /// In this case the [`StatusOr`] returned by the future contains the + /// error. If the LRO completes successfully the value of the future + /// contains the LRO's result. For this RPC the result is a + /// [google.cloud.networkconnectivity.v1.Group] proto message. + /// The C++ class representing this message is created by Protobuf, using + /// the [Protobuf mapping rules]. + /// + /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/ + /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator + /// [Long Running Operation]: https://google.aip.dev/151 + /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string + /// [`future`]: @ref google::cloud::future + /// [`StatusOr`]: @ref google::cloud::StatusOr + /// [`Status`]: @ref google::cloud::Status + /// [google.cloud.networkconnectivity.v1.Group]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L724} + /// [google.cloud.networkconnectivity.v1.UpdateGroupRequest]: @googleapis_reference_link{google/cloud/networkconnectivity/v1/hub.proto#L1825} + /// + // clang-format on + future> UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request, + Options opts = {}); + + // clang-format off + /// + /// @copybrief UpdateGroup + /// + /// Specifying the [`NoAwaitTag`] immediately returns the + /// [`google::longrunning::Operation`] that corresponds to the Long Running + /// Operation that has been started. No polling for operation status occurs. + /// + /// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag + /// + // clang-format on + StatusOr UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request, + Options opts = {}); + + // clang-format off + /// + /// @copybrief UpdateGroup + /// + /// This method accepts a `google::longrunning::Operation` that corresponds + /// to a previously started Long Running Operation (LRO) and polls the status + /// of the LRO in the background. + /// + // clang-format on + future> UpdateGroup( + google::longrunning::Operation const& operation, Options opts = {}); + // clang-format off /// /// Lists information about the supported locations for this service. diff --git a/google/cloud/networkconnectivity/v1/hub_connection.cc b/google/cloud/networkconnectivity/v1/hub_connection.cc index bbfc7fe5f91cf..a01de645574f5 100644 --- a/google/cloud/networkconnectivity/v1/hub_connection.cc +++ b/google/cloud/networkconnectivity/v1/hub_connection.cc @@ -126,6 +126,14 @@ HubServiceConnection::ListHubSpokes( StreamRange>(); } +StreamRange +HubServiceConnection::QueryHubStatus( + google::cloud::networkconnectivity::v1:: + QueryHubStatusRequest) { // NOLINT(performance-unnecessary-value-param) + return google::cloud::internal::MakeUnimplementedPaginationRange< + StreamRange>(); +} + StreamRange HubServiceConnection::ListSpokes( google::cloud::networkconnectivity::v1:: @@ -292,6 +300,28 @@ HubServiceConnection::ListGroups( StreamRange>(); } +future> +HubServiceConnection::UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const&) { + return google::cloud::make_ready_future< + StatusOr>( + Status(StatusCode::kUnimplemented, "not implemented")); +} + +StatusOr HubServiceConnection::UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const&) { + return StatusOr( + Status(StatusCode::kUnimplemented, "not implemented")); +} + +future> +HubServiceConnection::UpdateGroup(google::longrunning::Operation const&) { + return google::cloud::make_ready_future< + StatusOr>( + Status(StatusCode::kUnimplemented, "not implemented")); +} + StreamRange HubServiceConnection::ListLocations( google::cloud::location:: diff --git a/google/cloud/networkconnectivity/v1/hub_connection.h b/google/cloud/networkconnectivity/v1/hub_connection.h index 6df2af6ebc9ae..0b2416dce5ccf 100644 --- a/google/cloud/networkconnectivity/v1/hub_connection.h +++ b/google/cloud/networkconnectivity/v1/hub_connection.h @@ -231,6 +231,10 @@ class HubServiceConnection { ListHubSpokes( google::cloud::networkconnectivity::v1::ListHubSpokesRequest request); + virtual StreamRange + QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request); + virtual StreamRange ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request); @@ -326,6 +330,18 @@ class HubServiceConnection { virtual StreamRange ListGroups( google::cloud::networkconnectivity::v1::ListGroupsRequest request); + virtual future> + UpdateGroup(google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request); + + virtual StatusOr UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request); + + virtual future> + UpdateGroup(google::longrunning::Operation const& operation); + virtual StreamRange ListLocations( google::cloud::location::ListLocationsRequest request); diff --git a/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.cc b/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.cc index 0901869393581..525a8e7651bc2 100644 --- a/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.cc +++ b/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.cc @@ -64,6 +64,11 @@ Idempotency HubServiceConnectionIdempotencyPolicy::ListHubSpokes( return Idempotency::kIdempotent; } +Idempotency HubServiceConnectionIdempotencyPolicy::QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest) { // NOLINT + return Idempotency::kIdempotent; +} + Idempotency HubServiceConnectionIdempotencyPolicy::ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest) { // NOLINT return Idempotency::kIdempotent; @@ -129,6 +134,11 @@ Idempotency HubServiceConnectionIdempotencyPolicy::ListGroups( return Idempotency::kIdempotent; } +Idempotency HubServiceConnectionIdempotencyPolicy::UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const&) { + return Idempotency::kNonIdempotent; +} + Idempotency HubServiceConnectionIdempotencyPolicy::ListLocations( google::cloud::location::ListLocationsRequest) { // NOLINT return Idempotency::kIdempotent; diff --git a/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.h b/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.h index 7882624034c87..b3a79247c2c69 100644 --- a/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.h +++ b/google/cloud/networkconnectivity/v1/hub_connection_idempotency_policy.h @@ -57,6 +57,9 @@ class HubServiceConnectionIdempotencyPolicy { virtual google::cloud::Idempotency ListHubSpokes( google::cloud::networkconnectivity::v1::ListHubSpokesRequest request); + virtual google::cloud::Idempotency QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request); + virtual google::cloud::Idempotency ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request); @@ -102,6 +105,10 @@ class HubServiceConnectionIdempotencyPolicy { virtual google::cloud::Idempotency ListGroups( google::cloud::networkconnectivity::v1::ListGroupsRequest request); + virtual google::cloud::Idempotency UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request); + virtual google::cloud::Idempotency ListLocations( google::cloud::location::ListLocationsRequest request); diff --git a/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.cc b/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.cc index 3856b8ee0961a..d0981a051e245 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.cc @@ -139,6 +139,16 @@ HubServiceAuth::ListHubSpokes( return child_->ListHubSpokes(context, options, request); } +StatusOr +HubServiceAuth::QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + auto status = auth_->ConfigureContext(context); + if (!status.ok()) return status; + return child_->QueryHubStatus(context, options, request); +} + StatusOr HubServiceAuth::ListSpokes( grpc::ClientContext& context, Options const& options, @@ -357,6 +367,34 @@ HubServiceAuth::ListGroups( return child_->ListGroups(context, options, request); } +future> +HubServiceAuth::AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + using ReturnType = StatusOr; + return auth_->AsyncConfigureContext(std::move(context)) + .then([cq, child = child_, options = std::move(options), + request](future>> + f) mutable { + auto context = f.get(); + if (!context) { + return make_ready_future(ReturnType(std::move(context).status())); + } + return child->AsyncUpdateGroup(cq, *std::move(context), + std::move(options), request); + }); +} + +StatusOr HubServiceAuth::UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto status = auth_->ConfigureContext(context); + if (!status.ok()) return status; + return child_->UpdateGroup(context, options, request); +} + StatusOr HubServiceAuth::ListLocations( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.h b/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.h index 87d51fc624cc8..6d9922e230eda 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_auth_decorator.h @@ -91,6 +91,12 @@ class HubServiceAuth : public HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) override; + StatusOr + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) override; + StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -192,6 +198,18 @@ class HubServiceAuth : public HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) override; + future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + StatusOr ListLocations( grpc::ClientContext& context, Options const& options, google::cloud::location::ListLocationsRequest const& request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.cc b/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.cc index 17c96a01c024c..f464d4c115f4d 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.cc @@ -427,6 +427,41 @@ HubServiceConnectionImpl::ListHubSpokes( }); } +StreamRange +HubServiceConnectionImpl::QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request) { + request.clear_page_token(); + auto current = google::cloud::internal::SaveCurrentOptions(); + auto idempotency = idempotency_policy(*current)->QueryHubStatus(request); + char const* function_name = __func__; + return google::cloud::internal::MakePaginationRange< + StreamRange>( + current, std::move(request), + [idempotency, function_name, stub = stub_, + retry = std::shared_ptr( + retry_policy(*current)), + backoff = std::shared_ptr(backoff_policy(*current))]( + Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + r) { + return google::cloud::internal::RetryLoop( + retry->clone(), backoff->clone(), idempotency, + [stub](grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1:: + QueryHubStatusRequest const& request) { + return stub->QueryHubStatus(context, options, request); + }, + options, r, function_name); + }, + [](google::cloud::networkconnectivity::v1::QueryHubStatusResponse r) { + std::vector + result(r.hub_status_entries().size()); + auto& messages = *r.mutable_hub_status_entries(); + std::move(messages.begin(), messages.end(), result.begin()); + return result; + }); +} + StreamRange HubServiceConnectionImpl::ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request) { @@ -1101,6 +1136,99 @@ HubServiceConnectionImpl::ListGroups( }); } +future> +HubServiceConnectionImpl::UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto current = google::cloud::internal::SaveCurrentOptions(); + auto request_copy = request; + auto const idempotent = + idempotency_policy(*current)->UpdateGroup(request_copy); + return google::cloud::internal::AsyncLongRunningOperation< + google::cloud::networkconnectivity::v1::Group>( + background_->cq(), current, std::move(request_copy), + [stub = stub_]( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) { + return stub->AsyncUpdateGroup(cq, std::move(context), + std::move(options), request); + }, + [stub = stub_](google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::longrunning::GetOperationRequest const& request) { + return stub->AsyncGetOperation(cq, std::move(context), + std::move(options), request); + }, + [stub = stub_]( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::longrunning::CancelOperationRequest const& request) { + return stub->AsyncCancelOperation(cq, std::move(context), + std::move(options), request); + }, + &google::cloud::internal::ExtractLongRunningResultResponse< + google::cloud::networkconnectivity::v1::Group>, + retry_policy(*current), backoff_policy(*current), idempotent, + polling_policy(*current), __func__); +} + +StatusOr HubServiceConnectionImpl::UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto current = google::cloud::internal::SaveCurrentOptions(); + return google::cloud::internal::RetryLoop( + retry_policy(*current), backoff_policy(*current), + idempotency_policy(*current)->UpdateGroup(request), + [this](grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) { + return stub_->UpdateGroup(context, options, request); + }, + *current, request, __func__); +} + +future> +HubServiceConnectionImpl::UpdateGroup( + google::longrunning::Operation const& operation) { + auto current = google::cloud::internal::SaveCurrentOptions(); + if (!operation.metadata() + .Is()) { + return make_ready_future< + StatusOr>( + internal::InvalidArgumentError( + "operation does not correspond to UpdateGroup", + GCP_ERROR_INFO().WithMetadata("operation", + operation.metadata().DebugString()))); + } + + return google::cloud::internal::AsyncAwaitLongRunningOperation< + google::cloud::networkconnectivity::v1::Group>( + background_->cq(), current, operation, + [stub = stub_](google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::longrunning::GetOperationRequest const& request) { + return stub->AsyncGetOperation(cq, std::move(context), + std::move(options), request); + }, + [stub = stub_]( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::longrunning::CancelOperationRequest const& request) { + return stub->AsyncCancelOperation(cq, std::move(context), + std::move(options), request); + }, + &google::cloud::internal::ExtractLongRunningResultResponse< + google::cloud::networkconnectivity::v1::Group>, + polling_policy(*current), __func__); +} + StreamRange HubServiceConnectionImpl::ListLocations( google::cloud::location::ListLocationsRequest request) { diff --git a/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.h b/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.h index 1d620e7fae765..f5292e4e7b3ba 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_connection_impl.h @@ -99,6 +99,10 @@ class HubServiceConnectionImpl google::cloud::networkconnectivity::v1::ListHubSpokesRequest request) override; + StreamRange + QueryHubStatus(google::cloud::networkconnectivity::v1::QueryHubStatusRequest + request) override; + StreamRange ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request) override; @@ -197,6 +201,18 @@ class HubServiceConnectionImpl google::cloud::networkconnectivity::v1::ListGroupsRequest request) override; + future> UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + future> UpdateGroup( + google::longrunning::Operation const& operation) override; + StreamRange ListLocations( google::cloud::location::ListLocationsRequest request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.cc b/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.cc index 66ef776b169bb..fcd0ee902dc98 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.cc @@ -165,6 +165,21 @@ HubServiceLogging::ListHubSpokes( context, options, request, __func__, tracing_options_); } +StatusOr +HubServiceLogging::QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + return google::cloud::internal::LogWrapper( + [this]( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + return child_->QueryHubStatus(context, options, request); + }, + context, options, request, __func__, tracing_options_); +} + StatusOr HubServiceLogging::ListSpokes( grpc::ClientContext& context, Options const& options, @@ -435,6 +450,37 @@ HubServiceLogging::ListGroups( context, options, request, __func__, tracing_options_); } +future> +HubServiceLogging::AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + return google::cloud::internal::LogWrapper( + [this](google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) { + return child_->AsyncUpdateGroup(cq, std::move(context), + std::move(options), request); + }, + cq, std::move(context), std::move(options), request, __func__, + tracing_options_); +} + +StatusOr HubServiceLogging::UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + return google::cloud::internal::LogWrapper( + [this](grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) { + return child_->UpdateGroup(context, options, request); + }, + context, options, request, __func__, tracing_options_); +} + StatusOr HubServiceLogging::ListLocations( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.h b/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.h index b5740f0683859..b4c608e892d1c 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_logging_decorator.h @@ -91,6 +91,12 @@ class HubServiceLogging : public HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) override; + StatusOr + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) override; + StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -192,6 +198,18 @@ class HubServiceLogging : public HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) override; + future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + StatusOr ListLocations( grpc::ClientContext& context, Options const& options, google::cloud::location::ListLocationsRequest const& request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.cc b/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.cc index 642af8ba79d96..94ad5bac7c9be 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.cc @@ -134,6 +134,16 @@ HubServiceMetadata::ListHubSpokes( return child_->ListHubSpokes(context, options, request); } +StatusOr +HubServiceMetadata::QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + SetMetadata(context, options, + absl::StrCat("name=", internal::UrlEncode(request.name()))); + return child_->QueryHubStatus(context, options, request); +} + StatusOr HubServiceMetadata::ListSpokes( grpc::ClientContext& context, Options const& options, @@ -314,6 +324,28 @@ HubServiceMetadata::ListGroups( return child_->ListGroups(context, options, request); } +future> +HubServiceMetadata::AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + SetMetadata( + *context, *options, + absl::StrCat("group.name=", internal::UrlEncode(request.group().name()))); + return child_->AsyncUpdateGroup(cq, std::move(context), std::move(options), + request); +} + +StatusOr HubServiceMetadata::UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + SetMetadata( + context, options, + absl::StrCat("group.name=", internal::UrlEncode(request.group().name()))); + return child_->UpdateGroup(context, options, request); +} + StatusOr HubServiceMetadata::ListLocations( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.h b/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.h index a1ca84da07f51..ff0d2c743b4c0 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_metadata_decorator.h @@ -91,6 +91,12 @@ class HubServiceMetadata : public HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) override; + StatusOr + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) override; + StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -192,6 +198,18 @@ class HubServiceMetadata : public HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) override; + future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + StatusOr ListLocations( grpc::ClientContext& context, Options const& options, google::cloud::location::ListLocationsRequest const& request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_stub.cc b/google/cloud/networkconnectivity/v1/internal/hub_stub.cc index 2b90688b9b652..43204a866dbd8 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_stub.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_stub.cc @@ -158,6 +158,19 @@ DefaultHubServiceStub::ListHubSpokes( return response; } +StatusOr +DefaultHubServiceStub::QueryHubStatus( + grpc::ClientContext& context, Options const&, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + google::cloud::networkconnectivity::v1::QueryHubStatusResponse response; + auto status = grpc_stub_->QueryHubStatus(&context, request, &response); + if (!status.ok()) { + return google::cloud::MakeStatusFromRpcError(status); + } + return response; +} + StatusOr DefaultHubServiceStub::ListSpokes( grpc::ClientContext& context, Options const&, @@ -412,6 +425,36 @@ DefaultHubServiceStub::ListGroups( return response; } +future> +DefaultHubServiceStub::AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + return internal::MakeUnaryRpcImpl< + google::cloud::networkconnectivity::v1::UpdateGroupRequest, + google::longrunning::Operation>( + cq, + [this](grpc::ClientContext* context, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request, + grpc::CompletionQueue* cq) { + return grpc_stub_->AsyncUpdateGroup(context, request, cq); + }, + request, std::move(context)); +} + +StatusOr DefaultHubServiceStub::UpdateGroup( + grpc::ClientContext& context, Options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + google::longrunning::Operation response; + auto status = grpc_stub_->UpdateGroup(&context, request, &response); + if (!status.ok()) { + return google::cloud::MakeStatusFromRpcError(status); + } + return response; +} + StatusOr DefaultHubServiceStub::ListLocations( grpc::ClientContext& context, Options const&, diff --git a/google/cloud/networkconnectivity/v1/internal/hub_stub.h b/google/cloud/networkconnectivity/v1/internal/hub_stub.h index b887014ff4652..cc08f5fa0ab7b 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_stub.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_stub.h @@ -93,6 +93,13 @@ class HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) = 0; + virtual StatusOr< + google::cloud::networkconnectivity::v1::QueryHubStatusResponse> + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) = 0; + virtual StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -196,6 +203,18 @@ class HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) = 0; + virtual future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) = 0; + + virtual StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request) = 0; + virtual StatusOr ListLocations( grpc::ClientContext& context, Options const& options, @@ -315,6 +334,12 @@ class DefaultHubServiceStub : public HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) override; + StatusOr + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) override; + StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -416,6 +441,18 @@ class DefaultHubServiceStub : public HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) override; + future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + StatusOr ListLocations( grpc::ClientContext& context, Options const& options, google::cloud::location::ListLocationsRequest const& request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.cc b/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.cc index f5dd9ff165fb8..5ece5d0e897bd 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.cc @@ -147,6 +147,18 @@ HubServiceTracingConnection::ListHubSpokes( std::move(sr)); } +StreamRange +HubServiceTracingConnection::QueryHubStatus( + google::cloud::networkconnectivity::v1::QueryHubStatusRequest request) { + auto span = internal::MakeSpan( + "networkconnectivity_v1::HubServiceConnection::QueryHubStatus"); + internal::OTelScope scope(span); + auto sr = child_->QueryHubStatus(std::move(request)); + return internal::MakeTracedStreamRange< + google::cloud::networkconnectivity::v1::HubStatusEntry>(std::move(span), + std::move(sr)); +} + StreamRange HubServiceTracingConnection::ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request) { @@ -378,6 +390,34 @@ HubServiceTracingConnection::ListGroups( std::move(sr)); } +future> +HubServiceTracingConnection::UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto span = internal::MakeSpan( + "networkconnectivity_v1::HubServiceConnection::UpdateGroup"); + internal::OTelScope scope(span); + return internal::EndSpan(std::move(span), child_->UpdateGroup(request)); +} + +StatusOr +HubServiceTracingConnection::UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto span = internal::MakeSpan( + "networkconnectivity_v1::HubServiceConnection::UpdateGroup"); + opentelemetry::trace::Scope scope(span); + return internal::EndSpan(*span, child_->UpdateGroup(NoAwaitTag{}, request)); +} + +future> +HubServiceTracingConnection::UpdateGroup( + google::longrunning::Operation const& operation) { + auto span = internal::MakeSpan( + "networkconnectivity_v1::HubServiceConnection::UpdateGroup"); + internal::OTelScope scope(span); + return internal::EndSpan(std::move(span), child_->UpdateGroup(operation)); +} + StreamRange HubServiceTracingConnection::ListLocations( google::cloud::location::ListLocationsRequest request) { diff --git a/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.h b/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.h index 6450f0899b7ff..3e9e752661151 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_tracing_connection.h @@ -87,6 +87,10 @@ class HubServiceTracingConnection google::cloud::networkconnectivity::v1::ListHubSpokesRequest request) override; + StreamRange + QueryHubStatus(google::cloud::networkconnectivity::v1::QueryHubStatusRequest + request) override; + StreamRange ListSpokes( google::cloud::networkconnectivity::v1::ListSpokesRequest request) override; @@ -185,6 +189,18 @@ class HubServiceTracingConnection google::cloud::networkconnectivity::v1::ListGroupsRequest request) override; + future> UpdateGroup( + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + future> UpdateGroup( + google::longrunning::Operation const& operation) override; + StreamRange ListLocations( google::cloud::location::ListLocationsRequest request) override; diff --git a/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.cc b/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.cc index 1dae7b6ca94ab..f09e23b7de63e 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.cc +++ b/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.cc @@ -144,6 +144,19 @@ HubServiceTracingStub::ListHubSpokes( child_->ListHubSpokes(context, options, request)); } +StatusOr +HubServiceTracingStub::QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) { + auto span = internal::MakeSpanGrpc( + "google.cloud.networkconnectivity.v1.HubService", "QueryHubStatus"); + auto scope = opentelemetry::trace::Scope(span); + internal::InjectTraceContext(context, *propagator_); + return internal::EndSpan(context, *span, + child_->QueryHubStatus(context, options, request)); +} + StatusOr HubServiceTracingStub::ListSpokes( grpc::ClientContext& context, Options const& options, @@ -373,6 +386,31 @@ HubServiceTracingStub::ListGroups( child_->ListGroups(context, options, request)); } +future> +HubServiceTracingStub::AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto span = internal::MakeSpanGrpc( + "google.cloud.networkconnectivity.v1.HubService", "UpdateGroup"); + internal::OTelScope scope(span); + internal::InjectTraceContext(*context, *propagator_); + auto f = child_->AsyncUpdateGroup(cq, context, std::move(options), request); + return internal::EndSpan(std::move(context), std::move(span), std::move(f)); +} + +StatusOr HubServiceTracingStub::UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) { + auto span = internal::MakeSpanGrpc( + "google.cloud.networkconnectivity.v1.HubService", "UpdateGroup"); + auto scope = opentelemetry::trace::Scope(span); + internal::InjectTraceContext(context, *propagator_); + return internal::EndSpan(context, *span, + child_->UpdateGroup(context, options, request)); +} + StatusOr HubServiceTracingStub::ListLocations( grpc::ClientContext& context, Options const& options, diff --git a/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.h b/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.h index c16ad20f35b0c..a2639123ed594 100644 --- a/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.h +++ b/google/cloud/networkconnectivity/v1/internal/hub_tracing_stub.h @@ -90,6 +90,12 @@ class HubServiceTracingStub : public HubServiceStub { google::cloud::networkconnectivity::v1::ListHubSpokesRequest const& request) override; + StatusOr + QueryHubStatus( + grpc::ClientContext& context, Options const& options, + google::cloud::networkconnectivity::v1::QueryHubStatusRequest const& + request) override; + StatusOr ListSpokes(grpc::ClientContext& context, Options const& options, google::cloud::networkconnectivity::v1::ListSpokesRequest const& @@ -191,6 +197,18 @@ class HubServiceTracingStub : public HubServiceStub { google::cloud::networkconnectivity::v1::ListGroupsRequest const& request) override; + future> AsyncUpdateGroup( + google::cloud::CompletionQueue& cq, + std::shared_ptr context, + google::cloud::internal::ImmutableOptions options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + + StatusOr UpdateGroup( + grpc::ClientContext& context, Options options, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& request) + override; + StatusOr ListLocations( grpc::ClientContext& context, Options const& options, google::cloud::location::ListLocationsRequest const& request) override; diff --git a/google/cloud/networkconnectivity/v1/mocks/mock_hub_connection.h b/google/cloud/networkconnectivity/v1/mocks/mock_hub_connection.h index 806ce1b65997e..4c4c1b74f9673 100644 --- a/google/cloud/networkconnectivity/v1/mocks/mock_hub_connection.h +++ b/google/cloud/networkconnectivity/v1/mocks/mock_hub_connection.h @@ -180,6 +180,12 @@ class MockHubServiceConnection (google::cloud::networkconnectivity::v1::ListHubSpokesRequest request), (override)); + MOCK_METHOD( + (StreamRange), + QueryHubStatus, + (google::cloud::networkconnectivity::v1::QueryHubStatusRequest request), + (override)); + MOCK_METHOD( (StreamRange), ListSpokes, (google::cloud::networkconnectivity::v1::ListSpokesRequest request), @@ -432,6 +438,45 @@ class MockHubServiceConnection (google::cloud::networkconnectivity::v1::ListGroupsRequest request), (override)); + /// To disambiguate calls, use: + /// + /// @code + /// using ::testing::_; + /// using ::testing::Matcher; + /// EXPECT_CALL(*mock, + /// UpdateGroup(Matcher(_))) + /// @endcode + MOCK_METHOD(future>, + UpdateGroup, + (google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request), + (override)); + + /// To disambiguate calls, use: + /// + /// @code + /// using ::testing::_; + /// EXPECT_CALL(*mock, UpdateGroup(_, _)) + /// @endcode + MOCK_METHOD(StatusOr, UpdateGroup, + (NoAwaitTag, + google::cloud::networkconnectivity::v1::UpdateGroupRequest const& + request), + (override)); + + /// To disambiguate calls, use: + /// + /// @code + /// using ::testing::_; + /// using ::testing::Matcher; + /// EXPECT_CALL(*mock, UpdateGroup(Matcher(_))) + /// @endcode + MOCK_METHOD(future>, + UpdateGroup, (google::longrunning::Operation const& operation), + (override)); + MOCK_METHOD((StreamRange), ListLocations, (google::cloud::location::ListLocationsRequest request), (override)); diff --git a/google/cloud/storage/internal/storage_auth_decorator.cc b/google/cloud/storage/internal/storage_auth_decorator.cc index be3c9ec652f67..8c8578667bae7 100644 --- a/google/cloud/storage/internal/storage_auth_decorator.cc +++ b/google/cloud/storage/internal/storage_auth_decorator.cc @@ -235,6 +235,14 @@ StorageAuth::QueryWriteStatus( return child_->QueryWriteStatus(context, options, request); } +StatusOr StorageAuth::MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + auto status = auth_->ConfigureContext(context); + if (!status.ok()) return status; + return child_->MoveObject(context, options, request); +} + future> StorageAuth::AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_auth_decorator.h b/google/cloud/storage/internal/storage_auth_decorator.h index d8a10ff7002cf..fd1ef68bbfd08 100644 --- a/google/cloud/storage/internal/storage_auth_decorator.h +++ b/google/cloud/storage/internal/storage_auth_decorator.h @@ -137,6 +137,10 @@ class StorageAuth : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_logging_decorator.cc b/google/cloud/storage/internal/storage_logging_decorator.cc index 952780ca32682..837037d7169ad 100644 --- a/google/cloud/storage/internal/storage_logging_decorator.cc +++ b/google/cloud/storage/internal/storage_logging_decorator.cc @@ -322,6 +322,17 @@ StorageLogging::QueryWriteStatus( context, options, request, __func__, tracing_options_); } +StatusOr StorageLogging::MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + return google::cloud::internal::LogWrapper( + [this](grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + return child_->MoveObject(context, options, request); + }, + context, options, request, __func__, tracing_options_); +} + future> StorageLogging::AsyncComposeObject( google::cloud::CompletionQueue& cq, diff --git a/google/cloud/storage/internal/storage_logging_decorator.h b/google/cloud/storage/internal/storage_logging_decorator.h index d5d6deaea7265..dd7213a7cc53f 100644 --- a/google/cloud/storage/internal/storage_logging_decorator.h +++ b/google/cloud/storage/internal/storage_logging_decorator.h @@ -137,6 +137,10 @@ class StorageLogging : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_metadata_decorator.cc b/google/cloud/storage/internal/storage_metadata_decorator.cc index f55f4e1cf627d..7b8ae6da319af 100644 --- a/google/cloud/storage/internal/storage_metadata_decorator.cc +++ b/google/cloud/storage/internal/storage_metadata_decorator.cc @@ -494,6 +494,25 @@ StorageMetadata::QueryWriteStatus( return child_->QueryWriteStatus(context, options, request); } +StatusOr StorageMetadata::MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + std::vector params; + params.reserve(1); + + if (!request.bucket().empty()) { + params.push_back( + absl::StrCat("bucket=", internal::UrlEncode(request.bucket()))); + } + + if (params.empty()) { + SetMetadata(context, options); + } else { + SetMetadata(context, options, absl::StrJoin(params, "&")); + } + return child_->MoveObject(context, options, request); +} + future> StorageMetadata::AsyncComposeObject( google::cloud::CompletionQueue& cq, diff --git a/google/cloud/storage/internal/storage_metadata_decorator.h b/google/cloud/storage/internal/storage_metadata_decorator.h index cc7c62270cbbb..57f5b1c83e4d7 100644 --- a/google/cloud/storage/internal/storage_metadata_decorator.h +++ b/google/cloud/storage/internal/storage_metadata_decorator.h @@ -137,6 +137,10 @@ class StorageMetadata : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_round_robin_decorator.cc b/google/cloud/storage/internal/storage_round_robin_decorator.cc index f6f1862cadc7c..73c2d9ddd98f1 100644 --- a/google/cloud/storage/internal/storage_round_robin_decorator.cc +++ b/google/cloud/storage/internal/storage_round_robin_decorator.cc @@ -178,6 +178,12 @@ StorageRoundRobin::QueryWriteStatus( return Child()->QueryWriteStatus(context, options, request); } +StatusOr StorageRoundRobin::MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + return Child()->MoveObject(context, options, request); +} + future> StorageRoundRobin::AsyncComposeObject( google::cloud::CompletionQueue& cq, diff --git a/google/cloud/storage/internal/storage_round_robin_decorator.h b/google/cloud/storage/internal/storage_round_robin_decorator.h index 600869d74145b..a16eea2b4a743 100644 --- a/google/cloud/storage/internal/storage_round_robin_decorator.h +++ b/google/cloud/storage/internal/storage_round_robin_decorator.h @@ -135,6 +135,10 @@ class StorageRoundRobin : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_stub.cc b/google/cloud/storage/internal/storage_stub.cc index d07722fa0e3c0..5a47ed2598337 100644 --- a/google/cloud/storage/internal/storage_stub.cc +++ b/google/cloud/storage/internal/storage_stub.cc @@ -292,6 +292,17 @@ DefaultStorageStub::QueryWriteStatus( return response; } +StatusOr DefaultStorageStub::MoveObject( + grpc::ClientContext& context, Options const&, + google::storage::v2::MoveObjectRequest const& request) { + google::storage::v2::Object response; + auto status = grpc_stub_->MoveObject(&context, request, &response); + if (!status.ok()) { + return google::cloud::MakeStatusFromRpcError(status); + } + return response; +} + future> DefaultStorageStub::AsyncComposeObject( google::cloud::CompletionQueue& cq, diff --git a/google/cloud/storage/internal/storage_stub.h b/google/cloud/storage/internal/storage_stub.h index e91f6d5174872..7c6c4e7dab8dc 100644 --- a/google/cloud/storage/internal/storage_stub.h +++ b/google/cloud/storage/internal/storage_stub.h @@ -141,6 +141,10 @@ class StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) = 0; + virtual StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) = 0; + virtual future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, @@ -294,6 +298,10 @@ class DefaultStorageStub : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/internal/storage_tracing_stub.cc b/google/cloud/storage/internal/storage_tracing_stub.cc index e15dc56b1b220..5beef0ba2da7c 100644 --- a/google/cloud/storage/internal/storage_tracing_stub.cc +++ b/google/cloud/storage/internal/storage_tracing_stub.cc @@ -299,6 +299,16 @@ StorageTracingStub::QueryWriteStatus( child_->QueryWriteStatus(context, options, request)); } +StatusOr StorageTracingStub::MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) { + auto span = internal::MakeSpanGrpc("google.storage.v2.Storage", "MoveObject"); + auto scope = opentelemetry::trace::Scope(span); + internal::InjectTraceContext(context, *propagator_); + return internal::EndSpan(context, *span, + child_->MoveObject(context, options, request)); +} + future> StorageTracingStub::AsyncComposeObject( google::cloud::CompletionQueue& cq, diff --git a/google/cloud/storage/internal/storage_tracing_stub.h b/google/cloud/storage/internal/storage_tracing_stub.h index fe7c29e39917a..b7e91b11c1d60 100644 --- a/google/cloud/storage/internal/storage_tracing_stub.h +++ b/google/cloud/storage/internal/storage_tracing_stub.h @@ -137,6 +137,10 @@ class StorageTracingStub : public StorageStub { grpc::ClientContext& context, Options const& options, google::storage::v2::QueryWriteStatusRequest const& request) override; + StatusOr MoveObject( + grpc::ClientContext& context, Options const& options, + google::storage::v2::MoveObjectRequest const& request) override; + future> AsyncComposeObject( google::cloud::CompletionQueue& cq, std::shared_ptr context, diff --git a/google/cloud/storage/testing/mock_storage_stub.h b/google/cloud/storage/testing/mock_storage_stub.h index b975e8a23dbae..10355ec77cab1 100644 --- a/google/cloud/storage/testing/mock_storage_stub.h +++ b/google/cloud/storage/testing/mock_storage_stub.h @@ -129,6 +129,10 @@ class MockStorageStub : public storage_internal::StorageStub { (grpc::ClientContext&, Options const&, google::storage::v2::QueryWriteStatusRequest const&), (override)); + MOCK_METHOD(StatusOr, MoveObject, + (grpc::ClientContext&, Options const&, + google::storage::v2::MoveObjectRequest const&), + (override)); MOCK_METHOD(future>, AsyncComposeObject, (google::cloud::CompletionQueue&, std::shared_ptr,