Skip to content

Compute generation is blocked. Maybe a conflicting model mapping for discovery. #6960

Open

Description

@dbolduc

See: #6954 (comment)

It looks like we are trying to define a service and a message with the same name in the same namespace.

This is probably disallowed in proto but allowed by discovery + our mapping of resources to services.

We probably want to intercept the service (somewhere) and append Service to its name.

Activity

  1. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    on Sep 23, 2026
  2. added
    api: computeIssues related to the Compute Engine API.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Sep 23, 2026
  3. coryan commented on Sep 24, 2026

    @coryan
    Contributor

    This is probably disallowed in proto but allowed by discovery + our mapping of resources to services.

    I think discovery service names are cameCase and we convert them to PascalCase.... in any case, the idea of using a module (in snake_case) for both is ours.

    We should look into which one of the two is new, and try to preserve the old name.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: computeIssues related to the Compute Engine API.priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions