Skip to content

Update logging.list_entries to use the resourceNames field #2864

Description

@jgeewax

It looks like projectIds was deprecated -- not sure when, but appears so (see https://cloud.google.com/logging/docs/api/reference/rest/v2/entries/list). It'll still work, so we're not in any major time crunch here, but we should swap out to using the resourceNames field when sending stuff to the API.

Ideally, this method would accept both projects, organizations, and generic resources. projects would just be prefixed with projects/, same for organizations, and resources just appended to the list of resource names where we assume that the person understands the format.

If we're going to swap the order of the parameters (ie, put organizations after projects) then this might be considered a breaking change :(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions