Skip to content

Commit 4522480

Browse files
Merge branch 'main' into otel_traces_for_download_to_file
2 parents 9fb5b5d + 677354c commit 4522480

173 files changed

Lines changed: 28171 additions & 1197 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.

.github/workflows/macos-bazel.yml

Lines changed: 0 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -31,163 +31,11 @@ jobs:
3131
matrix:
3232
os: [ macos-14 ]
3333
shard:
34-
- Core
35-
- Bigtable
36-
- Pub/Sub
37-
- Spanner
3834
- Storage
39-
- Compute
40-
- AIPlatform
41-
- Shard1
42-
- Shard2
43-
- Other
4435
include:
45-
- shard: Core
46-
targets:
47-
- //google/cloud:all
48-
# - //generator/... # Does not build on macOS
49-
# - //docfx/... # Does not build on macOS
50-
- +//examples/...
51-
- shard: Bigtable
52-
targets:
53-
- //google/cloud/bigtable/...
54-
- shard: Pub/Sub
55-
targets:
56-
- //google/cloud/pubsub/...
57-
- +//google/cloud/pubsublite/...
58-
- shard: Spanner
59-
targets:
60-
- //google/cloud/spanner/...
6136
- shard: Storage
6237
targets:
6338
- //google/cloud/storage/...
64-
# Include the top-level examples because they require the libs anyway.
65-
- shard: Compute
66-
targets:
67-
- //google/cloud/compute/...
68-
- shard: AIPlatform
69-
targets:
70-
- //google/cloud/aiplatform/...
71-
- shard: Shard1
72-
targets:
73-
# Run this:
74-
#
75-
# git grep -l 'class.*Client' 'google/cloud/**_client.h' |
76-
# egrep -v "(bigtable/|internal/|pubsub/|spanner/|storage/)" |
77-
# cut -f -3 -d/| sort | uniq -c | sort -n |
78-
# awk '{ s += $1; print s, $0}'
79-
#
80-
# and pick the approximate midpoint
81-
#
82-
# Also, it is a good idea to keep `sql` and `bigquerycontrol`
83-
# together, as they both require our internal REST libraries.
84-
- //google/cloud/bigquerycontrol/...
85-
- +//google/cloud/appengine/...
86-
- +//google/cloud/dataproc/...
87-
- +//google/cloud/monitoring/...
88-
- +//google/cloud/retail/...
89-
- +//google/cloud/discoveryengine/...
90-
- +//google/cloud/sql/...
91-
- +//google/cloud/dialogflow_cx/...
92-
- +//google/cloud/dialogflow_es/...
93-
- shard: Shard2
94-
targets:
95-
- //google/cloud/networkconnectivity/...
96-
- +//google/cloud/networkservices/...
97-
- +//google/cloud/policytroubleshooter/...
98-
- +//google/cloud/profiler/...
99-
- +//google/cloud/redis/...
100-
- +//google/cloud/securitycenter/...
101-
- +//google/cloud/servicedirectory/...
102-
- +//google/cloud/tpu/...
103-
- +//google/cloud/trace/...
104-
- +//google/cloud/vision/...
105-
- +//google/cloud/workflows/...
106-
- +//google/cloud/beyondcorp/...
107-
- +//google/cloud/billing/...
108-
- +//google/cloud/binaryauthorization/...
109-
- +//google/cloud/gkemulticloud/...
110-
- +//google/cloud/logging/...
111-
- +//google/cloud/notebooks/...
112-
- +//google/cloud/osconfig/...
113-
- +//google/cloud/servicecontrol/...
114-
- +//google/cloud/speech/...
115-
- +//google/cloud/support/...
116-
- +//google/cloud/video/...
117-
- +//google/cloud/datacatalog/...
118-
- +//google/cloud/iam/...
119-
- +//google/cloud/run/...
120-
- +//google/cloud/talent/...
121-
- +//google/cloud/contentwarehouse/...
122-
- +//google/cloud/dataplex/...
123-
- +//google/cloud/kms/...
124-
- +//google/cloud/bigquery/...
125-
- +//google/cloud/resourcemanager/...
126-
- shard: Other
127-
targets:
128-
- //...
129-
# Skip top-level targets (e.g. //:bigtable).
130-
- -//:all
131-
# From Core
132-
- -//generator/...
133-
- -//docfx/...
134-
- -//google/cloud:all
135-
- -//examples/...
136-
# From Bigtable
137-
- -//google/cloud/bigtable/...
138-
# From Pub/Sub
139-
- -//google/cloud/pubsub/...
140-
- -//google/cloud/pubsublite/...
141-
# From Spanner
142-
- -//google/cloud/spanner/...
143-
# From Storage
144-
- -//google/cloud/storage/...
145-
# From Compute
146-
- -//google/cloud/compute/...
147-
# From AIPlatform
148-
- -//google/cloud/aiplatform/...
149-
# From Shard1
150-
- -//google/cloud/appengine/...
151-
- -//google/cloud/dataproc/...
152-
- -//google/cloud/monitoring/...
153-
- -//google/cloud/retail/...
154-
- -//google/cloud/discoveryengine/...
155-
- -//google/cloud/sql/...
156-
- -//google/cloud/dialogflow_cx/...
157-
- -//google/cloud/dialogflow_es/...
158-
# From Shard2
159-
- -//google/cloud/networkconnectivity/...
160-
- -//google/cloud/networkservices/...
161-
- -//google/cloud/policytroubleshooter/...
162-
- -//google/cloud/profiler/...
163-
- -//google/cloud/redis/...
164-
- -//google/cloud/securitycenter/...
165-
- -//google/cloud/servicedirectory/...
166-
- -//google/cloud/tpu/...
167-
- -//google/cloud/trace/...
168-
- -//google/cloud/vision/...
169-
- -//google/cloud/workflows/...
170-
- -//google/cloud/beyondcorp/...
171-
- -//google/cloud/billing/...
172-
- -//google/cloud/binaryauthorization/...
173-
- -//google/cloud/gkemulticloud/...
174-
- -//google/cloud/logging/...
175-
- -//google/cloud/notebooks/...
176-
- -//google/cloud/osconfig/...
177-
- -//google/cloud/servicecontrol/...
178-
- -//google/cloud/speech/...
179-
- -//google/cloud/support/...
180-
- -//google/cloud/video/...
181-
- -//google/cloud/datacatalog/...
182-
- -//google/cloud/iam/...
183-
- -//google/cloud/run/...
184-
- -//google/cloud/talent/...
185-
- -//google/cloud/contentwarehouse/...
186-
- -//google/cloud/dataplex/...
187-
- -//google/cloud/kms/...
188-
- -//google/cloud/bigquery/...
189-
- -//google/cloud/bigquerycontrol/...
190-
- -//google/cloud/resourcemanager/...
19139
steps:
19240
- uses: actions/checkout@v4
19341
with:

.github/workflows/macos-cmake.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
exclude-from-full-trick: [ true ]
4141
os: [ macos-14 ]
42-
shard: [ Core1, Core2, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Shard5, Other ]
42+
shard: [ Core2 ]
4343
exclude:
4444
# Only full builds include shards with generated code.
4545
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}
@@ -89,6 +89,10 @@ jobs:
8989
storage
9090
storage_grpc
9191
)
92+
core3_features=(
93+
pubsub
94+
pubsublite
95+
)
9296
# These are the libraries with the most "clients". To build the list
9397
# run something like this and find the midpoint:
9498
#
@@ -214,6 +218,9 @@ jobs:
214218
elif [[ "${{ matrix.shard }}" == "Core2" ]]; then
215219
features="$(printf ",%s" "${core2_features[@]}")"
216220
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
221+
elif [[ "${{ matrix.shard }}" == "Core3" ]]; then
222+
features="$(printf ",%s" "${core3_features[@]}")"
223+
echo "features=${features:1}" >> "${GITHUB_OUTPUT}"
217224
elif [[ "${{matrix.shard}}" == "Compute" ]]; then
218225
echo "features=compute" >> "${GITHUB_OUTPUT}"
219226
elif [[ "${{matrix.shard}}" == "AIPlatform" ]]; then
@@ -236,6 +243,7 @@ jobs:
236243
else
237244
skipped_features=("${core1_features[@]}")
238245
skipped_features+=("${core2_features[@]}")
246+
skipped_features+=("${core3_features[@]}")
239247
skipped_features+=(compute)
240248
skipped_features+=(aiplatform)
241249
skipped_features+=("${shard1_features[@]}")

.github/workflows/windows-bazel.yml

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,46 +29,16 @@ jobs:
2929
# Continue other builds even if one fails
3030
fail-fast: false
3131
matrix:
32+
exclude-from-full-trick: [ true ]
3233
msvc: [ msvc-2022 ]
3334
# - dbg creates very large debugging files and GHA has limited storage.
3435
# - fastbuild also takes too much storage.
3536
compilation_mode: [ opt ]
36-
shard: [ Core, Compute, AIPlatform, Other ]
37+
shard: [ Core ]
3738
include:
3839
- shard: Core
3940
targets:
40-
- //google/cloud:all
41-
# - //generator/... # Does not build on Windows
42-
# - //docfx/... # Does not build on Windows
43-
- //google/cloud/bigtable/...
44-
- //google/cloud/pubsub/...
45-
- //google/cloud/pubsublite/...
46-
- //google/cloud/spanner/...
4741
- //google/cloud/storage/...
48-
- shard: Compute
49-
targets:
50-
- //google/cloud/compute/...
51-
- shard: AIPlatform
52-
targets:
53-
- //google/cloud/aiplatform/...
54-
- shard: Other
55-
targets:
56-
- //...
57-
# Skip top-level targets (e.g. //:bigtable).
58-
- -//:all
59-
# From Core
60-
- -//google/cloud:all
61-
- -//generator/...
62-
- -//docfx/...
63-
- -//google/cloud/bigtable/...
64-
- -//google/cloud/pubsub/...
65-
- -//google/cloud/pubsublite/...
66-
- -//google/cloud/spanner/...
67-
- -//google/cloud/storage/...
68-
# From Compute
69-
- -//google/cloud/compute/...
70-
# From AIPlatform
71-
- -//google/cloud/aiplatform/...
7242
steps:
7343
- uses: actions/checkout@v4
7444
with:

.github/workflows/windows-cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
matrix:
4040
exclude-from-full-trick: [ true ]
4141
msvc: [ msvc-2022 ]
42-
build_type: [ Debug, Release ]
43-
arch: [ x64, x86 ]
44-
shard: [Core1, Core2, Core3, Core4, Core5, Compute, AIPlatform, Shard1, Shard2, Shard3, Shard4, Other]
42+
build_type: [ Release ]
43+
arch: [ x64 ]
44+
shard: [ Core3, Core4 ]
4545
exclude:
4646
# Also skip shards (Compute and Other) that contain only generated code.
4747
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ extend-exclude = [
3131
"google/cloud/networkconnectivity/v1/policy_based_routing_client.h",
3232
"google/cloud/rapidmigrationassessment/v1/rapid_migration_assessment_client.h",
3333
"google/cloud/resourcemanager/v3/projects_client.h",
34+
"google/cloud/securesourcemanager/v1/secure_source_manager_client.h",
3435
# The tool complains about `FIELDs` :shrug:
3536
"/google/cloud/aiplatform/v1/featurestore_client.h",
3637
# Files with binary blobs in base64 format. These are usually invalidated

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ the APIs in these libraries are stable, and are ready for production use.
1515

1616
### Updated Libraries
1717

18+
- [BigQuery](/google/cloud/bigquery/README.md) - added support for datapolicies/v2
1819
- [ManagedKafka](/google/cloud/managedkafka/README.md) - add schemaregistry to the library
1920

2021
## v2.39.0 - 2025-07

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ python.toolchain(
5555
bazel_dep(name = "googleapis", version = "0.0.0", repo_name = "com_google_googleapis")
5656
archive_override(
5757
module_name = "googleapis",
58-
integrity = "sha256-ZtwaUUok0Q1AQ5O/m8W9YsvfIb2yJ+Roi7uoXKwS3Gg=",
58+
integrity = "sha256-EGb0gE5GntYUBMu5uNFez8u6i5eCh3Oe1C2PTdbLkqY=",
5959
patch_strip = 1,
6060
patches = ["//bazel:googleapis.modules.patch"],
61-
strip_prefix = "googleapis-fecd7d35f46753b45bf4519f6342495a181740c9",
61+
strip_prefix = "googleapis-f6801ce4e1df0541abb8d1e996cb36363c41fb8d",
6262
urls = [
63-
"https://github.com/googleapis/googleapis/archive/fecd7d35f46753b45bf4519f6342495a181740c9.tar.gz",
63+
"https://github.com/googleapis/googleapis/archive/f6801ce4e1df0541abb8d1e996cb36363c41fb8d.tar.gz",
6464
],
6565
)
6666

bazel/workspace0.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def gl_cpp_workspace0(name = None):
126126
http_archive,
127127
name = "com_google_googleapis",
128128
urls = [
129-
"https://github.com/googleapis/googleapis/archive/fecd7d35f46753b45bf4519f6342495a181740c9.tar.gz",
129+
"https://github.com/googleapis/googleapis/archive/f6801ce4e1df0541abb8d1e996cb36363c41fb8d.tar.gz",
130130
],
131-
sha256 = "66dc1a514a24d10d404393bf9bc5bd62cbdf21bdb227e4688bbba85cac12dc68",
132-
strip_prefix = "googleapis-fecd7d35f46753b45bf4519f6342495a181740c9",
131+
sha256 = "1066f4804e469ed61404cbb9b8d15ecfcbba8b978287739ed42d8f4dd6cb92a6",
132+
strip_prefix = "googleapis-f6801ce4e1df0541abb8d1e996cb36363c41fb8d",
133133
build_file = Label("//bazel:googleapis.BUILD"),
134134
# Scaffolding for patching googleapis after download. For example:
135135
# patches = ["googleapis.patch"]
-124 KB
Binary file not shown.

ci/cloudbuild/dockerfiles/demo-alpine-stable.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.20
7777
-DCMAKE_BUILD_TYPE=Release \
7878
-DBUILD_SHARED_LIBS=yes \
7979
-DWITH_EXAMPLES=OFF \
80+
-DWITH_STL=CXX14 \
8081
-DWITH_ABSEIL=ON \
8182
-DBUILD_TESTING=OFF \
8283
-DOPENTELEMETRY_INSTALL=ON \

0 commit comments

Comments
 (0)