Skip to content

Commit

Permalink
fix!: ListSubscription overloaded method parameters changed from `p…
Browse files Browse the repository at this point in the history
…age_size,page_token,filter` to just `filter` in some languages

docs: A comment for message `Subscription` is changed
docs: A comment for field `target_resource` in message `.google.apps.events.subscriptions.v1.Subscription` is changed
docs: A comment for field `event_types` in message `.google.apps.events.subscriptions.v1.Subscription` is changed

PiperOrigin-RevId: 613683510
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 7, 2024
1 parent 3ad1aad commit a09d145
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions google/apps/events/subscriptions/v1/subscription_resource.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ option (google.api.resource_definition) = {

// A subscription to receive events about a Google Workspace resource. To learn
// more about subscriptions, see the [Google Workspace Events API
// overview](https://developers.google.com/workspace/events/guides).
// overview](https://developers.google.com/workspace/events).
message Subscription {
option (google.api.resource) = {
type: "workspaceevents.googleapis.com/Subscription"
Expand Down Expand Up @@ -155,8 +155,9 @@ message Subscription {
// Required. Immutable. The Google Workspace resource that's monitored for
// events, formatted as the [full resource
// name](https://google.aip.dev/122#full-resource-names). To learn about
// target resources, see [Supported Google Workspace
// resources](https://developers.google.com/workspace/events/guides#supported-resources).
// target resources and the events that they support, see [Supported Google
// Workspace
// events](https://developers.google.com/workspace/events#supported-events).
//
// A user can only authorize your app to create one subscription for a given
// target resource. If your app tries to create another subscription with the
Expand All @@ -171,12 +172,9 @@ message Subscription {
// Otherwise, output only. One or more types of events to receive about the
// target resource. Formatted according to the CloudEvents specification.
//
// For a list of supported event types, see the following documentation:
//
// * [Google Chat
// events](https://developers.google.com/workspace/events/guides/events-chat)
// * [Google Meet
// events](https://developers.google.com/workspace/events/guides/events-meet)
// The supported event types depend on the target resource of your
// subscription. For details, see [Supported Google Workspace
// events](https://developers.google.com/workspace/events/guides#supported-events).
//
// By default, you also receive events about the [lifecycle of your
// subscription](https://developers.google.com/workspace/events/guides/events-lifecycle).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ service SubscriptionsService {
option (google.api.http) = {
get: "/v1/subscriptions"
};
option (google.api.method_signature) = "page_size, page_token, filter";
option (google.api.method_signature) = "filter";
}

// Updates or renews a Google Workspace subscription. To learn how to use this
Expand Down

0 comments on commit a09d145

Please sign in to comment.