Skip to content

Create helper methods for file-level resources  #255

@software-dov

Description

@software-dov

Proto annotations allows for resources to be described at the file level instead of being a method option.

E.g.

// Define a "User" resource owned by OS Login.
option (google.api.resource_definition) = {
  type: "oslogin.googleapis.com/User"
  pattern: "users/{user}"
};

These resources also need generated helper methods.

Metadata

Metadata

Assignees

Labels

generatorBugs, features, and so forth pertaining to the generated client surfacepriority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions