Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ python.toolchain(
)

bazel_dep(name = "grpc", version = "1.76.0.bcr.1")
bazel_dep(name = "googleapis", version = "0.0.0-20260402-c8ca5bce")
bazel_dep(name = "googleapis", version = "0.0.0-20260422-20ac242a")
bazel_dep(name = "googleapis-cc", version = "1.1.5")
bazel_dep(name = "googleapis-grpc-cc", version = "1.1.5")
6 changes: 3 additions & 3 deletions bazel/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ def gl_cpp_workspace0(name = None):
http_archive,
name = "googleapis",
urls = [
"https://github.com/googleapis/googleapis/archive/c8ca5bce5cbabac76b8619bd8d63ac10bb0561a9.tar.gz",
"https://github.com/googleapis/googleapis/archive/20ac242a6b3a723cb10c1a0201209261addaf7d8.tar.gz",
],
sha256 = "8ce00cdda7a5c1595fc539b2611f7084344bd08dd07d6e0be03068afb4bc6e8a",
strip_prefix = "googleapis-c8ca5bce5cbabac76b8619bd8d63ac10bb0561a9",
sha256 = "2e54dd6e7829afa9f382b67b3eea6730963df65381255f012ac4bd23b3654fb5",
strip_prefix = "googleapis-20ac242a6b3a723cb10c1a0201209261addaf7d8",
build_file = Label("//bazel:googleapis.BUILD"),
# Scaffolding for patching googleapis after download. For example:
patches = [
Expand Down
4 changes: 2 additions & 2 deletions cmake/GoogleapisConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
"c8ca5bce5cbabac76b8619bd8d63ac10bb0561a9")
"20ac242a6b3a723cb10c1a0201209261addaf7d8")
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
"8ce00cdda7a5c1595fc539b2611f7084344bd08dd07d6e0be03068afb4bc6e8a")
"2e54dd6e7829afa9f382b67b3eea6730963df65381255f012ac4bd23b3654fb5")

set(DOXYGEN_ALIASES
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""
Expand Down
1 change: 1 addition & 0 deletions external/googleapis/protodeps/bigtable.deps
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@googleapis//google/iam/v1:policy_proto
@googleapis//google/iam/v1:resource_policy_member_proto
@googleapis//google/longrunning:operations_proto
@googleapis//google/rpc:error_details_proto
@googleapis//google/rpc:status_proto
@googleapis//google/type:date_proto
@googleapis//google/type:expr_proto
2 changes: 2 additions & 0 deletions external/googleapis/protolists/bigquerycontrol.list
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@googleapis//google/cloud/bigquery/v2:external_data_config.proto
@googleapis//google/cloud/bigquery/v2:external_dataset_reference.proto
@googleapis//google/cloud/bigquery/v2:file_set_specification_type.proto
@googleapis//google/cloud/bigquery/v2:gen_ai_stats.proto
@googleapis//google/cloud/bigquery/v2:hive_partitioning.proto
@googleapis//google/cloud/bigquery/v2:job.proto
@googleapis//google/cloud/bigquery/v2:job_config.proto
Expand All @@ -27,6 +28,7 @@
@googleapis//google/cloud/bigquery/v2:partitioning_definition.proto
@googleapis//google/cloud/bigquery/v2:privacy_policy.proto
@googleapis//google/cloud/bigquery/v2:project.proto
@googleapis//google/cloud/bigquery/v2:property_graph_reference.proto
@googleapis//google/cloud/bigquery/v2:query_parameter.proto
@googleapis//google/cloud/bigquery/v2:range_partitioning.proto
@googleapis//google/cloud/bigquery/v2:restriction_config.proto
Expand Down
1 change: 1 addition & 0 deletions external/googleapis/protolists/bigtable.list
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
@googleapis//google/bigtable/v2:peer_info.proto
@googleapis//google/bigtable/v2:request_stats.proto
@googleapis//google/bigtable/v2:response_params.proto
@googleapis//google/bigtable/v2:session.proto
@googleapis//google/bigtable/v2:types.proto
1 change: 1 addition & 0 deletions external/googleapis/protolists/chronicle.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@googleapis//google/cloud/chronicle/v1:data_access_control.proto
@googleapis//google/cloud/chronicle/v1:data_table.proto
@googleapis//google/cloud/chronicle/v1:entity.proto
@googleapis//google/cloud/chronicle/v1:instance.proto
@googleapis//google/cloud/chronicle/v1:reference_list.proto
Expand Down
1 change: 1 addition & 0 deletions external/googleapis/protolists/vectorsearch.list
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
@googleapis//google/cloud/vectorsearch/v1:data_object_search_service.proto
@googleapis//google/cloud/vectorsearch/v1:data_object_service.proto
@googleapis//google/cloud/vectorsearch/v1:embedding_config.proto
@googleapis//google/cloud/vectorsearch/v1:encryption_spec.proto
@googleapis//google/cloud/vectorsearch/v1:vectorsearch_service.proto
42 changes: 20 additions & 22 deletions external/googleapis/renovate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,24 @@ function banner() {
SEPARATOR=Y
}

banner "Determining googleapis HEAD commit and tarball checksum"
REPO="googleapis/googleapis"
BRANCH="master"
if [[ -z "${COMMIT}" ]]; then
COMMIT=$(curl -fsSL -H "Accept: application/vnd.github.VERSION.sha" \
"https://api.github.com/repos/${REPO}/commits/${BRANCH}")
if [ $# -lt 1 ]; then
echo "Error: MODULE_VERSION (0.0.0-<date>-<sha>) from BCR must be specified"
exit 1
fi

if [[ -z "$COMMIT_DATE" ]]; then
COMMIT_DATE=$(date +%Y-%m-%d)
fi
MODULE_VERSION=$1

banner "Determining googleapis COMMIT and COMMIT_DATE from BCR module"
MODULE_DOWNLOAD="$(mktemp -d)"
curl -fsSL "https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/googleapis/${MODULE_VERSION}/source.json" -o "${MODULE_DOWNLOAD}/source.json"
COMMIT=$(sed -n 's/.*\/googleapis\/archive\/\([0-9a-f]*\)\.zip.*/\1/p' "${MODULE_DOWNLOAD}/source.json")
echo "COMMIT=${COMMIT}"
COMMIT_DATE=$(echo "${MODULE_VERSION}" | sed -n 's/0\.0\.0-\(.*\)-.*/\1/p')
echo "COMMIT_DATE=${COMMIT_DATE}"
rm -rf "${MODULE_DOWNLOAD}"

banner "Determining googleapis ${COMMIT} tarball checksum"
REPO="googleapis/googleapis"
DOWNLOAD="$(mktemp)"
curl -fsSL "https://github.com/${REPO}/archive/${COMMIT}.tar.gz" -o "${DOWNLOAD}"
gcloud storage cp "${DOWNLOAD}" "gs://cloud-cpp-community-archive/com_google_googleapis/${COMMIT}.tar.gz"
Expand All @@ -51,24 +57,16 @@ 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 Bazel/CMake dependencies"
sed -i -f - bazel/workspace0.bzl <<EOT
/name = "com_google_googleapis",/,/strip_prefix = "/ {
s;/com_google_googleapis/.*.tar.gz",;/com_google_googleapis/${COMMIT}.tar.gz",;
s;/${REPO}/archive/.*.tar.gz",;/${REPO}/archive/${COMMIT}.tar.gz",;
s/sha256 = ".*",/sha256 = "${SHA256}",/
s/strip_prefix = "googleapis-.*",/strip_prefix = "googleapis-${COMMIT}",/
/name = "googleapis",/,/strip_prefix = "/ {
s;/${REPO}/archive/[0-9a-f]*.tar.gz",;/${REPO}/archive/${COMMIT}.tar.gz",;
s/sha256 = "[0-9a-f]*",/sha256 = "${SHA256}",/
s/strip_prefix = "googleapis-[0-9a-f]*",/strip_prefix = "googleapis-${COMMIT}",/
}
EOT
sed -i -f - MODULE.bazel <<EOT
/module_name = "googleapis",/,/^)/ {
s;/${REPO}/archive/.*.tar.gz",;/${REPO}/archive/${COMMIT}.tar.gz",;
s;integrity = "sha256-.*",;integrity = "sha256-${SHA256_BASE64}",;
s/strip_prefix = "googleapis-.*",/strip_prefix = "googleapis-${COMMIT}",/
}
s/name = "googleapis", version = "0.0.0-.*"/name = "googleapis", version = "${MODULE_VERSION}"/
EOT
sed -i -f - cmake/GoogleapisConfig.cmake <<EOT
/^set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA$/ {
Expand Down
40 changes: 20 additions & 20 deletions google/cloud/aiplatform/v1/model_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ class ModelServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.CopyModelRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L728}
/// [google.cloud.aiplatform.v1.CopyModelResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L784}
/// [google.cloud.aiplatform.v1.CopyModelResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L796}
/// [google.cloud.aiplatform.v1.Model.metadata]: @googleapis_reference_link{google/cloud/aiplatform/v1/model.proto#L238}
///
// clang-format on
Expand Down Expand Up @@ -1258,7 +1258,7 @@ class ModelServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.CopyModelRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L728}
/// [google.cloud.aiplatform.v1.CopyModelResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L784}
/// [google.cloud.aiplatform.v1.CopyModelResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L796}
/// [google.cloud.aiplatform.v1.Model.metadata]: @googleapis_reference_link{google/cloud/aiplatform/v1/model.proto#L238}
///
// clang-format on
Expand Down Expand Up @@ -1314,7 +1314,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ImportModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L797}
/// [google.cloud.aiplatform.v1.ImportModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L809}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1347,7 +1347,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ImportModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L797}
/// [google.cloud.aiplatform.v1.ImportModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L809}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1378,8 +1378,8 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L813}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L831}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L825}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L843}
///
// clang-format on
StatusOr<
Expand Down Expand Up @@ -1413,8 +1413,8 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L813}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L831}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L825}
/// [google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L843}
///
// clang-format on
StatusOr<
Expand Down Expand Up @@ -1445,8 +1445,8 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L840}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L858}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L852}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L870}
///
// clang-format on
StatusOr<
Expand Down Expand Up @@ -1480,8 +1480,8 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L840}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L858}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L852}
/// [google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L870}
///
// clang-format on
StatusOr<
Expand Down Expand Up @@ -1511,7 +1511,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L866}
/// [google.cloud.aiplatform.v1.GetModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L878}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1541,7 +1541,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L866}
/// [google.cloud.aiplatform.v1.GetModelEvaluationRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L878}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1577,7 +1577,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListModelEvaluationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L880}
/// [google.cloud.aiplatform.v1.ListModelEvaluationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L892}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1616,7 +1616,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListModelEvaluationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L880}
/// [google.cloud.aiplatform.v1.ListModelEvaluationsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L892}
/// [google.cloud.aiplatform.v1.ModelEvaluation]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation.proto#L35}
///
// clang-format on
Expand Down Expand Up @@ -1645,7 +1645,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L923}
/// [google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L935}
/// [google.cloud.aiplatform.v1.ModelEvaluationSlice]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation_slice.proto#L36}
///
// clang-format on
Expand Down Expand Up @@ -1675,7 +1675,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L923}
/// [google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L935}
/// [google.cloud.aiplatform.v1.ModelEvaluationSlice]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation_slice.proto#L36}
///
// clang-format on
Expand Down Expand Up @@ -1714,7 +1714,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L937}
/// [google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L949}
/// [google.cloud.aiplatform.v1.ModelEvaluationSlice]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation_slice.proto#L36}
///
// clang-format on
Expand Down Expand Up @@ -1753,7 +1753,7 @@ class ModelServiceClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L937}
/// [google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_service.proto#L949}
/// [google.cloud.aiplatform.v1.ModelEvaluationSlice]: @googleapis_reference_link{google/cloud/aiplatform/v1/model_evaluation_slice.proto#L36}
///
// clang-format on
Expand Down
Loading
Loading