google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -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/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
@@ -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/clientgateways/v1/data.proto
3
4
 
@@ -5,29 +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/clientgateways/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway" do
11
- optional :name, :string, 1
12
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
- optional :state, :enum, 4, "google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway.State"
15
- optional :id, :string, 5
16
- optional :client_connector_service, :string, 6
17
- end
18
- add_enum "google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway.State" do
19
- value :STATE_UNSPECIFIED, 0
20
- value :CREATING, 1
21
- value :UPDATING, 2
22
- value :DELETING, 3
23
- value :RUNNING, 4
24
- value :DOWN, 5
25
- value :ERROR, 6
26
- end
27
- add_message "google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData" do
28
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway"
9
+
10
+ descriptor_data = "\n;google/events/cloud/beyondcorp/clientgateways/v1/data.proto\x12\x30google.events.cloud.beyondcorp.clientgateways.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x02\n\rClientGateway\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\x12T\n\x05state\x18\x04 \x01(\x0e\x32\x45.google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway.State\x12\n\n\x02id\x18\x05 \x01(\t\x12 \n\x18\x63lient_connector_service\x18\x06 \x01(\t\"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\"{\n\x16\x43lientGatewayEventData\x12U\n\x07payload\x18\x01 \x01(\x0b\x32?.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayH\x00\x88\x01\x01\x42\n\n\x08_payloadB\xa7\x01\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::ClientGateways::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}"
29
31
  end
30
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."
31
35
  end
32
36
 
33
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/clientgateways/v1/events.proto
3
4
 
@@ -6,15 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/clientgateways/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/clientgateways/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayDeletedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData"
10
+
11
+ descriptor_data = "\n=google/events/cloud/beyondcorp/clientgateways/v1/events.proto\x12\x30google.events.cloud.beyondcorp.clientgateways.v1\x1a;google/events/cloud/beyondcorp/clientgateways/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xcb\x01\n\x19\x43lientGatewayCreatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.clientgateways.clientGateway.v1.created\xca\xf8\xd8,\rclientgateway\"\xcb\x01\n\x19\x43lientGatewayDeletedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.clientgateways.clientGateway.v1.deleted\xca\xf8\xd8,\rclientgatewayB\x95\x02\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::ClientGateways::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,Z\n\rclientgateway\x12:The resource ID of the ClientGateway triggering the event.\x1a\rclientGatewayb\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.clientgateways.v1.ClientGatewayEventData", "google/events/cloud/beyondcorp/clientgateways/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/certificatemanager/v1/data.proto
3
4
 
@@ -6,165 +7,33 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/duration_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/certificatemanager/v1/data.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig" do
12
- optional :name, :string, 1
13
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
14
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
15
- map :labels, :string, :string, 4
16
- optional :description, :string, 5
17
- optional :certificate_authority_config, :message, 6, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig"
18
- optional :lifetime, :message, 7, "google.protobuf.Duration"
19
- optional :rotation_window_percentage, :int32, 8
20
- optional :key_algorithm, :enum, 9, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm"
21
- end
22
- add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig" do
23
- oneof :kind do
24
- optional :certificate_authority_service_config, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig"
25
- end
26
- end
27
- add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig" do
28
- optional :ca_pool, :string, 1
29
- end
30
- add_enum "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm" do
31
- value :KEY_ALGORITHM_UNSPECIFIED, 0
32
- value :RSA_2048, 1
33
- value :ECDSA_P256, 4
34
- end
35
- add_message "google.events.cloud.certificatemanager.v1.Certificate" do
36
- optional :name, :string, 1
37
- optional :description, :string, 8
38
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
39
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
40
- map :labels, :string, :string, 4
41
- repeated :san_dnsnames, :string, 6
42
- optional :pem_certificate, :string, 9
43
- optional :expire_time, :message, 7, "google.protobuf.Timestamp"
44
- optional :scope, :enum, 12, "google.events.cloud.certificatemanager.v1.Certificate.Scope"
45
- oneof :type do
46
- optional :self_managed, :message, 5, "google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate"
47
- optional :managed, :message, 11, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate"
48
- end
49
- end
50
- add_message "google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate" do
51
- end
52
- add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
53
- repeated :domains, :string, 1
54
- repeated :dns_authorizations, :string, 2
55
- optional :issuance_config, :string, 6
56
- optional :state, :enum, 4, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
57
- optional :provisioning_issue, :message, 3, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
58
- repeated :authorization_attempt_info, :message, 5, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
59
- end
60
- add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue" do
61
- optional :reason, :enum, 1, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason"
62
- optional :details, :string, 2
63
- end
64
- add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason" do
65
- value :REASON_UNSPECIFIED, 0
66
- value :AUTHORIZATION_ISSUE, 1
67
- value :RATE_LIMITED, 2
68
- end
69
- add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo" do
70
- optional :domain, :string, 1
71
- optional :state, :enum, 2, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State"
72
- optional :failure_reason, :enum, 3, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason"
73
- optional :details, :string, 4
74
- end
75
- add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State" do
76
- value :STATE_UNSPECIFIED, 0
77
- value :AUTHORIZING, 1
78
- value :AUTHORIZED, 6
79
- value :FAILED, 7
80
- end
81
- add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason" do
82
- value :FAILURE_REASON_UNSPECIFIED, 0
83
- value :CONFIG, 1
84
- value :CAA, 2
85
- value :RATE_LIMITED, 3
86
- end
87
- add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State" do
88
- value :STATE_UNSPECIFIED, 0
89
- value :PROVISIONING, 1
90
- value :FAILED, 2
91
- value :ACTIVE, 3
92
- end
93
- add_enum "google.events.cloud.certificatemanager.v1.Certificate.Scope" do
94
- value :DEFAULT, 0
95
- value :EDGE_CACHE, 1
96
- end
97
- add_message "google.events.cloud.certificatemanager.v1.CertificateMap" do
98
- optional :name, :string, 1
99
- optional :description, :string, 5
100
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
101
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
102
- map :labels, :string, :string, 3
103
- repeated :gclb_targets, :message, 4, "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget"
104
- end
105
- add_message "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget" do
106
- repeated :ip_configs, :message, 2, "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig"
107
- oneof :target_proxy do
108
- optional :target_https_proxy, :string, 1
109
- optional :target_ssl_proxy, :string, 3
110
- end
111
- end
112
- add_message "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig" do
113
- optional :ip_address, :string, 1
114
- repeated :ports, :uint32, 3
115
- end
116
- add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntry" do
117
- optional :name, :string, 1
118
- optional :description, :string, 9
119
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
120
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
121
- map :labels, :string, :string, 4
122
- repeated :certificates, :string, 7
123
- optional :state, :enum, 8, "google.events.cloud.certificatemanager.v1.ServingState"
124
- oneof :match do
125
- optional :hostname, :string, 5
126
- optional :matcher, :enum, 10, "google.events.cloud.certificatemanager.v1.CertificateMapEntry.Matcher"
127
- end
128
- end
129
- add_enum "google.events.cloud.certificatemanager.v1.CertificateMapEntry.Matcher" do
130
- value :MATCHER_UNSPECIFIED, 0
131
- value :PRIMARY, 1
132
- end
133
- add_message "google.events.cloud.certificatemanager.v1.DnsAuthorization" do
134
- optional :name, :string, 1
135
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
136
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
137
- map :labels, :string, :string, 4
138
- optional :description, :string, 5
139
- optional :domain, :string, 6
140
- optional :dns_resource_record, :message, 10, "google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord"
141
- end
142
- add_message "google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord" do
143
- optional :name, :string, 1
144
- optional :type, :string, 2
145
- optional :data, :string, 3
146
- end
147
- add_message "google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData" do
148
- proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.DnsAuthorization"
149
- end
150
- add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData" do
151
- proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig"
152
- end
153
- add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData" do
154
- proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMapEntry"
155
- end
156
- add_message "google.events.cloud.certificatemanager.v1.CertificateMapEventData" do
157
- proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMap"
158
- end
159
- add_message "google.events.cloud.certificatemanager.v1.CertificateEventData" do
160
- proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.Certificate"
161
- end
162
- add_enum "google.events.cloud.certificatemanager.v1.ServingState" do
163
- value :SERVING_STATE_UNSPECIFIED, 0
164
- value :ACTIVE, 1
165
- value :PENDING, 2
10
+
11
+ descriptor_data = "\n4google/events/cloud/certificatemanager/v1/data.proto\x12)google.events.cloud.certificatemanager.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x07\n\x19\x43\x65rtificateIssuanceConfig\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\x32P.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x85\x01\n\x1c\x63\x65rtificate_authority_config\x18\x06 \x01(\x0b\x32_.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig\x12+\n\x08lifetime\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1arotation_window_percentage\x18\x08 \x01(\x05\x12h\n\rkey_algorithm\x18\t \x01(\x0e\x32Q.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm\x1a\x8f\x02\n\x1a\x43\x65rtificateAuthorityConfig\x12\xb2\x01\n$certificate_authority_service_config\x18\x01 \x01(\x0b\x32\x81\x01.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigH\x00\x1a\x34\n!CertificateAuthorityServiceConfig\x12\x0f\n\x07\x63\x61_pool\x18\x01 \x01(\tB\x06\n\x04kind\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x0cKeyAlgorithm\x12\x1d\n\x19KEY_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0c\n\x08RSA_2048\x10\x01\x12\x0e\n\nECDSA_P256\x10\x04\"\xa7\x0f\n\x0b\x43\x65rtificate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \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\x12R\n\x06labels\x18\x04 \x03(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.Certificate.LabelsEntry\x12\x65\n\x0cself_managed\x18\x05 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateH\x00\x12\\\n\x07managed\x18\x0b \x01(\x0b\x32I.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificateH\x00\x12\x14\n\x0csan_dnsnames\x18\x06 \x03(\t\x12\x17\n\x0fpem_certificate\x18\t \x01(\t\x12/\n\x0b\x65xpire_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x05scope\x18\x0c \x01(\x0e\x32<.google.events.cloud.certificatemanager.v1.Certificate.Scope\x1a\x18\n\x16SelfManagedCertificate\x1a\xd5\t\n\x12ManagedCertificate\x12\x0f\n\x07\x64omains\x18\x01 \x03(\t\x12\x1a\n\x12\x64ns_authorizations\x18\x02 \x03(\t\x12\x17\n\x0fissuance_config\x18\x06 \x01(\t\x12^\n\x05state\x18\x04 \x01(\x0e\x32O.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State\x12w\n\x12provisioning_issue\x18\x03 \x01(\x0b\x32[.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue\x12\x86\x01\n\x1a\x61uthorization_attempt_info\x18\x05 \x03(\x0b\x32\x62.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo\x1a\xe5\x01\n\x11ProvisioningIssue\x12r\n\x06reason\x18\x01 \x01(\x0e\x32\x62.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\"K\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41UTHORIZATION_ISSUE\x10\x01\x12\x10\n\x0cRATE_LIMITED\x10\x02\x1a\xe4\x03\n\x18\x41uthorizationAttemptInfo\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12w\n\x05state\x18\x02 \x01(\x0e\x32h.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State\x12\x88\x01\n\x0e\x66\x61ilure_reason\x18\x03 \x01(\x0e\x32p.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason\x12\x0f\n\x07\x64\x65tails\x18\x04 \x01(\t\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41UTHORIZING\x10\x01\x12\x0e\n\nAUTHORIZED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\"V\n\rFailureReason\x12\x1e\n\x1a\x46\x41ILURE_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06\x43ONFIG\x10\x01\x12\x07\n\x03\x43\x41\x41\x10\x02\x12\x10\n\x0cRATE_LIMITED\x10\x03\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"$\n\x05Scope\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0e\n\nEDGE_CACHE\x10\x01\x42\x06\n\x04type\"\xe2\x04\n\x0e\x43\x65rtificateMap\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x06labels\x18\x03 \x03(\x0b\x32\x45.google.events.cloud.certificatemanager.v1.CertificateMap.LabelsEntry\x12Z\n\x0cgclb_targets\x18\x04 \x03(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget\x1a\xe8\x01\n\nGclbTarget\x12\x1c\n\x12target_https_proxy\x18\x01 \x01(\tH\x00\x12\x1a\n\x10target_ssl_proxy\x18\x03 \x01(\tH\x00\x12\x61\n\nip_configs\x18\x02 \x03(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig\x1a-\n\x08IpConfig\x12\x12\n\nip_address\x18\x01 \x01(\t\x12\r\n\x05ports\x18\x03 \x03(\rB\x0e\n\x0ctarget_proxy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x04\n\x13\x43\x65rtificateMapEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \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\x12Z\n\x06labels\x18\x04 \x03(\x0b\x32J.google.events.cloud.certificatemanager.v1.CertificateMapEntry.LabelsEntry\x12\x12\n\x08hostname\x18\x05 \x01(\tH\x00\x12Y\n\x07matcher\x18\n \x01(\x0e\x32\x46.google.events.cloud.certificatemanager.v1.CertificateMapEntry.MatcherH\x00\x12\x14\n\x0c\x63\x65rtificates\x18\x07 \x03(\t\x12\x46\n\x05state\x18\x08 \x01(\x0e\x32\x37.google.events.cloud.certificatemanager.v1.ServingState\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x07Matcher\x12\x17\n\x13MATCHER_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x42\x07\n\x05match\"\xda\x03\n\x10\x44nsAuthorization\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\x12W\n\x06labels\x18\x04 \x03(\x0b\x32G.google.events.cloud.certificatemanager.v1.DnsAuthorization.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06\x64omain\x18\x06 \x01(\t\x12j\n\x13\x64ns_resource_record\x18\n \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord\x1a=\n\x11\x44nsResourceRecord\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"z\n\x19\x44nsAuthorizationEventData\x12Q\n\x07payload\x18\x01 \x01(\x0b\x32;.google.events.cloud.certificatemanager.v1.DnsAuthorizationH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x8c\x01\n\"CertificateIssuanceConfigEventData\x12Z\n\x07payload\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x80\x01\n\x1c\x43\x65rtificateMapEntryEventData\x12T\n\x07payload\x18\x01 \x01(\x0b\x32>.google.events.cloud.certificatemanager.v1.CertificateMapEntryH\x00\x88\x01\x01\x42\n\n\x08_payload\"v\n\x17\x43\x65rtificateMapEventData\x12O\n\x07payload\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.certificatemanager.v1.CertificateMapH\x00\x88\x01\x01\x42\n\n\x08_payload\"p\n\x14\x43\x65rtificateEventData\x12L\n\x07payload\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.certificatemanager.v1.CertificateH\x00\x88\x01\x01\x42\n\n\x08_payload*F\n\x0cServingState\x12\x1d\n\x19SERVING_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x42\x91\x01\xaa\x02\x32Google.Events.Protobuf.Cloud.CertificateManager.V1\xca\x02)Google\\Events\\Cloud\\CertificateManager\\V1\xea\x02-Google::Events::Cloud::CertificateManager::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
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
166
33
  end
167
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
168
37
  end
169
38
 
170
39
  module Google