Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for ~ separated resource names #449

@nwbirnie

Description

@nwbirnie

In ads API, we use resource names which contain ~ to delimit multiple IDs in a path segment. For example:

message AdGroupAd {
  option (google.api.resource) = {
    type: "googleads.googleapis.com/AdGroupAd"
    pattern: "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}"
  };

The current microgenerator implementation doesn't appear to support this, and instead just generates a single param in its place.

Link to protos: http://shortn/_zIPrXkqkoU

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions