Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use google-cloud-logging >= 3.0 #26

Closed
wants to merge 3 commits into from
Closed

Conversation

jchapian
Copy link
Contributor

Overview
This PR adds support for google-cloud-logging >= 3.0... This will transitively require google-api-core>=2.0. The primary changes are as follows:

  • logging_client.list_entries no longer has a projects argument... It now accepts a list of resources. Internally if resources is not provided, it will default to [f'projects/{self.project_id}'] which is the project_id associated with the client. We make use of this argument, so behavior should be 1:1 to what we are doing now (for multi and single project cases.)
  • list_entries now pages for you in both the http logging_api and the gapic logging_api.

@jchapian jchapian closed this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant