google-events 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +1 -25
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +1 -23
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +1 -23
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +1 -23
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +1 -23
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +1 -23
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +1 -27
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +1 -23
  11. data/lib/google/events/cloud/batch/v1/data_pb.rb +68 -0
  12. data/lib/google/events/cloud/batch/v1/events_pb.rb +27 -0
  13. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +1 -23
  14. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +1 -23
  15. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +1 -23
  16. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +1 -23
  17. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +1 -23
  18. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +1 -23
  19. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +1 -23
  20. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +1 -23
  21. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +1 -23
  22. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +1 -23
  23. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +1 -24
  24. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +1 -23
  25. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +1 -24
  26. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +1 -23
  27. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +1 -26
  28. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +1 -23
  29. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +1 -24
  30. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +1 -23
  31. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +1 -23
  32. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +1 -23
  33. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +1 -24
  34. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +1 -23
  35. data/lib/google/events/cloud/datastore/v1/data_pb.rb +1 -24
  36. data/lib/google/events/cloud/datastore/v1/events_pb.rb +6 -24
  37. data/lib/google/events/cloud/datastream/v1/data_pb.rb +1 -24
  38. data/lib/google/events/cloud/datastream/v1/events_pb.rb +1 -23
  39. data/lib/google/events/cloud/deploy/v1/data_pb.rb +113 -0
  40. data/lib/google/events/cloud/deploy/v1/events_pb.rb +39 -0
  41. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +1 -23
  42. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +1 -23
  43. data/lib/google/events/cloud/firestore/v1/data_pb.rb +1 -24
  44. data/lib/google/events/cloud/firestore/v1/events_pb.rb +6 -24
  45. data/lib/google/events/cloud/functions/v2/data_pb.rb +1 -23
  46. data/lib/google/events/cloud/functions/v2/events_pb.rb +1 -23
  47. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +3 -25
  48. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +3 -25
  49. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +1 -23
  50. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +1 -23
  51. data/lib/google/events/cloud/iot/v1/data_pb.rb +1 -24
  52. data/lib/google/events/cloud/iot/v1/events_pb.rb +1 -23
  53. data/lib/google/events/cloud/memcache/v1/data_pb.rb +1 -25
  54. data/lib/google/events/cloud/memcache/v1/events_pb.rb +1 -23
  55. data/lib/google/events/cloud/metastore/v1/data_pb.rb +1 -24
  56. data/lib/google/events/cloud/metastore/v1/events_pb.rb +1 -23
  57. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +1 -24
  58. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +1 -23
  59. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +1 -24
  60. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +1 -23
  61. data/lib/google/events/cloud/networkservices/v1/data_pb.rb +85 -0
  62. data/lib/google/events/cloud/networkservices/v1/events_pb.rb +48 -0
  63. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +1 -23
  64. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +1 -23
  65. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +1 -23
  66. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +1 -23
  67. data/lib/google/events/cloud/redis/v1/data_pb.rb +1 -25
  68. data/lib/google/events/cloud/redis/v1/events_pb.rb +1 -23
  69. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +17 -23
  70. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +5 -24
  71. data/lib/google/events/cloud/speech/v1/data_pb.rb +32 -0
  72. data/lib/google/events/cloud/speech/v1/events_pb.rb +31 -0
  73. data/lib/google/events/cloud/storage/v1/data_pb.rb +1 -23
  74. data/lib/google/events/cloud/storage/v1/events_pb.rb +1 -23
  75. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +1 -25
  76. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +1 -23
  77. data/lib/google/events/cloud/visionai/v1/data_pb.rb +1 -24
  78. data/lib/google/events/cloud/visionai/v1/events_pb.rb +1 -23
  79. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +1 -26
  80. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +1 -23
  81. data/lib/google/events/cloud/workflows/v1/data_pb.rb +1 -23
  82. data/lib/google/events/cloud/workflows/v1/events_pb.rb +1 -23
  83. data/lib/google/events/cloudevent_pb.rb +1 -22
  84. data/lib/google/events/firebase/analytics/v1/data_pb.rb +1 -22
  85. data/lib/google/events/firebase/analytics/v1/events_pb.rb +1 -23
  86. data/lib/google/events/firebase/auth/v1/data_pb.rb +1 -24
  87. data/lib/google/events/firebase/auth/v1/events_pb.rb +1 -23
  88. data/lib/google/events/firebase/database/v1/data_pb.rb +1 -23
  89. data/lib/google/events/firebase/database/v1/events_pb.rb +1 -23
  90. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +1 -24
  91. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +1 -24
  92. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +1 -23
  93. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +1 -23
  94. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +1 -23
  95. data/lib/google/events/firebase/testlab/v1/data_pb.rb +1 -23
  96. data/lib/google/events/firebase/testlab/v1/events_pb.rb +1 -23
  97. data/lib/google/events/version.rb +1 -1
  98. metadata +11 -3
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
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
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
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
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
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}"
31
- end
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."
35
- end
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
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
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
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
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
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}"
31
- end
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."
35
- end
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
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
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
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
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
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}"
31
- end
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."
35
- end
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
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
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
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
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
33
- end
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."
37
- end
14
+ pool.add_serialized_file(descriptor_data)
38
15
 
39
16
  module Google
40
17
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
11
  descriptor_data = "\n6google/events/cloud/certificatemanager/v1/events.proto\x12)google.events.cloud.certificatemanager.v1\x1a\x34google/events/cloud/certificatemanager/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb5\x01\n\x17\x43\x65rtificateCreatedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.created\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xb5\x01\n\x17\x43\x65rtificateUpdatedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.updated\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xb5\x01\n\x17\x43\x65rtificateDeletedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.deleted\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xc1\x01\n\x1a\x43\x65rtificateMapCreatedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.created\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xc1\x01\n\x1a\x43\x65rtificateMapUpdatedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.updated\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xc1\x01\n\x1a\x43\x65rtificateMapDeletedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.deleted\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryCreatedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.created\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryUpdatedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.updated\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryDeletedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.deleted\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xc9\x01\n\x1c\x44nsAuthorizationCreatedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.created\xca\xf8\xd8,\x10\x64nsauthorization\"\xc9\x01\n\x1c\x44nsAuthorizationUpdatedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.updated\xca\xf8\xd8,\x10\x64nsauthorization\"\xc9\x01\n\x1c\x44nsAuthorizationDeletedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.deleted\xca\xf8\xd8,\x10\x64nsauthorization\"\xed\x01\n%CertificateIssuanceConfigCreatedEvent\x12[\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData:g\xb2\xf8\xd8,Dgoogle.cloud.certificatemanager.certificateIssuanceConfig.v1.created\xca\xf8\xd8,\x19\x63\x65rtificateissuanceconfig\"\xed\x01\n%CertificateIssuanceConfigDeletedEvent\x12[\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData:g\xb2\xf8\xd8,Dgoogle.cloud.certificatemanager.certificateIssuanceConfig.v1.deleted\xca\xf8\xd8,\x19\x63\x65rtificateissuanceconfigB\xb3\x05\xaa\x02\x32Google.Events.Protobuf.Cloud.CertificateManager.V1\xca\x02)Google\\Events\\Cloud\\CertificateManager\\V1\xea\x02-Google::Events::Cloud::CertificateManager::V1\xba\xf8\xd8,\x13\x43\x65rtificate Manager\xc2\xf8\xd8,G\n\x0b\x63\x65rtificate\x12\x38The resource ID of the Certificate triggering the event.\xc2\xf8\xd8,]\n\x0e\x63\x65rtificatemap\x12;The resource ID of the CertificateMap triggering the event.\x1a\x0e\x63\x65rtificateMap\xc2\xf8\xd8,l\n\x13\x63\x65rtificatemapentry\x12@The resource ID of the CertificateMapEntry triggering the event.\x1a\x13\x63\x65rtificateMapEntry\xc2\xf8\xd8,c\n\x10\x64nsauthorization\x12=The resource ID of the DnsAuthorization triggering the event.\x1a\x10\x64nsAuthorization\xc2\xf8\xd8,~\n\x19\x63\x65rtificateissuanceconfig\x12\x46The resource ID of the CertificateIssuanceConfig triggering the event.\x1a\x19\x63\x65rtificateIssuanceConfigb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.certificatemanager.v1.CertificateEventData", "google/events/cloud/certificatemanager/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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  descriptor_data = "\n,google/events/cloud/cloudbuild/v1/data.proto\x12!google.events.cloud.cloudbuild.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\n\n\x0e\x42uildEventData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x10 \x01(\t\x12H\n\x06status\x18\x02 \x01(\x0e\x32\x38.google.events.cloud.cloudbuild.v1.BuildEventData.Status\x12\x15\n\rstatus_detail\x18\x18 \x01(\t\x12\x39\n\x06source\x18\x03 \x01(\x0b\x32).google.events.cloud.cloudbuild.v1.Source\x12;\n\x05steps\x18\x0b \x03(\x0b\x32,.google.events.cloud.cloudbuild.v1.BuildStep\x12;\n\x07results\x18\n \x01(\x0b\x32*.google.events.cloud.cloudbuild.v1.Results\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06images\x18\r \x03(\t\x12,\n\tqueue_ttl\x18( \x01(\x0b\x32\x19.google.protobuf.Duration\x12?\n\tartifacts\x18% \x01(\x0b\x32,.google.events.cloud.cloudbuild.v1.Artifacts\x12\x13\n\x0blogs_bucket\x18\x13 \x01(\t\x12N\n\x11source_provenance\x18\x15 \x01(\x0b\x32\x33.google.events.cloud.cloudbuild.v1.SourceProvenance\x12\x18\n\x10\x62uild_trigger_id\x18\x16 \x01(\t\x12@\n\x07options\x18\x17 \x01(\x0b\x32/.google.events.cloud.cloudbuild.v1.BuildOptions\x12\x0f\n\x07log_url\x18\x19 \x01(\t\x12[\n\rsubstitutions\x18\x1d \x03(\x0b\x32\x44.google.events.cloud.cloudbuild.v1.BuildEventData.SubstitutionsEntry\x12\x0c\n\x04tags\x18\x1f \x03(\t\x12:\n\x07secrets\x18 \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Secret\x12M\n\x06timing\x18! \x03(\x0b\x32=.google.events.cloud.cloudbuild.v1.BuildEventData.TimingEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aZ\n\x0bTimingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan:\x02\x38\x01\"\x8c\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\x0b\n\x07WORKING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\x0b\n\x07\x46\x41ILURE\x10\x04\x12\x12\n\x0eINTERNAL_ERROR\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t\"\xa4\x01\n\x06Source\x12J\n\x0estorage_source\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.cloudbuild.v1.StorageSourceH\x00\x12\x44\n\x0brepo_source\x18\x03 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.RepoSourceH\x00\x42\x08\n\x06source\"C\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xb2\x02\n\nRepoSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x0b\n\x03\x64ir\x18\x07 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x08 \x01(\x08\x12W\n\rsubstitutions\x18\t \x03(\x0b\x32@.google.events.cloud.cloudbuild.v1.RepoSource.SubstitutionsEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08revision\"\xb8\x03\n\tBuildStep\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x65nv\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x10\n\x08wait_for\x18\x06 \x03(\t\x12\x12\n\nentrypoint\x18\x07 \x01(\t\x12\x12\n\nsecret_env\x18\x08 \x03(\t\x12:\n\x07volumes\x18\t \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Volume\x12;\n\x06timing\x18\n \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\x12@\n\x0bpull_timing\x18\r \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\x12*\n\x07timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06status\x18\x0c \x01(\x0e\x32\x38.google.events.cloud.cloudbuild.v1.BuildEventData.Status\"$\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\xf7\x01\n\x07Results\x12=\n\x06images\x18\x02 \x03(\x0b\x32-.google.events.cloud.cloudbuild.v1.BuiltImage\x12\x19\n\x11\x62uild_step_images\x18\x03 \x03(\t\x12\x19\n\x11\x61rtifact_manifest\x18\x04 \x01(\t\x12\x15\n\rnum_artifacts\x18\x05 \x01(\x03\x12\x1a\n\x12\x62uild_step_outputs\x18\x06 \x03(\x0c\x12\x44\n\x0f\x61rtifact_timing\x18\x07 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"l\n\nBuiltImage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12@\n\x0bpush_timing\x18\x04 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"\xdb\x01\n\tArtifacts\x12\x0e\n\x06images\x18\x01 \x03(\t\x12M\n\x07objects\x18\x02 \x01(\x0b\x32<.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects\x1ao\n\x0f\x41rtifactObjects\x12\x10\n\x08location\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12;\n\x06timing\x18\x03 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"h\n\x08TimeSpan\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xee\x02\n\x10SourceProvenance\x12Q\n\x17resolved_storage_source\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.cloudbuild.v1.StorageSource\x12K\n\x14resolved_repo_source\x18\x06 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.RepoSource\x12X\n\x0b\x66ile_hashes\x18\x04 \x03(\x0b\x32\x43.google.events.cloud.cloudbuild.v1.SourceProvenance.FileHashesEntry\x1a`\n\x0f\x46ileHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.FileHashes:\x02\x38\x01\"H\n\nFileHashes\x12:\n\tfile_hash\x18\x01 \x03(\x0b\x32\'.google.events.cloud.cloudbuild.v1.Hash\"\x80\x01\n\x04Hash\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.events.cloud.cloudbuild.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\")\n\x08HashType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\"\x9e\x01\n\x06Secret\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x12L\n\nsecret_env\x18\x03 \x03(\x0b\x32\x38.google.events.cloud.cloudbuild.v1.Secret.SecretEnvEntry\x1a\x30\n\x0eSecretEnvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xe2\x07\n\x0c\x42uildOptions\x12P\n\x16source_provenance_hash\x18\x01 \x03(\x0e\x32\x30.google.events.cloud.cloudbuild.v1.Hash.HashType\x12]\n\x17requested_verify_option\x18\x02 \x01(\x0e\x32<.google.events.cloud.cloudbuild.v1.BuildOptions.VerifyOption\x12Q\n\x0cmachine_type\x18\x03 \x01(\x0e\x32;.google.events.cloud.cloudbuild.v1.BuildOptions.MachineType\x12\x14\n\x0c\x64isk_size_gb\x18\x06 \x01(\x03\x12_\n\x13substitution_option\x18\x04 \x01(\x0e\x32\x42.google.events.cloud.cloudbuild.v1.BuildOptions.SubstitutionOption\x12`\n\x14log_streaming_option\x18\x05 \x01(\x0e\x32\x42.google.events.cloud.cloudbuild.v1.BuildOptions.LogStreamingOption\x12\x13\n\x0bworker_pool\x18\x07 \x01(\t\x12L\n\x07logging\x18\x0b \x01(\x0e\x32;.google.events.cloud.cloudbuild.v1.BuildOptions.LoggingMode\x12\x0b\n\x03\x65nv\x18\x0c \x03(\t\x12\x12\n\nsecret_env\x18\r \x03(\t\x12:\n\x07volumes\x18\x0e \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Volume\".\n\x0cVerifyOption\x12\x10\n\x0cNOT_VERIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\"C\n\x0bMachineType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cN1_HIGHCPU_8\x10\x01\x12\x11\n\rN1_HIGHCPU_32\x10\x02\"5\n\x12SubstitutionOption\x12\x0e\n\nMUST_MATCH\x10\x00\x12\x0f\n\x0b\x41LLOW_LOOSE\x10\x01\"G\n\x12LogStreamingOption\x12\x12\n\x0eSTREAM_DEFAULT\x10\x00\x12\r\n\tSTREAM_ON\x10\x01\x12\x0e\n\nSTREAM_OFF\x10\x02\"@\n\x0bLoggingMode\x12\x17\n\x13LOGGING_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x0c\n\x08GCS_ONLY\x10\x02\x42y\xaa\x02*Google.Events.Protobuf.Cloud.CloudBuild.V1\xca\x02!Google\\Events\\Cloud\\CloudBuild\\V1\xea\x02%Google::Events::Cloud::CloudBuild::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
33
- end
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."
37
- end
14
+ pool.add_serialized_file(descriptor_data)
38
15
 
39
16
  module Google
40
17
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
11
  descriptor_data = "\n.google/events/cloud/cloudbuild/v1/events.proto\x12!google.events.cloud.cloudbuild.v1\x1a,google/events/cloud/cloudbuild/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x87\x01\n\x0f\x43loudBuildEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.cloudbuild.v1.BuildEventData:3\xb2\xf8\xd8,.google.cloud.cloudbuild.build.v1.statusChangedB\x89\x01\xaa\x02*Google.Events.Protobuf.Cloud.CloudBuild.V1\xca\x02!Google\\Events\\Cloud\\CloudBuild\\V1\xea\x02%Google::Events::Cloud::CloudBuild::V1\xba\xf8\xd8,\x0b\x43loud Buildb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.cloudbuild.v1.BuildEventData", "google/events/cloud/cloudbuild/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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -13,32 +13,7 @@ require 'google/rpc/status_pb'
13
13
  descriptor_data = "\n*google/events/cloud/clouddms/v1/data.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\x96\x01\n\tSslConfig\x12@\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.SslConfig.SslType\"G\n\x07SslType\x12\x18\n\x14SSL_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSERVER_ONLY\x10\x01\x12\x11\n\rSERVER_CLIENT\x10\x02\"\xab\x01\n\x16MySqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\"\x84\x02\n\x1bPostgreSqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\x12R\n\x14network_architecture\x18\x08 \x01(\x0e\x32\x34.google.events.cloud.clouddms.v1.NetworkArchitecture\"\xbb\x01\n\x19\x43loudSqlConnectionProfile\x12\x14\n\x0c\x63loud_sql_id\x18\x01 \x01(\t\x12\x43\n\x08settings\x18\x02 \x01(\x0b\x32\x31.google.events.cloud.clouddms.v1.CloudSqlSettings\x12\x12\n\nprivate_ip\x18\x03 \x01(\t\x12\x11\n\tpublic_ip\x18\x04 \x01(\t\x12\x1c\n\x14\x61\x64\x64itional_public_ip\x18\x05 \x01(\t\"r\n\x18\x41lloyDbConnectionProfile\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x42\n\x08settings\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.clouddms.v1.AlloyDbSettings\"l\n\x0bSqlAclEntry\x12\r\n\x05value\x18\x01 \x01(\t\x12\x31\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\r\n\x05label\x18\x03 \x01(\tB\x0c\n\nexpiration\"\xd3\x01\n\x0bSqlIpConfig\x12/\n\x0b\x65nable_ipv4\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0fprivate_network\x18\x02 \x01(\t\x12/\n\x0brequire_ssl\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12I\n\x13\x61uthorized_networks\x18\x04 \x03(\x0b\x32,.google.events.cloud.clouddms.v1.SqlAclEntry\"\xfc\x0b\n\x10\x43loudSqlSettings\x12^\n\x10\x64\x61tabase_version\x18\x01 \x01(\x0e\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion\x12V\n\x0buser_labels\x18\x02 \x03(\x0b\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.UserLabelsEntry\x12\x0c\n\x04tier\x18\x03 \x01(\t\x12>\n\x19storage_auto_resize_limit\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12`\n\x11\x61\x63tivation_policy\x18\x05 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy\x12?\n\tip_config\x18\x06 \x01(\x0b\x32,.google.events.cloud.clouddms.v1.SqlIpConfig\x12\x39\n\x15\x61uto_storage_increase\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\\\n\x0e\x64\x61tabase_flags\x18\x08 \x03(\x0b\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.DatabaseFlagsEntry\x12Y\n\x0e\x64\x61ta_disk_type\x18\t \x01(\x0e\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType\x12\x36\n\x11\x64\x61ta_disk_size_gb\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x0c\n\x04zone\x18\x0b \x01(\t\x12\x16\n\x0esecondary_zone\x18\x12 \x01(\t\x12\x11\n\tsource_id\x18\x0c \x01(\t\x12\x19\n\x11root_password_set\x18\x0e \x01(\x08\x12\x11\n\tcollation\x18\x0f \x01(\t\x12\x15\n\rcmek_key_name\x18\x10 \x01(\t\x12`\n\x11\x61vailability_type\x18\x11 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x13SqlActivationPolicy\x12%\n!SQL_ACTIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02\"M\n\x0fSqlDataDiskType\x12\"\n\x1eSQL_DATA_DISK_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PD_SSD\x10\x01\x12\n\n\x06PD_HDD\x10\x02\"\xce\x01\n\x12SqlDatabaseVersion\x12$\n SQL_DATABASE_VERSION_UNSPECIFIED\x10\x00\x12\r\n\tMYSQL_5_6\x10\x01\x12\r\n\tMYSQL_5_7\x10\x02\x12\x10\n\x0cPOSTGRES_9_6\x10\x03\x12\x0f\n\x0bPOSTGRES_11\x10\x04\x12\x0f\n\x0bPOSTGRES_10\x10\x05\x12\r\n\tMYSQL_8_0\x10\x06\x12\x0f\n\x0bPOSTGRES_12\x10\x07\x12\x0f\n\x0bPOSTGRES_13\x10\x08\x12\x0f\n\x0bPOSTGRES_14\x10\x11\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\xd4\x06\n\x0f\x41lloyDbSettings\x12\x13\n\x0bvpc_network\x18\x02 \x01(\t\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.google.events.cloud.clouddms.v1.AlloyDbSettings.LabelsEntry\x12k\n\x19primary_instance_settings\x18\x04 \x01(\x0b\x32H.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings\x1a\x32\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x14\n\x0cpassword_set\x18\x03 \x01(\x08\x1a\x8d\x04\n\x17PrimaryInstanceSettings\x12\n\n\x02id\x18\x01 \x01(\t\x12n\n\x0emachine_config\x18\x02 \x01(\x0b\x32V.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig\x12s\n\x0e\x64\x61tabase_flags\x18\x06 \x03(\x0b\x32[.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.DatabaseFlagsEntry\x12\x64\n\x06labels\x18\x07 \x03(\x0b\x32T.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.LabelsEntry\x12\x12\n\nprivate_ip\x18\x08 \x01(\t\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14StaticIpConnectivity\"Q\n\x16ReverseSshConnectivity\x12\r\n\x05vm_ip\x18\x01 \x01(\t\x12\x0f\n\x07vm_port\x18\x02 \x01(\x05\x12\n\n\x02vm\x18\x03 \x01(\t\x12\x0b\n\x03vpc\x18\x04 \x01(\t\"%\n\x16VpcPeeringConnectivity\x12\x0b\n\x03vpc\x18\x01 \x01(\t\"\x94\x01\n\x0c\x44\x61tabaseType\x12\x43\n\x08provider\x18\x01 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x12?\n\x06\x65ngine\x18\x02 \x01(\x0e\x32/.google.events.cloud.clouddms.v1.DatabaseEngine\"\xd6\r\n\x0cMigrationJob\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\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.events.cloud.clouddms.v1.MigrationJob.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.State\x12\x42\n\x05phase\x18\x07 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.Phase\x12@\n\x04type\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.MigrationJob.Type\x12\x11\n\tdump_path\x18\t \x01(\t\x12K\n\ndump_flags\x18\x11 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags\x12\x0e\n\x06source\x18\n \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x0b \x01(\t\x12[\n\x18reverse_ssh_connectivity\x18\x65 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.ReverseSshConnectivityH\x00\x12[\n\x18vpc_peering_connectivity\x18\x66 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.VpcPeeringConnectivityH\x00\x12W\n\x16static_ip_connectivity\x18g \x01(\x0b\x32\x35.google.events.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12+\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12!\n\x05\x65rror\x18\r \x01(\x0b\x32\x12.google.rpc.Status\x12\x46\n\x0fsource_database\x18\x0e \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12K\n\x14\x64\x65stination_database\x18\x0f \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12,\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\'\n\x08\x44umpFlag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aW\n\tDumpFlags\x12J\n\ndump_flags\x18\x01 \x03(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJob.DumpFlag\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf1\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMAINTENANCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0b\n\x07RUNNING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCOMPLETED\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0b\n\x07\x44\x45LETED\x10\x0b\x12\x0c\n\x08UPDATING\x10\x0c\x12\x0c\n\x08STARTING\x10\r\x12\x0e\n\nRESTARTING\x10\x0e\x12\x0c\n\x08RESUMING\x10\x0f\"\x8e\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_DUMP\x10\x01\x12\x07\n\x03\x43\x44\x43\x10\x02\x12\x17\n\x13PROMOTE_IN_PROGRESS\x10\x03\x12%\n!WAITING_FOR_SOURCE_WRITES_TO_STOP\x10\x04\x12\x16\n\x12PREPARING_THE_DUMP\x10\x05\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02\x42\x0e\n\x0c\x63onnectivity\"\x94\x07\n\x11\x43onnectionProfile\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\x12N\n\x06labels\x18\x04 \x03(\x0b\x32>.google.events.cloud.clouddms.v1.ConnectionProfile.LabelsEntry\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x38.google.events.cloud.clouddms.v1.ConnectionProfile.State\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12H\n\x05mysql\x18\x64 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MySqlConnectionProfileH\x00\x12R\n\npostgresql\x18\x65 \x01(\x0b\x32<.google.events.cloud.clouddms.v1.PostgreSqlConnectionProfileH\x00\x12N\n\x08\x63loudsql\x18\x66 \x01(\x0b\x32:.google.events.cloud.clouddms.v1.CloudSqlConnectionProfileH\x00\x12L\n\x07\x61lloydb\x18i \x01(\x0b\x32\x39.google.events.cloud.clouddms.v1.AlloyDbConnectionProfileH\x00\x12!\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.Status\x12\x43\n\x08provider\x18\x08 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x42\x14\n\x12\x63onnection_profile\"r\n\x1a\x43onnectionProfileEventData\x12H\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.clouddms.v1.ConnectionProfileH\x00\x88\x01\x01\x42\n\n\x08_payload\"h\n\x15MigrationJobEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.clouddms.v1.MigrationJobH\x00\x88\x01\x01\x42\n\n\x08_payload*\x93\x01\n\x13NetworkArchitecture\x12$\n NETWORK_ARCHITECTURE_UNSPECIFIED\x10\x00\x12*\n&NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER\x10\x01\x12*\n&NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER\x10\x02*L\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02*e\n\x10\x44\x61tabaseProvider\x12!\n\x1d\x44\x41TABASE_PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43LOUDSQL\x10\x01\x12\x07\n\x03RDS\x10\x02\x12\n\n\x06\x41URORA\x10\x03\x12\x0b\n\x07\x41LLOYDB\x10\x04\x42s\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::V1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
- ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
30
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
- ["google.rpc.Status", "google/rpc/status.proto"],
32
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
16
+ pool.add_serialized_file(descriptor_data)
42
17
 
43
18
  module Google
44
19
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
11
  descriptor_data = "\n,google/events/cloud/clouddms/v1/events.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a*google/events/cloud/clouddms/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa5\x01\n\x18MigrationJobCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.created\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.updated\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.deleted\xca\xf8\xd8,\x0cmigrationjob\"\xb9\x01\n\x1d\x43onnectionProfileCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.created\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileUpdatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.updated\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.deleted\xca\xf8\xd8,\x11\x63onnectionprofileB\xd1\x02\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::V1\xba\xf8\xd8,\x12\x44\x61tabase Migration\xc2\xf8\xd8,W\n\x0cmigrationjob\x12\x39The resource ID of the MigrationJob triggering the event.\x1a\x0cmigrationJob\xc2\xf8\xd8,f\n\x11\x63onnectionprofile\x12>The resource ID of the ConnectionProfile triggering the event.\x1a\x11\x63onnectionProfileb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.clouddms.v1.MigrationJobEventData", "google/events/cloud/clouddms/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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  descriptor_data = "\n/google/events/cloud/dataflow/v1beta3/data.proto\x12$google.events.cloud.dataflow.v1beta3\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x05\n\x0b\x45nvironment\x12\x1b\n\x13temp_storage_prefix\x18\x01 \x01(\t\x12#\n\x1b\x63luster_manager_api_service\x18\x02 \x01(\t\x12\x13\n\x0b\x65xperiments\x18\x03 \x03(\t\x12\x17\n\x0fservice_options\x18\x10 \x03(\t\x12\x1c\n\x14service_kms_key_name\x18\x0c \x01(\t\x12\x46\n\x0cworker_pools\x18\x04 \x03(\x0b\x32\x30.google.events.cloud.dataflow.v1beta3.WorkerPool\x12+\n\nuser_agent\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07version\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x07 \x01(\t\x12\x35\n\x14sdk_pipeline_options\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12g\n\x1d\x66lex_resource_scheduling_goal\x18\x0b \x01(\x0e\x32@.google.events.cloud.dataflow.v1beta3.FlexResourceSchedulingGoal\x12\x15\n\rworker_region\x18\r \x01(\t\x12\x13\n\x0bworker_zone\x18\x0e \x01(\t\x12G\n\x0cshuffle_mode\x18\x0f \x01(\x0e\x32\x31.google.events.cloud.dataflow.v1beta3.ShuffleMode\x12I\n\rdebug_options\x18\x11 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.DebugOptions\")\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\"}\n\x13\x41utoscalingSettings\x12M\n\talgorithm\x18\x01 \x01(\x0e\x32:.google.events.cloud.dataflow.v1beta3.AutoscalingAlgorithm\x12\x17\n\x0fmax_num_workers\x18\x02 \x01(\x05\"\x88\x01\n\x18SdkHarnessContainerImage\x12\x17\n\x0f\x63ontainer_image\x18\x01 \x01(\t\x12%\n\x1duse_single_core_per_container\x18\x02 \x01(\x08\x12\x16\n\x0e\x65nvironment_id\x18\x03 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\"\xa7\x07\n\nWorkerPool\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0bnum_workers\x18\x02 \x01(\x05\x12?\n\x08packages\x18\x03 \x03(\x0b\x32-.google.events.cloud.dataflow.v1beta3.Package\x12T\n\x13\x64\x65\x66\x61ult_package_set\x18\x04 \x01(\x0e\x32\x37.google.events.cloud.dataflow.v1beta3.DefaultPackageSet\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12M\n\x0fteardown_policy\x18\x06 \x01(\x0e\x32\x34.google.events.cloud.dataflow.v1beta3.TeardownPolicy\x12\x14\n\x0c\x64isk_size_gb\x18\x07 \x01(\x05\x12\x11\n\tdisk_type\x18\x10 \x01(\t\x12\x19\n\x11\x64isk_source_image\x18\x08 \x01(\t\x12\x0c\n\x04zone\x18\t \x01(\t\x12\x1b\n\x13on_host_maintenance\x18\x0b \x01(\t\x12P\n\x08metadata\x18\r \x03(\x0b\x32>.google.events.cloud.dataflow.v1beta3.WorkerPool.MetadataEntry\x12W\n\x14\x61utoscaling_settings\x18\x0e \x01(\x0b\x32\x39.google.events.cloud.dataflow.v1beta3.AutoscalingSettings\x12\x0f\n\x07network\x18\x11 \x01(\t\x12\x12\n\nsubnetwork\x18\x13 \x01(\t\x12&\n\x1eworker_harness_container_image\x18\x12 \x01(\t\x12\x1e\n\x16num_threads_per_worker\x18\x14 \x01(\x05\x12\\\n\x10ip_configuration\x18\x15 \x01(\x0e\x32\x42.google.events.cloud.dataflow.v1beta3.WorkerIPAddressConfiguration\x12\x64\n\x1csdk_harness_container_images\x18\x16 \x03(\x0b\x32>.google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImage\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0c\x44\x65\x62ugOptions\x12\x1e\n\x16\x65nable_hot_key_logging\x18\x01 \x01(\x08\"\x87\x08\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12;\n\x04type\x18\x04 \x01(\x0e\x32-.google.events.cloud.dataflow.v1beta3.JobType\x12\x46\n\x0b\x65nvironment\x18\x05 \x01(\x0b\x32\x31.google.events.cloud.dataflow.v1beta3.Environment\x12\x16\n\x0esteps_location\x18\x18 \x01(\t\x12\x45\n\rcurrent_state\x18\x07 \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12\x36\n\x12\x63urrent_state_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0frequested_state\x18\t \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12N\n\x0e\x65xecution_info\x18\n \x01(\x0b\x32\x36.google.events.cloud.dataflow.v1beta3.JobExecutionInfo\x12/\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0ereplace_job_id\x18\x0c \x01(\t\x12\x19\n\x11\x63lient_request_id\x18\x0e \x01(\t\x12\x1a\n\x12replaced_by_job_id\x18\x0f \x01(\t\x12\x12\n\ntemp_files\x18\x10 \x03(\t\x12\x45\n\x06labels\x18\x11 \x03(\x0b\x32\x35.google.events.cloud.dataflow.v1beta3.Job.LabelsEntry\x12\x10\n\x08location\x18\x12 \x01(\t\x12O\n\x0cstage_states\x18\x14 \x03(\x0b\x32\x39.google.events.cloud.dataflow.v1beta3.ExecutionStageState\x12G\n\x0cjob_metadata\x18\x15 \x01(\x0b\x32\x31.google.events.cloud.dataflow.v1beta3.JobMetadata\x12.\n\nstart_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63reated_from_snapshot_id\x18\x17 \x01(\t\x12\x15\n\rsatisfies_pzs\x18\x19 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x12\x44\x61tastoreIODetails\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\"6\n\x0fPubSubIODetails\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"%\n\rFileIODetails\x12\x14\n\x0c\x66ile_pattern\x18\x01 \x01(\t\"N\n\x11\x42igTableIODetails\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x10\n\x08table_id\x18\x03 \x01(\t\"V\n\x11\x42igQueryIODetails\x12\r\n\x05table\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\r\n\x05query\x18\x04 \x01(\t\"P\n\x10SpannerIODetails\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\"\xf6\x01\n\nSdkVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x1c\n\x14version_display_name\x18\x02 \x01(\t\x12]\n\x12sdk_support_status\x18\x03 \x01(\x0e\x32\x41.google.events.cloud.dataflow.v1beta3.SdkVersion.SdkSupportStatus\"Z\n\x10SdkSupportStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tSUPPORTED\x10\x01\x12\t\n\x05STALE\x10\x02\x12\x0e\n\nDEPRECATED\x10\x03\x12\x0f\n\x0bUNSUPPORTED\x10\x04\"\xbb\x04\n\x0bJobMetadata\x12\x45\n\x0bsdk_version\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.dataflow.v1beta3.SdkVersion\x12O\n\x0fspanner_details\x18\x02 \x03(\x0b\x32\x36.google.events.cloud.dataflow.v1beta3.SpannerIODetails\x12Q\n\x10\x62igquery_details\x18\x03 \x03(\x0b\x32\x37.google.events.cloud.dataflow.v1beta3.BigQueryIODetails\x12R\n\x11\x62ig_table_details\x18\x04 \x03(\x0b\x32\x37.google.events.cloud.dataflow.v1beta3.BigTableIODetails\x12M\n\x0epubsub_details\x18\x05 \x03(\x0b\x32\x35.google.events.cloud.dataflow.v1beta3.PubSubIODetails\x12I\n\x0c\x66ile_details\x18\x06 \x03(\x0b\x32\x33.google.events.cloud.dataflow.v1beta3.FileIODetails\x12S\n\x11\x64\x61tastore_details\x18\x07 \x03(\x0b\x32\x38.google.events.cloud.dataflow.v1beta3.DatastoreIODetails\"\xba\x01\n\x13\x45xecutionStageState\x12\x1c\n\x14\x65xecution_stage_name\x18\x01 \x01(\t\x12M\n\x15\x65xecution_stage_state\x18\x02 \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12\x36\n\x12\x63urrent_state_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd2\x01\n\x10JobExecutionInfo\x12R\n\x06stages\x18\x01 \x03(\x0b\x32\x42.google.events.cloud.dataflow.v1beta3.JobExecutionInfo.StagesEntry\x1aj\n\x0bStagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.events.cloud.dataflow.v1beta3.JobExecutionStageInfo:\x02\x38\x01\"*\n\x15JobExecutionStageInfo\x12\x11\n\tstep_name\x18\x01 \x03(\t\"J\n\x0cJobEventData\x12:\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.dataflow.v1beta3.Job*K\n\x07JobType\x12\x14\n\x10JOB_TYPE_UNKNOWN\x10\x00\x12\x12\n\x0eJOB_TYPE_BATCH\x10\x01\x12\x16\n\x12JOB_TYPE_STREAMING\x10\x02*k\n\x1a\x46lexResourceSchedulingGoal\x12\x16\n\x12\x46LEXRS_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46LEXRS_SPEED_OPTIMIZED\x10\x01\x12\x19\n\x15\x46LEXRS_COST_OPTIMIZED\x10\x02*o\n\x0eTeardownPolicy\x12\x1b\n\x17TEARDOWN_POLICY_UNKNOWN\x10\x00\x12\x13\n\x0fTEARDOWN_ALWAYS\x10\x01\x12\x17\n\x13TEARDOWN_ON_SUCCESS\x10\x02\x12\x12\n\x0eTEARDOWN_NEVER\x10\x03*\x90\x01\n\x11\x44\x65\x66\x61ultPackageSet\x12\x1f\n\x1b\x44\x45\x46\x41ULT_PACKAGE_SET_UNKNOWN\x10\x00\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_NONE\x10\x01\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_JAVA\x10\x02\x12\x1e\n\x1a\x44\x45\x46\x41ULT_PACKAGE_SET_PYTHON\x10\x03*z\n\x14\x41utoscalingAlgorithm\x12!\n\x1d\x41UTOSCALING_ALGORITHM_UNKNOWN\x10\x00\x12\x1e\n\x1a\x41UTOSCALING_ALGORITHM_NONE\x10\x01\x12\x1f\n\x1b\x41UTOSCALING_ALGORITHM_BASIC\x10\x02*f\n\x1cWorkerIPAddressConfiguration\x12\x19\n\x15WORKER_IP_UNSPECIFIED\x10\x00\x12\x14\n\x10WORKER_IP_PUBLIC\x10\x01\x12\x15\n\x11WORKER_IP_PRIVATE\x10\x02*L\n\x0bShuffleMode\x12\x1c\n\x18SHUFFLE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08VM_BASED\x10\x01\x12\x11\n\rSERVICE_BASED\x10\x02*\xc3\x02\n\x08JobState\x12\x15\n\x11JOB_STATE_UNKNOWN\x10\x00\x12\x15\n\x11JOB_STATE_STOPPED\x10\x01\x12\x15\n\x11JOB_STATE_RUNNING\x10\x02\x12\x12\n\x0eJOB_STATE_DONE\x10\x03\x12\x14\n\x10JOB_STATE_FAILED\x10\x04\x12\x17\n\x13JOB_STATE_CANCELLED\x10\x05\x12\x15\n\x11JOB_STATE_UPDATED\x10\x06\x12\x16\n\x12JOB_STATE_DRAINING\x10\x07\x12\x15\n\x11JOB_STATE_DRAINED\x10\x08\x12\x15\n\x11JOB_STATE_PENDING\x10\t\x12\x18\n\x14JOB_STATE_CANCELLING\x10\n\x12\x14\n\x10JOB_STATE_QUEUED\x10\x0b\x12\"\n\x1eJOB_STATE_RESOURCE_CLEANING_UP\x10\x0c\x42\x82\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.Struct", "google/protobuf/struct.proto"],
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.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}"
33
- end
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."
37
- end
14
+ pool.add_serialized_file(descriptor_data)
38
15
 
39
16
  module Google
40
17
  module Events
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
11
  descriptor_data = "\n1google/events/cloud/dataflow/v1beta3/events.proto\x12$google.events.cloud.dataflow.v1beta3\x1a/google/events/cloud/dataflow/v1beta3/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x15JobStatusChangedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.JobEventData:<\xb2\xf8\xd8,/google.cloud.dataflow.job.v1beta3.statusChanged\xca\xf8\xd8,\x03jobB\xc4\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3\xba\xf8\xd8,\x08\x44\x61taflow\xc2\xf8\xd8,0\n\x03job\x12)The name of the Job triggering the event.b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.dataflow.v1beta3.JobEventData", "google/events/cloud/dataflow/v1beta3/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}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Events