Skip to content

Commit ffb59df

Browse files
authored
Merge branch 'main' into update-changelog
2 parents 97176e5 + 35069f7 commit ffb59df

File tree

69 files changed

+2557
-6902
lines changed

Some content is hidden

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

69 files changed

+2557
-6902
lines changed

.generator/Dockerfile

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -138,38 +138,6 @@ RUN apt-get update && \
138138
&& apt-get clean && \
139139
rm -rf /var/lib/apt/lists/*
140140

141-
# Create the group and user, but only if they don't already exist.
142-
# NOTE: A user needs to be configured by passing down the UID/GID with the
143-
# docker build command to allow the user running the librarian CLI to have
144-
# the permissions within the /app and /bazel_cache directories in the following way:
145-
# DOCKER_BUILDKIT=1 docker build -f .generator/Dockerfile --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t python-librarian-generator:latest .
146-
ARG UID=1000
147-
ARG GID=1000
148-
149-
RUN if ! getent group $GID > /dev/null; then \
150-
groupadd -g $GID myuser; \
151-
fi && \
152-
if ! getent passwd $UID > /dev/null; then \
153-
useradd -u $UID -g $GID -ms /bin/bash myuser; \
154-
fi
155-
156-
# 2025/08/05 08:27:44 could not create directory /.cache/bazelisk: mkdir /.cache: permission denied
157-
# Traceback (most recent call last):
158-
# File "/app/./cli.py", line 147, in _build_bazel_target
159-
# subprocess.run(
160-
# File "/usr/local/lib/python3.9/subprocess.py", line 528, in run
161-
# raise CalledProcessError(retcode, process.args,
162-
# subprocess.CalledProcessError: Command '['bazelisk', '--output_base=/bazel_cache/_bazel_ubuntu/output_base', 'build', '--disk_cache=/bazel_cache/_bazel_ubuntu/cache/repos', '--incompatible_strict_action_env', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1
163-
# We'll point both to the /bazel_cache directory which will be mounted as a volume.
164-
ENV BAZELISK_HOME="/bazel_cache/bazelisk"
165-
ENV BAZEL_HOME="/bazel_cache/bazel"
166-
RUN mkdir -p ${BAZEL_HOME}/_bazel_ubuntu/cache/repos \
167-
${BAZEL_HOME}/_bazel_ubuntu/output_base \
168-
${BAZELISK_HOME} && \
169-
chown -R $UID:$GID ${BAZEL_HOME} ${BAZELISK_HOME}
170-
171-
USER $UID
172-
173141
# Copy all Python interpreters, their pip executables, and their standard libraries from the builder.
174142
COPY --from=builder /usr/local/bin/python3.9 /usr/local/bin/
175143
COPY --from=builder /usr/local/lib/python3.9 /usr/local/lib/python3.9
@@ -190,7 +158,8 @@ COPY --from=builder /usr/local/lib/python3.13 /usr/local/lib/python3.13
190158
COPY --from=builder /usr/local/bin/bazelisk /usr/local/bin/
191159

192160
# Copy bazel cache from the builder.
193-
COPY --from=builder --chown=$UID:$GID /bazel_cache /bazel_cache
161+
COPY --from=builder /bazel_cache /bazel_cache
162+
RUN chmod -R 777 /bazel_cache
194163

195164
# Set the working directory in the container.
196165
WORKDIR /app
@@ -207,7 +176,7 @@ bazel_env/bin/python3.9 -m pip install /tmp/synthtool nox && \
207176
rm -rf /tmp/synthtool
208177

209178
# Copy the CLI script into the container.
210-
COPY --chown=$UID:$GID .generator/cli.py .
179+
COPY .generator/cli.py .
211180
RUN chmod a+rx ./cli.py
212181

213182
ENTRYPOINT ["python3.9", "./cli.py"]

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: python-librarian-generator:latest
1+
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator:latest
22
libraries:
33
- id: google-cloud-language
44
version: 2.17.2

cloudbuild-exitgate.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# TODO(https://github.com/googleapis/google-cloud-python/issues/14142):
16+
# Reduce this timeout by moving the installation of Python runtimes to a separate base image
17+
timeout: 7200s # 2 hours for the first uncached run, can be lowered later.
18+
steps:
19+
- name: 'gcr.io/cloud-builders/docker'
20+
args: ['build','-f', '.generator/Dockerfile', '-t', 'us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator', '.']
21+
images:
22+
- 'us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator'
23+
options:
24+
logging: CLOUD_LOGGING_ONLY
25+
machineType: E2_HIGHCPU_32

cloudbuild.yaml renamed to cloudbuild-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ steps:
2424
# Specifies the build context directory
2525
- '--context=.'
2626
# The final destination for the image
27-
- '--destination=us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator:latest'
27+
- '--destination=gcr.io/$PROJECT_ID/python-librarian-generator:latest'
2828
# Enables Kaniko's remote registry caching
2929
- '--cache=true'
3030
# (Optional but recommended) Sets a time-to-live for cache layers
@@ -33,5 +33,5 @@ steps:
3333
# The 'images' section is no longer needed because Kaniko pushes the image itself.
3434

3535
options:
36-
logging: CLOUD_LOGGING_ONLY
36+
default_logs_bucket_behavior: REGIONAL_USER_OWNED_BUCKET
3737
machineType: E2_HIGHCPU_32

packages/google-analytics-admin/google/analytics/admin/__init__.py

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
CreateBigQueryLinkRequest,
6868
CreateCalculatedMetricRequest,
6969
CreateChannelGroupRequest,
70-
CreateConnectedSiteTagRequest,
71-
CreateConnectedSiteTagResponse,
7270
CreateConversionEventRequest,
7371
CreateCustomDimensionRequest,
7472
CreateCustomMetricRequest,
@@ -96,7 +94,6 @@
9694
DeleteBigQueryLinkRequest,
9795
DeleteCalculatedMetricRequest,
9896
DeleteChannelGroupRequest,
99-
DeleteConnectedSiteTagRequest,
10097
DeleteConversionEventRequest,
10198
DeleteDataStreamRequest,
10299
DeleteDisplayVideo360AdvertiserLinkProposalRequest,
@@ -114,10 +111,6 @@
114111
DeleteSearchAds360LinkRequest,
115112
DeleteSKAdNetworkConversionValueSchemaRequest,
116113
DeleteSubpropertyEventFilterRequest,
117-
FetchAutomatedGa4ConfigurationOptOutRequest,
118-
FetchAutomatedGa4ConfigurationOptOutResponse,
119-
FetchConnectedGa4PropertyRequest,
120-
FetchConnectedGa4PropertyResponse,
121114
GetAccessBindingRequest,
122115
GetAccountRequest,
123116
GetAdSenseLinkRequest,
@@ -145,6 +138,7 @@
145138
GetMeasurementProtocolSecretRequest,
146139
GetPropertyRequest,
147140
GetReportingDataAnnotationRequest,
141+
GetReportingIdentitySettingsRequest,
148142
GetRollupPropertySourceLinkRequest,
149143
GetSearchAds360LinkRequest,
150144
GetSKAdNetworkConversionValueSchemaRequest,
@@ -166,8 +160,6 @@
166160
ListCalculatedMetricsResponse,
167161
ListChannelGroupsRequest,
168162
ListChannelGroupsResponse,
169-
ListConnectedSiteTagsRequest,
170-
ListConnectedSiteTagsResponse,
171163
ListConversionEventsRequest,
172164
ListConversionEventsResponse,
173165
ListCustomDimensionsRequest,
@@ -217,8 +209,6 @@
217209
RunAccessReportResponse,
218210
SearchChangeHistoryEventsRequest,
219211
SearchChangeHistoryEventsResponse,
220-
SetAutomatedGa4ConfigurationOptOutRequest,
221-
SetAutomatedGa4ConfigurationOptOutResponse,
222212
SubmitUserDeletionRequest,
223213
SubmitUserDeletionResponse,
224214
UpdateAccessBindingRequest,
@@ -295,7 +285,6 @@
295285
ChangeHistoryEvent,
296286
ChangeHistoryResourceType,
297287
CoarseValue,
298-
ConnectedSiteTag,
299288
ConversionEvent,
300289
ConversionValues,
301290
CustomDimension,
@@ -325,6 +314,7 @@
325314
PropertySummary,
326315
PropertyType,
327316
ReportingDataAnnotation,
317+
ReportingIdentitySettings,
328318
RollupPropertySourceLink,
329319
SearchAds360Link,
330320
ServiceLevel,
@@ -382,8 +372,6 @@
382372
"CreateBigQueryLinkRequest",
383373
"CreateCalculatedMetricRequest",
384374
"CreateChannelGroupRequest",
385-
"CreateConnectedSiteTagRequest",
386-
"CreateConnectedSiteTagResponse",
387375
"CreateConversionEventRequest",
388376
"CreateCustomDimensionRequest",
389377
"CreateCustomMetricRequest",
@@ -411,7 +399,6 @@
411399
"DeleteBigQueryLinkRequest",
412400
"DeleteCalculatedMetricRequest",
413401
"DeleteChannelGroupRequest",
414-
"DeleteConnectedSiteTagRequest",
415402
"DeleteConversionEventRequest",
416403
"DeleteDataStreamRequest",
417404
"DeleteDisplayVideo360AdvertiserLinkProposalRequest",
@@ -429,10 +416,6 @@
429416
"DeleteSearchAds360LinkRequest",
430417
"DeleteSKAdNetworkConversionValueSchemaRequest",
431418
"DeleteSubpropertyEventFilterRequest",
432-
"FetchAutomatedGa4ConfigurationOptOutRequest",
433-
"FetchAutomatedGa4ConfigurationOptOutResponse",
434-
"FetchConnectedGa4PropertyRequest",
435-
"FetchConnectedGa4PropertyResponse",
436419
"GetAccessBindingRequest",
437420
"GetAccountRequest",
438421
"GetAdSenseLinkRequest",
@@ -460,6 +443,7 @@
460443
"GetMeasurementProtocolSecretRequest",
461444
"GetPropertyRequest",
462445
"GetReportingDataAnnotationRequest",
446+
"GetReportingIdentitySettingsRequest",
463447
"GetRollupPropertySourceLinkRequest",
464448
"GetSearchAds360LinkRequest",
465449
"GetSKAdNetworkConversionValueSchemaRequest",
@@ -481,8 +465,6 @@
481465
"ListCalculatedMetricsResponse",
482466
"ListChannelGroupsRequest",
483467
"ListChannelGroupsResponse",
484-
"ListConnectedSiteTagsRequest",
485-
"ListConnectedSiteTagsResponse",
486468
"ListConversionEventsRequest",
487469
"ListConversionEventsResponse",
488470
"ListCustomDimensionsRequest",
@@ -532,8 +514,6 @@
532514
"RunAccessReportResponse",
533515
"SearchChangeHistoryEventsRequest",
534516
"SearchChangeHistoryEventsResponse",
535-
"SetAutomatedGa4ConfigurationOptOutRequest",
536-
"SetAutomatedGa4ConfigurationOptOutResponse",
537517
"SubmitUserDeletionRequest",
538518
"SubmitUserDeletionResponse",
539519
"UpdateAccessBindingRequest",
@@ -596,7 +576,6 @@
596576
"CalculatedMetric",
597577
"ChangeHistoryChange",
598578
"ChangeHistoryEvent",
599-
"ConnectedSiteTag",
600579
"ConversionEvent",
601580
"ConversionValues",
602581
"CustomDimension",
@@ -620,6 +599,7 @@
620599
"Property",
621600
"PropertySummary",
622601
"ReportingDataAnnotation",
602+
"ReportingIdentitySettings",
623603
"RollupPropertySourceLink",
624604
"SearchAds360Link",
625605
"SKAdNetworkConversionValueSchema",

packages/google-analytics-admin/google/analytics/admin/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.24.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-analytics-admin/google/analytics/admin_v1alpha/__init__.py

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@
6565
CreateBigQueryLinkRequest,
6666
CreateCalculatedMetricRequest,
6767
CreateChannelGroupRequest,
68-
CreateConnectedSiteTagRequest,
69-
CreateConnectedSiteTagResponse,
7068
CreateConversionEventRequest,
7169
CreateCustomDimensionRequest,
7270
CreateCustomMetricRequest,
@@ -94,7 +92,6 @@
9492
DeleteBigQueryLinkRequest,
9593
DeleteCalculatedMetricRequest,
9694
DeleteChannelGroupRequest,
97-
DeleteConnectedSiteTagRequest,
9895
DeleteConversionEventRequest,
9996
DeleteDataStreamRequest,
10097
DeleteDisplayVideo360AdvertiserLinkProposalRequest,
@@ -112,10 +109,6 @@
112109
DeleteSearchAds360LinkRequest,
113110
DeleteSKAdNetworkConversionValueSchemaRequest,
114111
DeleteSubpropertyEventFilterRequest,
115-
FetchAutomatedGa4ConfigurationOptOutRequest,
116-
FetchAutomatedGa4ConfigurationOptOutResponse,
117-
FetchConnectedGa4PropertyRequest,
118-
FetchConnectedGa4PropertyResponse,
119112
GetAccessBindingRequest,
120113
GetAccountRequest,
121114
GetAdSenseLinkRequest,
@@ -143,6 +136,7 @@
143136
GetMeasurementProtocolSecretRequest,
144137
GetPropertyRequest,
145138
GetReportingDataAnnotationRequest,
139+
GetReportingIdentitySettingsRequest,
146140
GetRollupPropertySourceLinkRequest,
147141
GetSearchAds360LinkRequest,
148142
GetSKAdNetworkConversionValueSchemaRequest,
@@ -164,8 +158,6 @@
164158
ListCalculatedMetricsResponse,
165159
ListChannelGroupsRequest,
166160
ListChannelGroupsResponse,
167-
ListConnectedSiteTagsRequest,
168-
ListConnectedSiteTagsResponse,
169161
ListConversionEventsRequest,
170162
ListConversionEventsResponse,
171163
ListCustomDimensionsRequest,
@@ -215,8 +207,6 @@
215207
RunAccessReportResponse,
216208
SearchChangeHistoryEventsRequest,
217209
SearchChangeHistoryEventsResponse,
218-
SetAutomatedGa4ConfigurationOptOutRequest,
219-
SetAutomatedGa4ConfigurationOptOutResponse,
220210
SubmitUserDeletionRequest,
221211
SubmitUserDeletionResponse,
222212
UpdateAccessBindingRequest,
@@ -293,7 +283,6 @@
293283
ChangeHistoryEvent,
294284
ChangeHistoryResourceType,
295285
CoarseValue,
296-
ConnectedSiteTag,
297286
ConversionEvent,
298287
ConversionValues,
299288
CustomDimension,
@@ -323,6 +312,7 @@
323312
PropertySummary,
324313
PropertyType,
325314
ReportingDataAnnotation,
315+
ReportingIdentitySettings,
326316
RollupPropertySourceLink,
327317
SearchAds360Link,
328318
ServiceLevel,
@@ -400,7 +390,6 @@
400390
"ChannelGroupFilterExpression",
401391
"ChannelGroupFilterExpressionList",
402392
"CoarseValue",
403-
"ConnectedSiteTag",
404393
"ConversionEvent",
405394
"ConversionValues",
406395
"CreateAccessBindingRequest",
@@ -409,8 +398,6 @@
409398
"CreateBigQueryLinkRequest",
410399
"CreateCalculatedMetricRequest",
411400
"CreateChannelGroupRequest",
412-
"CreateConnectedSiteTagRequest",
413-
"CreateConnectedSiteTagResponse",
414401
"CreateConversionEventRequest",
415402
"CreateCustomDimensionRequest",
416403
"CreateCustomMetricRequest",
@@ -444,7 +431,6 @@
444431
"DeleteBigQueryLinkRequest",
445432
"DeleteCalculatedMetricRequest",
446433
"DeleteChannelGroupRequest",
447-
"DeleteConnectedSiteTagRequest",
448434
"DeleteConversionEventRequest",
449435
"DeleteDataStreamRequest",
450436
"DeleteDisplayVideo360AdvertiserLinkProposalRequest",
@@ -472,10 +458,6 @@
472458
"ExpandedDataSetFilter",
473459
"ExpandedDataSetFilterExpression",
474460
"ExpandedDataSetFilterExpressionList",
475-
"FetchAutomatedGa4ConfigurationOptOutRequest",
476-
"FetchAutomatedGa4ConfigurationOptOutResponse",
477-
"FetchConnectedGa4PropertyRequest",
478-
"FetchConnectedGa4PropertyResponse",
479461
"FirebaseLink",
480462
"GetAccessBindingRequest",
481463
"GetAccountRequest",
@@ -504,6 +486,7 @@
504486
"GetMeasurementProtocolSecretRequest",
505487
"GetPropertyRequest",
506488
"GetReportingDataAnnotationRequest",
489+
"GetReportingIdentitySettingsRequest",
507490
"GetRollupPropertySourceLinkRequest",
508491
"GetSKAdNetworkConversionValueSchemaRequest",
509492
"GetSearchAds360LinkRequest",
@@ -536,8 +519,6 @@
536519
"ListCalculatedMetricsResponse",
537520
"ListChannelGroupsRequest",
538521
"ListChannelGroupsResponse",
539-
"ListConnectedSiteTagsRequest",
540-
"ListConnectedSiteTagsResponse",
541522
"ListConversionEventsRequest",
542523
"ListConversionEventsResponse",
543524
"ListCustomDimensionsRequest",
@@ -592,6 +573,7 @@
592573
"ProvisionSubpropertyResponse",
593574
"ReorderEventEditRulesRequest",
594575
"ReportingDataAnnotation",
576+
"ReportingIdentitySettings",
595577
"RollupPropertySourceLink",
596578
"RunAccessReportRequest",
597579
"RunAccessReportResponse",
@@ -600,8 +582,6 @@
600582
"SearchChangeHistoryEventsRequest",
601583
"SearchChangeHistoryEventsResponse",
602584
"ServiceLevel",
603-
"SetAutomatedGa4ConfigurationOptOutRequest",
604-
"SetAutomatedGa4ConfigurationOptOutResponse",
605585
"SubmitUserDeletionRequest",
606586
"SubmitUserDeletionResponse",
607587
"SubpropertyEventFilter",

0 commit comments

Comments
 (0)