google-events 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  4. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  5. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  6. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  7. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  8. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  9. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  10. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  11. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  14. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  15. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  16. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  17. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  18. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  19. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  20. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  21. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  22. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  23. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  24. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  25. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  26. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  27. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  28. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  29. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  30. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  31. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  32. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  33. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  34. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  35. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  36. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  37. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  38. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  39. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  40. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  41. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  42. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  43. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  44. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  45. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  46. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  47. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  48. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  49. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  50. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  51. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  52. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  53. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  54. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  55. data/lib/google/events/cloudevent_pb.rb +24 -6
  56. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  57. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  58. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  59. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  60. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  61. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  62. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  63. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  64. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  65. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  66. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  67. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  68. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  69. data/lib/google/events/version.rb +1 -1
  70. metadata +4 -2
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/eventarc/v1/data.proto
3
4
 
@@ -6,97 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/timestamp_pb'
7
8
  require 'google/rpc/code_pb'
8
9
 
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"
10
+
11
+ descriptor_data = "\n*google/events/cloud/eventarc/v1/data.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xf6\x02\n\x07\x43hannel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x16\n\x0cpubsub_topic\x18\x08 \x01(\tH\x00\x12=\n\x05state\x18\t \x01(\x0e\x32..google.events.cloud.eventarc.v1.Channel.State\x12\x18\n\x10\x61\x63tivation_token\x18\n \x01(\t\x12\x17\n\x0f\x63rypto_key_name\x18\x0b \x01(\t\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x42\x0b\n\ttransport\"\xa1\x01\n\x11\x43hannelConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x05\n\x07Trigger\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\revent_filters\x18\x08 \x03(\x0b\x32,.google.events.cloud.eventarc.v1.EventFilter\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x41\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32,.google.events.cloud.eventarc.v1.Destination\x12=\n\ttransport\x18\x0b \x01(\x0b\x32*.google.events.cloud.eventarc.v1.Transport\x12\x44\n\x06labels\x18\x0c \x03(\x0b\x32\x34.google.events.cloud.eventarc.v1.Trigger.LabelsEntry\x12\x0f\n\x07\x63hannel\x18\r \x01(\t\x12L\n\nconditions\x18\x0f \x03(\x0b\x32\x38.google.events.cloud.eventarc.v1.Trigger.ConditionsEntry\x12\x1f\n\x17\x65vent_data_content_type\x18\x10 \x01(\t\x12\x0c\n\x04\x65tag\x18\x63 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x62\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.events.cloud.eventarc.v1.StateCondition:\x02\x38\x01\"A\n\x0b\x45ventFilter\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x10\n\x08operator\x18\x03 \x01(\t\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\xbe\x01\n\x0b\x44\x65stination\x12>\n\tcloud_run\x18\x01 \x01(\x0b\x32).google.events.cloud.eventarc.v1.CloudRunH\x00\x12\x18\n\x0e\x63loud_function\x18\x02 \x01(\tH\x00\x12\x33\n\x03gke\x18\x03 \x01(\x0b\x32$.google.events.cloud.eventarc.v1.GKEH\x00\x12\x12\n\x08workflow\x18\x04 \x01(\tH\x00\x42\x0c\n\ndescriptor\"V\n\tTransport\x12\x39\n\x06pubsub\x18\x01 \x01(\x0b\x32\'.google.events.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"9\n\x08\x43loudRun\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\"Z\n\x03GKE\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x05 \x01(\t\"-\n\x06Pubsub\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"M\n\x10TriggerEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Trigger\"M\n\x10\x43hannelEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Channel\"a\n\x1a\x43hannelConnectionEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.eventarc.v1.ChannelConnectionBs\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
98
32
  end
99
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
100
36
  end
101
37
 
102
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/eventarc/v1/events.proto
3
4
 
@@ -6,33 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/eventarc/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
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"
10
+
11
+ descriptor_data = "\n,google/events/cloud/eventarc/v1/events.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a*google/events/cloud/eventarc/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x13TriggerCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.created\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.updated\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.deleted\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13\x43hannelCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.created\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.updated\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.deleted\xca\xf8\xd8,\x07\x63hannel\"\xb9\x01\n\x1d\x43hannelConnectionCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.created\xca\xf8\xd8,\x11\x63hannelconnection\"\xb9\x01\n\x1d\x43hannelConnectionDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.deleted\xca\xf8\xd8,\x11\x63hannelconnectionB\xf3\x02\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::V1\xba\xf8\xd8,\x08\x45ventarc\xc2\xf8\xd8,?\n\x07trigger\x12\x34The resource ID of the Trigger triggering the event.\xc2\xf8\xd8,?\n\x07\x63hannel\x12\x34The resource ID of the Channel triggering the event.\xc2\xf8\xd8,f\n\x11\x63hannelconnection\x12>The resource ID of the ChannelConnection triggering the event.\x1a\x11\x63hannelConnectionb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.eventarc.v1.TriggerEventData", "google/events/cloud/eventarc/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
32
  end
35
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
36
36
  end
37
37
 
38
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/firestore/v1/data.proto
3
4
 
@@ -7,44 +8,33 @@ require 'google/protobuf/struct_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
  require 'google/type/latlng_pb'
9
10
 
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"
11
+
12
+ descriptor_data = "\n+google/events/cloud/firestore/v1/data.proto\x12 google.events.cloud.firestore.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\xd2\x01\n\x11\x44ocumentEventData\x12\x39\n\x05value\x18\x01 \x01(\x0b\x32*.google.events.cloud.firestore.v1.Document\x12=\n\told_value\x18\x02 \x01(\x0b\x32*.google.events.cloud.firestore.v1.Document\x12\x43\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32..google.events.cloud.firestore.v1.DocumentMask\"#\n\x0c\x44ocumentMask\x12\x13\n\x0b\x66ield_paths\x18\x01 \x03(\t\"\x9a\x02\n\x08\x44ocument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x46\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x36.google.events.cloud.firestore.v1.Document.FieldsEntry\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.events.cloud.firestore.v1.Value:\x02\x38\x01\"\xc8\x03\n\x05Value\x12\x30\n\nnull_value\x18\x0b \x01(\x0e\x32\x1a.google.protobuf.NullValueH\x00\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x17\n\rinteger_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x35\n\x0ftimestamp_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x16\n\x0cstring_value\x18\x11 \x01(\tH\x00\x12\x15\n\x0b\x62ytes_value\x18\x12 \x01(\x0cH\x00\x12\x19\n\x0freference_value\x18\x05 \x01(\tH\x00\x12.\n\x0fgeo_point_value\x18\x08 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x12\x43\n\x0b\x61rray_value\x18\t \x01(\x0b\x32,.google.events.cloud.firestore.v1.ArrayValueH\x00\x12?\n\tmap_value\x18\x06 \x01(\x0b\x32*.google.events.cloud.firestore.v1.MapValueH\x00\x42\x0c\n\nvalue_type\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.google.events.cloud.firestore.v1.Value\"\xaa\x01\n\x08MapValue\x12\x46\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x36.google.events.cloud.firestore.v1.MapValue.FieldsEntry\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.events.cloud.firestore.v1.Value:\x02\x38\x01\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Firestore.V1\xca\x02 Google\\Events\\Cloud\\Firestore\\V1\xea\x02$Google::Events::Cloud::Firestore::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ["google.type.LatLng", "google/type/latlng.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
46
34
  end
47
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
48
38
  end
49
39
 
50
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/firestore/v1/events.proto
3
4
 
@@ -6,21 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/firestore/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
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"
10
+
11
+ descriptor_data = "\n-google/events/cloud/firestore/v1/events.proto\x12 google.events.cloud.firestore.v1\x1a+google/events/cloud/firestore/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb2\x01\n\x14\x44ocumentCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.created\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.updated\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.deleted\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentWrittenEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.written\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocumentB\xb0\x03\xaa\x02)Google.Events.Protobuf.Cloud.Firestore.V1\xca\x02 Google\\Events\\Cloud\\Firestore\\V1\xea\x02$Google::Events::Cloud::Firestore::V1\xba\xf8\xd8,\x0f\x43loud Firestore\xc2\xf8\xd8,R\n\x08\x64\x61tabase\x12\x46The Firestore database name. The default database name is \"(default)\".\xc2\xf8\xd8,\x96\x01\n\tnamespace\x12\x88\x01The Firestore database namespace. Applicable to database instances running in Datastore mode only. The default namespace is \"(default)\".\xc2\xf8\xd8,.\n\x08\x64ocument\x12\"Pattern to match for the resource.b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.firestore.v1.DocumentEventData", "google/events/cloud/firestore/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
22
32
  end
23
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
24
36
  end
25
37
 
26
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/functions/v2/data.proto
3
4
 
@@ -5,163 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
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
9
+
10
+ descriptor_data = "\n+google/events/cloud/functions/v2/data.proto\x12 google.events.cloud.functions.v2\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x05\n\x08\x46unction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x0b\x65nvironment\x18\n \x01(\x0e\x32-.google.events.cloud.functions.v2.Environment\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x43\n\x0c\x62uild_config\x18\x03 \x01(\x0b\x32-.google.events.cloud.functions.v2.BuildConfig\x12G\n\x0eservice_config\x18\x04 \x01(\x0b\x32/.google.events.cloud.functions.v2.ServiceConfig\x12\x45\n\revent_trigger\x18\x05 \x01(\x0b\x32..google.events.cloud.functions.v2.EventTrigger\x12?\n\x05state\x18\x06 \x01(\x0e\x32\x30.google.events.cloud.functions.v2.Function.State\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x36.google.events.cloud.functions.v2.Function.LabelsEntry\x12\x46\n\x0estate_messages\x18\t \x03(\x0b\x32..google.events.cloud.functions.v2.StateMessage\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tDEPLOYING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05\"\xc0\x01\n\x0cStateMessage\x12I\n\x08severity\x18\x01 \x01(\x0e\x32\x37.google.events.cloud.functions.v2.StateMessage.Severity\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\"F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03\"C\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xa3\x01\n\nRepoSource\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x0b\n\x03\x64ir\x18\x06 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x07 \x01(\x08\x42\n\n\x08revision\"\xa2\x01\n\x06Source\x12I\n\x0estorage_source\x18\x01 \x01(\x0b\x32/.google.events.cloud.functions.v2.StorageSourceH\x00\x12\x43\n\x0brepo_source\x18\x02 \x01(\x0b\x32,.google.events.cloud.functions.v2.RepoSourceH\x00\x42\x08\n\x06source\"\xb0\x01\n\x10SourceProvenance\x12P\n\x17resolved_storage_source\x18\x01 \x01(\x0b\x32/.google.events.cloud.functions.v2.StorageSource\x12J\n\x14resolved_repo_source\x18\x02 \x01(\x0b\x32,.google.events.cloud.functions.v2.RepoSource\"\xf2\x04\n\x0b\x42uildConfig\x12\r\n\x05\x62uild\x18\x01 \x01(\t\x12\x0f\n\x07runtime\x18\x02 \x01(\t\x12\x13\n\x0b\x65ntry_point\x18\x03 \x01(\t\x12\x38\n\x06source\x18\x04 \x01(\x0b\x32(.google.events.cloud.functions.v2.Source\x12M\n\x11source_provenance\x18\x08 \x01(\x0b\x32\x32.google.events.cloud.functions.v2.SourceProvenance\x12\x13\n\x0bworker_pool\x18\x05 \x01(\t\x12\x66\n\x15\x65nvironment_variables\x18\x06 \x03(\x0b\x32G.google.events.cloud.functions.v2.BuildConfig.EnvironmentVariablesEntry\x12U\n\x0f\x64ocker_registry\x18\n \x01(\x0e\x32<.google.events.cloud.functions.v2.BuildConfig.DockerRegistry\x12\x19\n\x11\x64ocker_repository\x18\x07 \x01(\t\x12\x17\n\x0f\x62uildpack_stack\x18\t \x01(\t\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02\"\xfd\t\n\rServiceConfig\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x12\x18\n\x10\x61vailable_memory\x18\r \x01(\t\x12\x15\n\ravailable_cpu\x18\x16 \x01(\t\x12h\n\x15\x65nvironment_variables\x18\x04 \x03(\x0b\x32I.google.events.cloud.functions.v2.ServiceConfig.EnvironmentVariablesEntry\x12\x1a\n\x12max_instance_count\x18\x05 \x01(\x05\x12\x1a\n\x12min_instance_count\x18\x0c \x01(\x05\x12\x15\n\rvpc_connector\x18\x06 \x01(\t\x12q\n\x1dvpc_connector_egress_settings\x18\x07 \x01(\x0e\x32J.google.events.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings\x12Y\n\x10ingress_settings\x18\x08 \x01(\x0e\x32?.google.events.cloud.functions.v2.ServiceConfig.IngressSettings\x12\x0b\n\x03uri\x18\t \x01(\t\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12&\n\x1e\x61ll_traffic_on_latest_revision\x18\x10 \x01(\x08\x12T\n\x1csecret_environment_variables\x18\x11 \x03(\x0b\x32..google.events.cloud.functions.v2.SecretEnvVar\x12\x46\n\x0esecret_volumes\x18\x13 \x03(\x0b\x32..google.events.cloud.functions.v2.SecretVolume\x12\x10\n\x08revision\x18\x12 \x01(\t\x12(\n max_instance_request_concurrency\x18\x14 \x01(\x05\x12U\n\x0esecurity_level\x18\x15 \x01(\x0e\x32=.google.events.cloud.functions.v2.ServiceConfig.SecurityLevel\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"W\n\rSecurityLevel\x12\x1e\n\x1aSECURITY_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rSECURE_ALWAYS\x10\x01\x12\x13\n\x0fSECURE_OPTIONAL\x10\x02\"P\n\x0cSecretEnvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"\xc6\x01\n\x0cSecretVolume\x12\x12\n\nmount_path\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12N\n\x08versions\x18\x04 \x03(\x0b\x32<.google.events.cloud.functions.v2.SecretVolume.SecretVersion\x1a.\n\rSecretVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x8d\x03\n\x0c\x45ventTrigger\x12\x0f\n\x07trigger\x18\x01 \x01(\t\x12\x16\n\x0etrigger_region\x18\x02 \x01(\t\x12\x12\n\nevent_type\x18\x03 \x01(\t\x12\x44\n\revent_filters\x18\x04 \x03(\x0b\x32-.google.events.cloud.functions.v2.EventFilter\x12\x14\n\x0cpubsub_topic\x18\x05 \x01(\t\x12\x1d\n\x15service_account_email\x18\x06 \x01(\t\x12P\n\x0cretry_policy\x18\x07 \x01(\x0e\x32:.google.events.cloud.functions.v2.EventTrigger.RetryPolicy\x12\x0f\n\x07\x63hannel\x18\x08 \x01(\t\"b\n\x0bRetryPolicy\x12\x1c\n\x18RETRY_POLICY_UNSPECIFIED\x10\x00\x12\x1d\n\x19RETRY_POLICY_DO_NOT_RETRY\x10\x01\x12\x16\n\x12RETRY_POLICY_RETRY\x10\x02\"A\n\x0b\x45ventFilter\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x10\n\x08operator\x18\x03 \x01(\t\"a\n\x11\x46unctionEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.functions.v2.FunctionH\x00\x88\x01\x01\x42\n\n\x08_payload*@\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\t\n\x05GEN_1\x10\x01\x12\t\n\x05GEN_2\x10\x02\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Functions.V2\xca\x02 Google\\Events\\Cloud\\Functions\\V2\xea\x02$Google::Events::Cloud::Functions::V2b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
163
31
  end
164
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
165
35
  end
166
36
 
167
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/functions/v2/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/functions/v2/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
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"
10
+
11
+ descriptor_data = "\n-google/events/cloud/functions/v2/events.proto\x12 google.events.cloud.functions.v2\x1a+google/events/cloud/functions/v2/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x14\x46unctionCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.created\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.updated\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.deleted\xca\xf8\xd8,\x08\x66unctionB\xd0\x01\xaa\x02)Google.Events.Protobuf.Cloud.Functions.V2\xca\x02 Google\\Events\\Cloud\\Functions\\V2\xea\x02$Google::Events::Cloud::Functions::V2\xba\xf8\xd8,\x0f\x43loud Functions\xc2\xf8\xd8,A\n\x08\x66unction\x12\x35The resource ID of the Function triggering the event.b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.functions.v2.FunctionEventData", "google/events/cloud/functions/v2/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
21
36
  end
22
37
 
23
38
  module Google