google-events 0.a → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +11 -0
  3. data/CHANGELOG.md +11 -0
  4. data/LICENSE +202 -0
  5. data/README.md +27 -8
  6. data/SECURITY.md +7 -0
  7. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +110 -0
  8. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +59 -0
  9. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +123 -0
  10. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +79 -0
  11. data/lib/google/events/cloud/audit/v1/data_pb.rb +128 -0
  12. data/lib/google/events/cloud/audit/v1/events_pb.rb +27 -0
  13. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +74 -0
  14. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +37 -0
  15. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +74 -0
  16. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +37 -0
  17. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +66 -0
  18. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +33 -0
  19. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +79 -0
  20. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +37 -0
  21. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +47 -0
  22. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +33 -0
  23. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +206 -0
  24. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +79 -0
  25. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +207 -0
  26. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +27 -0
  27. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +299 -0
  28. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +47 -0
  29. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +245 -0
  30. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +27 -0
  31. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +143 -0
  32. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +43 -0
  33. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +721 -0
  34. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +131 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +364 -0
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +63 -0
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +125 -0
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +55 -0
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +65 -0
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +39 -0
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +198 -0
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +35 -0
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +235 -0
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +71 -0
  45. data/lib/google/events/cloud/iot/v1/data_pb.rb +177 -0
  46. data/lib/google/events/cloud/iot/v1/events_pb.rb +47 -0
  47. data/lib/google/events/cloud/memcache/v1/data_pb.rb +120 -0
  48. data/lib/google/events/cloud/memcache/v1/events_pb.rb +35 -0
  49. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +35 -0
  50. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +27 -0
  51. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -0
  52. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +27 -0
  53. data/lib/google/events/cloud/storage/v1/data_pb.rb +59 -0
  54. data/lib/google/events/cloud/storage/v1/events_pb.rb +39 -0
  55. data/lib/google/events/cloud/workflows/v1/data_pb.rb +46 -0
  56. data/lib/google/events/cloud/workflows/v1/events_pb.rb +35 -0
  57. data/lib/google/events/cloudevent_pb.rb +22 -0
  58. data/lib/google/events/firebase/analytics/v1/data_pb.rb +106 -0
  59. data/lib/google/events/firebase/analytics/v1/events_pb.rb +27 -0
  60. data/lib/google/events/firebase/auth/v1/data_pb.rb +49 -0
  61. data/lib/google/events/firebase/auth/v1/events_pb.rb +31 -0
  62. data/lib/google/events/firebase/database/v1/data_pb.rb +27 -0
  63. data/lib/google/events/firebase/database/v1/events_pb.rb +39 -0
  64. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +115 -0
  65. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +29 -0
  66. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +27 -0
  67. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +52 -0
  68. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +27 -0
  69. data/lib/google/events/firebase/testlab/v1/data_pb.rb +61 -0
  70. data/lib/google/events/firebase/testlab/v1/events_pb.rb +27 -0
  71. data/lib/google/events/version.rb +8 -2
  72. data/lib/google/events.rb +25 -0
  73. data/lib/google-events.rb +17 -0
  74. metadata +114 -17
  75. data/LICENSE.md +0 -201
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d3a5d113226d0ecf2d9a7865c5c22090268b9fecf53deba50d1ab7dc83a7e8c
4
- data.tar.gz: be34926ac75e866d7b90ec77115b6ddf318137588f2d44cb6a4143f0545ffb5c
3
+ metadata.gz: bac7c2d7103d9ef4c9fe0d173890934b85009134feeaec033fd21cfc1ce3efd3
4
+ data.tar.gz: 609ab72551ccaf5da8edfb3ad6d386566a51db65498c834bfc5a8056af79886b
5
5
  SHA512:
6
- metadata.gz: 50dd430efa376a4eea20643d47a838d394a8a27b2b0d0365eb1804e2a698267d8aa5395053d6a00be6bde840574f741e48ea8818b8c31c5b6b3c2ad50a889cc2
7
- data.tar.gz: 9be8a0a04af0591fbd9a1c18c55b1b67e583f665ba52d5c34f5d990ae2e295d9349c9f6fde328557a1110fd6ab4e91a64c26cd3c553b81dbadae817e3fca447c
6
+ metadata.gz: ecfa8d0fc3541c54bbf4b418cf5f71d73b9047bd54493f849564631aa261f276f3eb1b512fef1721d4971316f22f15673058ace66dec9cd1b471b8b6ba75c927
7
+ data.tar.gz: d459ff0d5b92c9c17695c09a48fa7de4d88ff9c1331c7003c5cd46c94b8558bd7f6d110443ca1b013c0ee3cdb0900e255387c2ade33a184256812b0bf2241204
data/.yardopts ADDED
@@ -0,0 +1,11 @@
1
+ --no-private
2
+ --title=Google Events
3
+ --markup markdown
4
+ --markup-provider redcarpet
5
+ --main=README.md
6
+ --exclude _pb\.rb$
7
+
8
+ ./lib/**/*.rb
9
+ -
10
+ README.md
11
+ CHANGELOG.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ ### 0.2.0 (2023-05-22)
4
+
5
+ #### Features
6
+
7
+ * Added events for dataplex/v1 and gkebackup/v1
8
+
9
+ ### 0.1.0 (2023-05-08)
10
+
11
+ * Initial release with generated proto classes
data/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/README.md CHANGED
@@ -1,8 +1,27 @@
1
- # Placeholder for Ruby gem google-events
2
-
3
- This is a placeholder for the future Google-authored gem google-events.
4
- This placeholder is being released on 2023-04-07 in order to reserve the name.
5
- The final gem should be available shortly after that date. If it has not been
6
- released in a timely manner, or if this placeholder interferes with your work,
7
- you can contact the Google Ruby team by opening an issue in the GitHub
8
- repository https://github.com/googleapis/google-cloud-ruby.
1
+ # Google CloudEvents Ruby
2
+
3
+ This repository contains types for CloudEvents issued by Google.
4
+
5
+ ## Prerequisites
6
+
7
+ - Ruby 2.6 (or higher)
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem "google-events"
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ ```sh
20
+ bundle install
21
+ ```
22
+
23
+ Or install it yourself as:
24
+
25
+ ```sh
26
+ gem install google_events
27
+ ```
data/SECURITY.md ADDED
@@ -0,0 +1,7 @@
1
+ # Security Policy
2
+
3
+ To report a security issue, please use [g.co/vulnz](https://g.co/vulnz).
4
+
5
+ The Google Security Team will respond within 5 working days of your report on g.co/vulnz.
6
+
7
+ We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue.
@@ -0,0 +1,110 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/apigateway/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/events/cloud/apigateway/v1/data.proto", :syntax => :proto3) do
10
+ add_message "google.events.cloud.apigateway.v1.Api" do
11
+ optional :name, :string, 1
12
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
+ map :labels, :string, :string, 4
15
+ optional :display_name, :string, 5
16
+ optional :managed_service, :string, 7
17
+ optional :state, :enum, 12, "google.events.cloud.apigateway.v1.Api.State"
18
+ end
19
+ add_enum "google.events.cloud.apigateway.v1.Api.State" do
20
+ value :STATE_UNSPECIFIED, 0
21
+ value :CREATING, 1
22
+ value :ACTIVE, 2
23
+ value :FAILED, 3
24
+ value :DELETING, 4
25
+ value :UPDATING, 5
26
+ end
27
+ add_message "google.events.cloud.apigateway.v1.ApiConfig" do
28
+ optional :name, :string, 1
29
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
30
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
31
+ map :labels, :string, :string, 4
32
+ optional :display_name, :string, 5
33
+ optional :gateway_service_account, :string, 14
34
+ optional :service_config_id, :string, 12
35
+ optional :state, :enum, 8, "google.events.cloud.apigateway.v1.ApiConfig.State"
36
+ repeated :openapi_documents, :message, 9, "google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument"
37
+ repeated :grpc_services, :message, 10, "google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition"
38
+ repeated :managed_service_configs, :message, 11, "google.events.cloud.apigateway.v1.ApiConfig.File"
39
+ end
40
+ add_message "google.events.cloud.apigateway.v1.ApiConfig.File" do
41
+ optional :path, :string, 1
42
+ optional :contents, :bytes, 2
43
+ end
44
+ add_message "google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument" do
45
+ optional :document, :message, 1, "google.events.cloud.apigateway.v1.ApiConfig.File"
46
+ end
47
+ add_message "google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition" do
48
+ repeated :source, :message, 2, "google.events.cloud.apigateway.v1.ApiConfig.File"
49
+ end
50
+ add_enum "google.events.cloud.apigateway.v1.ApiConfig.State" do
51
+ value :STATE_UNSPECIFIED, 0
52
+ value :CREATING, 1
53
+ value :ACTIVE, 2
54
+ value :FAILED, 3
55
+ value :DELETING, 4
56
+ value :UPDATING, 5
57
+ value :ACTIVATING, 6
58
+ end
59
+ add_message "google.events.cloud.apigateway.v1.Gateway" do
60
+ optional :name, :string, 1
61
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
62
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
63
+ map :labels, :string, :string, 4
64
+ optional :display_name, :string, 5
65
+ optional :api_config, :string, 6
66
+ optional :state, :enum, 7, "google.events.cloud.apigateway.v1.Gateway.State"
67
+ optional :default_hostname, :string, 9
68
+ end
69
+ add_enum "google.events.cloud.apigateway.v1.Gateway.State" do
70
+ value :STATE_UNSPECIFIED, 0
71
+ value :CREATING, 1
72
+ value :ACTIVE, 2
73
+ value :FAILED, 3
74
+ value :DELETING, 4
75
+ value :UPDATING, 5
76
+ end
77
+ add_message "google.events.cloud.apigateway.v1.GatewayEventData" do
78
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.Gateway"
79
+ end
80
+ add_message "google.events.cloud.apigateway.v1.ApiConfigEventData" do
81
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.ApiConfig"
82
+ end
83
+ add_message "google.events.cloud.apigateway.v1.ApiEventData" do
84
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.Api"
85
+ end
86
+ end
87
+ end
88
+
89
+ module Google
90
+ module Events
91
+ module Cloud
92
+ module ApiGateway
93
+ module V1
94
+ Api = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.Api").msgclass
95
+ Api::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.Api.State").enummodule
96
+ ApiConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfig").msgclass
97
+ ApiConfig::File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfig.File").msgclass
98
+ ApiConfig::OpenApiDocument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument").msgclass
99
+ ApiConfig::GrpcServiceDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition").msgclass
100
+ ApiConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfig.State").enummodule
101
+ Gateway = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.Gateway").msgclass
102
+ Gateway::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.Gateway.State").enummodule
103
+ GatewayEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.GatewayEventData").msgclass
104
+ ApiConfigEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfigEventData").msgclass
105
+ ApiEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiEventData").msgclass
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,59 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/apigateway/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/apigateway/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/apigateway/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.apigateway.v1.GatewayCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
13
+ end
14
+ add_message "google.events.cloud.apigateway.v1.GatewayUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
16
+ end
17
+ add_message "google.events.cloud.apigateway.v1.GatewayDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
19
+ end
20
+ add_message "google.events.cloud.apigateway.v1.ApiCreatedEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
22
+ end
23
+ add_message "google.events.cloud.apigateway.v1.ApiUpdatedEvent" do
24
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
25
+ end
26
+ add_message "google.events.cloud.apigateway.v1.ApiDeletedEvent" do
27
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
28
+ end
29
+ add_message "google.events.cloud.apigateway.v1.ApiConfigCreatedEvent" do
30
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
31
+ end
32
+ add_message "google.events.cloud.apigateway.v1.ApiConfigUpdatedEvent" do
33
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
34
+ end
35
+ add_message "google.events.cloud.apigateway.v1.ApiConfigDeletedEvent" do
36
+ optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
37
+ end
38
+ end
39
+ end
40
+
41
+ module Google
42
+ module Events
43
+ module Cloud
44
+ module ApiGateway
45
+ module V1
46
+ GatewayCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.GatewayCreatedEvent").msgclass
47
+ GatewayUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.GatewayUpdatedEvent").msgclass
48
+ GatewayDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.GatewayDeletedEvent").msgclass
49
+ ApiCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiCreatedEvent").msgclass
50
+ ApiUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiUpdatedEvent").msgclass
51
+ ApiDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiDeletedEvent").msgclass
52
+ ApiConfigCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfigCreatedEvent").msgclass
53
+ ApiConfigUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfigUpdatedEvent").msgclass
54
+ ApiConfigDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigateway.v1.ApiConfigDeletedEvent").msgclass
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,123 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/apigeeregistry/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/events/cloud/apigeeregistry/v1/data.proto", :syntax => :proto3) do
10
+ add_message "google.events.cloud.apigeeregistry.v1.Instance" do
11
+ optional :name, :string, 1
12
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
+ optional :state, :enum, 4, "google.events.cloud.apigeeregistry.v1.Instance.State"
15
+ optional :state_message, :string, 5
16
+ optional :config, :message, 6, "google.events.cloud.apigeeregistry.v1.Instance.Config"
17
+ end
18
+ add_message "google.events.cloud.apigeeregistry.v1.Instance.Config" do
19
+ optional :location, :string, 1
20
+ optional :cmek_key_name, :string, 2
21
+ end
22
+ add_enum "google.events.cloud.apigeeregistry.v1.Instance.State" do
23
+ value :STATE_UNSPECIFIED, 0
24
+ value :INACTIVE, 1
25
+ value :CREATING, 2
26
+ value :ACTIVE, 3
27
+ value :UPDATING, 4
28
+ value :DELETING, 5
29
+ value :FAILED, 6
30
+ end
31
+ add_message "google.events.cloud.apigeeregistry.v1.Api" do
32
+ optional :name, :string, 1
33
+ optional :display_name, :string, 2
34
+ optional :description, :string, 3
35
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
36
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
37
+ optional :availability, :string, 6
38
+ optional :recommended_version, :string, 7
39
+ optional :recommended_deployment, :string, 8
40
+ map :labels, :string, :string, 9
41
+ map :annotations, :string, :string, 10
42
+ end
43
+ add_message "google.events.cloud.apigeeregistry.v1.ApiVersion" do
44
+ optional :name, :string, 1
45
+ optional :display_name, :string, 2
46
+ optional :description, :string, 3
47
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
48
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
49
+ optional :state, :string, 6
50
+ map :labels, :string, :string, 7
51
+ map :annotations, :string, :string, 8
52
+ end
53
+ add_message "google.events.cloud.apigeeregistry.v1.ApiSpec" do
54
+ optional :name, :string, 1
55
+ optional :filename, :string, 2
56
+ optional :description, :string, 3
57
+ optional :revision_id, :string, 4
58
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
59
+ optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
60
+ optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
61
+ optional :mime_type, :string, 8
62
+ optional :size_bytes, :int32, 9
63
+ optional :hash, :string, 10
64
+ optional :source_uri, :string, 11
65
+ map :labels, :string, :string, 14
66
+ map :annotations, :string, :string, 15
67
+ end
68
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeployment" do
69
+ optional :name, :string, 1
70
+ optional :display_name, :string, 2
71
+ optional :description, :string, 3
72
+ optional :revision_id, :string, 4
73
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
74
+ optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
75
+ optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
76
+ optional :api_spec_revision, :string, 8
77
+ optional :endpoint_uri, :string, 9
78
+ optional :external_channel_uri, :string, 10
79
+ optional :intended_audience, :string, 11
80
+ optional :access_guidance, :string, 12
81
+ map :labels, :string, :string, 14
82
+ map :annotations, :string, :string, 15
83
+ end
84
+ add_message "google.events.cloud.apigeeregistry.v1.ApiVersionEventData" do
85
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersion"
86
+ end
87
+ add_message "google.events.cloud.apigeeregistry.v1.InstanceEventData" do
88
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.Instance"
89
+ end
90
+ add_message "google.events.cloud.apigeeregistry.v1.ApiSpecEventData" do
91
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpec"
92
+ end
93
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData" do
94
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeployment"
95
+ end
96
+ add_message "google.events.cloud.apigeeregistry.v1.ApiEventData" do
97
+ proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.Api"
98
+ end
99
+ end
100
+ end
101
+
102
+ module Google
103
+ module Events
104
+ module Cloud
105
+ module ApigeeRegistry
106
+ module V1
107
+ Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.Instance").msgclass
108
+ Instance::Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.Instance.Config").msgclass
109
+ Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.Instance.State").enummodule
110
+ Api = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.Api").msgclass
111
+ ApiVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiVersion").msgclass
112
+ ApiSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiSpec").msgclass
113
+ ApiDeployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeployment").msgclass
114
+ ApiVersionEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiVersionEventData").msgclass
115
+ InstanceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.InstanceEventData").msgclass
116
+ ApiSpecEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiSpecEventData").msgclass
117
+ ApiDeploymentEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData").msgclass
118
+ ApiEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiEventData").msgclass
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,79 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/apigeeregistry/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/apigeeregistry/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/apigeeregistry/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.apigeeregistry.v1.InstanceCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.InstanceEventData"
13
+ end
14
+ add_message "google.events.cloud.apigeeregistry.v1.InstanceDeletedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.InstanceEventData"
16
+ end
17
+ add_message "google.events.cloud.apigeeregistry.v1.ApiCreatedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
19
+ end
20
+ add_message "google.events.cloud.apigeeregistry.v1.ApiUpdatedEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
22
+ end
23
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeletedEvent" do
24
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
25
+ end
26
+ add_message "google.events.cloud.apigeeregistry.v1.ApiVersionCreatedEvent" do
27
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
28
+ end
29
+ add_message "google.events.cloud.apigeeregistry.v1.ApiVersionUpdatedEvent" do
30
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
31
+ end
32
+ add_message "google.events.cloud.apigeeregistry.v1.ApiVersionDeletedEvent" do
33
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
34
+ end
35
+ add_message "google.events.cloud.apigeeregistry.v1.ApiSpecCreatedEvent" do
36
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
37
+ end
38
+ add_message "google.events.cloud.apigeeregistry.v1.ApiSpecUpdatedEvent" do
39
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
40
+ end
41
+ add_message "google.events.cloud.apigeeregistry.v1.ApiSpecDeletedEvent" do
42
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
43
+ end
44
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentCreatedEvent" do
45
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
46
+ end
47
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentUpdatedEvent" do
48
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
49
+ end
50
+ add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentDeletedEvent" do
51
+ optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
52
+ end
53
+ end
54
+ end
55
+
56
+ module Google
57
+ module Events
58
+ module Cloud
59
+ module ApigeeRegistry
60
+ module V1
61
+ InstanceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.InstanceCreatedEvent").msgclass
62
+ InstanceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.InstanceDeletedEvent").msgclass
63
+ ApiCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiCreatedEvent").msgclass
64
+ ApiUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiUpdatedEvent").msgclass
65
+ ApiDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeletedEvent").msgclass
66
+ ApiVersionCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiVersionCreatedEvent").msgclass
67
+ ApiVersionUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiVersionUpdatedEvent").msgclass
68
+ ApiVersionDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiVersionDeletedEvent").msgclass
69
+ ApiSpecCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiSpecCreatedEvent").msgclass
70
+ ApiSpecUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiSpecUpdatedEvent").msgclass
71
+ ApiSpecDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiSpecDeletedEvent").msgclass
72
+ ApiDeploymentCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeploymentCreatedEvent").msgclass
73
+ ApiDeploymentUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeploymentUpdatedEvent").msgclass
74
+ ApiDeploymentDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.apigeeregistry.v1.ApiDeploymentDeletedEvent").msgclass
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end