FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add system test for 'Client.metric' / 'Metric.create'. by tseaver · Pull Request #1610 · googleapis/google-cloud-python · GitHub

Add system test for 'Client.metric' / 'Metric.create'. - #1610

Merged
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_test-metric_create
Mar 18, 2016
Merged

Add system test for 'Client.metric' / 'Metric.create'.#1610
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_test-metric_create

Conversation

tseaver commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

Uses #1609 as a base.

tseaver added the api: logging Issues related to the Cloud Logging API. label Mar 15, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 15, 2016
tseaver self-assigned this Mar 17, 2016

tseaver commented Mar 17, 2016

Copy link
Copy Markdown
Contributor Author

@dhermes Rebased after merging #1609 into the logging-api branch. PTAL

tseaver assigned dhermes and unassigned tseaver Mar 17, 2016

dhermes commented Mar 18, 2016

Copy link
Copy Markdown
Contributor

LGTM

tseaver added a commit that referenced this pull request Mar 18, 2016
Add system test for 'Client.metric' / 'Metric.create'.
tseaver merged commit 93443d1 into googleapis:logging-api Mar 18, 2016
tseaver deleted the logging-system_test-metric_create branch March 18, 2016 23:04
parthea added a commit that referenced this pull request Mar 2, 2026
Currently, `google.auth.default()` always attempts to authenticate using
the Google Compute Engine (GCE) metadata service as a fallback. There is
no easy way to prevent this behavior, leading to unnecessary delays and
unhelpful exceptions, particularly in cases where GCE-based
authentication is pointless or undesired.

This pull request introduces a `NO_GCE_CHECK` environment variable,
allowing users to explicitly skip GCE metadata service authentication.
This implementation mirrors `NO_GCE_CHECK` in
[googleapis/google-auth-library-java](https://github.com/googleapis/google-auth-library-java/blob/f154edb3d8503d29f0020b6904dfa40e034ded93/README.md?plain=1#L106-L119):

> _The following are searched (in order) to find the Application Default
Credentials:_
>
> [...]
>
> 5. Google Compute Engine built-in credentials
> - Skip this check by setting the environment variable
`NO_GCE_CHECK=true`

> [!NOTE]
> Other clouds also provide similar environment variables, such as
`AWS_EC2_METADATA_DISABLED` on AWS.

This change is also tangentially related to the following pull requests:
- googleapis/google-auth-library-python#1488
- googleapis/google-auth-library-python#1481

---------

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
parthea pushed a commit that referenced this pull request Mar 2, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v1.0.1
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
<details><summary>google-auth: 2.48.0</summary>

##
[2.48.0](googleapis/google-auth-library-python@v2.47.0...v2.48.0)
(2026-01-21)

### Features

* honor `NO_GCE_CHECK` environment variable (#1610)
([383c9827](googleapis/google-auth-library-python@383c9827))

* add configurable GCE Metadata Server retries (#1488)
([454b441b](googleapis/google-auth-library-python@454b441b))

* add cryptography as required dependency (#1929)
([52558ae2](googleapis/google-auth-library-python@52558ae2))

* Support the mTLS IAM domain for Certificate based Access (#1938)
([8dcf91a1](googleapis/google-auth-library-python@8dcf91a1))

### Bug Fixes

* resolve circular imports (#1942)
([25c1b064](googleapis/google-auth-library-python@25c1b064))

* Use `user_verification=preferred` for ReAuth WebAuthn challenge
(#1798)
([3f88a240](googleapis/google-auth-library-python@3f88a240))

* removes `content-header` from AWS IMDS get request (#1934)
([97bfea9e](googleapis/google-auth-library-python@97bfea9e))

* detect correct auth when ADC env var is set but empty (#1374)
([bfc07e10](googleapis/google-auth-library-python@bfc07e10))

* replace deprecated utcfromtimestamp (#1799)
([e431f20c](googleapis/google-auth-library-python@e431f20c))

</details>
parthea pushed a commit that referenced this pull request Apr 1, 2026
* deps: remove parsy dependency

We do not need to specify ibis types as strings.

* remove an instance of cast via string

* remove another hidden instance of string to cast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL