google-cloud-cloud_security_compliance-v1 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
  5. data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
  6. data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
  7. data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
  9. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
  10. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
  11. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
  12. data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
  13. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
  14. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
  15. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
  16. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
  17. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
  18. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
  19. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
  20. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
  21. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +113 -99
  22. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
  23. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +60 -38
  24. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
  25. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
  26. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
  27. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
  28. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
  29. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
  30. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
  31. data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
  32. data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
  33. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  34. data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
  35. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
  36. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
  37. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
  38. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
  39. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
  40. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  41. data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
  42. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
  43. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
  44. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
  45. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
  46. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
  47. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
  48. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
  49. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
  50. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
  51. data/proto_docs/google/type/interval.rb +45 -0
  52. metadata +34 -1
@@ -0,0 +1,70 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/cloudsecuritycompliance/v1/audit.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/cloudsecuritycompliance/v1/common_pb'
12
+ require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/timestamp_pb'
14
+
15
+
16
+ descriptor_data = "\n3google/cloud/cloudsecuritycompliance/v1/audit.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/cloudsecuritycompliance/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x82\x02\n(GenerateFrameworkAuditScopeReportRequest\x12\x12\n\x05scope\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12t\n\rreport_format\x18\x02 \x01(\x0e\x32X.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.FormatB\x03\xe0\x41\x02\x12!\n\x14\x63ompliance_framework\x18\x03 \x01(\tB\x03\xe0\x41\x02\")\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x07\n\x03ODF\x10\x01\"\xa6\x04\n)GenerateFrameworkAuditScopeReportResponse\x12\x1f\n\x15scope_report_contents\x18\x03 \x01(\x0cH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12!\n\x14\x63ompliance_framework\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x91\x03\xea\x41\x8d\x03\nPcloudsecuritycompliance.googleapis.com/GenerateFrameworkAuditScopeReportResponse\x12sprojects/{project}/locations/{location}/frameworkAuditScopeReports/{generate_framework_audit_scope_report_response}\x12}organizations/{organization}/locations/{location}/frameworkAuditScopeReports/{generate_framework_audit_scope_report_response}*\x1a\x66rameworkAuditScopeReports2)generateFrameworkAuditScopeReportResponseB\x0e\n\x0c\x61udit_report\"\xa8\x01\n\rReportSummary\x12\x18\n\x0btotal_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x63ompliant_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0fviolation_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\'\n\x1amanual_review_needed_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x65rror_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\"\xe4\x01\n\x1b\x43reateFrameworkAuditRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x63loudsecuritycompliance.googleapis.com/FrameworkAudit\x12\x1f\n\x12\x66ramework_audit_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12U\n\x0f\x66ramework_audit\x18\x03 \x01(\x0b\x32\x37.google.cloud.cloudsecuritycompliance.v1.FrameworkAuditB\x03\xe0\x41\x02\"}\n\x19\x46rameworkAuditDestination\x12L\n\x06\x62ucket\x18\x01 \x01(\x0b\x32:.google.cloud.cloudsecuritycompliance.v1.BucketDestinationH\x00\x42\x12\n\x10\x64\x65stination_type\"\xbf\x01\n\x11\x42ucketDestination\x12\x17\n\nbucket_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\x16\x66ramework_audit_format\x18\x03 \x01(\x0e\x32\x41.google.cloud.cloudsecuritycompliance.v1.BucketDestination.FormatB\x03\xe0\x41\x01\")\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x07\n\x03ODF\x10\x01\"\xbd\t\n\x0e\x46rameworkAudit\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x1f\n\x12\x66ramework_audit_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x63ompliance_framework\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05scope\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12l\n\x1b\x66ramework_audit_destination\x18\x05 \x01(\x0b\x32\x42.google.cloud.cloudsecuritycompliance.v1.FrameworkAuditDestinationB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x66inish_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12W\n\x10\x63ompliance_state\x18\x08 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.ComplianceStateB\x03\xe0\x41\x03\x12S\n\x0ereport_summary\x18\t \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ReportSummaryB\x03\xe0\x41\x03\x12v\n!cloud_control_group_audit_details\x18\n \x03(\x0b\x32\x46.google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetailsB\x03\xe0\x41\x01\x12k\n\x1b\x63loud_control_audit_details\x18\x0b \x03(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetailsB\x03\xe0\x41\x01\x12\x19\n\x0coperation_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12Q\n\x05state\x18\r \x01(\x0e\x32=.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit.StateB\x03\xe0\x41\x03\"d\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tUPLOADING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tSUCCEEDED\x10\x05:\xfc\x01\xea\x41\xf8\x01\n5cloudsecuritycompliance.googleapis.com/FrameworkAudit\x12Iprojects/{project}/locations/{location}/frameworkAudits/{framework_audit}\x12Sorganizations/{organization}/locations/{location}/frameworkAudits/{framework_audit}*\x0f\x66rameworkAudits2\x0e\x66rameworkAudit\"\xb1\x01\n\x1aListFrameworkAuditsRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x63loudsecuritycompliance.googleapis.com/FrameworkAudit\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x1bListFrameworkAuditsResponse\x12Q\n\x10\x66ramework_audits\x18\x01 \x03(\x0b\x32\x37.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x18GetFrameworkAuditRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5cloudsecuritycompliance.googleapis.com/FrameworkAudit\"\xe8\x05\n\x1d\x43loudControlGroupAuditDetails\x12#\n\x16\x63loud_control_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13responsibility_type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12W\n\x10\x63ompliance_state\x18\t \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.ComplianceStateB\x03\xe0\x41\x03\x12\x17\n\ncontrol_id\x18\n \x01(\tB\x03\xe0\x41\x03\x12S\n\x0e\x63ontrol_family\x18\x0b \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ControlFamilyB\x03\xe0\x41\x03\x12\x65\n\x15\x63loud_control_details\x18\x0c \x03(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetailsB\x03\xe0\x41\x03\x12S\n\x0ereport_summary\x18\r \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ReportSummaryB\x03\xe0\x41\x03\"\xa4\x02\n\x0e\x46indingDetails\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12W\n\x10\x63ompliance_state\x18\x02 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.ComplianceStateB\x03\xe0\x41\x03\x12U\n\x0bobservation\x18\x03 \x01(\x0b\x32;.google.cloud.cloudsecuritycompliance.v1.ObservationDetailsB\x03\xe0\x41\x03\x12O\n\x08\x65vidence\x18\x04 \x01(\x0b\x32\x38.google.cloud.cloudsecuritycompliance.v1.EvidenceDetailsB\x03\xe0\x41\x03\"d\n\x12ObservationDetails\x12\x1a\n\rcurrent_value\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x65xpected_value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08guidance\x18\x03 \x01(\tB\x03\xe0\x41\x03\"Z\n\x0f\x45videnceDetails\x12\x15\n\x08resource\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\revidence_path\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xfb\x02\n\x18\x43loudControlAuditDetails\x12\x1a\n\rcloud_control\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63loud_control_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19\x63loud_control_description\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12W\n\x10\x63ompliance_state\x18\x04 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.ComplianceStateB\x03\xe0\x41\x03\x12S\n\x0ereport_summary\x18\x05 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ReportSummaryB\x03\xe0\x41\x03\x12N\n\x08\x66indings\x18\x06 \x03(\x0b\x32\x37.google.cloud.cloudsecuritycompliance.v1.FindingDetailsB\x03\xe0\x41\x03*\x8f\x01\n\x0f\x43omplianceState\x12 \n\x1c\x43OMPLIANCE_STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLIANT\x10\x01\x12\r\n\tVIOLATION\x10\x02\x12\x18\n\x14MANUAL_REVIEW_NEEDED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x17\n\x13\x41UDIT_NOT_SUPPORTED\x10\x05\x32\x9c\x0e\n\x05\x41udit\x12\xb3\x04\n!GenerateFrameworkAuditScopeReport\x12Q.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest\x1aR.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportResponse\"\xe6\x02\xda\x41(scope,report_format,compliance_framework\x82\xd3\xe4\x93\x02\xb4\x02\"^/v1/{scope=folders/*/locations/*}/frameworkAuditScopeReports:generateFrameworkAuditScopeReport:\x01*Zd\"_/v1/{scope=projects/*/locations/*}/frameworkAuditScopeReports:generateFrameworkAuditScopeReport:\x01*Zi\"d/v1/{scope=organizations/*/locations/*}/frameworkAuditScopeReports:generateFrameworkAuditScopeReport:\x01*\x12\xd9\x03\n\x14\x43reateFrameworkAudit\x12\x44.google.cloud.cloudsecuritycompliance.v1.CreateFrameworkAuditRequest\x1a\x1d.google.longrunning.Operation\"\xdb\x02\xca\x41K\n\x0e\x46rameworkAudit\x12\x39google.cloud.cloudsecuritycompliance.v1.OperationMetadata\xda\x41)parent,framework_audit,framework_audit_id\x82\xd3\xe4\x93\x02\xda\x01\"8/v1/{parent=organizations/*/locations/*}/frameworkAudits:\x0f\x66ramework_auditZE\"2/v1/{parent=folders/*/locations/*}/frameworkAudits:\x0f\x66ramework_auditZF\"3/v1/{parent=projects/*/locations/*}/frameworkAudits:\x0f\x66ramework_audit\x12\xda\x02\n\x13ListFrameworkAudits\x12\x43.google.cloud.cloudsecuritycompliance.v1.ListFrameworkAuditsRequest\x1a\x44.google.cloud.cloudsecuritycompliance.v1.ListFrameworkAuditsResponse\"\xb7\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa7\x01\x12\x38/v1/{parent=organizations/*/locations/*}/frameworkAuditsZ4\x12\x32/v1/{parent=folders/*/locations/*}/frameworkAuditsZ5\x12\x33/v1/{parent=projects/*/locations/*}/frameworkAudits\x12\xc7\x02\n\x11GetFrameworkAudit\x12\x41.google.cloud.cloudsecuritycompliance.v1.GetFrameworkAuditRequest\x1a\x37.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit\"\xb5\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa7\x01\x12\x38/v1/{name=organizations/*/locations/*/frameworkAudits/*}Z4\x12\x32/v1/{name=folders/*/locations/*/frameworkAudits/*}Z5\x12\x33/v1/{name=projects/*/locations/*/frameworkAudits/*}\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n+com.google.cloud.cloudsecuritycompliance.v1B\nAuditProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.cloud.cloudsecuritycompliance.v1.ControlFamily", "google/cloud/cloudsecuritycompliance/v1/common.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Cloud
46
+ module CloudSecurityCompliance
47
+ module V1
48
+ GenerateFrameworkAuditScopeReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest").msgclass
49
+ GenerateFrameworkAuditScopeReportRequest::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format").enummodule
50
+ GenerateFrameworkAuditScopeReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportResponse").msgclass
51
+ ReportSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ReportSummary").msgclass
52
+ CreateFrameworkAuditRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CreateFrameworkAuditRequest").msgclass
53
+ FrameworkAuditDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkAuditDestination").msgclass
54
+ BucketDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.BucketDestination").msgclass
55
+ BucketDestination::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.BucketDestination.Format").enummodule
56
+ FrameworkAudit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkAudit").msgclass
57
+ FrameworkAudit::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkAudit.State").enummodule
58
+ ListFrameworkAuditsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworkAuditsRequest").msgclass
59
+ ListFrameworkAuditsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworkAuditsResponse").msgclass
60
+ GetFrameworkAuditRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GetFrameworkAuditRequest").msgclass
61
+ CloudControlGroupAuditDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails").msgclass
62
+ FindingDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FindingDetails").msgclass
63
+ ObservationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ObservationDetails").msgclass
64
+ EvidenceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.EvidenceDetails").msgclass
65
+ CloudControlAuditDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails").msgclass
66
+ ComplianceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ComplianceState").enummodule
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,51 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/cloudsecuritycompliance/v1/audit.proto for package 'Google.Cloud.CloudSecurityCompliance.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/cloudsecuritycompliance/v1/audit_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module CloudSecurityCompliance
25
+ module V1
26
+ module Audit
27
+ # Service describing handlers for resources
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.cloudsecuritycompliance.v1.Audit'
35
+
36
+ # Generates an audit scope report for a framework.
37
+ rpc :GenerateFrameworkAuditScopeReport, ::Google::Cloud::CloudSecurityCompliance::V1::GenerateFrameworkAuditScopeReportRequest, ::Google::Cloud::CloudSecurityCompliance::V1::GenerateFrameworkAuditScopeReportResponse
38
+ # Creates an audit scope report for a framework.
39
+ rpc :CreateFrameworkAudit, ::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkAuditRequest, ::Google::Longrunning::Operation
40
+ # Lists the framework audits for a given organization, folder, or project.
41
+ rpc :ListFrameworkAudits, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkAuditsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkAuditsResponse
42
+ # Gets the details for a framework audit.
43
+ rpc :GetFrameworkAudit, ::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkAuditRequest, ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAudit
44
+ end
45
+
46
+ Stub = Service.rpc_stub_class
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+
13
+
14
+ descriptor_data = "\nCgoogle/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xa4\x01\n\x19UpdateCmEnrollmentRequest\x12Q\n\rcm_enrollment\x18\x01 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CmEnrollmentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"r\n%CalculateEffectiveCmEnrollmentRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CmEnrollment\"\xd8\x02\n\x0c\x43mEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x15\n\x08\x65nrolled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12O\n\x0c\x61udit_config\x18\x03 \x01(\x0b\x32\x34.google.cloud.cloudsecuritycompliance.v1.AuditConfigB\x03\xe0\x41\x01:\xcc\x01\xea\x41\xc8\x01\n3cloudsecuritycompliance.googleapis.com/CmEnrollment\x12>organizations/{organization}/locations/{location}/cmEnrollment\x12\x34projects/{project}/locations/{location}/cmEnrollment*\rcmEnrollments2\x0c\x63mEnrollment\"v\n&CalculateEffectiveCmEnrollmentResponse\x12L\n\rcm_enrollment\x18\x01 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CmEnrollment\"\xbf\x01\n\x0b\x41uditConfig\x12\x65\n\x0c\x64\x65stinations\x18\x01 \x03(\x0b\x32J.google.cloud.cloudsecuritycompliance.v1.AuditConfig.CmEligibleDestinationB\x03\xe0\x41\x02\x1aI\n\x15\x43mEligibleDestination\x12\x14\n\ngcs_bucket\x18\x01 \x01(\tH\x00\x42\x1a\n\x18\x63m_eligible_destinations2\xa3\x07\n\x13\x43mEnrollmentService\x12\xa4\x03\n\x12UpdateCmEnrollment\x12\x42.google.cloud.cloudsecuritycompliance.v1.UpdateCmEnrollmentRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CmEnrollment\"\x92\x02\xda\x41\x19\x63m_enrollment,update_mask\x82\xd3\xe4\x93\x02\xef\x01\x32\x41/v1/{cm_enrollment.name=organizations/*/locations/*/cmEnrollment}:\rcm_enrollmentZL2;/v1/{cm_enrollment.name=folders/*/locations/*/cmEnrollment}:\rcm_enrollmentZM2</v1/{cm_enrollment.name=projects/*/locations/*/cmEnrollment}:\rcm_enrollment\x12\x88\x03\n\x1e\x43\x61lculateEffectiveCmEnrollment\x12N.google.cloud.cloudsecuritycompliance.v1.CalculateEffectiveCmEnrollmentRequest\x1aO.google.cloud.cloudsecuritycompliance.v1.CalculateEffectiveCmEnrollmentResponse\"\xc4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb6\x01\x12=/v1/{name=organizations/*/locations/*/cmEnrollment}:calculateZ9\x12\x37/v1/{name=folders/*/locations/*/cmEnrollment}:calculateZ:\x12\x38/v1/{name=projects/*/locations/*/cmEnrollment}:calculate\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb1\x02\n+com.google.cloud.cloudsecuritycompliance.v1B\x18\x43mEnrollmentServiceProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError
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.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
+ end
36
+ end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module CloudSecurityCompliance
44
+ module V1
45
+ UpdateCmEnrollmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.UpdateCmEnrollmentRequest").msgclass
46
+ CalculateEffectiveCmEnrollmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CalculateEffectiveCmEnrollmentRequest").msgclass
47
+ CmEnrollment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CmEnrollment").msgclass
48
+ CalculateEffectiveCmEnrollmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CalculateEffectiveCmEnrollmentResponse").msgclass
49
+ AuditConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.AuditConfig").msgclass
50
+ AuditConfig::CmEligibleDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.AuditConfig.CmEligibleDestination").msgclass
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,54 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto for package 'Google.Cloud.CloudSecurityCompliance.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module CloudSecurityCompliance
25
+ module V1
26
+ module CmEnrollmentService
27
+ # Service describing CmEnrollment related RPCs for
28
+ # complianceManager.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService'
36
+
37
+ # Updates the Compliance Manager enrollment for a resource to facilitate
38
+ # an audit.
39
+ # Use this method to enroll a resource in Compliance Manager or to
40
+ # create or update feature-specific configurations.
41
+ rpc :UpdateCmEnrollment, ::Google::Cloud::CloudSecurityCompliance::V1::UpdateCmEnrollmentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CmEnrollment
42
+ # Calculates the effective Compliance Manager enrollment for a resource.
43
+ # An effective enrollment is either a direct enrollment of a
44
+ # resource (if it exists), or an enrollment of the closest parent of a
45
+ # resource that's enrolled in Compliance Manager.
46
+ rpc :CalculateEffectiveCmEnrollment, ::Google::Cloud::CloudSecurityCompliance::V1::CalculateEffectiveCmEnrollmentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CalculateEffectiveCmEnrollmentResponse
47
+ end
48
+
49
+ Stub = Service.rpc_stub_class
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n4google/cloud/cloudsecuritycompliance/v1/common.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x07\n\tFramework\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12S\n\x04type\x18\x06 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkTypeB\x03\xe0\x41\x03\x12`\n\x15\x63loud_control_details\x18\x08 \x03(\x0b\x32<.google.cloud.cloudsecuritycompliance.v1.CloudControlDetailsB\x03\xe0\x41\x01\x12Q\n\x08\x63\x61tegory\x18\t \x03(\x0e\x32:.google.cloud.cloudsecuritycompliance.v1.FrameworkCategoryB\x03\xe0\x41\x01\x12^\n\x19supported_cloud_providers\x18\n \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProviderB\x03\xe0\x41\x03\x12i\n\x1fsupported_target_resource_types\x18\x0b \x03(\x0e\x32;.google.cloud.cloudsecuritycompliance.v1.TargetResourceTypeB\x03\xe0\x41\x03\x12\x62\n\x1bsupported_enforcement_modes\x18\r \x03(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EnforcementModeB\x03\xe0\x41\x03\"I\n\rFrameworkType\x12\x1e\n\x1a\x46RAMEWORK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42UILT_IN\x10\x01\x12\n\n\x06\x43USTOM\x10\x02:\x97\x01\xea\x41\x93\x01\n0cloudsecuritycompliance.googleapis.com/Framework\x12Horganizations/{organization}/locations/{location}/frameworks/{framework}*\nframeworks2\tframework\"\x95\x01\n\x13\x43loudControlDetails\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12K\n\nparameters\x18\x04 \x03(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.ParameterB\x03\xe0\x41\x01\"g\n\x12\x46rameworkReference\x12\x16\n\tframework\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12#\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x14\n\x12_major_revision_id\"q\n\tParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x0fparameter_value\x18\x02 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x02\"\xa2\x08\n\x0c\x43loudControl\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x62\n\x1bsupported_enforcement_modes\x18\x07 \x03(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EnforcementModeB\x03\xe0\x41\x03\x12S\n\x0eparameter_spec\x18\x08 \x03(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ParameterSpecB\x03\xe0\x41\x01\x12\x41\n\x05rules\x18\t \x03(\x0b\x32-.google.cloud.cloudsecuritycompliance.v1.RuleB\x03\xe0\x41\x01\x12H\n\x08severity\x18\x0b \x01(\x0e\x32\x31.google.cloud.cloudsecuritycompliance.v1.SeverityB\x03\xe0\x41\x01\x12\x1d\n\x10\x66inding_category\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12^\n\x19supported_cloud_providers\x18\r \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProviderB\x03\xe0\x41\x01\x12\x1f\n\x12related_frameworks\x18\x0e \x03(\tB\x03\xe0\x41\x03\x12\x1e\n\x11remediation_steps\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12V\n\ncategories\x18\x10 \x03(\x0e\x32=.google.cloud.cloudsecuritycompliance.v1.CloudControlCategoryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12i\n\x1fsupported_target_resource_types\x18\x12 \x03(\x0e\x32;.google.cloud.cloudsecuritycompliance.v1.TargetResourceTypeB\x03\xe0\x41\x01:\xa7\x01\xea\x41\xa3\x01\n3cloudsecuritycompliance.googleapis.com/CloudControl\x12Oorganizations/{organization}/locations/{location}/cloudControls/{cloud_control}*\rcloudControls2\x0c\x63loudControl\"\x8e\x05\n\rParameterSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bis_required\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\x12Y\n\nvalue_type\x18\x05 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.ParameterSpec.ValueTypeB\x03\xe0\x41\x02\x12O\n\rdefault_value\x18\x06 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x01\x12\x63\n\x12substitution_rules\x18\x07 \x03(\x0b\x32\x42.google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRuleB\x03\xe0\x41\x01\x12S\n\x0esub_parameters\x18\x08 \x03(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ParameterSpecB\x03\xe0\x41\x01\x12L\n\nvalidation\x18\t \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ValidationB\x03\xe0\x41\x01\"g\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\x0e\n\nSTRINGLIST\x10\x05\x12\n\n\x06NUMBER\x10\x06\x12\t\n\x05ONEOF\x10\x07\"\x86\x02\n\nValidation\x12P\n\x0e\x61llowed_values\x18\x01 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.AllowedValuesH\x00\x12\x46\n\tint_range\x18\x02 \x01(\x0b\x32\x31.google.cloud.cloudsecuritycompliance.v1.IntRangeH\x00\x12P\n\x0eregexp_pattern\x18\x03 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.RegexpPatternH\x00\x42\x0c\n\nconstraint\"Y\n\rAllowedValues\x12H\n\x06values\x18\x01 \x03(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x02\"%\n\rRegexpPattern\x12\x14\n\x07pattern\x18\x01 \x01(\tB\x03\xe0\x41\x02\".\n\x08IntRange\x12\x10\n\x03min\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x10\n\x03max\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"!\n\nStringList\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\"\xf7\x01\n\nParamValue\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12P\n\x11string_list_value\x18\x05 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.StringListH\x00\x12\x16\n\x0cnumber_value\x18\x06 \x01(\x01H\x00\x12I\n\x0boneof_value\x18\x07 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.ParameterH\x00\x42\x06\n\x04kind\"\x8a\x02\n\x19ParameterSubstitutionRule\x12m\n\x1dplaceholder_substitution_rule\x18\x01 \x01(\x0b\x32\x44.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRuleH\x00\x12i\n\x1b\x61ttribute_substitution_rule\x18\x02 \x01(\x0b\x32\x42.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRuleH\x00\x42\x13\n\x11substitution_type\".\n\x19\x41ttributeSubstitutionRule\x12\x11\n\tattribute\x18\x01 \x01(\t\"0\n\x1bPlaceholderSubstitutionRule\x12\x11\n\tattribute\x18\x01 \x01(\t\"\xdd\x01\n\x04Rule\x12P\n\x0e\x63\x65l_expression\x18\x01 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.CELExpressionH\x00\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tB\x03\xe0\x41\x01\x12W\n\x11rule_action_types\x18\x10 \x03(\x0e\x32\x37.google.cloud.cloudsecuritycompliance.v1.RuleActionTypeB\x03\xe0\x41\x02\x42\x10\n\x0eimplementation\"\x8a\x01\n\rCELExpression\x12T\n\x15resource_types_values\x18\x03 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.StringListH\x00\x12\x17\n\nexpression\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\n\n\x08\x63riteria\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03*]\n\x0f\x45nforcementMode\x12 \n\x1c\x45NFORCEMENT_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nPREVENTIVE\x10\x01\x12\r\n\tDETECTIVE\x10\x02\x12\t\n\x05\x41UDIT\x10\x03*\xb1\x01\n\x11\x46rameworkCategory\x12\"\n\x1e\x46RAMEWORK_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19INDUSTRY_DEFINED_STANDARD\x10\x01\x12\x15\n\x11\x41SSURED_WORKLOADS\x10\x02\x12\x11\n\rDATA_SECURITY\x10\x03\x12\x19\n\x15GOOGLE_BEST_PRACTICES\x10\x04\x12\x14\n\x10\x43USTOM_FRAMEWORK\x10\x05*\xf2\x04\n\x14\x43loudControlCategory\x12&\n\"CLOUD_CONTROL_CATEGORY_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x43_CATEGORY_INFRASTRUCTURE\x10\x01\x12\'\n#CC_CATEGORY_ARTIFICIAL_INTELLIGENCE\x10\x02\x12!\n\x1d\x43\x43_CATEGORY_PHYSICAL_SECURITY\x10\x03\x12\x1d\n\x19\x43\x43_CATEGORY_DATA_SECURITY\x10\x04\x12 \n\x1c\x43\x43_CATEGORY_NETWORK_SECURITY\x10\x05\x12#\n\x1f\x43\x43_CATEGORY_INCIDENT_MANAGEMENT\x10\x06\x12.\n*CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT\x10\x07\x12\x1a\n\x16\x43\x43_CATEGORY_ENCRYPTION\x10\x08\x12\x32\n.CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE\x10\t\x12&\n\"CC_CATEGORY_HR_ADMIN_AND_PROCESSES\x10\n\x12\x38\n4CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT\x10\x0b\x12%\n!CC_CATEGORY_LEGAL_AND_DISCLOSURES\x10\x0c\x12(\n$CC_CATEGORY_VULNERABILITY_MANAGEMENT\x10\r\x12\x17\n\x13\x43\x43_CATEGORY_PRIVACY\x10\x0e\x12\x14\n\x10\x43\x43_CATEGORY_BCDR\x10\x0f*L\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41WS\x10\x01\x12\t\n\x05\x41ZURE\x10\x02\x12\x07\n\x03GCP\x10\x03*Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04*\x8f\x01\n\x0eRuleActionType\x12 \n\x1cRULE_ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bRULE_ACTION_TYPE_PREVENTIVE\x10\x01\x12\x1e\n\x1aRULE_ACTION_TYPE_DETECTIVE\x10\x02\x12\x1a\n\x16RULE_ACTION_TYPE_AUDIT\x10\x03*\xcd\x01\n\x12TargetResourceType\x12$\n TARGET_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTARGET_RESOURCE_CRM_TYPE_ORG\x10\x01\x12#\n\x1fTARGET_RESOURCE_CRM_TYPE_FOLDER\x10\x02\x12$\n TARGET_RESOURCE_CRM_TYPE_PROJECT\x10\x03\x12$\n TARGET_RESOURCE_TYPE_APPLICATION\x10\x04\x42\x97\x03\n+com.google.cloud.cloudsecuritycompliance.v1B\x0b\x43ommonProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1\xea\x41p\n;cloudsecuritycompliance.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
12
+ descriptor_data = "\n4google/cloud/cloudsecuritycompliance/v1/common.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x07\n\tFramework\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12S\n\x04type\x18\x06 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkTypeB\x03\xe0\x41\x03\x12`\n\x15\x63loud_control_details\x18\x08 \x03(\x0b\x32<.google.cloud.cloudsecuritycompliance.v1.CloudControlDetailsB\x03\xe0\x41\x01\x12Q\n\x08\x63\x61tegory\x18\t \x03(\x0e\x32:.google.cloud.cloudsecuritycompliance.v1.FrameworkCategoryB\x03\xe0\x41\x01\x12^\n\x19supported_cloud_providers\x18\n \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProviderB\x03\xe0\x41\x03\x12i\n\x1fsupported_target_resource_types\x18\x0b \x03(\x0e\x32;.google.cloud.cloudsecuritycompliance.v1.TargetResourceTypeB\x03\xe0\x41\x03\x12\x62\n\x1bsupported_enforcement_modes\x18\r \x03(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EnforcementModeB\x03\xe0\x41\x03\"I\n\rFrameworkType\x12\x1e\n\x1a\x46RAMEWORK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42UILT_IN\x10\x01\x12\n\n\x06\x43USTOM\x10\x02:\x97\x01\xea\x41\x93\x01\n0cloudsecuritycompliance.googleapis.com/Framework\x12Horganizations/{organization}/locations/{location}/frameworks/{framework}*\nframeworks2\tframework\"\x95\x01\n\x13\x43loudControlDetails\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12K\n\nparameters\x18\x04 \x03(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.ParameterB\x03\xe0\x41\x01\"g\n\x12\x46rameworkReference\x12\x16\n\tframework\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12#\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x14\n\x12_major_revision_id\"q\n\tParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x0fparameter_value\x18\x02 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x02\"\xda\x08\n\x0c\x43loudControl\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x62\n\x1bsupported_enforcement_modes\x18\x07 \x03(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EnforcementModeB\x03\xe0\x41\x03\x12S\n\x0eparameter_spec\x18\x08 \x03(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ParameterSpecB\x03\xe0\x41\x01\x12\x41\n\x05rules\x18\t \x03(\x0b\x32-.google.cloud.cloudsecuritycompliance.v1.RuleB\x03\xe0\x41\x01\x12H\n\x08severity\x18\x0b \x01(\x0e\x32\x31.google.cloud.cloudsecuritycompliance.v1.SeverityB\x03\xe0\x41\x01\x12\x1d\n\x10\x66inding_category\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12^\n\x19supported_cloud_providers\x18\r \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProviderB\x03\xe0\x41\x01\x12\x1f\n\x12related_frameworks\x18\x0e \x03(\tB\x03\xe0\x41\x03\x12\x1e\n\x11remediation_steps\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12V\n\ncategories\x18\x10 \x03(\x0e\x32=.google.cloud.cloudsecuritycompliance.v1.CloudControlCategoryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12i\n\x1fsupported_target_resource_types\x18\x12 \x03(\x0e\x32;.google.cloud.cloudsecuritycompliance.v1.TargetResourceTypeB\x03\xe0\x41\x01\"6\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43USTOM\x10\x01\x12\x0c\n\x08\x42UILT_IN\x10\x02:\xa7\x01\xea\x41\xa3\x01\n3cloudsecuritycompliance.googleapis.com/CloudControl\x12Oorganizations/{organization}/locations/{location}/cloudControls/{cloud_control}*\rcloudControls2\x0c\x63loudControl\"\x8e\x05\n\rParameterSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bis_required\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\x12Y\n\nvalue_type\x18\x05 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.ParameterSpec.ValueTypeB\x03\xe0\x41\x02\x12O\n\rdefault_value\x18\x06 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x01\x12\x63\n\x12substitution_rules\x18\x07 \x03(\x0b\x32\x42.google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRuleB\x03\xe0\x41\x01\x12S\n\x0esub_parameters\x18\x08 \x03(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ParameterSpecB\x03\xe0\x41\x01\x12L\n\nvalidation\x18\t \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ValidationB\x03\xe0\x41\x01\"g\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\x0e\n\nSTRINGLIST\x10\x05\x12\n\n\x06NUMBER\x10\x06\x12\t\n\x05ONEOF\x10\x07\"\x86\x02\n\nValidation\x12P\n\x0e\x61llowed_values\x18\x01 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.AllowedValuesH\x00\x12\x46\n\tint_range\x18\x02 \x01(\x0b\x32\x31.google.cloud.cloudsecuritycompliance.v1.IntRangeH\x00\x12P\n\x0eregexp_pattern\x18\x03 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.RegexpPatternH\x00\x42\x0c\n\nconstraint\"Y\n\rAllowedValues\x12H\n\x06values\x18\x01 \x03(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.ParamValueB\x03\xe0\x41\x02\"%\n\rRegexpPattern\x12\x14\n\x07pattern\x18\x01 \x01(\tB\x03\xe0\x41\x02\".\n\x08IntRange\x12\x10\n\x03min\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x10\n\x03max\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"!\n\nStringList\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x02\"\xf7\x01\n\nParamValue\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12P\n\x11string_list_value\x18\x05 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.StringListH\x00\x12\x16\n\x0cnumber_value\x18\x06 \x01(\x01H\x00\x12I\n\x0boneof_value\x18\x07 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.ParameterH\x00\x42\x06\n\x04kind\"\x8a\x02\n\x19ParameterSubstitutionRule\x12m\n\x1dplaceholder_substitution_rule\x18\x01 \x01(\x0b\x32\x44.google.cloud.cloudsecuritycompliance.v1.PlaceholderSubstitutionRuleH\x00\x12i\n\x1b\x61ttribute_substitution_rule\x18\x02 \x01(\x0b\x32\x42.google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRuleH\x00\x42\x13\n\x11substitution_type\".\n\x19\x41ttributeSubstitutionRule\x12\x11\n\tattribute\x18\x01 \x01(\t\"0\n\x1bPlaceholderSubstitutionRule\x12\x11\n\tattribute\x18\x01 \x01(\t\"\xdd\x01\n\x04Rule\x12P\n\x0e\x63\x65l_expression\x18\x01 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.CELExpressionH\x00\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tB\x03\xe0\x41\x01\x12W\n\x11rule_action_types\x18\x10 \x03(\x0e\x32\x37.google.cloud.cloudsecuritycompliance.v1.RuleActionTypeB\x03\xe0\x41\x02\x42\x10\n\x0eimplementation\"\x8a\x01\n\rCELExpression\x12T\n\x15resource_types_values\x18\x03 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.StringListH\x00\x12\x17\n\nexpression\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\n\n\x08\x63riteria\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"8\n\rControlFamily\x12\x11\n\tfamily_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t*\x83\x01\n#RegulatoryControlResponsibilityType\x12\x36\n2REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GOOGLE\x10\x01\x12\x0c\n\x08\x43USTOMER\x10\x02\x12\n\n\x06SHARED\x10\x03*]\n\x0f\x45nforcementMode\x12 \n\x1c\x45NFORCEMENT_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nPREVENTIVE\x10\x01\x12\r\n\tDETECTIVE\x10\x02\x12\t\n\x05\x41UDIT\x10\x03*\xb1\x01\n\x11\x46rameworkCategory\x12\"\n\x1e\x46RAMEWORK_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19INDUSTRY_DEFINED_STANDARD\x10\x01\x12\x15\n\x11\x41SSURED_WORKLOADS\x10\x02\x12\x11\n\rDATA_SECURITY\x10\x03\x12\x19\n\x15GOOGLE_BEST_PRACTICES\x10\x04\x12\x14\n\x10\x43USTOM_FRAMEWORK\x10\x05*\xf2\x04\n\x14\x43loudControlCategory\x12&\n\"CLOUD_CONTROL_CATEGORY_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x43_CATEGORY_INFRASTRUCTURE\x10\x01\x12\'\n#CC_CATEGORY_ARTIFICIAL_INTELLIGENCE\x10\x02\x12!\n\x1d\x43\x43_CATEGORY_PHYSICAL_SECURITY\x10\x03\x12\x1d\n\x19\x43\x43_CATEGORY_DATA_SECURITY\x10\x04\x12 \n\x1c\x43\x43_CATEGORY_NETWORK_SECURITY\x10\x05\x12#\n\x1f\x43\x43_CATEGORY_INCIDENT_MANAGEMENT\x10\x06\x12.\n*CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT\x10\x07\x12\x1a\n\x16\x43\x43_CATEGORY_ENCRYPTION\x10\x08\x12\x32\n.CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE\x10\t\x12&\n\"CC_CATEGORY_HR_ADMIN_AND_PROCESSES\x10\n\x12\x38\n4CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT\x10\x0b\x12%\n!CC_CATEGORY_LEGAL_AND_DISCLOSURES\x10\x0c\x12(\n$CC_CATEGORY_VULNERABILITY_MANAGEMENT\x10\r\x12\x17\n\x13\x43\x43_CATEGORY_PRIVACY\x10\x0e\x12\x14\n\x10\x43\x43_CATEGORY_BCDR\x10\x0f*L\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41WS\x10\x01\x12\t\n\x05\x41ZURE\x10\x02\x12\x07\n\x03GCP\x10\x03*Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04*\x8f\x01\n\x0eRuleActionType\x12 \n\x1cRULE_ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bRULE_ACTION_TYPE_PREVENTIVE\x10\x01\x12\x1e\n\x1aRULE_ACTION_TYPE_DETECTIVE\x10\x02\x12\x1a\n\x16RULE_ACTION_TYPE_AUDIT\x10\x03*\xcd\x01\n\x12TargetResourceType\x12$\n TARGET_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTARGET_RESOURCE_CRM_TYPE_ORG\x10\x01\x12#\n\x1fTARGET_RESOURCE_CRM_TYPE_FOLDER\x10\x02\x12$\n TARGET_RESOURCE_CRM_TYPE_PROJECT\x10\x03\x12$\n TARGET_RESOURCE_TYPE_APPLICATION\x10\x04\x42\x97\x03\n+com.google.cloud.cloudsecuritycompliance.v1B\x0b\x43ommonProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1\xea\x41p\n;cloudsecuritycompliance.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -46,6 +46,7 @@ module Google
46
46
  FrameworkReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkReference").msgclass
47
47
  Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Parameter").msgclass
48
48
  CloudControl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControl").msgclass
49
+ CloudControl::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControl.Type").enummodule
49
50
  ParameterSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ParameterSpec").msgclass
50
51
  ParameterSpec::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ParameterSpec.ValueType").enummodule
51
52
  Validation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Validation").msgclass
@@ -60,6 +61,8 @@ module Google
60
61
  Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Rule").msgclass
61
62
  CELExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CELExpression").msgclass
62
63
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.OperationMetadata").msgclass
64
+ ControlFamily = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ControlFamily").msgclass
65
+ RegulatoryControlResponsibilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType").enummodule
63
66
  EnforcementMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.EnforcementMode").enummodule
64
67
  FrameworkCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkCategory").enummodule
65
68
  CloudControlCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControlCategory").enummodule
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
13
13
  require 'google/protobuf/field_mask_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n4google/cloud/cloudsecuritycompliance/v1/config.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/cloudsecuritycompliance/v1/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x92\x01\n\x15ListFrameworksRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x16ListFrameworksResponse\x12\x46\n\nframeworks\x18\x01 \x03(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.Framework\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x13GetFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\xc9\x01\n\x16\x43reateFrameworkRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x19\n\x0c\x66ramework_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\tframework\x18\x03 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\"\xba\x01\n\x16UpdateFrameworkRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12J\n\tframework\x18\x02 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\x12\x1e\n\x11major_revision_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\"`\n\x16\x44\x65leteFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\"\x98\x01\n\x18ListCloudControlsRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x19ListCloudControlsResponse\x12M\n\x0e\x63loud_controls\x18\x01 \x03(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x16GetCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl\"\xda\x01\n\x19\x43reateCloudControlRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x1d\n\x10\x63loud_control_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\rcloud_control\x18\x03 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"\xa4\x01\n\x19UpdateCloudControlRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12Q\n\rcloud_control\x18\x02 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"f\n\x19\x44\x65leteCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl2\xa1\x12\n\x06\x43onfig\x12\xd7\x01\n\x0eListFrameworks\x12>.google.cloud.cloudsecuritycompliance.v1.ListFrameworksRequest\x1a?.google.cloud.cloudsecuritycompliance.v1.ListFrameworksResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=organizations/*/locations/*}/frameworks\x12\xc4\x01\n\x0cGetFramework\x12<.google.cloud.cloudsecuritycompliance.v1.GetFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xee\x01\n\x0f\x43reateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"f\xda\x41\x1dparent,framework,framework_id\x82\xd3\xe4\x93\x02@\"3/v1/{parent=organizations/*/locations/*}/frameworks:\tframework\x12\xf0\x01\n\x0fUpdateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"h\xda\x41\x15\x66ramework,update_mask\x82\xd3\xe4\x93\x02J2=/v1/{framework.name=organizations/*/locations/*/frameworks/*}:\tframework\x12\xae\x01\n\x0f\x44\x65leteFramework\x12?.google.cloud.cloudsecuritycompliance.v1.DeleteFrameworkRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xe3\x01\n\x11ListCloudControls\x12\x41.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsRequest\x1a\x42.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=organizations/*/locations/*}/cloudControls\x12\xd0\x01\n\x0fGetCloudControl\x12?.google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=organizations/*/locations/*/cloudControls/*}\x12\x86\x02\n\x12\x43reateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.CreateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"u\xda\x41%parent,cloud_control,cloud_control_id\x82\xd3\xe4\x93\x02G\"6/v1/{parent=organizations/*/locations/*}/cloudControls:\rcloud_control\x12\x88\x02\n\x12UpdateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"w\xda\x41\x19\x63loud_control,update_mask\x82\xd3\xe4\x93\x02U2D/v1/{cloud_control.name=organizations/*/locations/*/cloudControls/*}:\rcloud_control\x12\xb7\x01\n\x12\x44\x65leteCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.DeleteCloudControlRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=organizations/*/locations/*/cloudControls/*}\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n+com.google.cloud.cloudsecuritycompliance.v1B\x0b\x43onfigProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1b\x06proto3"
16
+ descriptor_data = "\n4google/cloud/cloudsecuritycompliance/v1/config.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/cloudsecuritycompliance/v1/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x92\x01\n\x15ListFrameworksRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x16ListFrameworksResponse\x12\x46\n\nframeworks\x18\x01 \x03(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.Framework\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x13GetFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\xc9\x01\n\x16\x43reateFrameworkRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x19\n\x0c\x66ramework_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\tframework\x18\x03 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\"\xba\x01\n\x16UpdateFrameworkRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12J\n\tframework\x18\x02 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\x12\x1e\n\x11major_revision_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\"`\n\x16\x44\x65leteFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\"\x98\x01\n\x18ListCloudControlsRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x19ListCloudControlsResponse\x12M\n\x0e\x63loud_controls\x18\x01 \x03(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x16GetCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\xda\x01\n\x19\x43reateCloudControlRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x1d\n\x10\x63loud_control_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\rcloud_control\x18\x03 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"\xa4\x01\n\x19UpdateCloudControlRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12Q\n\rcloud_control\x18\x02 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"f\n\x19\x44\x65leteCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl2\xa1\x12\n\x06\x43onfig\x12\xd7\x01\n\x0eListFrameworks\x12>.google.cloud.cloudsecuritycompliance.v1.ListFrameworksRequest\x1a?.google.cloud.cloudsecuritycompliance.v1.ListFrameworksResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=organizations/*/locations/*}/frameworks\x12\xc4\x01\n\x0cGetFramework\x12<.google.cloud.cloudsecuritycompliance.v1.GetFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xee\x01\n\x0f\x43reateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"f\xda\x41\x1dparent,framework,framework_id\x82\xd3\xe4\x93\x02@\"3/v1/{parent=organizations/*/locations/*}/frameworks:\tframework\x12\xf0\x01\n\x0fUpdateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"h\xda\x41\x15\x66ramework,update_mask\x82\xd3\xe4\x93\x02J2=/v1/{framework.name=organizations/*/locations/*/frameworks/*}:\tframework\x12\xae\x01\n\x0f\x44\x65leteFramework\x12?.google.cloud.cloudsecuritycompliance.v1.DeleteFrameworkRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xe3\x01\n\x11ListCloudControls\x12\x41.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsRequest\x1a\x42.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=organizations/*/locations/*}/cloudControls\x12\xd0\x01\n\x0fGetCloudControl\x12?.google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=organizations/*/locations/*/cloudControls/*}\x12\x86\x02\n\x12\x43reateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.CreateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"u\xda\x41%parent,cloud_control,cloud_control_id\x82\xd3\xe4\x93\x02G\"6/v1/{parent=organizations/*/locations/*}/cloudControls:\rcloud_control\x12\x88\x02\n\x12UpdateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"w\xda\x41\x19\x63loud_control,update_mask\x82\xd3\xe4\x93\x02U2D/v1/{cloud_control.name=organizations/*/locations/*/cloudControls/*}:\rcloud_control\x12\xb7\x01\n\x12\x44\x65leteCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.DeleteCloudControlRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=organizations/*/locations/*/cloudControls/*}\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n+com.google.cloud.cloudsecuritycompliance.v1B\x0b\x43onfigProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -34,78 +34,81 @@ module Google
34
34
  self.unmarshal_class_method = :decode
35
35
  self.service_name = 'google.cloud.cloudsecuritycompliance.v1.Config'
36
36
 
37
- # Lists all Frameworks (both Built-in and Custom) available within a given
38
- # parent resource. This method supports pagination.
39
- # The latest major version of each Framework is returned.
37
+ # Lists the frameworks (both built-in and custom) that are available within
38
+ # the parent resource. The latest major version of each framework is
39
+ # returned.
40
+ # This method supports pagination.
40
41
  rpc :ListFrameworks, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworksRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworksResponse
41
- # Gets details of a single Framework.
42
- # This method retrieves a Framework resource, which can be either Built-in or
43
- # Custom, identified by its name.
42
+ # Gets details about a framework.
43
+ # This method retrieves the latest major version of the framework.
44
44
  #
45
- # By default, the latest major version of the Framework is returned.
46
- # A specific major version can be retrieved by specifying the
47
- # `major_revision_id` in the request.
45
+ # To retrieve a specific major version, include `major_revision_id` in
46
+ # the request.
48
47
  rpc :GetFramework, ::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkRequest, ::Google::Cloud::CloudSecurityCompliance::V1::Framework
49
- # Creates a new Framework with type `Custom` under a given parent resource.
50
- # Frameworks with type `Built-in` are managed by Google and cannot be created
51
- # through this API.
48
+ # Creates a custom framework in a given parent resource.
49
+ # You can't create built-in frameworks because those are managed by
50
+ # Google.
52
51
  rpc :CreateFramework, ::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkRequest, ::Google::Cloud::CloudSecurityCompliance::V1::Framework
53
- # Updates a single Framework.
54
- # This method allows for partial updates of a Framework resource. The fields
55
- # to be updated are specified using the `update_mask`.
52
+ # Updates a custom framework.
53
+ # This method allows for partial updates of a framework. Use the
54
+ # `update_mask` to specify which fields to update. Consider the following:
56
55
  #
57
- # - If an `update_mask` is provided, only the fields specified in the mask
58
- # will be updated.
59
- # - If no `update_mask` is provided, all fields present in the request's
60
- # `framework` body will be used to overwrite the existing resource.
56
+ # - If you provide an `update_mask`, only the fields that are specified
57
+ # in the mask are updated.
58
+ # - If you don't provide an `update_mask`, all the fields that are present
59
+ # in the request's `framework` body are used to overwrite the existing
60
+ # resource.
61
61
  #
62
- # This operation can only be performed on Frameworks with type `CUSTOM`.
63
- # A successful update will result in a new version of the Framework.
62
+ # You can only update frameworks with the `CUSTOM` type.
63
+ # A successful update creates a new version of the framework.
64
64
  rpc :UpdateFramework, ::Google::Cloud::CloudSecurityCompliance::V1::UpdateFrameworkRequest, ::Google::Cloud::CloudSecurityCompliance::V1::Framework
65
- # Deletes a single Custom Framework, including all its minor and
66
- # minor revisions.
65
+ # Deletes a custom framework, including all its major and
66
+ # minor revisions. Consider the following:
67
67
  #
68
- # - This operation can only be performed on Frameworks with type `CUSTOM`.
69
- # Built-in Frameworks cannot be deleted.
70
- # - The Framework cannot be deleted if it is currently deployed on any
71
- # resource.
72
- # - This action is permanent and cannot be undone.
68
+ # - You can't delete built-in frameworks. You can only delete frameworks
69
+ # with type `CUSTOM`.
70
+ # - You can't delete frameworks that are deployed to a resource.
71
+ # - You can't restore a deleted framework. This action is permanent.
73
72
  rpc :DeleteFramework, ::Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkRequest, ::Google::Protobuf::Empty
74
- # Lists all CloudControls (both Built-in and Custom) available within a given
75
- # parent resource. This method supports pagination.
76
- # The latest major version of each CloudControl is returned.
73
+ # Lists the cloud controls (both built-in and custom) that are available
74
+ # in a given parent resource. The latest major version of each cloud control
75
+ # is returned.
76
+ # This method supports pagination.
77
77
  rpc :ListCloudControls, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlsResponse
78
- # Gets details of a single CloudControl.
79
- # This method retrieves a CloudControl resource, which can be either Built-in
80
- # or Custom, identified by its name.
78
+ # Gets details about a cloud control.
79
+ # This method retrieves the latest major version of a cloud control that
80
+ # you identify by name.
81
81
  #
82
- # By default, the latest major version of the CloudControl is returned.
83
- # A specific major version can be retrieved by specifying the
84
- # `major_revision_id` in the request.
82
+ # By default, the latest major version of the cloud control is returned.
83
+ # To retrieve a specific major version, include `major_revision_id` in
84
+ # the request.
85
85
  rpc :GetCloudControl, ::Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
86
- # Creates a new CloudControl with type `Custom` under a given parent
87
- # resource. `Built-in` CloudControls are managed by Google and cannot be
88
- # created through this API.
86
+ # Creates a custom cloud control in a given parent
87
+ # resource.
88
+ # You can't create built-in cloud controls because those are managed by
89
+ # Google.
89
90
  rpc :CreateCloudControl, ::Google::Cloud::CloudSecurityCompliance::V1::CreateCloudControlRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
90
- # Updates a single CloudControl.
91
- # This method allows for partial updates of a Custom CloudControl resource.
92
- # Built-in CloudControls cannot be updated.
91
+ # Updates a custom cloud control.
92
+ # This method allows for partial updates of a cloud control. Use the
93
+ # `update_mask` to specify which fields to update. Consider the following:
93
94
  #
94
- # - If an `update_mask` is provided, only the fields specified in the mask
95
- # will be updated.
96
- # - If no `update_mask` is provided, all fields present in the request's
97
- # `cloud_control` body will be used to overwrite the existing resource.
95
+ # - If you provide an `update_mask`, only the fields that are specified
96
+ # in the mask are updated.
97
+ # - If you don't provide an `update_mask`, all the fields that are present
98
+ # in the request's `cloud_control` body are used to overwrite the existing
99
+ # resource.
98
100
  #
99
- # A successful update will result in a new version of the CloudControl.
101
+ # You can only update cloud controls with the `CUSTOM` type.
102
+ # A successful update creates a new version of the cloud control.
100
103
  rpc :UpdateCloudControl, ::Google::Cloud::CloudSecurityCompliance::V1::UpdateCloudControlRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
101
- # Deletes a single Custom CloudControl, including all its
102
- # major and minor revisions.
104
+ # Deletes a custom cloud control, including all its
105
+ # major and minor revisions. Consider the following:
103
106
  #
104
- # - This operation can only be performed on CloudControls with type `CUSTOM`.
105
- # Built-in CloudControls cannot be deleted.
106
- # - The CloudControl cannot be deleted if any of its revisions are currently
107
- # referenced by any Framework.
108
- # - This action is permanent and cannot be undone.
107
+ # - You can't delete built-in cloud controls. You can only delete cloud
108
+ # controls with type `CUSTOM`.
109
+ # - You can't delete cloud controls if any of the versions are referenced
110
+ # by a framework.
111
+ # - You can't restore a deleted cloud control. This action is permanent.
109
112
  rpc :DeleteCloudControl, ::Google::Cloud::CloudSecurityCompliance::V1::DeleteCloudControlRequest, ::Google::Protobuf::Empty
110
113
  end
111
114
 
@@ -34,17 +34,20 @@ module Google
34
34
  self.unmarshal_class_method = :decode
35
35
  self.service_name = 'google.cloud.cloudsecuritycompliance.v1.Deployment'
36
36
 
37
- # Creates a new FrameworkDeployment in a given parent resource.
37
+ # Creates a framework deployment in a given parent resource. A
38
+ # framework deployment lets you assign a particular framework version to an
39
+ # organization, folder, or project so that you can control and monitor
40
+ # those resources using the framework's cloud controls.
38
41
  rpc :CreateFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkDeploymentRequest, ::Google::Longrunning::Operation
39
- # Deletes a single FrameworkDeployment.
42
+ # Deletes a framework deployment.
40
43
  rpc :DeleteFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest, ::Google::Longrunning::Operation
41
- # Gets details of a single FrameworkDeployment.
44
+ # Gets details about a framework deployment.
42
45
  rpc :GetFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkDeploymentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment
43
- # Lists FrameworkDeployments in a given parent resource.
46
+ # Lists the framework deployments in a given parent resource.
44
47
  rpc :ListFrameworkDeployments, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsResponse
45
- # Gets details of a single CloudControlDeployment.
48
+ # Gets details about a cloud control deployment.
46
49
  rpc :GetCloudControlDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlDeploymentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment
47
- # Lists CloudControlDeployments in a given parent resource.
50
+ # Lists the cloud conrol deployments in a given parent resource.
48
51
  rpc :ListCloudControlDeployments, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsResponse
49
52
  end
50
53