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/audit/v1/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/audit/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/audit/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.audit.v1.AuditLogWrittenEvent" do
12
- optional :data, :message, 1, "google.events.cloud.audit.v1.LogEntryData"
10
+
11
+ descriptor_data = "\n)google/events/cloud/audit/v1/events.proto\x12\x1cgoogle.events.cloud.audit.v1\x1a\'google/events/cloud/audit/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa8\x01\n\x14\x41uditLogWrittenEvent\x12\x38\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32*.google.events.cloud.audit.v1.LogEntryData:V\xb2\xf8\xd8,!google.cloud.audit.log.v1.written\xca\xf8\xd8,\x0bservicename\xca\xf8\xd8,\nmethodname\xca\xf8\xd8,\x0cresourcenameB\xb0\x03\xaa\x02%Google.Events.Protobuf.Cloud.Audit.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Audit\\V1\xea\x02 Google::Events::Cloud::Audit::V1\xba\xf8\xd8,\x10\x43loud Audit Logs\xc2\xf8\xd8,^\n\x0bservicename\x12\x42The name of the service which triggered the Cloud Audit log entry.\x1a\x0bserviceName\xc2\xf8\xd8,\\\n\nmethodname\x12\x42The name of the method (RPC) triggering the Cloud Audit log entry.\x1a\nmethodName\xc2\xf8\xd8,h\n\x0cresourcename\x12JThe name of the resource that is the subject of the Cloud Audit log entry.\x1a\x0cresourceNameb\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.audit.v1.LogEntryData", "google/events/cloud/audit/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}"
13
32
  end
14
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."
15
36
  end
16
37
 
17
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/beyondcorp/appconnections/v1/data.proto
3
4
 
@@ -5,52 +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/beyondcorp/appconnections/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection" 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 :uid, :string, 6
17
- optional :type, :enum, 7, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type"
18
- optional :application_endpoint, :message, 8, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint"
19
- repeated :connectors, :string, 9
20
- optional :state, :enum, 10, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State"
21
- optional :gateway, :message, 11, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway"
22
- end
23
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint" do
24
- optional :host, :string, 1
25
- optional :port, :int32, 2
26
- end
27
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway" do
28
- optional :type, :enum, 2, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type"
29
- optional :uri, :string, 3
30
- optional :ingress_port, :int32, 4
31
- optional :app_gateway, :string, 5
32
- optional :l7psc, :string, 6
33
- end
34
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type" do
35
- value :TYPE_UNSPECIFIED, 0
36
- value :GCP_REGIONAL_MIG, 1
37
- end
38
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type" do
39
- value :TYPE_UNSPECIFIED, 0
40
- value :TCP_PROXY, 1
41
- end
42
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State" do
43
- value :STATE_UNSPECIFIED, 0
44
- value :CREATING, 1
45
- value :CREATED, 2
46
- value :UPDATING, 3
47
- value :DELETING, 4
48
- value :DOWN, 5
49
- end
50
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData" do
51
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection"
9
+
10
+ descriptor_data = "\n;google/events/cloud/beyondcorp/appconnections/v1/data.proto\x12\x30google.events.cloud.beyondcorp.appconnections.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x08\n\rAppConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06labels\x18\x04 \x03(\x0b\x32K.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0b\n\x03uid\x18\x06 \x01(\t\x12R\n\x04type\x18\x07 \x01(\x0e\x32\x44.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type\x12q\n\x14\x61pplication_endpoint\x18\x08 \x01(\x0b\x32S.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint\x12\x12\n\nconnectors\x18\t \x03(\t\x12T\n\x05state\x18\n \x01(\x0e\x32\x45.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State\x12X\n\x07gateway\x18\x0b \x01(\x0b\x32G.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway\x1a\x31\n\x13\x41pplicationEndpoint\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x1a\xe0\x01\n\x07Gateway\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x14\n\x0cingress_port\x18\x04 \x01(\x05\x12\x13\n\x0b\x61pp_gateway\x18\x05 \x01(\t\x12\r\n\x05l7psc\x18\x06 \x01(\t\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10GCP_REGIONAL_MIG\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTCP_PROXY\x10\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\"{\n\x16\x41ppConnectionEventData\x12U\n\x07payload\x18\x01 \x01(\x0b\x32?.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionH\x00\x88\x01\x01\x42\n\n\x08_payloadB\xa7\x01\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::AppConnections::V1b\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}"
52
31
  end
53
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."
54
35
  end
55
36
 
56
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/beyondcorp/appconnections/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/appconnections/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/beyondcorp/appconnections/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
16
- end
17
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
10
+
11
+ descriptor_data = "\n=google/events/cloud/beyondcorp/appconnections/v1/events.proto\x12\x30google.events.cloud.beyondcorp.appconnections.v1\x1a;google/events/cloud/beyondcorp/appconnections/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xcb\x01\n\x19\x41ppConnectionCreatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.created\xca\xf8\xd8,\rappconnection\"\xcb\x01\n\x19\x41ppConnectionUpdatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.updated\xca\xf8\xd8,\rappconnection\"\xcb\x01\n\x19\x41ppConnectionDeletedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.deleted\xca\xf8\xd8,\rappconnectionB\x95\x02\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::AppConnections::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,Z\n\rappconnection\x12:The resource ID of the AppConnection triggering the event.\x1a\rappConnectionb\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.beyondcorp.appconnections.v1.AppConnectionEventData", "google/events/cloud/beyondcorp/appconnections/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}"
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
@@ -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/beyondcorp/appconnectors/v1/data.proto
3
4
 
@@ -5,52 +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/beyondcorp/appconnectors/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo" do
11
- optional :id, :string, 1
12
- optional :status, :enum, 2, "google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus"
13
- optional :time, :message, 4, "google.protobuf.Timestamp"
14
- repeated :sub, :message, 5, "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo"
15
- end
16
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector" do
17
- optional :name, :string, 1
18
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
19
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
20
- map :labels, :string, :string, 4
21
- optional :display_name, :string, 5
22
- optional :uid, :string, 6
23
- optional :state, :enum, 7, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State"
24
- optional :principal_info, :message, 8, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo"
25
- optional :resource_info, :message, 11, "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo"
26
- end
27
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo" do
28
- oneof :type do
29
- optional :service_account, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount"
30
- end
31
- end
32
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount" do
33
- optional :email, :string, 1
34
- end
35
- add_enum "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State" do
36
- value :STATE_UNSPECIFIED, 0
37
- value :CREATING, 1
38
- value :CREATED, 2
39
- value :UPDATING, 3
40
- value :DELETING, 4
41
- value :DOWN, 5
42
- end
43
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData" do
44
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector"
45
- end
46
- add_enum "google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus" do
47
- value :HEALTH_STATUS_UNSPECIFIED, 0
48
- value :HEALTHY, 1
49
- value :UNHEALTHY, 2
50
- value :UNRESPONSIVE, 3
51
- value :DEGRADED, 4
9
+
10
+ descriptor_data = "\n:google/events/cloud/beyondcorp/appconnectors/v1/data.proto\x12/google.events.cloud.beyondcorp.appconnectors.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x01\n\x0cResourceInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\x06status\x18\x02 \x01(\x0e\x32=.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x03sub\x18\x05 \x03(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo\"\xcd\x06\n\x0c\x41ppConnector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0b\n\x03uid\x18\x06 \x01(\t\x12R\n\x05state\x18\x07 \x01(\x0e\x32\x43.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State\x12\x63\n\x0eprincipal_info\x18\x08 \x01(\x0b\x32K.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo\x12T\n\rresource_info\x18\x0b \x01(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo\x1a\xaf\x01\n\rPrincipalInfo\x12u\n\x0fservice_account\x18\x01 \x01(\x0b\x32Z.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccountH\x00\x1a\x1f\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\tB\x06\n\x04type\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\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\"x\n\x15\x41ppConnectorEventData\x12S\n\x07payload\x18\x01 \x01(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorH\x00\x88\x01\x01\x42\n\n\x08_payload*i\n\x0cHealthStatus\x12\x1d\n\x19HEALTH_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x10\n\x0cUNRESPONSIVE\x10\x03\x12\x0c\n\x08\x44\x45GRADED\x10\x04\x42\xa4\x01\xaa\x02\x38Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1\xca\x02/Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02\x34Google::Events::Cloud::BeyondCorp::AppConnectors::V1b\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}"
52
31
  end
53
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."
54
35
  end
55
36
 
56
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/beyondcorp/appconnectors/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/appconnectors/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/beyondcorp/appconnectors/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
16
- end
17
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
10
+
11
+ descriptor_data = "\n<google/events/cloud/beyondcorp/appconnectors/v1/events.proto\x12/google.events.cloud.beyondcorp.appconnectors.v1\x1a:google/events/cloud/beyondcorp/appconnectors/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xc5\x01\n\x18\x41ppConnectorCreatedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.created\xca\xf8\xd8,\x0c\x61ppconnector\"\xc5\x01\n\x18\x41ppConnectorUpdatedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.updated\xca\xf8\xd8,\x0c\x61ppconnector\"\xc5\x01\n\x18\x41ppConnectorDeletedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.deleted\xca\xf8\xd8,\x0c\x61ppconnectorB\x8f\x02\xaa\x02\x38Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1\xca\x02/Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02\x34Google::Events::Cloud::BeyondCorp::AppConnectors::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,W\n\x0c\x61ppconnector\x12\x39The resource ID of the AppConnector triggering the event.\x1a\x0c\x61ppConnectorb\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.beyondcorp.appconnectors.v1.AppConnectorEventData", "google/events/cloud/beyondcorp/appconnectors/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}"
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
@@ -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/beyondcorp/appgateways/v1/data.proto
3
4
 
@@ -5,45 +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/beyondcorp/appgateways/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.appgateways.v1.AppGateway" 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 :uid, :string, 6
17
- optional :type, :enum, 7, "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.Type"
18
- optional :state, :enum, 8, "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.State"
19
- optional :uri, :string, 9
20
- repeated :allocated_connections, :message, 10, "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection"
21
- optional :host_type, :enum, 11, "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.HostType"
22
- end
23
- add_message "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection" do
24
- optional :psc_uri, :string, 1
25
- optional :ingress_port, :int32, 2
26
- end
27
- add_enum "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.Type" do
28
- value :TYPE_UNSPECIFIED, 0
29
- value :TCP_PROXY, 1
30
- end
31
- add_enum "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.State" do
32
- value :STATE_UNSPECIFIED, 0
33
- value :CREATING, 1
34
- value :CREATED, 2
35
- value :UPDATING, 3
36
- value :DELETING, 4
37
- value :DOWN, 5
38
- end
39
- add_enum "google.events.cloud.beyondcorp.appgateways.v1.AppGateway.HostType" do
40
- value :HOST_TYPE_UNSPECIFIED, 0
41
- value :GCP_REGIONAL_MIG, 1
42
- end
43
- add_message "google.events.cloud.beyondcorp.appgateways.v1.AppGatewayEventData" do
44
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.appgateways.v1.AppGateway"
9
+
10
+ descriptor_data = "\n8google/events/cloud/beyondcorp/appgateways/v1/data.proto\x12-google.events.cloud.beyondcorp.appgateways.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x07\n\nAppGateway\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x06labels\x18\x04 \x03(\x0b\x32\x45.google.events.cloud.beyondcorp.appgateways.v1.AppGateway.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0b\n\x03uid\x18\x06 \x01(\t\x12L\n\x04type\x18\x07 \x01(\x0e\x32>.google.events.cloud.beyondcorp.appgateways.v1.AppGateway.Type\x12N\n\x05state\x18\x08 \x01(\x0e\x32?.google.events.cloud.beyondcorp.appgateways.v1.AppGateway.State\x12\x0b\n\x03uri\x18\t \x01(\t\x12l\n\x15\x61llocated_connections\x18\n \x03(\x0b\x32M.google.events.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection\x12U\n\thost_type\x18\x0b \x01(\x0e\x32\x42.google.events.cloud.beyondcorp.appgateways.v1.AppGateway.HostType\x1a<\n\x13\x41llocatedConnection\x12\x0f\n\x07psc_uri\x18\x01 \x01(\t\x12\x14\n\x0cingress_port\x18\x02 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTCP_PROXY\x10\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\";\n\x08HostType\x12\x19\n\x15HOST_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10GCP_REGIONAL_MIG\x10\x01\"r\n\x13\x41ppGatewayEventData\x12O\n\x07payload\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.beyondcorp.appgateways.v1.AppGatewayH\x00\x88\x01\x01\x42\n\n\x08_payloadB\x9e\x01\xaa\x02\x36Google.Events.Protobuf.Cloud.BeyondCorp.AppGateways.V1\xca\x02-Google\\Events\\Cloud\\BeyondCorp\\AppGateways\\V1\xea\x02\x32Google::Events::Cloud::BeyondCorp::AppGateways::V1b\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}"
45
31
  end
46
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."
47
35
  end
48
36
 
49
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/beyondcorp/appgateways/v1/events.proto
3
4
 
@@ -6,15 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/appgateways/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/beyondcorp/appgateways/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.appgateways.v1.AppGatewayCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appgateways.v1.AppGatewayEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.appgateways.v1.AppGatewayDeletedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appgateways.v1.AppGatewayEventData"
10
+
11
+ descriptor_data = "\n:google/events/cloud/beyondcorp/appgateways/v1/events.proto\x12-google.events.cloud.beyondcorp.appgateways.v1\x1a\x38google/events/cloud/beyondcorp/appgateways/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb9\x01\n\x16\x41ppGatewayCreatedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.beyondcorp.appgateways.v1.AppGatewayEventData:M\xb2\xf8\xd8,9google.cloud.beyondcorp.appgateways.appGateway.v1.created\xca\xf8\xd8,\nappgateway\"\xb9\x01\n\x16\x41ppGatewayDeletedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.beyondcorp.appgateways.v1.AppGatewayEventData:M\xb2\xf8\xd8,9google.cloud.beyondcorp.appgateways.appGateway.v1.deleted\xca\xf8\xd8,\nappgatewayB\x83\x02\xaa\x02\x36Google.Events.Protobuf.Cloud.BeyondCorp.AppGateways.V1\xca\x02-Google\\Events\\Cloud\\BeyondCorp\\AppGateways\\V1\xea\x02\x32Google::Events::Cloud::BeyondCorp::AppGateways::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,Q\n\nappgateway\x12\x37The resource ID of the AppGateway triggering the event.\x1a\nappGatewayb\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.beyondcorp.appgateways.v1.AppGatewayEventData", "google/events/cloud/beyondcorp/appgateways/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}"
16
32
  end
17
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."
18
36
  end
19
37
 
20
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/beyondcorp/clientconnectorservices/v1/data.proto
3
4
 
@@ -5,55 +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/beyondcorp/clientconnectorservices/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService" 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 :display_name, :string, 4
15
- optional :ingress, :message, 6, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress"
16
- optional :egress, :message, 7, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress"
17
- optional :state, :enum, 8, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State"
18
- end
19
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress" do
20
- oneof :ingress_config do
21
- optional :config, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config"
22
- end
23
- end
24
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config" do
25
- optional :transport_protocol, :enum, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol"
26
- repeated :destination_routes, :message, 2, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute"
27
- end
28
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute" do
29
- optional :address, :string, 1
30
- optional :netmask, :string, 2
31
- end
32
- add_enum "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol" do
33
- value :TRANSPORT_PROTOCOL_UNSPECIFIED, 0
34
- value :TCP, 1
35
- end
36
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress" do
37
- oneof :destination_type do
38
- optional :peered_vpc, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc"
39
- end
40
- end
41
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc" do
42
- optional :network_vpc, :string, 1
43
- end
44
- add_enum "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State" do
45
- value :STATE_UNSPECIFIED, 0
46
- value :CREATING, 1
47
- value :UPDATING, 2
48
- value :DELETING, 3
49
- value :RUNNING, 4
50
- value :DOWN, 5
51
- value :ERROR, 6
52
- end
53
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData" do
54
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService"
9
+
10
+ descriptor_data = "\nDgoogle/events/cloud/beyondcorp/clientconnectorservices/v1/data.proto\x12\x39google.events.cloud.beyondcorp.clientconnectorservices.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\n\n\x16\x43lientConnectorService\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12j\n\x07ingress\x18\x06 \x01(\x0b\x32Y.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress\x12h\n\x06\x65gress\x18\x07 \x01(\x0b\x32X.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress\x12\x66\n\x05state\x18\x08 \x01(\x0e\x32W.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State\x1a\xb3\x04\n\x07Ingress\x12r\n\x06\x63onfig\x18\x01 \x01(\x0b\x32`.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.ConfigH\x00\x1a\xa1\x03\n\x06\x43onfig\x12\x8e\x01\n\x12transport_protocol\x18\x01 \x01(\x0e\x32r.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol\x12\x8d\x01\n\x12\x64\x65stination_routes\x18\x02 \x03(\x0b\x32q.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute\x1a\x34\n\x10\x44\x65stinationRoute\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0f\n\x07netmask\x18\x02 \x01(\t\"@\n\x11TransportProtocol\x12\"\n\x1eTRANSPORT_PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x42\x10\n\x0eingress_config\x1a\xb8\x01\n\x06\x45gress\x12x\n\npeered_vpc\x18\x01 \x01(\x0b\x32\x62.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpcH\x00\x1a \n\tPeeredVpc\x12\x13\n\x0bnetwork_vpc\x18\x01 \x01(\tB\x12\n\x10\x64\x65stination_type\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\x12\t\n\x05\x45RROR\x10\x06\"\x96\x01\n\x1f\x43lientConnectorServiceEventData\x12g\n\x07payload\x18\x01 \x01(\x0b\x32Q.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceH\x00\x88\x01\x01\x42\n\n\x08_payloadB\xc2\x01\xaa\x02\x42Google.Events.Protobuf.Cloud.BeyondCorp.ClientConnectorServices.V1\xca\x02\x39Google\\Events\\Cloud\\BeyondCorp\\ClientConnectorServices\\V1\xea\x02>Google::Events::Cloud::BeyondCorp::ClientConnectorServices::V1b\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}"
55
31
  end
56
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."
57
35
  end
58
36
 
59
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/beyondcorp/clientconnectorservices/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/clientconnectorservices/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/beyondcorp/clientconnectorservices/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData"
16
- end
17
- add_message "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData"
10
+
11
+ descriptor_data = "\nFgoogle/events/cloud/beyondcorp/clientconnectorservices/v1/events.proto\x12\x39google.events.cloud.beyondcorp.clientconnectorservices.v1\x1a\x44google/events/cloud/beyondcorp/clientconnectorservices/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x81\x02\n\"ClientConnectorServiceCreatedEvent\x12h\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Z.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData:q\xb2\xf8\xd8,Qgoogle.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.created\xca\xf8\xd8,\x16\x63lientconnectorservice\"\x81\x02\n\"ClientConnectorServiceUpdatedEvent\x12h\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Z.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData:q\xb2\xf8\xd8,Qgoogle.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.updated\xca\xf8\xd8,\x16\x63lientconnectorservice\"\x81\x02\n\"ClientConnectorServiceDeletedEvent\x12h\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Z.google.events.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData:q\xb2\xf8\xd8,Qgoogle.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.deleted\xca\xf8\xd8,\x16\x63lientconnectorserviceB\xcb\x02\xaa\x02\x42Google.Events.Protobuf.Cloud.BeyondCorp.ClientConnectorServices.V1\xca\x02\x39Google\\Events\\Cloud\\BeyondCorp\\ClientConnectorServices\\V1\xea\x02>Google::Events::Cloud::BeyondCorp::ClientConnectorServices::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,u\n\x16\x63lientconnectorservice\x12\x43The resource ID of the ClientConnectorService triggering the event.\x1a\x16\x63lientConnectorServiceb\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.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceEventData", "google/events/cloud/beyondcorp/clientconnectorservices/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}"
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