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/dataflow/v1beta3/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/dataflow/v1beta3/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/dataflow/v1beta3/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.dataflow.v1beta3.JobStatusChangedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.dataflow.v1beta3.JobEventData"
10
+
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
+
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.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}"
13
32
  end
14
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
15
36
  end
16
37
 
17
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/datafusion/v1/data.proto
3
4
 
@@ -5,115 +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/datafusion/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.datafusion.v1.NetworkConfig" do
11
- optional :network, :string, 1
12
- optional :ip_allocation, :string, 2
13
- end
14
- add_message "google.events.cloud.datafusion.v1.Version" do
15
- optional :version_number, :string, 1
16
- optional :default_version, :bool, 2
17
- repeated :available_features, :string, 3
18
- optional :type, :enum, 4, "google.events.cloud.datafusion.v1.Version.Type"
19
- end
20
- add_enum "google.events.cloud.datafusion.v1.Version.Type" do
21
- value :TYPE_UNSPECIFIED, 0
22
- value :TYPE_PREVIEW, 1
23
- value :TYPE_GENERAL_AVAILABILITY, 2
24
- end
25
- add_message "google.events.cloud.datafusion.v1.Accelerator" do
26
- optional :accelerator_type, :enum, 1, "google.events.cloud.datafusion.v1.Accelerator.AcceleratorType"
27
- optional :state, :enum, 2, "google.events.cloud.datafusion.v1.Accelerator.State"
28
- end
29
- add_enum "google.events.cloud.datafusion.v1.Accelerator.AcceleratorType" do
30
- value :ACCELERATOR_TYPE_UNSPECIFIED, 0
31
- value :CDC, 1
32
- value :HEALTHCARE, 2
33
- value :CCAI_INSIGHTS, 3
34
- end
35
- add_enum "google.events.cloud.datafusion.v1.Accelerator.State" do
36
- value :STATE_UNSPECIFIED, 0
37
- value :ENABLED, 1
38
- value :DISABLED, 2
39
- value :UNKNOWN, 3
40
- end
41
- add_message "google.events.cloud.datafusion.v1.CryptoKeyConfig" do
42
- optional :key_reference, :string, 1
43
- end
44
- add_message "google.events.cloud.datafusion.v1.Instance" do
45
- optional :name, :string, 1
46
- optional :description, :string, 2
47
- optional :type, :enum, 3, "google.events.cloud.datafusion.v1.Instance.Type"
48
- optional :enable_stackdriver_logging, :bool, 4
49
- optional :enable_stackdriver_monitoring, :bool, 5
50
- optional :private_instance, :bool, 6
51
- optional :network_config, :message, 7, "google.events.cloud.datafusion.v1.NetworkConfig"
52
- map :labels, :string, :string, 8
53
- map :options, :string, :string, 9
54
- optional :create_time, :message, 10, "google.protobuf.Timestamp"
55
- optional :update_time, :message, 11, "google.protobuf.Timestamp"
56
- optional :state, :enum, 12, "google.events.cloud.datafusion.v1.Instance.State"
57
- optional :state_message, :string, 13
58
- optional :service_endpoint, :string, 14
59
- optional :zone, :string, 15
60
- optional :version, :string, 16
61
- optional :service_account, :string, 17
62
- optional :display_name, :string, 18
63
- repeated :available_version, :message, 19, "google.events.cloud.datafusion.v1.Version"
64
- optional :api_endpoint, :string, 20
65
- optional :gcs_bucket, :string, 21
66
- repeated :accelerators, :message, 22, "google.events.cloud.datafusion.v1.Accelerator"
67
- optional :p4_service_account, :string, 23
68
- optional :tenant_project_id, :string, 24
69
- optional :dataproc_service_account, :string, 25
70
- optional :enable_rbac, :bool, 27
71
- optional :crypto_key_config, :message, 28, "google.events.cloud.datafusion.v1.CryptoKeyConfig"
72
- repeated :disabled_reason, :enum, 29, "google.events.cloud.datafusion.v1.Instance.DisabledReason"
73
- optional :event_publish_config, :message, 30, "google.events.cloud.datafusion.v1.EventPublishConfig"
74
- optional :enable_zone_separation, :bool, 31
75
- end
76
- add_enum "google.events.cloud.datafusion.v1.Instance.Type" do
77
- value :TYPE_UNSPECIFIED, 0
78
- value :BASIC, 1
79
- value :ENTERPRISE, 2
80
- value :DEVELOPER, 3
81
- end
82
- add_enum "google.events.cloud.datafusion.v1.Instance.State" do
83
- value :STATE_UNSPECIFIED, 0
84
- value :CREATING, 1
85
- value :ACTIVE, 2
86
- value :FAILED, 3
87
- value :DELETING, 4
88
- value :UPGRADING, 5
89
- value :RESTARTING, 6
90
- value :UPDATING, 7
91
- value :AUTO_UPDATING, 8
92
- value :AUTO_UPGRADING, 9
93
- value :DISABLED, 10
94
- end
95
- add_enum "google.events.cloud.datafusion.v1.Instance.DisabledReason" do
96
- value :DISABLED_REASON_UNSPECIFIED, 0
97
- value :KMS_KEY_ISSUE, 1
98
- end
99
- add_message "google.events.cloud.datafusion.v1.EventPublishConfig" do
100
- optional :enabled, :bool, 1
101
- optional :topic, :string, 2
102
- end
103
- add_message "google.events.cloud.datafusion.v1.DnsPeering" do
104
- optional :name, :string, 1
105
- optional :domain, :string, 2
106
- optional :description, :string, 3
107
- optional :target_project, :string, 4
108
- optional :target_network, :string, 5
109
- end
110
- add_message "google.events.cloud.datafusion.v1.InstanceEventData" do
111
- proto3_optional :payload, :message, 1, "google.events.cloud.datafusion.v1.Instance"
112
- end
113
- add_message "google.events.cloud.datafusion.v1.DnsPeeringEventData" do
114
- proto3_optional :payload, :message, 1, "google.events.cloud.datafusion.v1.DnsPeering"
9
+
10
+ descriptor_data = "\n,google/events/cloud/datafusion/v1/data.proto\x12!google.events.cloud.datafusion.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x15\n\rip_allocation\x18\x02 \x01(\t\"\xe4\x01\n\x07Version\x12\x16\n\x0eversion_number\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_version\x18\x02 \x01(\x08\x12\x1a\n\x12\x61vailable_features\x18\x03 \x03(\t\x12=\n\x04type\x18\x04 \x01(\x0e\x32/.google.events.cloud.datafusion.v1.Version.Type\"M\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cTYPE_PREVIEW\x10\x01\x12\x1d\n\x19TYPE_GENERAL_AVAILABILITY\x10\x02\"\xd5\x02\n\x0b\x41\x63\x63\x65lerator\x12X\n\x10\x61\x63\x63\x65lerator_type\x18\x01 \x01(\x0e\x32>.google.events.cloud.datafusion.v1.Accelerator.AcceleratorType\x12\x43\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.events.cloud.datafusion.v1.Accelerator.State\"_\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x43\x44\x43\x10\x01\x12\x0e\n\nHEALTHCARE\x10\x02\x12\x11\n\rCCAI_INSIGHTS\x10\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07UNKNOWN\x10\x03\"(\n\x0f\x43ryptoKeyConfig\x12\x15\n\rkey_reference\x18\x01 \x01(\t\"\xb5\r\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x04type\x18\x03 \x01(\x0e\x32\x30.google.events.cloud.datafusion.v1.Instance.Type\x12\"\n\x1a\x65nable_stackdriver_logging\x18\x04 \x01(\x08\x12%\n\x1d\x65nable_stackdriver_monitoring\x18\x05 \x01(\x08\x12\x18\n\x10private_instance\x18\x06 \x01(\x08\x12H\n\x0enetwork_config\x18\x07 \x01(\x0b\x32\x30.google.events.cloud.datafusion.v1.NetworkConfig\x12G\n\x06labels\x18\x08 \x03(\x0b\x32\x37.google.events.cloud.datafusion.v1.Instance.LabelsEntry\x12I\n\x07options\x18\t \x03(\x0b\x32\x38.google.events.cloud.datafusion.v1.Instance.OptionsEntry\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x0c \x01(\x0e\x32\x31.google.events.cloud.datafusion.v1.Instance.State\x12\x15\n\rstate_message\x18\r \x01(\t\x12\x18\n\x10service_endpoint\x18\x0e \x01(\t\x12\x0c\n\x04zone\x18\x0f \x01(\t\x12\x0f\n\x07version\x18\x10 \x01(\t\x12\x17\n\x0fservice_account\x18\x11 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x12 \x01(\t\x12\x45\n\x11\x61vailable_version\x18\x13 \x03(\x0b\x32*.google.events.cloud.datafusion.v1.Version\x12\x14\n\x0c\x61pi_endpoint\x18\x14 \x01(\t\x12\x12\n\ngcs_bucket\x18\x15 \x01(\t\x12\x44\n\x0c\x61\x63\x63\x65lerators\x18\x16 \x03(\x0b\x32..google.events.cloud.datafusion.v1.Accelerator\x12\x1a\n\x12p4_service_account\x18\x17 \x01(\t\x12\x19\n\x11tenant_project_id\x18\x18 \x01(\t\x12 \n\x18\x64\x61taproc_service_account\x18\x19 \x01(\t\x12\x13\n\x0b\x65nable_rbac\x18\x1b \x01(\x08\x12M\n\x11\x63rypto_key_config\x18\x1c \x01(\x0b\x32\x32.google.events.cloud.datafusion.v1.CryptoKeyConfig\x12S\n\x0f\x64isabled_reason\x18\x1d \x03(\x0e\x32:.google.events.cloud.datafusion.v1.Instance.DisabledReason\x12S\n\x14\x65vent_publish_config\x18\x1e \x01(\x0b\x32\x35.google.events.cloud.datafusion.v1.EventPublishConfig\x12\x1e\n\x16\x65nable_zone_separation\x18\x1f \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a.\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\x12\r\n\tDEVELOPER\x10\x03\"\xb4\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tUPGRADING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x11\n\rAUTO_UPDATING\x10\x08\x12\x12\n\x0e\x41UTO_UPGRADING\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\"D\n\x0e\x44isabledReason\x12\x1f\n\x1b\x44ISABLED_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01\"4\n\x12\x45ventPublishConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\r\n\x05topic\x18\x02 \x01(\t\"o\n\nDnsPeering\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0etarget_project\x18\x04 \x01(\t\x12\x16\n\x0etarget_network\x18\x05 \x01(\t\"b\n\x11InstanceEventData\x12\x41\n\x07payload\x18\x01 \x01(\x0b\x32+.google.events.cloud.datafusion.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payload\"f\n\x13\x44nsPeeringEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.datafusion.v1.DnsPeeringH\x00\x88\x01\x01\x42\n\n\x08_payloadBy\xaa\x02*Google.Events.Protobuf.Cloud.DataFusion.V1\xca\x02!Google\\Events\\Cloud\\DataFusion\\V1\xea\x02%Google::Events::Cloud::DataFusion::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}"
115
31
  end
116
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."
117
35
  end
118
36
 
119
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/datafusion/v1/events.proto
3
4
 
@@ -6,24 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/datafusion/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/datafusion/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.datafusion.v1.InstanceCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
13
- end
14
- add_message "google.events.cloud.datafusion.v1.InstanceDeletedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
16
- end
17
- add_message "google.events.cloud.datafusion.v1.InstanceUpdatedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
19
- end
20
- add_message "google.events.cloud.datafusion.v1.DnsPeeringCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.DnsPeeringEventData"
22
- end
23
- add_message "google.events.cloud.datafusion.v1.DnsPeeringDeletedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.DnsPeeringEventData"
10
+
11
+ descriptor_data = "\n.google/events/cloud/datafusion/v1/events.proto\x12!google.events.cloud.datafusion.v1\x1a,google/events/cloud/datafusion/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x99\x01\n\x14InstanceCreatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.created\xca\xf8\xd8,\x08instance\"\x99\x01\n\x14InstanceDeletedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.deleted\xca\xf8\xd8,\x08instance\"\x99\x01\n\x14InstanceUpdatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.updated\xca\xf8\xd8,\x08instance\"\xae\x01\n\x16\x44nsPeeringCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.datafusion.v1.DnsPeeringEventData:N\xb2\xf8\xd8,-google.cloud.datafusion.dnsPeering.v1.created\xca\xf8\xd8,\x08instance\xca\xf8\xd8,\ndnspeering\"\xae\x01\n\x16\x44nsPeeringDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.datafusion.v1.DnsPeeringEventData:N\xb2\xf8\xd8,-google.cloud.datafusion.dnsPeering.v1.deleted\xca\xf8\xd8,\x08instance\xca\xf8\xd8,\ndnspeeringB\xab\x02\xaa\x02*Google.Events.Protobuf.Cloud.DataFusion.V1\xca\x02!Google\\Events\\Cloud\\DataFusion\\V1\xea\x02%Google::Events::Cloud::DataFusion::V1\xba\xf8\xd8,\x11\x43loud Data Fusion\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,Q\n\ndnspeering\x12\x37The resource ID of the DnsPeering triggering the event.\x1a\ndnsPeeringb\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.datafusion.v1.InstanceEventData", "google/events/cloud/datafusion/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}"
25
32
  end
26
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."
27
36
  end
28
37
 
29
38
  module Google