google-events 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +11 -0
  3. data/CHANGELOG.md +5 -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/datastream/v1/data_pb.rb +364 -0
  34. data/lib/google/events/cloud/datastream/v1/events_pb.rb +63 -0
  35. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +125 -0
  36. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +55 -0
  37. data/lib/google/events/cloud/firestore/v1/data_pb.rb +65 -0
  38. data/lib/google/events/cloud/firestore/v1/events_pb.rb +39 -0
  39. data/lib/google/events/cloud/functions/v2/data_pb.rb +198 -0
  40. data/lib/google/events/cloud/functions/v2/events_pb.rb +35 -0
  41. data/lib/google/events/cloud/iot/v1/data_pb.rb +177 -0
  42. data/lib/google/events/cloud/iot/v1/events_pb.rb +47 -0
  43. data/lib/google/events/cloud/memcache/v1/data_pb.rb +120 -0
  44. data/lib/google/events/cloud/memcache/v1/events_pb.rb +35 -0
  45. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +35 -0
  46. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +27 -0
  47. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -0
  48. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +27 -0
  49. data/lib/google/events/cloud/storage/v1/data_pb.rb +59 -0
  50. data/lib/google/events/cloud/storage/v1/events_pb.rb +39 -0
  51. data/lib/google/events/cloud/workflows/v1/data_pb.rb +46 -0
  52. data/lib/google/events/cloud/workflows/v1/events_pb.rb +35 -0
  53. data/lib/google/events/cloudevent_pb.rb +22 -0
  54. data/lib/google/events/firebase/analytics/v1/data_pb.rb +106 -0
  55. data/lib/google/events/firebase/analytics/v1/events_pb.rb +27 -0
  56. data/lib/google/events/firebase/auth/v1/data_pb.rb +49 -0
  57. data/lib/google/events/firebase/auth/v1/events_pb.rb +31 -0
  58. data/lib/google/events/firebase/database/v1/data_pb.rb +27 -0
  59. data/lib/google/events/firebase/database/v1/events_pb.rb +39 -0
  60. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +115 -0
  61. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +29 -0
  62. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +27 -0
  63. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +52 -0
  64. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +27 -0
  65. data/lib/google/events/firebase/testlab/v1/data_pb.rb +61 -0
  66. data/lib/google/events/firebase/testlab/v1/events_pb.rb +27 -0
  67. data/lib/google/events/version.rb +8 -2
  68. data/lib/google/events.rb +25 -0
  69. data/lib/google-events.rb +17 -0
  70. metadata +110 -17
  71. data/LICENSE.md +0 -201
@@ -0,0 +1,125 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/eventarc/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ require 'google/rpc/code_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/eventarc/v1/data.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.eventarc.v1.Channel" do
12
+ optional :name, :string, 1
13
+ optional :uid, :string, 2
14
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
15
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
16
+ optional :provider, :string, 7
17
+ optional :state, :enum, 9, "google.events.cloud.eventarc.v1.Channel.State"
18
+ optional :activation_token, :string, 10
19
+ optional :crypto_key_name, :string, 11
20
+ oneof :transport do
21
+ optional :pubsub_topic, :string, 8
22
+ end
23
+ end
24
+ add_enum "google.events.cloud.eventarc.v1.Channel.State" do
25
+ value :STATE_UNSPECIFIED, 0
26
+ value :PENDING, 1
27
+ value :ACTIVE, 2
28
+ value :INACTIVE, 3
29
+ end
30
+ add_message "google.events.cloud.eventarc.v1.ChannelConnection" do
31
+ optional :name, :string, 1
32
+ optional :uid, :string, 2
33
+ optional :channel, :string, 5
34
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
35
+ optional :update_time, :message, 7, "google.protobuf.Timestamp"
36
+ end
37
+ add_message "google.events.cloud.eventarc.v1.Trigger" do
38
+ optional :name, :string, 1
39
+ optional :uid, :string, 2
40
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
41
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
42
+ repeated :event_filters, :message, 8, "google.events.cloud.eventarc.v1.EventFilter"
43
+ optional :service_account, :string, 9
44
+ optional :destination, :message, 10, "google.events.cloud.eventarc.v1.Destination"
45
+ optional :transport, :message, 11, "google.events.cloud.eventarc.v1.Transport"
46
+ map :labels, :string, :string, 12
47
+ optional :channel, :string, 13
48
+ map :conditions, :string, :message, 15, "google.events.cloud.eventarc.v1.StateCondition"
49
+ optional :event_data_content_type, :string, 16
50
+ optional :etag, :string, 99
51
+ end
52
+ add_message "google.events.cloud.eventarc.v1.EventFilter" do
53
+ optional :attribute, :string, 1
54
+ optional :value, :string, 2
55
+ optional :operator, :string, 3
56
+ end
57
+ add_message "google.events.cloud.eventarc.v1.StateCondition" do
58
+ optional :code, :enum, 1, "google.rpc.Code"
59
+ optional :message, :string, 2
60
+ end
61
+ add_message "google.events.cloud.eventarc.v1.Destination" do
62
+ oneof :descriptor do
63
+ optional :cloud_run, :message, 1, "google.events.cloud.eventarc.v1.CloudRun"
64
+ optional :cloud_function, :string, 2
65
+ optional :gke, :message, 3, "google.events.cloud.eventarc.v1.GKE"
66
+ optional :workflow, :string, 4
67
+ end
68
+ end
69
+ add_message "google.events.cloud.eventarc.v1.Transport" do
70
+ oneof :intermediary do
71
+ optional :pubsub, :message, 1, "google.events.cloud.eventarc.v1.Pubsub"
72
+ end
73
+ end
74
+ add_message "google.events.cloud.eventarc.v1.CloudRun" do
75
+ optional :service, :string, 1
76
+ optional :path, :string, 2
77
+ optional :region, :string, 3
78
+ end
79
+ add_message "google.events.cloud.eventarc.v1.GKE" do
80
+ optional :cluster, :string, 1
81
+ optional :location, :string, 2
82
+ optional :namespace, :string, 3
83
+ optional :service, :string, 4
84
+ optional :path, :string, 5
85
+ end
86
+ add_message "google.events.cloud.eventarc.v1.Pubsub" do
87
+ optional :topic, :string, 1
88
+ optional :subscription, :string, 2
89
+ end
90
+ add_message "google.events.cloud.eventarc.v1.TriggerEventData" do
91
+ optional :payload, :message, 1, "google.events.cloud.eventarc.v1.Trigger"
92
+ end
93
+ add_message "google.events.cloud.eventarc.v1.ChannelEventData" do
94
+ optional :payload, :message, 1, "google.events.cloud.eventarc.v1.Channel"
95
+ end
96
+ add_message "google.events.cloud.eventarc.v1.ChannelConnectionEventData" do
97
+ optional :payload, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnection"
98
+ end
99
+ end
100
+ end
101
+
102
+ module Google
103
+ module Events
104
+ module Cloud
105
+ module Eventarc
106
+ module V1
107
+ Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Channel").msgclass
108
+ Channel::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Channel.State").enummodule
109
+ ChannelConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelConnection").msgclass
110
+ Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Trigger").msgclass
111
+ EventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.EventFilter").msgclass
112
+ StateCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.StateCondition").msgclass
113
+ Destination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Destination").msgclass
114
+ Transport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Transport").msgclass
115
+ CloudRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.CloudRun").msgclass
116
+ GKE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.GKE").msgclass
117
+ Pubsub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.Pubsub").msgclass
118
+ TriggerEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.TriggerEventData").msgclass
119
+ ChannelEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelEventData").msgclass
120
+ ChannelConnectionEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelConnectionEventData").msgclass
121
+ end
122
+ end
123
+ end
124
+ end
125
+ end
@@ -0,0 +1,55 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/eventarc/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/eventarc/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/eventarc/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.eventarc.v1.TriggerCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
13
+ end
14
+ add_message "google.events.cloud.eventarc.v1.TriggerUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
16
+ end
17
+ add_message "google.events.cloud.eventarc.v1.TriggerDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
19
+ end
20
+ add_message "google.events.cloud.eventarc.v1.ChannelCreatedEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
22
+ end
23
+ add_message "google.events.cloud.eventarc.v1.ChannelUpdatedEvent" do
24
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
25
+ end
26
+ add_message "google.events.cloud.eventarc.v1.ChannelDeletedEvent" do
27
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
28
+ end
29
+ add_message "google.events.cloud.eventarc.v1.ChannelConnectionCreatedEvent" do
30
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnectionEventData"
31
+ end
32
+ add_message "google.events.cloud.eventarc.v1.ChannelConnectionDeletedEvent" do
33
+ optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnectionEventData"
34
+ end
35
+ end
36
+ end
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module Eventarc
42
+ module V1
43
+ TriggerCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.TriggerCreatedEvent").msgclass
44
+ TriggerUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.TriggerUpdatedEvent").msgclass
45
+ TriggerDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.TriggerDeletedEvent").msgclass
46
+ ChannelCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelCreatedEvent").msgclass
47
+ ChannelUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelUpdatedEvent").msgclass
48
+ ChannelDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelDeletedEvent").msgclass
49
+ ChannelConnectionCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelConnectionCreatedEvent").msgclass
50
+ ChannelConnectionDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.eventarc.v1.ChannelConnectionDeletedEvent").msgclass
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,65 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/firestore/v1/data.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/struct_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/type/latlng_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/events/cloud/firestore/v1/data.proto", :syntax => :proto3) do
12
+ add_message "google.events.cloud.firestore.v1.DocumentEventData" do
13
+ optional :value, :message, 1, "google.events.cloud.firestore.v1.Document"
14
+ optional :old_value, :message, 2, "google.events.cloud.firestore.v1.Document"
15
+ optional :update_mask, :message, 3, "google.events.cloud.firestore.v1.DocumentMask"
16
+ end
17
+ add_message "google.events.cloud.firestore.v1.DocumentMask" do
18
+ repeated :field_paths, :string, 1
19
+ end
20
+ add_message "google.events.cloud.firestore.v1.Document" do
21
+ optional :name, :string, 1
22
+ map :fields, :string, :message, 2, "google.events.cloud.firestore.v1.Value"
23
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
24
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
25
+ end
26
+ add_message "google.events.cloud.firestore.v1.Value" do
27
+ oneof :value_type do
28
+ optional :null_value, :enum, 11, "google.protobuf.NullValue"
29
+ optional :boolean_value, :bool, 1
30
+ optional :integer_value, :int64, 2
31
+ optional :double_value, :double, 3
32
+ optional :timestamp_value, :message, 10, "google.protobuf.Timestamp"
33
+ optional :string_value, :string, 17
34
+ optional :bytes_value, :bytes, 18
35
+ optional :reference_value, :string, 5
36
+ optional :geo_point_value, :message, 8, "google.type.LatLng"
37
+ optional :array_value, :message, 9, "google.events.cloud.firestore.v1.ArrayValue"
38
+ optional :map_value, :message, 6, "google.events.cloud.firestore.v1.MapValue"
39
+ end
40
+ end
41
+ add_message "google.events.cloud.firestore.v1.ArrayValue" do
42
+ repeated :values, :message, 1, "google.events.cloud.firestore.v1.Value"
43
+ end
44
+ add_message "google.events.cloud.firestore.v1.MapValue" do
45
+ map :fields, :string, :message, 1, "google.events.cloud.firestore.v1.Value"
46
+ end
47
+ end
48
+ end
49
+
50
+ module Google
51
+ module Events
52
+ module Cloud
53
+ module Firestore
54
+ module V1
55
+ DocumentEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentEventData").msgclass
56
+ DocumentMask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentMask").msgclass
57
+ Document = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.Document").msgclass
58
+ Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.Value").msgclass
59
+ ArrayValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.ArrayValue").msgclass
60
+ MapValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.MapValue").msgclass
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,39 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/firestore/v1/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/firestore/v1/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/firestore/v1/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.firestore.v1.DocumentCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.firestore.v1.DocumentEventData"
13
+ end
14
+ add_message "google.events.cloud.firestore.v1.DocumentUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.firestore.v1.DocumentEventData"
16
+ end
17
+ add_message "google.events.cloud.firestore.v1.DocumentDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.firestore.v1.DocumentEventData"
19
+ end
20
+ add_message "google.events.cloud.firestore.v1.DocumentWrittenEvent" do
21
+ optional :data, :message, 1, "google.events.cloud.firestore.v1.DocumentEventData"
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Events
28
+ module Cloud
29
+ module Firestore
30
+ module V1
31
+ DocumentCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentCreatedEvent").msgclass
32
+ DocumentUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentUpdatedEvent").msgclass
33
+ DocumentDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentDeletedEvent").msgclass
34
+ DocumentWrittenEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentWrittenEvent").msgclass
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,198 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/functions/v2/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/functions/v2/data.proto", :syntax => :proto3) do
10
+ add_message "google.events.cloud.functions.v2.Function" do
11
+ optional :name, :string, 1
12
+ optional :environment, :enum, 10, "google.events.cloud.functions.v2.Environment"
13
+ optional :description, :string, 2
14
+ optional :build_config, :message, 3, "google.events.cloud.functions.v2.BuildConfig"
15
+ optional :service_config, :message, 4, "google.events.cloud.functions.v2.ServiceConfig"
16
+ optional :event_trigger, :message, 5, "google.events.cloud.functions.v2.EventTrigger"
17
+ optional :state, :enum, 6, "google.events.cloud.functions.v2.Function.State"
18
+ optional :update_time, :message, 7, "google.protobuf.Timestamp"
19
+ map :labels, :string, :string, 8
20
+ repeated :state_messages, :message, 9, "google.events.cloud.functions.v2.StateMessage"
21
+ end
22
+ add_enum "google.events.cloud.functions.v2.Function.State" do
23
+ value :STATE_UNSPECIFIED, 0
24
+ value :ACTIVE, 1
25
+ value :FAILED, 2
26
+ value :DEPLOYING, 3
27
+ value :DELETING, 4
28
+ value :UNKNOWN, 5
29
+ end
30
+ add_message "google.events.cloud.functions.v2.StateMessage" do
31
+ optional :severity, :enum, 1, "google.events.cloud.functions.v2.StateMessage.Severity"
32
+ optional :type, :string, 2
33
+ optional :message, :string, 3
34
+ end
35
+ add_enum "google.events.cloud.functions.v2.StateMessage.Severity" do
36
+ value :SEVERITY_UNSPECIFIED, 0
37
+ value :ERROR, 1
38
+ value :WARNING, 2
39
+ value :INFO, 3
40
+ end
41
+ add_message "google.events.cloud.functions.v2.StorageSource" do
42
+ optional :bucket, :string, 1
43
+ optional :object, :string, 2
44
+ optional :generation, :int64, 3
45
+ end
46
+ add_message "google.events.cloud.functions.v2.RepoSource" do
47
+ optional :project_id, :string, 1
48
+ optional :repo_name, :string, 2
49
+ optional :dir, :string, 6
50
+ optional :invert_regex, :bool, 7
51
+ oneof :revision do
52
+ optional :branch_name, :string, 3
53
+ optional :tag_name, :string, 4
54
+ optional :commit_sha, :string, 5
55
+ end
56
+ end
57
+ add_message "google.events.cloud.functions.v2.Source" do
58
+ oneof :source do
59
+ optional :storage_source, :message, 1, "google.events.cloud.functions.v2.StorageSource"
60
+ optional :repo_source, :message, 2, "google.events.cloud.functions.v2.RepoSource"
61
+ end
62
+ end
63
+ add_message "google.events.cloud.functions.v2.SourceProvenance" do
64
+ optional :resolved_storage_source, :message, 1, "google.events.cloud.functions.v2.StorageSource"
65
+ optional :resolved_repo_source, :message, 2, "google.events.cloud.functions.v2.RepoSource"
66
+ end
67
+ add_message "google.events.cloud.functions.v2.BuildConfig" do
68
+ optional :build, :string, 1
69
+ optional :runtime, :string, 2
70
+ optional :entry_point, :string, 3
71
+ optional :source, :message, 4, "google.events.cloud.functions.v2.Source"
72
+ optional :source_provenance, :message, 8, "google.events.cloud.functions.v2.SourceProvenance"
73
+ optional :worker_pool, :string, 5
74
+ map :environment_variables, :string, :string, 6
75
+ optional :docker_registry, :enum, 10, "google.events.cloud.functions.v2.BuildConfig.DockerRegistry"
76
+ optional :docker_repository, :string, 7
77
+ optional :buildpack_stack, :string, 9
78
+ end
79
+ add_enum "google.events.cloud.functions.v2.BuildConfig.DockerRegistry" do
80
+ value :DOCKER_REGISTRY_UNSPECIFIED, 0
81
+ value :CONTAINER_REGISTRY, 1
82
+ value :ARTIFACT_REGISTRY, 2
83
+ end
84
+ add_message "google.events.cloud.functions.v2.ServiceConfig" do
85
+ optional :service, :string, 1
86
+ optional :timeout_seconds, :int32, 2
87
+ optional :available_memory, :string, 13
88
+ optional :available_cpu, :string, 22
89
+ map :environment_variables, :string, :string, 4
90
+ optional :max_instance_count, :int32, 5
91
+ optional :min_instance_count, :int32, 12
92
+ optional :vpc_connector, :string, 6
93
+ optional :vpc_connector_egress_settings, :enum, 7, "google.events.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings"
94
+ optional :ingress_settings, :enum, 8, "google.events.cloud.functions.v2.ServiceConfig.IngressSettings"
95
+ optional :uri, :string, 9
96
+ optional :service_account_email, :string, 10
97
+ optional :all_traffic_on_latest_revision, :bool, 16
98
+ repeated :secret_environment_variables, :message, 17, "google.events.cloud.functions.v2.SecretEnvVar"
99
+ repeated :secret_volumes, :message, 19, "google.events.cloud.functions.v2.SecretVolume"
100
+ optional :revision, :string, 18
101
+ optional :max_instance_request_concurrency, :int32, 20
102
+ optional :security_level, :enum, 21, "google.events.cloud.functions.v2.ServiceConfig.SecurityLevel"
103
+ end
104
+ add_enum "google.events.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings" do
105
+ value :VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, 0
106
+ value :PRIVATE_RANGES_ONLY, 1
107
+ value :ALL_TRAFFIC, 2
108
+ end
109
+ add_enum "google.events.cloud.functions.v2.ServiceConfig.IngressSettings" do
110
+ value :INGRESS_SETTINGS_UNSPECIFIED, 0
111
+ value :ALLOW_ALL, 1
112
+ value :ALLOW_INTERNAL_ONLY, 2
113
+ value :ALLOW_INTERNAL_AND_GCLB, 3
114
+ end
115
+ add_enum "google.events.cloud.functions.v2.ServiceConfig.SecurityLevel" do
116
+ value :SECURITY_LEVEL_UNSPECIFIED, 0
117
+ value :SECURE_ALWAYS, 1
118
+ value :SECURE_OPTIONAL, 2
119
+ end
120
+ add_message "google.events.cloud.functions.v2.SecretEnvVar" do
121
+ optional :key, :string, 1
122
+ optional :project_id, :string, 2
123
+ optional :secret, :string, 3
124
+ optional :version, :string, 4
125
+ end
126
+ add_message "google.events.cloud.functions.v2.SecretVolume" do
127
+ optional :mount_path, :string, 1
128
+ optional :project_id, :string, 2
129
+ optional :secret, :string, 3
130
+ repeated :versions, :message, 4, "google.events.cloud.functions.v2.SecretVolume.SecretVersion"
131
+ end
132
+ add_message "google.events.cloud.functions.v2.SecretVolume.SecretVersion" do
133
+ optional :version, :string, 1
134
+ optional :path, :string, 2
135
+ end
136
+ add_message "google.events.cloud.functions.v2.EventTrigger" do
137
+ optional :trigger, :string, 1
138
+ optional :trigger_region, :string, 2
139
+ optional :event_type, :string, 3
140
+ repeated :event_filters, :message, 4, "google.events.cloud.functions.v2.EventFilter"
141
+ optional :pubsub_topic, :string, 5
142
+ optional :service_account_email, :string, 6
143
+ optional :retry_policy, :enum, 7, "google.events.cloud.functions.v2.EventTrigger.RetryPolicy"
144
+ optional :channel, :string, 8
145
+ end
146
+ add_enum "google.events.cloud.functions.v2.EventTrigger.RetryPolicy" do
147
+ value :RETRY_POLICY_UNSPECIFIED, 0
148
+ value :RETRY_POLICY_DO_NOT_RETRY, 1
149
+ value :RETRY_POLICY_RETRY, 2
150
+ end
151
+ add_message "google.events.cloud.functions.v2.EventFilter" do
152
+ optional :attribute, :string, 1
153
+ optional :value, :string, 2
154
+ optional :operator, :string, 3
155
+ end
156
+ add_message "google.events.cloud.functions.v2.FunctionEventData" do
157
+ proto3_optional :payload, :message, 1, "google.events.cloud.functions.v2.Function"
158
+ end
159
+ add_enum "google.events.cloud.functions.v2.Environment" do
160
+ value :ENVIRONMENT_UNSPECIFIED, 0
161
+ value :GEN_1, 1
162
+ value :GEN_2, 2
163
+ end
164
+ end
165
+ end
166
+
167
+ module Google
168
+ module Events
169
+ module Cloud
170
+ module Functions
171
+ module V2
172
+ Function = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.Function").msgclass
173
+ Function::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.Function.State").enummodule
174
+ StateMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.StateMessage").msgclass
175
+ StateMessage::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.StateMessage.Severity").enummodule
176
+ StorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.StorageSource").msgclass
177
+ RepoSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.RepoSource").msgclass
178
+ Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.Source").msgclass
179
+ SourceProvenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.SourceProvenance").msgclass
180
+ BuildConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.BuildConfig").msgclass
181
+ BuildConfig::DockerRegistry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.BuildConfig.DockerRegistry").enummodule
182
+ ServiceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.ServiceConfig").msgclass
183
+ ServiceConfig::VpcConnectorEgressSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings").enummodule
184
+ ServiceConfig::IngressSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.ServiceConfig.IngressSettings").enummodule
185
+ ServiceConfig::SecurityLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.ServiceConfig.SecurityLevel").enummodule
186
+ SecretEnvVar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.SecretEnvVar").msgclass
187
+ SecretVolume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.SecretVolume").msgclass
188
+ SecretVolume::SecretVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.SecretVolume.SecretVersion").msgclass
189
+ EventTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.EventTrigger").msgclass
190
+ EventTrigger::RetryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.EventTrigger.RetryPolicy").enummodule
191
+ EventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.EventFilter").msgclass
192
+ FunctionEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.FunctionEventData").msgclass
193
+ Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.Environment").enummodule
194
+ end
195
+ end
196
+ end
197
+ end
198
+ end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/events/cloud/functions/v2/events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/events/cloud/functions/v2/data_pb'
7
+ require 'google/events/cloudevent_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/events/cloud/functions/v2/events.proto", :syntax => :proto3) do
11
+ add_message "google.events.cloud.functions.v2.FunctionCreatedEvent" do
12
+ optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
13
+ end
14
+ add_message "google.events.cloud.functions.v2.FunctionUpdatedEvent" do
15
+ optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
16
+ end
17
+ add_message "google.events.cloud.functions.v2.FunctionDeletedEvent" do
18
+ optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
19
+ end
20
+ end
21
+ end
22
+
23
+ module Google
24
+ module Events
25
+ module Cloud
26
+ module Functions
27
+ module V2
28
+ FunctionCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.FunctionCreatedEvent").msgclass
29
+ FunctionUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.FunctionUpdatedEvent").msgclass
30
+ FunctionDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.functions.v2.FunctionDeletedEvent").msgclass
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end