google-apps-events-subscriptions-v1beta 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 145f008bbf54a981eb2339a060f1234f0699393d018cc8f9f86131cc43061ba5
|
|
4
|
+
data.tar.gz: a093c9a2cc53575daf6de6663fbb1474cf24c3f9000e328a0c1005fc9736993e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1884904dc79641546258218ab0e6dcb8f92f0c26ed2d43ba0dc14a4504233b6f376364ab1e0431ba43069f9da8ac73dc8f3c62e806f513d78d7ee62c55b74f8e
|
|
7
|
+
data.tar.gz: d9e62f03a372f7980425bab0b5bc191ff51f724b5660d155181494ccefa9f4cf0291a1a43bb6320a1174db2b4bf596698e6453a8fcdc9c2a1c8ca551052f80d1
|
|
@@ -14,32 +14,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
14
14
|
|
|
15
15
|
descriptor_data = "\nCgoogle/apps/events/subscriptions/v1beta/subscription_resource.proto\x12\'google.apps.events.subscriptions.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\n\n\x0cSubscription\x12`\n\rdrive_options\x18\x14 \x01(\x0b\x32\x42.google.apps.events.subscriptions.v1beta.Subscription.DriveOptionsB\x03\xe0\x41\x01H\x00\x12\x36\n\x0b\x65xpire_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x07H\x01\x12-\n\x03ttl\x18\x0e \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x01\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12%\n\x0ftarget_resource\x18\x04 \x01(\tB\x0c\xe0\x41\x05\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x1b\n\x0b\x65vent_types\x18\x05 \x03(\tB\x06\xe0\x41\x02\xe0\x41\x06\x12U\n\x0fpayload_options\x18\x06 \x01(\x0b\x32\x37.google.apps.events.subscriptions.v1beta.PayloadOptionsB\x03\xe0\x41\x01\x12\x64\n\x15notification_endpoint\x18\x07 \x01(\x0b\x32=.google.apps.events.subscriptions.v1beta.NotificationEndpointB\x06\xe0\x41\x02\xe0\x41\x05\x12O\n\x05state\x18\x08 \x01(\x0e\x32;.google.apps.events.subscriptions.v1beta.Subscription.StateB\x03\xe0\x41\x03\x12_\n\x11suspension_reason\x18\x12 \x01(\x0e\x32?.google.apps.events.subscriptions.v1beta.Subscription.ErrorTypeB\x03\xe0\x41\x03\x12<\n\tauthority\x18\n \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudidentity.googleapis.com/User\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x11 \x01(\tB\x03\xe0\x41\x01\x1a\x33\n\x0c\x44riveOptions\x12#\n\x13include_descendants\x18\x01 \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x05\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\r\n\tSUSPENDED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"\xd9\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12USER_SCOPE_REVOKED\x10\x01\x12\x14\n\x10RESOURCE_DELETED\x10\x02\x12\x1e\n\x1aUSER_AUTHORIZATION_FAILURE\x10\x03\x12\x1e\n\x1a\x45NDPOINT_PERMISSION_DENIED\x10\x04\x12\x16\n\x12\x45NDPOINT_NOT_FOUND\x10\x06\x12\x1f\n\x1b\x45NDPOINT_RESOURCE_EXHAUSTED\x10\x07\x12\t\n\x05OTHER\x10\x05:n\xea\x41k\n+workspaceevents.googleapis.com/Subscription\x12\x1csubscriptions/{subscription}*\rsubscriptions2\x0csubscriptionR\x01\x01\x42\x16\n\x14subscription_optionsB\x0c\n\nexpiration\"d\n\x0ePayloadOptions\x12\x1d\n\x10include_resource\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x33\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"_\n\x14NotificationEndpoint\x12;\n\x0cpubsub_topic\x18\x01 \x01(\tB#\xe0\x41\x05\xfa\x41\x1d\n\x1bpubsub.googleapis.com/TopicH\x00\x42\n\n\x08\x65ndpointB\x9c\x03\n+com.google.apps.events.subscriptions.v1betaB\x19SubscriptionResourceProtoP\x01ZWcloud.google.com/go/apps/events/subscriptions/apiv1beta/subscriptionspb;subscriptionspb\xaa\x02\'Google.Apps.Events.Subscriptions.V1Beta\xca\x02\'Google\\Apps\\Events\\Subscriptions\\V1beta\xea\x02+Google::Apps::Events::Subscriptions::V1beta\xea\x41\x31\n!cloudidentity.googleapis.com/User\x12\x0cusers/{user}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3"
|
|
16
16
|
|
|
17
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
-
|
|
19
|
-
begin
|
|
20
|
-
pool.add_serialized_file(descriptor_data)
|
|
21
|
-
rescue TypeError
|
|
22
|
-
# Compatibility code: will be removed in the next major version.
|
|
23
|
-
require 'google/protobuf/descriptor_pb'
|
|
24
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
25
|
-
parsed.clear_dependency
|
|
26
|
-
serialized = parsed.class.encode(parsed)
|
|
27
|
-
file = pool.add_serialized_file(serialized)
|
|
28
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
29
|
-
imports = [
|
|
30
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
31
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
|
32
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
33
|
-
]
|
|
34
|
-
imports.each do |type_name, expected_filename|
|
|
35
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
36
|
-
if import_file.name != expected_filename
|
|
37
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
41
|
-
warn "This will become an error in the next major version."
|
|
42
|
-
end
|
|
17
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
|
43
19
|
|
|
44
20
|
module Google
|
|
45
21
|
module Apps
|
|
@@ -16,31 +16,8 @@ require 'google/protobuf/field_mask_pb'
|
|
|
16
16
|
|
|
17
17
|
descriptor_data = "\nCgoogle/apps/events/subscriptions/v1beta/subscriptions_service.proto\x12\'google.apps.events.subscriptions.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x43google/apps/events/subscriptions/v1beta/subscription_resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x89\x01\n\x19\x43reateSubscriptionRequest\x12P\n\x0csubscription\x18\x01 \x01(\x0b\x32\x35.google.apps.events.subscriptions.v1beta.SubscriptionB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xa9\x01\n\x19\x44\x65leteSubscriptionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+workspaceevents.googleapis.com/Subscription\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"[\n\x16GetSubscriptionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+workspaceevents.googleapis.com/Subscription\"\xbf\x01\n\x19UpdateSubscriptionRequest\x12P\n\x0csubscription\x18\x01 \x01(\x0b\x32\x35.google.apps.events.subscriptions.v1beta.SubscriptionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"b\n\x1dReactivateSubscriptionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+workspaceevents.googleapis.com/Subscription\"`\n\x18ListSubscriptionsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x82\x01\n\x19ListSubscriptionsResponse\x12L\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x35.google.apps.events.subscriptions.v1beta.Subscription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x1c\n\x1aUpdateSubscriptionMetadata\"\x1c\n\x1a\x43reateSubscriptionMetadata\"\x1c\n\x1a\x44\x65leteSubscriptionMetadata\" \n\x1eReactivateSubscriptionMetadata2\xf5\x10\n\x14SubscriptionsService\x12\xe0\x01\n\x12\x43reateSubscription\x12\x42.google.apps.events.subscriptions.v1beta.CreateSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x0cSubscription\x12\x1a\x43reateSubscriptionMetadata\xda\x41\x0csubscription\x82\xd3\xe4\x93\x02%\"\x15/v1beta/subscriptions:\x0csubscription\x12\xdc\x01\n\x12\x44\x65leteSubscription\x12\x42.google.apps.events.subscriptions.v1beta.DeleteSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x33\n\x15google.protobuf.Empty\x12\x1a\x44\x65leteSubscriptionMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1beta/{name=subscriptions/*}\x12\xb8\x01\n\x0fGetSubscription\x12?.google.apps.events.subscriptions.v1beta.GetSubscriptionRequest\x1a\x35.google.apps.events.subscriptions.v1beta.Subscription\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1beta/{name=subscriptions/*}\x12\xc2\x01\n\x11ListSubscriptions\x12\x41.google.apps.events.subscriptions.v1beta.ListSubscriptionsRequest\x1a\x42.google.apps.events.subscriptions.v1beta.ListSubscriptionsResponse\"&\xda\x41\x06\x66ilter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta/subscriptions\x12\x83\x02\n\x12UpdateSubscription\x12\x42.google.apps.events.subscriptions.v1beta.UpdateSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41*\n\x0cSubscription\x12\x1aUpdateSubscriptionMetadata\xda\x41\x18subscription,update_mask\x82\xd3\xe4\x93\x02;2+/v1beta/{subscription.name=subscriptions/*}:\x0csubscription\x12\xed\x01\n\x16ReactivateSubscription\x12\x46.google.apps.events.subscriptions.v1beta.ReactivateSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41.\n\x0cSubscription\x12\x1eReactivateSubscriptionMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.\")/v1beta/{name=subscriptions/*}:reactivate:\x01*\x1a\xa4\x06\xca\x41\x1eworkspaceevents.googleapis.com\xd2\x41\xff\x05https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file,https://www.googleapis.com/auth/drive.metadata,https://www.googleapis.com/auth/drive.metadata.readonly,https://www.googleapis.com/auth/drive.readonly,https://www.googleapis.com/auth/meetings.space.created,https://www.googleapis.com/auth/meetings.space.readonlyB\xa5\x02\n+com.google.apps.events.subscriptions.v1betaB\x19SubscriptionsServiceProtoP\x01ZWcloud.google.com/go/apps/events/subscriptions/apiv1beta/subscriptionspb;subscriptionspb\xaa\x02\'Google.Apps.Events.Subscriptions.V1Beta\xca\x02\'Google\\Apps\\Events\\Subscriptions\\V1beta\xea\x02+Google::Apps::Events::Subscriptions::V1betab\x06proto3"
|
|
18
18
|
|
|
19
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
-
|
|
21
|
-
begin
|
|
22
|
-
pool.add_serialized_file(descriptor_data)
|
|
23
|
-
rescue TypeError
|
|
24
|
-
# Compatibility code: will be removed in the next major version.
|
|
25
|
-
require 'google/protobuf/descriptor_pb'
|
|
26
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
27
|
-
parsed.clear_dependency
|
|
28
|
-
serialized = parsed.class.encode(parsed)
|
|
29
|
-
file = pool.add_serialized_file(serialized)
|
|
30
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
31
|
-
imports = [
|
|
32
|
-
["google.apps.events.subscriptions.v1beta.Subscription", "google/apps/events/subscriptions/v1beta/subscription_resource.proto"],
|
|
33
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
34
|
-
]
|
|
35
|
-
imports.each do |type_name, expected_filename|
|
|
36
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
37
|
-
if import_file.name != expected_filename
|
|
38
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
42
|
-
warn "This will become an error in the next major version."
|
|
43
|
-
end
|
|
19
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
|
44
21
|
|
|
45
22
|
module Google
|
|
46
23
|
module Apps
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apps-events-subscriptions-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
requirements:
|
|
94
94
|
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '3.
|
|
96
|
+
version: '3.2'
|
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - ">="
|