Skip to content

Commit 871cdee

Browse files
authored
chore: librarian update image pull request: 20260123T001116Z (#15481)
feat: update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677
1 parent d6af4ab commit 871cdee

File tree

2,662 files changed

+10353
-4439
lines changed

Some content is hidden

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

2,662 files changed

+10353
-4439
lines changed

.librarian/state.yaml

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

packages/google-ads-admanager/google/ads/admanager_v1/services/ad_break_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ def __init__(
8484
be used for service account credentials.
8585
"""
8686

87-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
88-
8987
# Save the scopes.
9088
self._scopes = scopes
9189
if not hasattr(self, "_ignore_credentials"):
@@ -100,11 +98,16 @@ def __init__(
10098

10199
if credentials_file is not None:
102100
credentials, _ = google.auth.load_credentials_from_file(
103-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
101+
credentials_file,
102+
scopes=scopes,
103+
quota_project_id=quota_project_id,
104+
default_scopes=self.AUTH_SCOPES,
104105
)
105106
elif credentials is None and not self._ignore_credentials:
106107
credentials, _ = google.auth.default(
107-
**scopes_kwargs, quota_project_id=quota_project_id
108+
scopes=scopes,
109+
quota_project_id=quota_project_id,
110+
default_scopes=self.AUTH_SCOPES,
108111
)
109112
# Don't apply audience if the credentials file passed from user.
110113
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/ad_review_center_ad_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __init__(
8383
be used for service account credentials.
8484
"""
8585

86-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
87-
8886
# Save the scopes.
8987
self._scopes = scopes
9088
if not hasattr(self, "_ignore_credentials"):
@@ -99,11 +97,16 @@ def __init__(
9997

10098
if credentials_file is not None:
10199
credentials, _ = google.auth.load_credentials_from_file(
102-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
100+
credentials_file,
101+
scopes=scopes,
102+
quota_project_id=quota_project_id,
103+
default_scopes=self.AUTH_SCOPES,
103104
)
104105
elif credentials is None and not self._ignore_credentials:
105106
credentials, _ = google.auth.default(
106-
**scopes_kwargs, quota_project_id=quota_project_id
107+
scopes=scopes,
108+
quota_project_id=quota_project_id,
109+
default_scopes=self.AUTH_SCOPES,
107110
)
108111
# Don't apply audience if the credentials file passed from user.
109112
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/ad_unit_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __init__(
8383
be used for service account credentials.
8484
"""
8585

86-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
87-
8886
# Save the scopes.
8987
self._scopes = scopes
9088
if not hasattr(self, "_ignore_credentials"):
@@ -99,11 +97,16 @@ def __init__(
9997

10098
if credentials_file is not None:
10199
credentials, _ = google.auth.load_credentials_from_file(
102-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
100+
credentials_file,
101+
scopes=scopes,
102+
quota_project_id=quota_project_id,
103+
default_scopes=self.AUTH_SCOPES,
103104
)
104105
elif credentials is None and not self._ignore_credentials:
105106
credentials, _ = google.auth.default(
106-
**scopes_kwargs, quota_project_id=quota_project_id
107+
scopes=scopes,
108+
quota_project_id=quota_project_id,
109+
default_scopes=self.AUTH_SCOPES,
107110
)
108111
# Don't apply audience if the credentials file passed from user.
109112
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/application_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __init__(
8383
be used for service account credentials.
8484
"""
8585

86-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
87-
8886
# Save the scopes.
8987
self._scopes = scopes
9088
if not hasattr(self, "_ignore_credentials"):
@@ -99,11 +97,16 @@ def __init__(
9997

10098
if credentials_file is not None:
10199
credentials, _ = google.auth.load_credentials_from_file(
102-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
100+
credentials_file,
101+
scopes=scopes,
102+
quota_project_id=quota_project_id,
103+
default_scopes=self.AUTH_SCOPES,
103104
)
104105
elif credentials is None and not self._ignore_credentials:
105106
credentials, _ = google.auth.default(
106-
**scopes_kwargs, quota_project_id=quota_project_id
107+
scopes=scopes,
108+
quota_project_id=quota_project_id,
109+
default_scopes=self.AUTH_SCOPES,
107110
)
108111
# Don't apply audience if the credentials file passed from user.
109112
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/audience_segment_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ def __init__(
8686
be used for service account credentials.
8787
"""
8888

89-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
90-
9189
# Save the scopes.
9290
self._scopes = scopes
9391
if not hasattr(self, "_ignore_credentials"):
@@ -102,11 +100,16 @@ def __init__(
102100

103101
if credentials_file is not None:
104102
credentials, _ = google.auth.load_credentials_from_file(
105-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
103+
credentials_file,
104+
scopes=scopes,
105+
quota_project_id=quota_project_id,
106+
default_scopes=self.AUTH_SCOPES,
106107
)
107108
elif credentials is None and not self._ignore_credentials:
108109
credentials, _ = google.auth.default(
109-
**scopes_kwargs, quota_project_id=quota_project_id
110+
scopes=scopes,
111+
quota_project_id=quota_project_id,
112+
default_scopes=self.AUTH_SCOPES,
110113
)
111114
# Don't apply audience if the credentials file passed from user.
112115
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/bandwidth_group_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ def __init__(
8686
be used for service account credentials.
8787
"""
8888

89-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
90-
9189
# Save the scopes.
9290
self._scopes = scopes
9391
if not hasattr(self, "_ignore_credentials"):
@@ -102,11 +100,16 @@ def __init__(
102100

103101
if credentials_file is not None:
104102
credentials, _ = google.auth.load_credentials_from_file(
105-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
103+
credentials_file,
104+
scopes=scopes,
105+
quota_project_id=quota_project_id,
106+
default_scopes=self.AUTH_SCOPES,
106107
)
107108
elif credentials is None and not self._ignore_credentials:
108109
credentials, _ = google.auth.default(
109-
**scopes_kwargs, quota_project_id=quota_project_id
110+
scopes=scopes,
111+
quota_project_id=quota_project_id,
112+
default_scopes=self.AUTH_SCOPES,
110113
)
111114
# Don't apply audience if the credentials file passed from user.
112115
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/browser_language_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ def __init__(
8686
be used for service account credentials.
8787
"""
8888

89-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
90-
9189
# Save the scopes.
9290
self._scopes = scopes
9391
if not hasattr(self, "_ignore_credentials"):
@@ -102,11 +100,16 @@ def __init__(
102100

103101
if credentials_file is not None:
104102
credentials, _ = google.auth.load_credentials_from_file(
105-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
103+
credentials_file,
104+
scopes=scopes,
105+
quota_project_id=quota_project_id,
106+
default_scopes=self.AUTH_SCOPES,
106107
)
107108
elif credentials is None and not self._ignore_credentials:
108109
credentials, _ = google.auth.default(
109-
**scopes_kwargs, quota_project_id=quota_project_id
110+
scopes=scopes,
111+
quota_project_id=quota_project_id,
112+
default_scopes=self.AUTH_SCOPES,
110113
)
111114
# Don't apply audience if the credentials file passed from user.
112115
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/browser_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __init__(
8383
be used for service account credentials.
8484
"""
8585

86-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
87-
8886
# Save the scopes.
8987
self._scopes = scopes
9088
if not hasattr(self, "_ignore_credentials"):
@@ -99,11 +97,16 @@ def __init__(
9997

10098
if credentials_file is not None:
10199
credentials, _ = google.auth.load_credentials_from_file(
102-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
100+
credentials_file,
101+
scopes=scopes,
102+
quota_project_id=quota_project_id,
103+
default_scopes=self.AUTH_SCOPES,
103104
)
104105
elif credentials is None and not self._ignore_credentials:
105106
credentials, _ = google.auth.default(
106-
**scopes_kwargs, quota_project_id=quota_project_id
107+
scopes=scopes,
108+
quota_project_id=quota_project_id,
109+
default_scopes=self.AUTH_SCOPES,
107110
)
108111
# Don't apply audience if the credentials file passed from user.
109112
if hasattr(credentials, "with_gdch_audience"):

packages/google-ads-admanager/google/ads/admanager_v1/services/cms_metadata_key_service/transports/base.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ def __init__(
8686
be used for service account credentials.
8787
"""
8888

89-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
90-
9189
# Save the scopes.
9290
self._scopes = scopes
9391
if not hasattr(self, "_ignore_credentials"):
@@ -102,11 +100,16 @@ def __init__(
102100

103101
if credentials_file is not None:
104102
credentials, _ = google.auth.load_credentials_from_file(
105-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
103+
credentials_file,
104+
scopes=scopes,
105+
quota_project_id=quota_project_id,
106+
default_scopes=self.AUTH_SCOPES,
106107
)
107108
elif credentials is None and not self._ignore_credentials:
108109
credentials, _ = google.auth.default(
109-
**scopes_kwargs, quota_project_id=quota_project_id
110+
scopes=scopes,
111+
quota_project_id=quota_project_id,
112+
default_scopes=self.AUTH_SCOPES,
110113
)
111114
# Don't apply audience if the credentials file passed from user.
112115
if hasattr(credentials, "with_gdch_audience"):

0 commit comments

Comments
 (0)