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/apigeeregistry/v1/events.proto
3
4
 
@@ -6,51 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/apigeeregistry/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/apigeeregistry/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.apigeeregistry.v1.InstanceCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.InstanceEventData"
13
- end
14
- add_message "google.events.cloud.apigeeregistry.v1.InstanceDeletedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.InstanceEventData"
16
- end
17
- add_message "google.events.cloud.apigeeregistry.v1.ApiCreatedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
19
- end
20
- add_message "google.events.cloud.apigeeregistry.v1.ApiUpdatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
22
- end
23
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeletedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiEventData"
25
- end
26
- add_message "google.events.cloud.apigeeregistry.v1.ApiVersionCreatedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
28
- end
29
- add_message "google.events.cloud.apigeeregistry.v1.ApiVersionUpdatedEvent" do
30
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
31
- end
32
- add_message "google.events.cloud.apigeeregistry.v1.ApiVersionDeletedEvent" do
33
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersionEventData"
34
- end
35
- add_message "google.events.cloud.apigeeregistry.v1.ApiSpecCreatedEvent" do
36
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
37
- end
38
- add_message "google.events.cloud.apigeeregistry.v1.ApiSpecUpdatedEvent" do
39
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
40
- end
41
- add_message "google.events.cloud.apigeeregistry.v1.ApiSpecDeletedEvent" do
42
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpecEventData"
43
- end
44
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentCreatedEvent" do
45
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
46
- end
47
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentUpdatedEvent" do
48
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
49
- end
50
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentDeletedEvent" do
51
- optional :data, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData"
10
+
11
+ descriptor_data = "\n2google/events/cloud/apigeeregistry/v1/events.proto\x12%google.events.cloud.apigeeregistry.v1\x1a\x30google/events/cloud/apigeeregistry/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa1\x01\n\x14InstanceCreatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.apigeeregistry.v1.InstanceEventData:A\xb2\xf8\xd8,/google.cloud.apigeeregistry.instance.v1.created\xca\xf8\xd8,\x08instance\"\xa1\x01\n\x14InstanceDeletedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.apigeeregistry.v1.InstanceEventData:A\xb2\xf8\xd8,/google.cloud.apigeeregistry.instance.v1.deleted\xca\xf8\xd8,\x08instance\"\x8d\x01\n\x0f\x41piCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigeeregistry.v1.ApiEventData:7\xb2\xf8\xd8,*google.cloud.apigeeregistry.api.v1.created\xca\xf8\xd8,\x03\x61pi\"\x8d\x01\n\x0f\x41piUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigeeregistry.v1.ApiEventData:7\xb2\xf8\xd8,*google.cloud.apigeeregistry.api.v1.updated\xca\xf8\xd8,\x03\x61pi\"\x8d\x01\n\x0f\x41piDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigeeregistry.v1.ApiEventData:7\xb2\xf8\xd8,*google.cloud.apigeeregistry.api.v1.deleted\xca\xf8\xd8,\x03\x61pi\"\xae\x01\n\x16\x41piVersionCreatedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.apigeeregistry.v1.ApiVersionEventData:J\xb2\xf8\xd8,1google.cloud.apigeeregistry.apiVersion.v1.created\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\"\xae\x01\n\x16\x41piVersionUpdatedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.apigeeregistry.v1.ApiVersionEventData:J\xb2\xf8\xd8,1google.cloud.apigeeregistry.apiVersion.v1.updated\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\"\xae\x01\n\x16\x41piVersionDeletedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.apigeeregistry.v1.ApiVersionEventData:J\xb2\xf8\xd8,1google.cloud.apigeeregistry.apiVersion.v1.deleted\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\"\xae\x01\n\x13\x41piSpecCreatedEvent\x12\x45\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x37.google.events.cloud.apigeeregistry.v1.ApiSpecEventData:P\xb2\xf8\xd8,.google.cloud.apigeeregistry.apiSpec.v1.created\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\xca\xf8\xd8,\x04spec\"\xae\x01\n\x13\x41piSpecUpdatedEvent\x12\x45\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x37.google.events.cloud.apigeeregistry.v1.ApiSpecEventData:P\xb2\xf8\xd8,.google.cloud.apigeeregistry.apiSpec.v1.updated\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\xca\xf8\xd8,\x04spec\"\xae\x01\n\x13\x41piSpecDeletedEvent\x12\x45\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x37.google.events.cloud.apigeeregistry.v1.ApiSpecEventData:P\xb2\xf8\xd8,.google.cloud.apigeeregistry.apiSpec.v1.deleted\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\x07version\xca\xf8\xd8,\x04spec\"\xba\x01\n\x19\x41piDeploymentCreatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData:P\xb2\xf8\xd8,4google.cloud.apigeeregistry.apiDeployment.v1.created\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\ndeployment\"\xba\x01\n\x19\x41piDeploymentUpdatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData:P\xb2\xf8\xd8,4google.cloud.apigeeregistry.apiDeployment.v1.updated\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\ndeployment\"\xba\x01\n\x19\x41piDeploymentDeletedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData:P\xb2\xf8\xd8,4google.cloud.apigeeregistry.apiDeployment.v1.deleted\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\ndeploymentB\xe7\x03\xaa\x02.Google.Events.Protobuf.Cloud.ApigeeRegistry.V1\xca\x02%Google\\Events\\Cloud\\ApigeeRegistry\\V1\xea\x02)Google::Events::Cloud::ApigeeRegistry::V1\xba\xf8\xd8,\x0f\x41pigee Registry\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,7\n\x03\x61pi\x12\x30The resource ID of the Api triggering the event.\xc2\xf8\xd8,?\n\x07version\x12\x34The resource ID of the Version triggering the event.\xc2\xf8\xd8,9\n\x04spec\x12\x31The resource ID of the Spec triggering the event.\xc2\xf8\xd8,E\n\ndeployment\x12\x37The resource ID of the Deployment 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.apigeeregistry.v1.InstanceEventData", "google/events/cloud/apigeeregistry/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}"
52
32
  end
53
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."
54
36
  end
55
37
 
56
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/audit/v1/data.proto
3
4
 
@@ -9,99 +10,36 @@ require 'google/protobuf/timestamp_pb'
9
10
  require 'google/rpc/context/attribute_context_pb'
10
11
  require 'google/rpc/status_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/events/cloud/audit/v1/data.proto", :syntax => :proto3) do
14
- add_message "google.events.cloud.audit.v1.LogEntryData" do
15
- optional :log_name, :string, 12
16
- optional :resource, :message, 8, "google.api.MonitoredResource"
17
- optional :proto_payload, :message, 2, "google.events.cloud.audit.v1.AuditLog"
18
- optional :insert_id, :string, 4
19
- map :labels, :string, :string, 11
20
- optional :operation, :message, 15, "google.events.cloud.audit.v1.LogEntryOperation"
21
- optional :timestamp, :message, 9, "google.protobuf.Timestamp"
22
- optional :receive_timestamp, :message, 24, "google.protobuf.Timestamp"
23
- optional :severity, :enum, 10, "google.events.cloud.audit.v1.LogSeverity"
24
- optional :trace, :string, 22
25
- optional :span_id, :string, 27
26
- optional :split, :message, 35, "google.events.cloud.audit.v1.LogSplit"
27
- end
28
- add_message "google.events.cloud.audit.v1.LogEntryOperation" do
29
- optional :id, :string, 1
30
- optional :producer, :string, 2
31
- optional :first, :bool, 3
32
- optional :last, :bool, 4
33
- end
34
- add_message "google.events.cloud.audit.v1.AuditLog" do
35
- optional :service_name, :string, 7
36
- optional :method_name, :string, 8
37
- optional :resource_name, :string, 11
38
- optional :resource_location, :message, 20, "google.events.cloud.audit.v1.ResourceLocation"
39
- optional :resource_original_state, :message, 19, "google.protobuf.Struct"
40
- optional :num_response_items, :int64, 12
41
- optional :status, :message, 2, "google.rpc.Status"
42
- optional :authentication_info, :message, 3, "google.events.cloud.audit.v1.AuthenticationInfo"
43
- repeated :authorization_info, :message, 9, "google.events.cloud.audit.v1.AuthorizationInfo"
44
- optional :request_metadata, :message, 4, "google.events.cloud.audit.v1.RequestMetadata"
45
- optional :request, :message, 16, "google.protobuf.Struct"
46
- optional :response, :message, 17, "google.protobuf.Struct"
47
- optional :metadata, :message, 18, "google.protobuf.Struct"
48
- optional :service_data, :message, 15, "google.protobuf.Struct"
49
- end
50
- add_message "google.events.cloud.audit.v1.AuthenticationInfo" do
51
- optional :principal_email, :string, 1
52
- optional :authority_selector, :string, 2
53
- optional :third_party_principal, :message, 4, "google.protobuf.Struct"
54
- optional :service_account_key_name, :string, 5
55
- repeated :service_account_delegation_info, :message, 6, "google.events.cloud.audit.v1.ServiceAccountDelegationInfo"
56
- optional :principal_subject, :string, 8
57
- end
58
- add_message "google.events.cloud.audit.v1.AuthorizationInfo" do
59
- optional :resource, :string, 1
60
- optional :permission, :string, 2
61
- optional :granted, :bool, 3
62
- optional :resource_attributes, :message, 5, "google.rpc.context.AttributeContext.Resource"
63
- end
64
- add_message "google.events.cloud.audit.v1.RequestMetadata" do
65
- optional :caller_ip, :string, 1
66
- optional :caller_supplied_user_agent, :string, 2
67
- optional :caller_network, :string, 3
68
- optional :request_attributes, :message, 7, "google.rpc.context.AttributeContext.Request"
69
- optional :destination_attributes, :message, 8, "google.rpc.context.AttributeContext.Peer"
70
- end
71
- add_message "google.events.cloud.audit.v1.ResourceLocation" do
72
- repeated :current_locations, :string, 1
73
- repeated :original_locations, :string, 2
74
- end
75
- add_message "google.events.cloud.audit.v1.ServiceAccountDelegationInfo" do
76
- oneof :Authority do
77
- optional :first_party_principal, :message, 1, "google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal"
78
- optional :third_party_principal, :message, 2, "google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal"
79
- end
80
- end
81
- add_message "google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipal" do
82
- optional :principal_email, :string, 1
83
- optional :service_metadata, :message, 2, "google.protobuf.Struct"
84
- end
85
- add_message "google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipal" do
86
- optional :third_party_claims, :message, 1, "google.protobuf.Struct"
87
- end
88
- add_message "google.events.cloud.audit.v1.LogSplit" do
89
- optional :uid, :string, 1
90
- optional :index, :int32, 2
91
- optional :total_splits, :int32, 3
92
- end
93
- add_enum "google.events.cloud.audit.v1.LogSeverity" do
94
- value :DEFAULT, 0
95
- value :DEBUG, 100
96
- value :INFO, 200
97
- value :NOTICE, 300
98
- value :WARNING, 400
99
- value :ERROR, 500
100
- value :CRITICAL, 600
101
- value :ALERT, 700
102
- value :EMERGENCY, 800
13
+
14
+ descriptor_data = "\n\'google/events/cloud/audit/v1/data.proto\x12\x1cgoogle.events.cloud.audit.v1\x1a#google/api/monitored_resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a*google/rpc/context/attribute_context.proto\x1a\x17google/rpc/status.proto\"\xd8\x04\n\x0cLogEntryData\x12\x10\n\x08log_name\x18\x0c \x01(\t\x12/\n\x08resource\x18\x08 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12=\n\rproto_payload\x18\x02 \x01(\x0b\x32&.google.events.cloud.audit.v1.AuditLog\x12\x11\n\tinsert_id\x18\x04 \x01(\t\x12\x46\n\x06labels\x18\x0b \x03(\x0b\x32\x36.google.events.cloud.audit.v1.LogEntryData.LabelsEntry\x12\x42\n\toperation\x18\x0f \x01(\x0b\x32/.google.events.cloud.audit.v1.LogEntryOperation\x12-\n\ttimestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11receive_timestamp\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x08severity\x18\n \x01(\x0e\x32).google.events.cloud.audit.v1.LogSeverity\x12\r\n\x05trace\x18\x16 \x01(\t\x12\x0f\n\x07span_id\x18\x1b \x01(\t\x12\x35\n\x05split\x18# \x01(\x0b\x32&.google.events.cloud.audit.v1.LogSplit\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x11LogEntryOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08producer\x18\x02 \x01(\t\x12\r\n\x05\x66irst\x18\x03 \x01(\x08\x12\x0c\n\x04last\x18\x04 \x01(\x08\"\xa5\x05\n\x08\x41uditLog\x12\x14\n\x0cservice_name\x18\x07 \x01(\t\x12\x13\n\x0bmethod_name\x18\x08 \x01(\t\x12\x15\n\rresource_name\x18\x0b \x01(\t\x12I\n\x11resource_location\x18\x14 \x01(\x0b\x32..google.events.cloud.audit.v1.ResourceLocation\x12\x38\n\x17resource_original_state\x18\x13 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\x12num_response_items\x18\x0c \x01(\x03\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x13\x61uthentication_info\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.audit.v1.AuthenticationInfo\x12K\n\x12\x61uthorization_info\x18\t \x03(\x0b\x32/.google.events.cloud.audit.v1.AuthorizationInfo\x12G\n\x10request_metadata\x18\x04 \x01(\x0b\x32-.google.events.cloud.audit.v1.RequestMetadata\x12(\n\x07request\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08response\x18\x11 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08metadata\x18\x12 \x01(\x0b\x32\x17.google.protobuf.Struct\x12-\n\x0cservice_data\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa3\x02\n\x12\x41uthenticationInfo\x12\x17\n\x0fprincipal_email\x18\x01 \x01(\t\x12\x1a\n\x12\x61uthority_selector\x18\x02 \x01(\t\x12\x36\n\x15third_party_principal\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12 \n\x18service_account_key_name\x18\x05 \x01(\t\x12\x63\n\x1fservice_account_delegation_info\x18\x06 \x03(\x0b\x32:.google.events.cloud.audit.v1.ServiceAccountDelegationInfo\x12\x19\n\x11principal_subject\x18\x08 \x01(\t\"\x96\x01\n\x11\x41uthorizationInfo\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x12\n\npermission\x18\x02 \x01(\t\x12\x0f\n\x07granted\x18\x03 \x01(\x08\x12J\n\x13resource_attributes\x18\x05 \x01(\x0b\x32-.google.rpc.context.AttributeContext.Resource\"\xf5\x01\n\x0fRequestMetadata\x12\x11\n\tcaller_ip\x18\x01 \x01(\t\x12\"\n\x1a\x63\x61ller_supplied_user_agent\x18\x02 \x01(\t\x12\x16\n\x0e\x63\x61ller_network\x18\x03 \x01(\t\x12H\n\x12request_attributes\x18\x07 \x01(\x0b\x32,.google.rpc.context.AttributeContext.Request\x12I\n\x16\x64\x65stination_attributes\x18\x08 \x01(\x0b\x32).google.rpc.context.AttributeContext.Peer\"I\n\x10ResourceLocation\x12\x19\n\x11\x63urrent_locations\x18\x01 \x03(\t\x12\x1a\n\x12original_locations\x18\x02 \x03(\t\"\xbc\x03\n\x1cServiceAccountDelegationInfo\x12o\n\x15\x66irst_party_principal\x18\x01 \x01(\x0b\x32N.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.FirstPartyPrincipalH\x00\x12o\n\x15third_party_principal\x18\x02 \x01(\x0b\x32N.google.events.cloud.audit.v1.ServiceAccountDelegationInfo.ThirdPartyPrincipalH\x00\x1a\x61\n\x13\x46irstPartyPrincipal\x12\x17\n\x0fprincipal_email\x18\x01 \x01(\t\x12\x31\n\x10service_metadata\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x1aJ\n\x13ThirdPartyPrincipal\x12\x33\n\x12third_party_claims\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\x0b\n\tAuthority\"<\n\x08LogSplit\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_splits\x18\x03 \x01(\x05*\x82\x01\n\x0bLogSeverity\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\t\n\x05\x44\x45\x42UG\x10\x64\x12\t\n\x04INFO\x10\xc8\x01\x12\x0b\n\x06NOTICE\x10\xac\x02\x12\x0c\n\x07WARNING\x10\x90\x03\x12\n\n\x05\x45RROR\x10\xf4\x03\x12\r\n\x08\x43RITICAL\x10\xd8\x04\x12\n\n\x05\x41LERT\x10\xbc\x05\x12\x0e\n\tEMERGENCY\x10\xa0\x06\x42j\xaa\x02%Google.Events.Protobuf.Cloud.Audit.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Audit\\V1\xea\x02 Google::Events::Cloud::Audit::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.api.MonitoredResource", "google/api/monitored_resource.proto"],
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
32
+ ["google.rpc.Status", "google/rpc/status.proto"],
33
+ ["google.rpc.context.AttributeContext.Resource", "google/rpc/context/attribute_context.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
103
39
  end
104
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
105
43
  end
106
44
 
107
45
  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/audit/v1/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/audit/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/audit/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.audit.v1.AuditLogWrittenEvent" do
12
- optional :data, :message, 1, "google.events.cloud.audit.v1.LogEntryData"
10
+
11
+ descriptor_data = "\n)google/events/cloud/audit/v1/events.proto\x12\x1cgoogle.events.cloud.audit.v1\x1a\'google/events/cloud/audit/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa8\x01\n\x14\x41uditLogWrittenEvent\x12\x38\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32*.google.events.cloud.audit.v1.LogEntryData:V\xb2\xf8\xd8,!google.cloud.audit.log.v1.written\xca\xf8\xd8,\x0bservicename\xca\xf8\xd8,\nmethodname\xca\xf8\xd8,\x0cresourcenameB\xb0\x03\xaa\x02%Google.Events.Protobuf.Cloud.Audit.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Audit\\V1\xea\x02 Google::Events::Cloud::Audit::V1\xba\xf8\xd8,\x10\x43loud Audit Logs\xc2\xf8\xd8,^\n\x0bservicename\x12\x42The name of the service which triggered the Cloud Audit log entry.\x1a\x0bserviceName\xc2\xf8\xd8,\\\n\nmethodname\x12\x42The name of the method (RPC) triggering the Cloud Audit log entry.\x1a\nmethodName\xc2\xf8\xd8,h\n\x0cresourcename\x12JThe name of the resource that is the subject of the Cloud Audit log entry.\x1a\x0cresourceNameb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.audit.v1.LogEntryData", "google/events/cloud/audit/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
13
32
  end
14
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
15
36
  end
16
37
 
17
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/beyondcorp/appconnections/v1/data.proto
3
4
 
@@ -5,52 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/beyondcorp/appconnections/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection" do
11
- optional :name, :string, 1
12
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
- map :labels, :string, :string, 4
15
- optional :display_name, :string, 5
16
- optional :uid, :string, 6
17
- optional :type, :enum, 7, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type"
18
- optional :application_endpoint, :message, 8, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint"
19
- repeated :connectors, :string, 9
20
- optional :state, :enum, 10, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State"
21
- optional :gateway, :message, 11, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway"
22
- end
23
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint" do
24
- optional :host, :string, 1
25
- optional :port, :int32, 2
26
- end
27
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway" do
28
- optional :type, :enum, 2, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type"
29
- optional :uri, :string, 3
30
- optional :ingress_port, :int32, 4
31
- optional :app_gateway, :string, 5
32
- optional :l7psc, :string, 6
33
- end
34
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type" do
35
- value :TYPE_UNSPECIFIED, 0
36
- value :GCP_REGIONAL_MIG, 1
37
- end
38
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type" do
39
- value :TYPE_UNSPECIFIED, 0
40
- value :TCP_PROXY, 1
41
- end
42
- add_enum "google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State" do
43
- value :STATE_UNSPECIFIED, 0
44
- value :CREATING, 1
45
- value :CREATED, 2
46
- value :UPDATING, 3
47
- value :DELETING, 4
48
- value :DOWN, 5
49
- end
50
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData" do
51
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnection"
9
+
10
+ descriptor_data = "\n;google/events/cloud/beyondcorp/appconnections/v1/data.proto\x12\x30google.events.cloud.beyondcorp.appconnections.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x08\n\rAppConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06labels\x18\x04 \x03(\x0b\x32K.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0b\n\x03uid\x18\x06 \x01(\t\x12R\n\x04type\x18\x07 \x01(\x0e\x32\x44.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Type\x12q\n\x14\x61pplication_endpoint\x18\x08 \x01(\x0b\x32S.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint\x12\x12\n\nconnectors\x18\t \x03(\t\x12T\n\x05state\x18\n \x01(\x0e\x32\x45.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.State\x12X\n\x07gateway\x18\x0b \x01(\x0b\x32G.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway\x1a\x31\n\x13\x41pplicationEndpoint\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x1a\xe0\x01\n\x07Gateway\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.events.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x14\n\x0cingress_port\x18\x04 \x01(\x05\x12\x13\n\x0b\x61pp_gateway\x18\x05 \x01(\t\x12\r\n\x05l7psc\x18\x06 \x01(\t\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10GCP_REGIONAL_MIG\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTCP_PROXY\x10\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\"{\n\x16\x41ppConnectionEventData\x12U\n\x07payload\x18\x01 \x01(\x0b\x32?.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionH\x00\x88\x01\x01\x42\n\n\x08_payloadB\xa7\x01\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::AppConnections::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
52
31
  end
53
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
54
35
  end
55
36
 
56
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/beyondcorp/appconnections/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/appconnections/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/beyondcorp/appconnections/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
16
- end
17
- add_message "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData"
10
+
11
+ descriptor_data = "\n=google/events/cloud/beyondcorp/appconnections/v1/events.proto\x12\x30google.events.cloud.beyondcorp.appconnections.v1\x1a;google/events/cloud/beyondcorp/appconnections/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xcb\x01\n\x19\x41ppConnectionCreatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.created\xca\xf8\xd8,\rappconnection\"\xcb\x01\n\x19\x41ppConnectionUpdatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.updated\xca\xf8\xd8,\rappconnection\"\xcb\x01\n\x19\x41ppConnectionDeletedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.appconnections.appConnection.v1.deleted\xca\xf8\xd8,\rappconnectionB\x95\x02\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::AppConnections::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,Z\n\rappconnection\x12:The resource ID of the AppConnection triggering the event.\x1a\rappConnectionb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.beyondcorp.appconnections.v1.AppConnectionEventData", "google/events/cloud/beyondcorp/appconnections/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
21
36
  end
22
37
 
23
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/beyondcorp/appconnectors/v1/data.proto
3
4
 
@@ -5,52 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/beyondcorp/appconnectors/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo" do
11
- optional :id, :string, 1
12
- optional :status, :enum, 2, "google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus"
13
- optional :time, :message, 4, "google.protobuf.Timestamp"
14
- repeated :sub, :message, 5, "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo"
15
- end
16
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector" do
17
- optional :name, :string, 1
18
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
19
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
20
- map :labels, :string, :string, 4
21
- optional :display_name, :string, 5
22
- optional :uid, :string, 6
23
- optional :state, :enum, 7, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State"
24
- optional :principal_info, :message, 8, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo"
25
- optional :resource_info, :message, 11, "google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo"
26
- end
27
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo" do
28
- oneof :type do
29
- optional :service_account, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount"
30
- end
31
- end
32
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount" do
33
- optional :email, :string, 1
34
- end
35
- add_enum "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State" do
36
- value :STATE_UNSPECIFIED, 0
37
- value :CREATING, 1
38
- value :CREATED, 2
39
- value :UPDATING, 3
40
- value :DELETING, 4
41
- value :DOWN, 5
42
- end
43
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData" do
44
- proto3_optional :payload, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnector"
45
- end
46
- add_enum "google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus" do
47
- value :HEALTH_STATUS_UNSPECIFIED, 0
48
- value :HEALTHY, 1
49
- value :UNHEALTHY, 2
50
- value :UNRESPONSIVE, 3
51
- value :DEGRADED, 4
9
+
10
+ descriptor_data = "\n:google/events/cloud/beyondcorp/appconnectors/v1/data.proto\x12/google.events.cloud.beyondcorp.appconnectors.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x01\n\x0cResourceInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\x06status\x18\x02 \x01(\x0e\x32=.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x03sub\x18\x05 \x03(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo\"\xcd\x06\n\x0c\x41ppConnector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x0b\n\x03uid\x18\x06 \x01(\t\x12R\n\x05state\x18\x07 \x01(\x0e\x32\x43.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.State\x12\x63\n\x0eprincipal_info\x18\x08 \x01(\x0b\x32K.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo\x12T\n\rresource_info\x18\x0b \x01(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo\x1a\xaf\x01\n\rPrincipalInfo\x12u\n\x0fservice_account\x18\x01 \x01(\x0b\x32Z.google.events.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccountH\x00\x1a\x1f\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\tB\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\"x\n\x15\x41ppConnectorEventData\x12S\n\x07payload\x18\x01 \x01(\x0b\x32=.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorH\x00\x88\x01\x01\x42\n\n\x08_payload*i\n\x0cHealthStatus\x12\x1d\n\x19HEALTH_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x10\n\x0cUNRESPONSIVE\x10\x03\x12\x0c\n\x08\x44\x45GRADED\x10\x04\x42\xa4\x01\xaa\x02\x38Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1\xca\x02/Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02\x34Google::Events::Cloud::BeyondCorp::AppConnectors::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
52
31
  end
53
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
54
35
  end
55
36
 
56
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/beyondcorp/appconnectors/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/beyondcorp/appconnectors/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/beyondcorp/appconnectors/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
13
- end
14
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
16
- end
17
- add_message "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData"
10
+
11
+ descriptor_data = "\n<google/events/cloud/beyondcorp/appconnectors/v1/events.proto\x12/google.events.cloud.beyondcorp.appconnectors.v1\x1a:google/events/cloud/beyondcorp/appconnectors/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xc5\x01\n\x18\x41ppConnectorCreatedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.created\xca\xf8\xd8,\x0c\x61ppconnector\"\xc5\x01\n\x18\x41ppConnectorUpdatedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.updated\xca\xf8\xd8,\x0c\x61ppconnector\"\xc5\x01\n\x18\x41ppConnectorDeletedEvent\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData:S\xb2\xf8\xd8,=google.cloud.beyondcorp.appconnectors.appConnector.v1.deleted\xca\xf8\xd8,\x0c\x61ppconnectorB\x8f\x02\xaa\x02\x38Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1\xca\x02/Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02\x34Google::Events::Cloud::BeyondCorp::AppConnectors::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,W\n\x0c\x61ppconnector\x12\x39The resource ID of the AppConnector triggering the event.\x1a\x0c\x61ppConnectorb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.beyondcorp.appconnectors.v1.AppConnectorEventData", "google/events/cloud/beyondcorp/appconnectors/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
21
36
  end
22
37
 
23
38
  module Google