Skip to content

surfer: Support complex mappings between API methods and gcloud commands #3417

@quirogas

Description

@quirogas

The current generator assumes a straightforward mapping between a single API method and a gcloud command verb. However, gcloud conventions sometimes require multiple methods to map to a single command.

Context & Rationale

Implementation Considerations

  • Partial Management: Ensure that _partials files for different tracks are correctly managed when multiple methods are involved.

Relevant files

  • internal/surfer/gcloud/generate.go
  • internal/surfer/gcloud/utils/method.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    surferIssues related to the surfer project (https://github.com/googleapis/librarian/issues/2375)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions