google-cloud-security_center-v1 0.28.0 → 0.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/security_center/v1/security_center/client.rb +4 -2
  3. data/lib/google/cloud/security_center/v1/security_center/operations.rb +3 -1
  4. data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +4 -2
  5. data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +7 -5
  6. data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +44 -44
  7. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  8. data/lib/google/cloud/securitycenter/v1/access_pb.rb +24 -20
  9. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +28 -25
  10. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +25 -11
  11. data/lib/google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb.rb +24 -4
  12. data/lib/google/cloud/securitycenter/v1/cloud_dlp_inspection_pb.rb +24 -7
  13. data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -6
  14. data/lib/google/cloud/securitycenter/v1/connection_pb.rb +24 -16
  15. data/lib/google/cloud/securitycenter/v1/contact_details_pb.rb +24 -7
  16. data/lib/google/cloud/securitycenter/v1/container_pb.rb +25 -7
  17. data/lib/google/cloud/securitycenter/v1/database_pb.rb +24 -8
  18. data/lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb +25 -12
  19. data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +24 -9
  20. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +25 -8
  21. data/lib/google/cloud/securitycenter/v1/file_pb.rb +24 -9
  22. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +45 -67
  23. data/lib/google/cloud/securitycenter/v1/folder_pb.rb +24 -5
  24. data/lib/google/cloud/securitycenter/v1/iam_binding_pb.rb +24 -11
  25. data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +24 -24
  26. data/lib/google/cloud/securitycenter/v1/kernel_rootkit_pb.rb +24 -12
  27. data/lib/google/cloud/securitycenter/v1/kubernetes_pb.rb +26 -58
  28. data/lib/google/cloud/securitycenter/v1/label_pb.rb +24 -5
  29. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +24 -63
  30. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +25 -10
  31. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +24 -13
  32. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +26 -8
  33. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +24 -16
  34. data/lib/google/cloud/securitycenter/v1/process_pb.rb +25 -17
  35. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +25 -11
  36. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +25 -11
  37. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb +25 -26
  38. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb +26 -16
  39. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +24 -6
  40. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +40 -279
  41. data/lib/google/cloud/securitycenter/v1/source_pb.rb +24 -7
  42. data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +24 -59
  43. data/proto_docs/google/api/client.rb +10 -1
  44. data/proto_docs/google/protobuf/any.rb +7 -4
  45. data/proto_docs/google/protobuf/struct.rb +1 -1
  46. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  47. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/bigquery_export.proto
3
4
 
@@ -7,19 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/securitycenter/v1/bigquery_export.proto", :syntax => :proto3) do
12
- add_message "google.cloud.securitycenter.v1.BigQueryExport" do
13
- optional :name, :string, 1
14
- optional :description, :string, 2
15
- optional :filter, :string, 3
16
- optional :dataset, :string, 4
17
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
18
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
19
- optional :most_recent_editor, :string, 7
20
- optional :principal, :string, 8
11
+
12
+ descriptor_data = "\n4google/cloud/securitycenter/v1/bigquery_export.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x03\n\x0e\x42igQueryExport\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x61taset\x18\x04 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\x12most_recent_editor\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tprincipal\x18\x08 \x01(\tB\x03\xe0\x41\x03:\xc1\x01\xea\x41\xbd\x01\n,securitycenter.googleapis.com/BigQueryExport\x12\x35organizations/{organization}/bigQueryExports/{export}\x12)folders/{folder}/bigQueryExports/{export}\x12+projects/{project}/bigQueryExports/{export}B\xed\x01\n\"com.google.cloud.securitycenter.v1B\x13\x42igQueryExportProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
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}"
21
33
  end
22
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."
23
37
  end
24
38
 
25
39
  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/cloud/securitycenter/v1/cloud_dlp_data_profile.proto
3
4
 
@@ -5,12 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/resource_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto", :syntax => :proto3) do
10
- add_message "google.cloud.securitycenter.v1.CloudDlpDataProfile" do
11
- optional :data_profile, :string, 1
9
+
10
+ descriptor_data = "\n;google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\"U\n\x13\x43loudDlpDataProfile\x12>\n\x0c\x64\x61ta_profile\x18\x01 \x01(\tB(\xfa\x41%\n#dlp.googleapis.com/TableDataProfileB\x94\x03\n\"com.google.cloud.securitycenter.v1B\x18\x43loudDlpDataProfileProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1\xea\x41\x9e\x01\n#dlp.googleapis.com/TableDataProfile\x12\x30projects/{project}/tableProfiles/{table_profile}\x12\x45projects/{project}/locations/{location}/tableProfiles/{table_profile}b\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
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
12
30
  end
13
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
14
34
  end
15
35
 
16
36
  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/cloud/securitycenter/v1/cloud_dlp_inspection.proto
3
4
 
@@ -5,15 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/resource_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/securitycenter/v1/cloud_dlp_inspection.proto", :syntax => :proto3) do
10
- add_message "google.cloud.securitycenter.v1.CloudDlpInspection" do
11
- optional :inspect_job, :string, 1
12
- optional :info_type, :string, 2
13
- optional :info_type_count, :int64, 3
14
- optional :full_scan, :bool, 4
9
+
10
+ descriptor_data = "\n9google/cloud/securitycenter/v1/cloud_dlp_inspection.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\"\x88\x01\n\x12\x43loudDlpInspection\x12\x33\n\x0binspect_job\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x12\x11\n\tinfo_type\x18\x02 \x01(\t\x12\x17\n\x0finfo_type_count\x18\x03 \x01(\x03\x12\x11\n\tfull_scan\x18\x04 \x01(\x08\x42\xf0\x02\n\"com.google.cloud.securitycenter.v1B\x17\x43loudDlpInspectionProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1\xea\x41|\n\x19\x64lp.googleapis.com/DlpJob\x12$projects/{project}/dlpJobs/{dlp_job}\x12\x39projects/{project}/locations/{location}/dlpJobs/{dlp_job}b\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
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
30
  end
16
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
17
34
  end
18
35
 
19
36
  module Google
@@ -1,16 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/compliance.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/compliance.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.Compliance" do
9
- optional :standard, :string, 1
10
- optional :version, :string, 2
11
- repeated :ids, :string, 3
7
+
8
+ descriptor_data = "\n/google/cloud/securitycenter/v1/compliance.proto\x12\x1egoogle.cloud.securitycenter.v1\"<\n\nCompliance\x12\x10\n\x08standard\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0b\n\x03ids\x18\x03 \x03(\tB\xe9\x01\n\"com.google.cloud.securitycenter.v1B\x0f\x43omplianceProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
12
28
  end
13
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
14
32
  end
15
33
 
16
34
  module Google
@@ -1,26 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/connection.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/connection.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.Connection" do
9
- optional :destination_ip, :string, 1
10
- optional :destination_port, :int32, 2
11
- optional :source_ip, :string, 3
12
- optional :source_port, :int32, 4
13
- optional :protocol, :enum, 5, "google.cloud.securitycenter.v1.Connection.Protocol"
14
- end
15
- add_enum "google.cloud.securitycenter.v1.Connection.Protocol" do
16
- value :PROTOCOL_UNSPECIFIED, 0
17
- value :ICMP, 1
18
- value :TCP, 6
19
- value :UDP, 17
20
- value :GRE, 47
21
- value :ESP, 50
7
+
8
+ descriptor_data = "\n/google/cloud/securitycenter/v1/connection.proto\x12\x1egoogle.cloud.securitycenter.v1\"\x81\x02\n\nConnection\x12\x16\n\x0e\x64\x65stination_ip\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x02 \x01(\x05\x12\x11\n\tsource_ip\x18\x03 \x01(\t\x12\x13\n\x0bsource_port\x18\x04 \x01(\x05\x12\x45\n\x08protocol\x18\x05 \x01(\x0e\x32\x33.google.cloud.securitycenter.v1.Connection.Protocol\"R\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x08\n\x04ICMP\x10\x01\x12\x07\n\x03TCP\x10\x06\x12\x07\n\x03UDP\x10\x11\x12\x07\n\x03GRE\x10/\x12\x07\n\x03\x45SP\x10\x32\x42\xe9\x01\n\"com.google.cloud.securitycenter.v1B\x0f\x43onnectionProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
22
28
  end
23
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
24
32
  end
25
33
 
26
34
  module Google
@@ -1,17 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/contact_details.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/contact_details.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.ContactDetails" do
9
- repeated :contacts, :message, 1, "google.cloud.securitycenter.v1.Contact"
10
- end
11
- add_message "google.cloud.securitycenter.v1.Contact" do
12
- optional :email, :string, 1
7
+
8
+ descriptor_data = "\n4google/cloud/securitycenter/v1/contact_details.proto\x12\x1egoogle.cloud.securitycenter.v1\"K\n\x0e\x43ontactDetails\x12\x39\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32\'.google.cloud.securitycenter.v1.Contact\"\x18\n\x07\x43ontact\x12\r\n\x05\x65mail\x18\x01 \x01(\tB\xed\x01\n\"com.google.cloud.securitycenter.v1B\x13\x43ontactDetailsProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
13
28
  end
14
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
15
32
  end
16
33
 
17
34
  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/cloud/securitycenter/v1/container.proto
3
4
 
@@ -5,15 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/cloud/securitycenter/v1/label_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/securitycenter/v1/container.proto", :syntax => :proto3) do
10
- add_message "google.cloud.securitycenter.v1.Container" do
11
- optional :name, :string, 1
12
- optional :uri, :string, 2
13
- optional :image_id, :string, 3
14
- repeated :labels, :message, 4, "google.cloud.securitycenter.v1.Label"
9
+
10
+ descriptor_data = "\n.google/cloud/securitycenter/v1/container.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a*google/cloud/securitycenter/v1/label.proto\"o\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x10\n\x08image_id\x18\x03 \x01(\t\x12\x35\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.securitycenter.v1.LabelB\xe8\x01\n\"com.google.cloud.securitycenter.v1B\x0e\x43ontainerProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::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.cloud.securitycenter.v1.Label", "google/cloud/securitycenter/v1/label.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}"
15
31
  end
16
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."
17
35
  end
18
36
 
19
37
  module Google
@@ -1,18 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/database.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/database.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.Database" do
9
- optional :name, :string, 1
10
- optional :display_name, :string, 2
11
- optional :user_name, :string, 3
12
- optional :query, :string, 4
13
- repeated :grantees, :string, 5
7
+
8
+ descriptor_data = "\n-google/cloud/securitycenter/v1/database.proto\x12\x1egoogle.cloud.securitycenter.v1\"b\n\x08\x44\x61tabase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\tuser_name\x18\x03 \x01(\t\x12\r\n\x05query\x18\x04 \x01(\t\x12\x10\n\x08grantees\x18\x05 \x03(\tB\xe7\x01\n\"com.google.cloud.securitycenter.v1B\rDatabaseProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
14
28
  end
15
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
16
32
  end
17
33
 
18
34
  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/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto
3
4
 
@@ -7,20 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto", :syntax => :proto3) do
12
- add_message "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule" do
13
- optional :name, :string, 1
14
- optional :custom_config, :message, 2, "google.cloud.securitycenter.v1.CustomConfig"
15
- optional :enablement_state, :enum, 3, "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState"
16
- optional :display_name, :string, 4
17
- end
18
- add_enum "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState" do
19
- value :ENABLEMENT_STATE_UNSPECIFIED, 0
20
- value :ENABLED, 1
21
- value :DISABLED, 2
11
+
12
+ descriptor_data = "\nVgoogle/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aLgoogle/cloud/securitycenter/v1/security_health_analytics_custom_config.proto\"\xfd\x05\n,EffectiveSecurityHealthAnalyticsCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12H\n\rcustom_config\x18\x02 \x01(\x0b\x32,.google.cloud.securitycenter.v1.CustomConfigB\x03\xe0\x41\x03\x12{\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32\\.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementStateB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\"N\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\x87\x03\xea\x41\x83\x03\nJsecuritycenter.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\x12morganizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}\x12\x61\x66olders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}\x12\x63projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{effective_custom_module}B\x8b\x02\n\"com.google.cloud.securitycenter.v1B1EffectiveSecurityHealthAnalyticsCustomModuleProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.cloud.securitycenter.v1.CustomConfig", "google/cloud/securitycenter/v1/security_health_analytics_custom_config.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}"
22
33
  end
23
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."
24
37
  end
25
38
 
26
39
  module Google
@@ -1,19 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/exfiltration.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/exfiltration.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.Exfiltration" do
9
- repeated :sources, :message, 1, "google.cloud.securitycenter.v1.ExfilResource"
10
- repeated :targets, :message, 2, "google.cloud.securitycenter.v1.ExfilResource"
11
- end
12
- add_message "google.cloud.securitycenter.v1.ExfilResource" do
13
- optional :name, :string, 1
14
- repeated :components, :string, 2
7
+
8
+ descriptor_data = "\n1google/cloud/securitycenter/v1/exfiltration.proto\x12\x1egoogle.cloud.securitycenter.v1\"\x8e\x01\n\x0c\x45xfiltration\x12>\n\x07sources\x18\x01 \x03(\x0b\x32-.google.cloud.securitycenter.v1.ExfilResource\x12>\n\x07targets\x18\x02 \x03(\x0b\x32-.google.cloud.securitycenter.v1.ExfilResource\"1\n\rExfilResource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncomponents\x18\x02 \x03(\tB\xeb\x01\n\"com.google.cloud.securitycenter.v1B\x11\x45xfiltrationProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
28
  end
16
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
17
32
  end
18
33
 
19
34
  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/cloud/securitycenter/v1/external_system.proto
3
4
 
@@ -6,16 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/resource_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/securitycenter/v1/external_system.proto", :syntax => :proto3) do
11
- add_message "google.cloud.securitycenter.v1.ExternalSystem" do
12
- optional :name, :string, 1
13
- repeated :assignees, :string, 2
14
- optional :external_uid, :string, 3
15
- optional :status, :string, 4
16
- optional :external_system_update_time, :message, 5, "google.protobuf.Timestamp"
10
+
11
+ descriptor_data = "\n4google/cloud/securitycenter/v1/external_system.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\x03\n\x0e\x45xternalSystem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tassignees\x18\x02 \x03(\t\x12\x14\n\x0c\x65xternal_uid\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12?\n\x1b\x65xternal_system_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xc5\x02\xea\x41\xc1\x02\n,securitycenter.googleapis.com/ExternalSystem\x12\x61organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}\x12Ufolders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}\x12Wprojects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}B\xed\x01\n\"com.google.cloud.securitycenter.v1B\x13\x45xternalSystemProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
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}"
17
32
  end
18
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."
19
36
  end
20
37
 
21
38
  module Google
@@ -1,19 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/file.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/file.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.File" do
9
- optional :path, :string, 1
10
- optional :size, :int64, 2
11
- optional :sha256, :string, 3
12
- optional :hashed_size, :int64, 4
13
- optional :partially_hashed, :bool, 5
14
- optional :contents, :string, 6
7
+
8
+ descriptor_data = "\n)google/cloud/securitycenter/v1/file.proto\x12\x1egoogle.cloud.securitycenter.v1\"s\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\x0e\n\x06sha256\x18\x03 \x01(\t\x12\x13\n\x0bhashed_size\x18\x04 \x01(\x03\x12\x18\n\x10partially_hashed\x18\x05 \x01(\x08\x12\x10\n\x08\x63ontents\x18\x06 \x01(\tB\xe3\x01\n\"com.google.cloud.securitycenter.v1B\tFileProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
28
  end
16
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
17
32
  end
18
33
 
19
34
  module Google