Skip to content

Commit daf9c98

Browse files
Google APIscopybara-github
authored andcommitted
feat: add resource type to ChannelPartnerLink
PiperOrigin-RevId: 405947781
1 parent 3792423 commit daf9c98

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/channel/v1/channel_partner_links.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ syntax = "proto3";
1717
package google.cloud.channel.v1;
1818

1919
import "google/api/field_behavior.proto";
20+
import "google/api/resource.proto";
2021
import "google/cloud/channel/v1/common.proto";
2122
import "google/protobuf/timestamp.proto";
2223
import "google/api/annotations.proto";
@@ -62,6 +63,11 @@ enum ChannelPartnerLinkState {
6263
// Entity representing a link between distributors and their indirect
6364
// resellers in an n-tier resale channel.
6465
message ChannelPartnerLink {
66+
option (google.api.resource) = {
67+
type: "cloudchannel.googleapis.com/ChannelPartnerLink"
68+
pattern: "accounts/{account}/channelPartnerLinks/{channel_partner_link}"
69+
};
70+
6571
// Output only. Resource name for the channel partner link, in the format
6672
// accounts/{account_id}/channelPartnerLinks/{id}.
6773
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

0 commit comments

Comments
 (0)