Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: add resource type to ChannelPartnerLink (#103)
Browse files Browse the repository at this point in the history
* feat: add resource type to ChannelPartnerLink

PiperOrigin-RevId: 405947781

Source-Link: googleapis/googleapis@daf9c98

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d84824c78563d59b0e58d5664bfaa430e9ad7e7a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDg0ODI0Yzc4NTYzZDU5YjBlNThkNTY2NGJmYWE0MzBlOWFkN2U3YSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 27, 2021
1 parent c8c2740 commit f8d5b31
Show file tree
Hide file tree
Showing 6 changed files with 1,289 additions and 1,170 deletions.
6 changes: 6 additions & 0 deletions protos/google/cloud/channel/v1/channel_partner_links.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ syntax = "proto3";
package google.cloud.channel.v1;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/channel/v1/common.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";
Expand Down Expand Up @@ -62,6 +63,11 @@ enum ChannelPartnerLinkState {
// Entity representing a link between distributors and their indirect
// resellers in an n-tier resale channel.
message ChannelPartnerLink {
option (google.api.resource) = {
type: "cloudchannel.googleapis.com/ChannelPartnerLink"
pattern: "accounts/{account}/channelPartnerLinks/{channel_partner_link}"
};

// Output only. Resource name for the channel partner link, in the format
// accounts/{account_id}/channelPartnerLinks/{id}.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down
Loading

0 comments on commit f8d5b31

Please sign in to comment.