Skip to content

Commit 26ac4d9

Browse files
authored
chore: update googleapis SHA circa 2023-12-18 (googleapis#13323)
1 parent b48e4b8 commit 26ac4d9

178 files changed

Lines changed: 8440 additions & 569 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bazel/workspace0.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ def gl_cpp_workspace0(name = None):
110110
http_archive,
111111
name = "com_google_googleapis",
112112
urls = [
113-
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_googleapis/a549ce6e7b62f6fcb808dfec151bef631c986cd5.tar.gz",
114-
"https://github.com/googleapis/googleapis/archive/a549ce6e7b62f6fcb808dfec151bef631c986cd5.tar.gz",
113+
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_googleapis/db5ce67d735d2ceb6fe925f3e317a3f30835cfd6.tar.gz",
114+
"https://github.com/googleapis/googleapis/archive/db5ce67d735d2ceb6fe925f3e317a3f30835cfd6.tar.gz",
115115
],
116-
sha256 = "94aeb0a39d9060ed8532cd657943c3e19d995ed59848534eb753765244b82ed2",
117-
strip_prefix = "googleapis-a549ce6e7b62f6fcb808dfec151bef631c986cd5",
116+
sha256 = "9094b43a8a8b6f05dd4868cb509fa934012725107995865b5c8eb9c67fbea35d",
117+
strip_prefix = "googleapis-db5ce67d735d2ceb6fe925f3e317a3f30835cfd6",
118118
build_file = Label("//bazel:googleapis.BUILD"),
119119
# Scaffolding for patching googleapis after download. For example:
120120
# patches = ["googleapis.patch"]

cmake/GoogleapisConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
2727
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)
2828

2929
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
30-
"a549ce6e7b62f6fcb808dfec151bef631c986cd5")
30+
"db5ce67d735d2ceb6fe925f3e317a3f30835cfd6")
3131
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
32-
"94aeb0a39d9060ed8532cd657943c3e19d995ed59848534eb753765244b82ed2")
32+
"9094b43a8a8b6f05dd4868cb509fa934012725107995865b5c8eb9c67fbea35d")
3333

3434
set(DOXYGEN_ALIASES
3535
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""

external/googleapis/protodeps/aiplatform.deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
@com_google_googleapis//google/api:resource_proto
88
@com_google_googleapis//google/longrunning:operations_proto
99
@com_google_googleapis//google/rpc:status_proto
10+
@com_google_googleapis//google/type:date_proto
1011
@com_google_googleapis//google/type:interval_proto
1112
@com_google_googleapis//google/type:money_proto

external/googleapis/protodeps/gkemulticloud.deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
@com_google_googleapis//google/api:resource_proto
77
@com_google_googleapis//google/longrunning:operations_proto
88
@com_google_googleapis//google/rpc:status_proto
9+
@com_google_googleapis//google/type:date_proto

external/googleapis/protolists/aiplatform.list

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
@com_google_googleapis//google/cloud/aiplatform/v1:artifact.proto
4242
@com_google_googleapis//google/cloud/aiplatform/v1:batch_prediction_job.proto
4343
@com_google_googleapis//google/cloud/aiplatform/v1:completion_stats.proto
44+
@com_google_googleapis//google/cloud/aiplatform/v1:content.proto
4445
@com_google_googleapis//google/cloud/aiplatform/v1:context.proto
4546
@com_google_googleapis//google/cloud/aiplatform/v1:custom_job.proto
4647
@com_google_googleapis//google/cloud/aiplatform/v1:data_item.proto
@@ -50,6 +51,8 @@
5051
@com_google_googleapis//google/cloud/aiplatform/v1:dataset_version.proto
5152
@com_google_googleapis//google/cloud/aiplatform/v1:deployed_index_ref.proto
5253
@com_google_googleapis//google/cloud/aiplatform/v1:deployed_model_ref.proto
54+
@com_google_googleapis//google/cloud/aiplatform/v1:deployment_resource_pool.proto
55+
@com_google_googleapis//google/cloud/aiplatform/v1:deployment_resource_pool_service.proto
5356
@com_google_googleapis//google/cloud/aiplatform/v1:encryption_spec.proto
5457
@com_google_googleapis//google/cloud/aiplatform/v1:endpoint.proto
5558
@com_google_googleapis//google/cloud/aiplatform/v1:endpoint_service.proto
@@ -100,6 +103,7 @@
100103
@com_google_googleapis//google/cloud/aiplatform/v1:model_monitoring.proto
101104
@com_google_googleapis//google/cloud/aiplatform/v1:model_service.proto
102105
@com_google_googleapis//google/cloud/aiplatform/v1:nas_job.proto
106+
@com_google_googleapis//google/cloud/aiplatform/v1:openapi.proto
103107
@com_google_googleapis//google/cloud/aiplatform/v1:operation.proto
104108
@com_google_googleapis//google/cloud/aiplatform/v1:pipeline_failure_policy.proto
105109
@com_google_googleapis//google/cloud/aiplatform/v1:pipeline_job.proto
@@ -120,6 +124,7 @@
120124
@com_google_googleapis//google/cloud/aiplatform/v1:tensorboard_run.proto
121125
@com_google_googleapis//google/cloud/aiplatform/v1:tensorboard_service.proto
122126
@com_google_googleapis//google/cloud/aiplatform/v1:tensorboard_time_series.proto
127+
@com_google_googleapis//google/cloud/aiplatform/v1:tool.proto
123128
@com_google_googleapis//google/cloud/aiplatform/v1:training_pipeline.proto
124129
@com_google_googleapis//google/cloud/aiplatform/v1:types.proto
125130
@com_google_googleapis//google/cloud/aiplatform/v1:unmanaged_container_model.proto
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
@com_google_googleapis//google/cloud/translate/v3:adaptive_mt.proto
2+
@com_google_googleapis//google/cloud/translate/v3:common.proto
13
@com_google_googleapis//google/cloud/translate/v3:translation_service.proto

generator/generator_config.textproto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,6 +2573,15 @@ service {
25732573
forwarding_product_path: "google/cloud/profiler"
25742574
initial_copyright_year: "2022"
25752575
retryable_status_codes: ["kUnavailable"]
2576+
omitted_services: ["ExportService"]
2577+
}
2578+
2579+
service {
2580+
service_proto_path: "google/devtools/cloudprofiler/v2/profiler.proto"
2581+
product_path: "google/cloud/profiler/v2"
2582+
initial_copyright_year: "2023"
2583+
retryable_status_codes: ["kUnavailable"]
2584+
omitted_services: ["ProfilerService"]
25762585
}
25772586
25782587
# Cloud Pub/Sub
@@ -2691,6 +2700,9 @@ service {
26912700
product_path: "google/cloud/recaptchaenterprise/v1"
26922701
initial_copyright_year: "2023"
26932702
retryable_status_codes: ["kUnavailable"]
2703+
emitted_rpcs: [
2704+
"SearchRelatedAccountGroupMemberships(std::string const&, std::string const&)"
2705+
]
26942706
}
26952707
26962708
# Recommender

generator/internal/descriptor_utils.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,10 @@ ParameterCommentSubstitution substitutions[] = {
420420
"`conversionWorkspace/123/mappingRules/"
421421
"rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8`"},
422422

423+
// From google/cloud/gkemulticloud/v1/azure_service.proto
424+
{" projects/<project-id>/locations/<region>/azureClusters/<cluster-id>",
425+
" `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`"},
426+
423427
// Some comments include multiple newlines in a row. We need to preserve
424428
// these because they are paragraph separators. When used in `@param`
425429
// commands we need to represent them as `@n` or they do would terminate the

google/cloud/advisorynotifications/v1/advisory_notifications_client.h

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ class AdvisoryNotificationsServiceClient {
9595
/// Lists notifications under a given parent.
9696
///
9797
/// @param parent Required. The parent, which owns this collection of notifications.
98-
/// Must be of the form "organizations/{organization}/locations/{location}".
98+
/// Must be of the form "organizations/{organization}/locations/{location}"
99+
/// or "projects/{project}/locations/{location}"
99100
/// @param opts Optional. Override the class-level options, such as retry and
100101
/// backoff policies.
101102
/// @return a [StreamRange](@ref google::cloud::StreamRange)
@@ -118,8 +119,8 @@ class AdvisoryNotificationsServiceClient {
118119
/// [`future`]: @ref google::cloud::future
119120
/// [`StatusOr`]: @ref google::cloud::StatusOr
120121
/// [`Status`]: @ref google::cloud::Status
121-
/// [google.cloud.advisorynotifications.v1.ListNotificationsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L229}
122-
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L132}
122+
/// [google.cloud.advisorynotifications.v1.ListNotificationsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L238}
123+
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L139}
123124
///
124125
// clang-format on
125126
StreamRange<google::cloud::advisorynotifications::v1::Notification>
@@ -157,8 +158,8 @@ class AdvisoryNotificationsServiceClient {
157158
/// [`future`]: @ref google::cloud::future
158159
/// [`StatusOr`]: @ref google::cloud::StatusOr
159160
/// [`Status`]: @ref google::cloud::Status
160-
/// [google.cloud.advisorynotifications.v1.ListNotificationsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L229}
161-
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L132}
161+
/// [google.cloud.advisorynotifications.v1.ListNotificationsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L238}
162+
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L139}
162163
///
163164
// clang-format on
164165
StreamRange<google::cloud::advisorynotifications::v1::Notification>
@@ -173,7 +174,8 @@ class AdvisoryNotificationsServiceClient {
173174
///
174175
/// @param name Required. A name of the notification to retrieve.
175176
/// Format:
176-
/// organizations/{organization}/locations/{location}/notifications/{notification}.
177+
/// organizations/{organization}/locations/{location}/notifications/{notification}
178+
/// or projects/{projects}/locations/{location}/notifications/{notification}.
177179
/// @param opts Optional. Override the class-level options, such as retry and
178180
/// backoff policies.
179181
/// @return the result of the RPC. The response message type
@@ -187,8 +189,8 @@ class AdvisoryNotificationsServiceClient {
187189
/// [`future`]: @ref google::cloud::future
188190
/// [`StatusOr`]: @ref google::cloud::StatusOr
189191
/// [`Status`]: @ref google::cloud::Status
190-
/// [google.cloud.advisorynotifications.v1.GetNotificationRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L276}
191-
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L132}
192+
/// [google.cloud.advisorynotifications.v1.GetNotificationRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L286}
193+
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L139}
192194
///
193195
// clang-format on
194196
StatusOr<google::cloud::advisorynotifications::v1::Notification>
@@ -217,8 +219,8 @@ class AdvisoryNotificationsServiceClient {
217219
/// [`future`]: @ref google::cloud::future
218220
/// [`StatusOr`]: @ref google::cloud::StatusOr
219221
/// [`Status`]: @ref google::cloud::Status
220-
/// [google.cloud.advisorynotifications.v1.GetNotificationRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L276}
221-
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L132}
222+
/// [google.cloud.advisorynotifications.v1.GetNotificationRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L286}
223+
/// [google.cloud.advisorynotifications.v1.Notification]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L139}
222224
///
223225
// clang-format on
224226
StatusOr<google::cloud::advisorynotifications::v1::Notification>
@@ -247,8 +249,8 @@ class AdvisoryNotificationsServiceClient {
247249
/// [`future`]: @ref google::cloud::future
248250
/// [`StatusOr`]: @ref google::cloud::StatusOr
249251
/// [`Status`]: @ref google::cloud::Status
250-
/// [google.cloud.advisorynotifications.v1.GetSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L327}
251-
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L296}
252+
/// [google.cloud.advisorynotifications.v1.GetSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L338}
253+
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L307}
252254
///
253255
// clang-format on
254256
StatusOr<google::cloud::advisorynotifications::v1::Settings> GetSettings(
@@ -277,8 +279,8 @@ class AdvisoryNotificationsServiceClient {
277279
/// [`future`]: @ref google::cloud::future
278280
/// [`StatusOr`]: @ref google::cloud::StatusOr
279281
/// [`Status`]: @ref google::cloud::Status
280-
/// [google.cloud.advisorynotifications.v1.GetSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L327}
281-
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L296}
282+
/// [google.cloud.advisorynotifications.v1.GetSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L338}
283+
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L307}
282284
///
283285
// clang-format on
284286
StatusOr<google::cloud::advisorynotifications::v1::Settings> GetSettings(
@@ -304,8 +306,8 @@ class AdvisoryNotificationsServiceClient {
304306
/// [`future`]: @ref google::cloud::future
305307
/// [`StatusOr`]: @ref google::cloud::StatusOr
306308
/// [`Status`]: @ref google::cloud::Status
307-
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L296}
308-
/// [google.cloud.advisorynotifications.v1.UpdateSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L340}
309+
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L307}
310+
/// [google.cloud.advisorynotifications.v1.UpdateSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L351}
309311
///
310312
// clang-format on
311313
StatusOr<google::cloud::advisorynotifications::v1::Settings> UpdateSettings(
@@ -335,8 +337,8 @@ class AdvisoryNotificationsServiceClient {
335337
/// [`future`]: @ref google::cloud::future
336338
/// [`StatusOr`]: @ref google::cloud::StatusOr
337339
/// [`Status`]: @ref google::cloud::Status
338-
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L296}
339-
/// [google.cloud.advisorynotifications.v1.UpdateSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L340}
340+
/// [google.cloud.advisorynotifications.v1.Settings]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L307}
341+
/// [google.cloud.advisorynotifications.v1.UpdateSettingsRequest]: @googleapis_reference_link{google/cloud/advisorynotifications/v1/service.proto#L351}
340342
///
341343
// clang-format on
342344
StatusOr<google::cloud::advisorynotifications::v1::Settings> UpdateSettings(

google/cloud/aiplatform/v1/internal/prediction_auth_decorator.cc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ PredictionServiceAuth::Explain(
123123
return child_->Explain(context, request);
124124
}
125125

126+
std::unique_ptr<google::cloud::internal::StreamingReadRpc<
127+
google::cloud::aiplatform::v1::GenerateContentResponse>>
128+
PredictionServiceAuth::StreamGenerateContent(
129+
std::shared_ptr<grpc::ClientContext> context, Options const& options,
130+
google::cloud::aiplatform::v1::GenerateContentRequest const& request) {
131+
using ErrorStream = ::google::cloud::internal::StreamingReadRpcError<
132+
google::cloud::aiplatform::v1::GenerateContentResponse>;
133+
auto status = auth_->ConfigureContext(*context);
134+
if (!status.ok()) return std::make_unique<ErrorStream>(std::move(status));
135+
return child_->StreamGenerateContent(std::move(context), options, request);
136+
}
137+
126138
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
127139
} // namespace aiplatform_v1_internal
128140
} // namespace cloud

0 commit comments

Comments
 (0)