google-cloud-cloud_security_compliance-v1 0.4.0 → 0.4.1

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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +29 -0
  3. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +16 -0
  4. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +39 -16
  5. data/lib/google/cloud/cloud_security_compliance/v1/config/paths.rb +81 -16
  6. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +39 -16
  7. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/service_stub.rb +74 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +18 -7
  9. data/lib/google/cloud/cloud_security_compliance/v1/deployment/paths.rb +124 -16
  10. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +18 -7
  11. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/operations.rb +29 -0
  12. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/service_stub.rb +43 -0
  13. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +6 -2
  14. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +6 -2
  15. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  16. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +3 -1
  17. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  18. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_pb.rb +1 -1
  19. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +4 -1
  20. data/proto_docs/google/api/client.rb +4 -0
  21. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +154 -13
  22. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +39 -16
  23. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +34 -12
  24. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +42 -0
  25. metadata +1 -1
@@ -261,7 +261,9 @@ module Google
261
261
  #
262
262
  # @param parent [::String]
263
263
  # Required. The parent resource of the framework deployment in the format
264
- # `organizations/{organization}/locations/{location}`.
264
+ # `organizations/{organization}/locations/{location}`
265
+ # or
266
+ # `projects/{project}/locations/{location}`.
265
267
  # Only the global location is supported.
266
268
  # @param framework_deployment_id [::String]
267
269
  # Optional. An identifier for the framework deployment that's unique in scope
@@ -364,7 +366,9 @@ module Google
364
366
  # @param name [::String]
365
367
  # Required. The name of the framework deployment that you want to delete,
366
368
  # in the format
367
- # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
369
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
370
+ # or
371
+ # `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
368
372
  # The only supported location is `global`.
369
373
  # @param etag [::String]
370
374
  # Optional. An opaque identifier for the current version of the resource.
@@ -469,7 +473,9 @@ module Google
469
473
  #
470
474
  # @param name [::String]
471
475
  # Required. The name of the framework deployment, in the format
472
- # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
476
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
477
+ # or
478
+ # `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
473
479
  # The only supported location is `global`.
474
480
  #
475
481
  # @yield [response, operation] Access the result along with the RPC operation
@@ -556,7 +562,9 @@ module Google
556
562
  #
557
563
  # @param parent [::String]
558
564
  # Required. The parent resource of the framework deployment, in the format
559
- # `organizations/{organization}/locations/{location}`.
565
+ # `organizations/{organization}/locations/{location}`
566
+ # or
567
+ # `projects/{project}/locations/{location}`.
560
568
  # The only supported location is `global`.
561
569
  # @param page_size [::Integer]
562
570
  # Optional. The requested page size. The server might return fewer items than
@@ -667,7 +675,9 @@ module Google
667
675
  #
668
676
  # @param name [::String]
669
677
  # Required. The name for the cloud control deployment, in the format
670
- # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}`.
678
+ # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
679
+ # or
680
+ # `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
671
681
  # The only supported location is `global`.
672
682
  #
673
683
  # @yield [response, operation] Access the result along with the RPC operation
@@ -754,8 +764,9 @@ module Google
754
764
  #
755
765
  # @param parent [::String]
756
766
  # Required. The parent resource for the cloud control deployment, in the
757
- # format `organizations/{organization}/locations/{location}`. The only
758
- # supported location is `global`.
767
+ # format `organizations/{organization}/locations/{location}` or
768
+ # `projects/{project}/locations/{location}`.
769
+ # The only supported location is `global`.
759
770
  # @param page_size [::Integer]
760
771
  # Optional. The requested page size. The server might return fewer items than
761
772
  # you requested.
@@ -27,39 +27,147 @@ module Google
27
27
  ##
28
28
  # Create a fully-qualified CloudControlDeployment resource string.
29
29
  #
30
- # The resource will be in the following format:
30
+ # @overload cloud_control_deployment_path(organization:, location:, cloud_control_deployment:)
31
+ # The resource will be in the following format:
31
32
  #
32
- # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
33
+ # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
33
34
  #
34
- # @param organization [String]
35
- # @param location [String]
36
- # @param cloud_control_deployment [String]
35
+ # @param organization [String]
36
+ # @param location [String]
37
+ # @param cloud_control_deployment [String]
38
+ #
39
+ # @overload cloud_control_deployment_path(project:, location:, cloud_control_deployment:)
40
+ # The resource will be in the following format:
41
+ #
42
+ # `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
43
+ #
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param cloud_control_deployment [String]
37
47
  #
38
48
  # @return [::String]
39
- def cloud_control_deployment_path organization:, location:, cloud_control_deployment:
40
- raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
41
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
49
+ def cloud_control_deployment_path **args
50
+ resources = {
51
+ "cloud_control_deployment:location:organization" => (proc do |organization:, location:, cloud_control_deployment:|
52
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
53
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
54
+
55
+ "organizations/#{organization}/locations/#{location}/cloudControlDeployments/#{cloud_control_deployment}"
56
+ end),
57
+ "cloud_control_deployment:location:project" => (proc do |project:, location:, cloud_control_deployment:|
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
60
 
43
- "organizations/#{organization}/locations/#{location}/cloudControlDeployments/#{cloud_control_deployment}"
61
+ "projects/#{project}/locations/#{location}/cloudControlDeployments/#{cloud_control_deployment}"
62
+ end)
63
+ }
64
+
65
+ resource = resources[args.keys.sort.join(":")]
66
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
67
+ resource.call(**args)
68
+ end
69
+
70
+ ##
71
+ # Create a fully-qualified Framework resource string.
72
+ #
73
+ # @overload framework_path(organization:, location:, framework:)
74
+ # The resource will be in the following format:
75
+ #
76
+ # `organizations/{organization}/locations/{location}/frameworks/{framework}`
77
+ #
78
+ # @param organization [String]
79
+ # @param location [String]
80
+ # @param framework [String]
81
+ #
82
+ # @overload framework_path(project:, location:, framework:)
83
+ # The resource will be in the following format:
84
+ #
85
+ # `projects/{project}/locations/{location}/frameworks/{framework}`
86
+ #
87
+ # @param project [String]
88
+ # @param location [String]
89
+ # @param framework [String]
90
+ #
91
+ # @return [::String]
92
+ def framework_path **args
93
+ resources = {
94
+ "framework:location:organization" => (proc do |organization:, location:, framework:|
95
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
96
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
97
+
98
+ "organizations/#{organization}/locations/#{location}/frameworks/#{framework}"
99
+ end),
100
+ "framework:location:project" => (proc do |project:, location:, framework:|
101
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
102
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
103
+
104
+ "projects/#{project}/locations/#{location}/frameworks/#{framework}"
105
+ end)
106
+ }
107
+
108
+ resource = resources[args.keys.sort.join(":")]
109
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
110
+ resource.call(**args)
44
111
  end
45
112
 
46
113
  ##
47
114
  # Create a fully-qualified FrameworkDeployment resource string.
48
115
  #
116
+ # @overload framework_deployment_path(organization:, location:, framework_deployment:)
117
+ # The resource will be in the following format:
118
+ #
119
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
120
+ #
121
+ # @param organization [String]
122
+ # @param location [String]
123
+ # @param framework_deployment [String]
124
+ #
125
+ # @overload framework_deployment_path(project:, location:, framework_deployment:)
126
+ # The resource will be in the following format:
127
+ #
128
+ # `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`
129
+ #
130
+ # @param project [String]
131
+ # @param location [String]
132
+ # @param framework_deployment [String]
133
+ #
134
+ # @return [::String]
135
+ def framework_deployment_path **args
136
+ resources = {
137
+ "framework_deployment:location:organization" => (proc do |organization:, location:, framework_deployment:|
138
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
139
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
140
+
141
+ "organizations/#{organization}/locations/#{location}/frameworkDeployments/#{framework_deployment}"
142
+ end),
143
+ "framework_deployment:location:project" => (proc do |project:, location:, framework_deployment:|
144
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
145
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
146
+
147
+ "projects/#{project}/locations/#{location}/frameworkDeployments/#{framework_deployment}"
148
+ end)
149
+ }
150
+
151
+ resource = resources[args.keys.sort.join(":")]
152
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
153
+ resource.call(**args)
154
+ end
155
+
156
+ ##
157
+ # Create a fully-qualified Location resource string.
158
+ #
49
159
  # The resource will be in the following format:
50
160
  #
51
- # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
161
+ # `projects/{project}/locations/{location}`
52
162
  #
53
- # @param organization [String]
163
+ # @param project [String]
54
164
  # @param location [String]
55
- # @param framework_deployment [String]
56
165
  #
57
166
  # @return [::String]
58
- def framework_deployment_path organization:, location:, framework_deployment:
59
- raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
60
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
167
+ def location_path project:, location:
168
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
169
 
62
- "organizations/#{organization}/locations/#{location}/frameworkDeployments/#{framework_deployment}"
170
+ "projects/#{project}/locations/#{location}"
63
171
  end
64
172
 
65
173
  ##
@@ -255,7 +255,9 @@ module Google
255
255
  #
256
256
  # @param parent [::String]
257
257
  # Required. The parent resource of the framework deployment in the format
258
- # `organizations/{organization}/locations/{location}`.
258
+ # `organizations/{organization}/locations/{location}`
259
+ # or
260
+ # `projects/{project}/locations/{location}`.
259
261
  # Only the global location is supported.
260
262
  # @param framework_deployment_id [::String]
261
263
  # Optional. An identifier for the framework deployment that's unique in scope
@@ -351,7 +353,9 @@ module Google
351
353
  # @param name [::String]
352
354
  # Required. The name of the framework deployment that you want to delete,
353
355
  # in the format
354
- # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
356
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
357
+ # or
358
+ # `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
355
359
  # The only supported location is `global`.
356
360
  # @param etag [::String]
357
361
  # Optional. An opaque identifier for the current version of the resource.
@@ -449,7 +453,9 @@ module Google
449
453
  #
450
454
  # @param name [::String]
451
455
  # Required. The name of the framework deployment, in the format
452
- # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}`.
456
+ # `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
457
+ # or
458
+ # `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
453
459
  # The only supported location is `global`.
454
460
  # @yield [result, operation] Access the result along with the TransportOperation object
455
461
  # @yieldparam result [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment]
@@ -529,7 +535,9 @@ module Google
529
535
  #
530
536
  # @param parent [::String]
531
537
  # Required. The parent resource of the framework deployment, in the format
532
- # `organizations/{organization}/locations/{location}`.
538
+ # `organizations/{organization}/locations/{location}`
539
+ # or
540
+ # `projects/{project}/locations/{location}`.
533
541
  # The only supported location is `global`.
534
542
  # @param page_size [::Integer]
535
543
  # Optional. The requested page size. The server might return fewer items than
@@ -633,7 +641,9 @@ module Google
633
641
  #
634
642
  # @param name [::String]
635
643
  # Required. The name for the cloud control deployment, in the format
636
- # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}`.
644
+ # `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
645
+ # or
646
+ # `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
637
647
  # The only supported location is `global`.
638
648
  # @yield [result, operation] Access the result along with the TransportOperation object
639
649
  # @yieldparam result [::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment]
@@ -713,8 +723,9 @@ module Google
713
723
  #
714
724
  # @param parent [::String]
715
725
  # Required. The parent resource for the cloud control deployment, in the
716
- # format `organizations/{organization}/locations/{location}`. The only
717
- # supported location is `global`.
726
+ # format `organizations/{organization}/locations/{location}` or
727
+ # `projects/{project}/locations/{location}`.
728
+ # The only supported location is `global`.
718
729
  # @param page_size [::Integer]
719
730
  # Optional. The requested page size. The server might return fewer items than
720
731
  # you requested.
@@ -850,6 +850,13 @@ module Google
850
850
  ["name", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
851
851
  ]
852
852
  )
853
+ .with_bindings(
854
+ uri_method: :get,
855
+ uri_template: "/v1/{name}/operations",
856
+ matches: [
857
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
858
+ ]
859
+ )
853
860
  transcoder.transcode request_pb
854
861
  end
855
862
 
@@ -871,6 +878,13 @@ module Google
871
878
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
872
879
  ]
873
880
  )
881
+ .with_bindings(
882
+ uri_method: :get,
883
+ uri_template: "/v1/{name}",
884
+ matches: [
885
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
886
+ ]
887
+ )
874
888
  transcoder.transcode request_pb
875
889
  end
876
890
 
@@ -892,6 +906,13 @@ module Google
892
906
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
893
907
  ]
894
908
  )
909
+ .with_bindings(
910
+ uri_method: :delete,
911
+ uri_template: "/v1/{name}",
912
+ matches: [
913
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
914
+ ]
915
+ )
895
916
  transcoder.transcode request_pb
896
917
  end
897
918
 
@@ -914,6 +935,14 @@ module Google
914
935
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
915
936
  ]
916
937
  )
938
+ .with_bindings(
939
+ uri_method: :post,
940
+ uri_template: "/v1/{name}:cancel",
941
+ body: "*",
942
+ matches: [
943
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
944
+ ]
945
+ )
917
946
  transcoder.transcode request_pb
918
947
  end
919
948
  end
@@ -332,6 +332,14 @@ module Google
332
332
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
333
333
  ]
334
334
  )
335
+ .with_bindings(
336
+ uri_method: :post,
337
+ uri_template: "/v1/{parent}/frameworkDeployments",
338
+ body: "framework_deployment",
339
+ matches: [
340
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
341
+ ]
342
+ )
335
343
  transcoder.transcode request_pb
336
344
  end
337
345
 
@@ -353,6 +361,13 @@ module Google
353
361
  ["name", %r{^organizations/[^/]+/locations/[^/]+/frameworkDeployments/[^/]+/?$}, false]
354
362
  ]
355
363
  )
364
+ .with_bindings(
365
+ uri_method: :delete,
366
+ uri_template: "/v1/{name}",
367
+ matches: [
368
+ ["name", %r{^projects/[^/]+/locations/[^/]+/frameworkDeployments/[^/]+/?$}, false]
369
+ ]
370
+ )
356
371
  transcoder.transcode request_pb
357
372
  end
358
373
 
@@ -374,6 +389,13 @@ module Google
374
389
  ["name", %r{^organizations/[^/]+/locations/[^/]+/frameworkDeployments/[^/]+/?$}, false]
375
390
  ]
376
391
  )
392
+ .with_bindings(
393
+ uri_method: :get,
394
+ uri_template: "/v1/{name}",
395
+ matches: [
396
+ ["name", %r{^projects/[^/]+/locations/[^/]+/frameworkDeployments/[^/]+/?$}, false]
397
+ ]
398
+ )
377
399
  transcoder.transcode request_pb
378
400
  end
379
401
 
@@ -395,6 +417,13 @@ module Google
395
417
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
396
418
  ]
397
419
  )
420
+ .with_bindings(
421
+ uri_method: :get,
422
+ uri_template: "/v1/{parent}/frameworkDeployments",
423
+ matches: [
424
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
425
+ ]
426
+ )
398
427
  transcoder.transcode request_pb
399
428
  end
400
429
 
@@ -416,6 +445,13 @@ module Google
416
445
  ["name", %r{^organizations/[^/]+/locations/[^/]+/cloudControlDeployments/[^/]+/?$}, false]
417
446
  ]
418
447
  )
448
+ .with_bindings(
449
+ uri_method: :get,
450
+ uri_template: "/v1/{name}",
451
+ matches: [
452
+ ["name", %r{^projects/[^/]+/locations/[^/]+/cloudControlDeployments/[^/]+/?$}, false]
453
+ ]
454
+ )
419
455
  transcoder.transcode request_pb
420
456
  end
421
457
 
@@ -437,6 +473,13 @@ module Google
437
473
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
438
474
  ]
439
475
  )
476
+ .with_bindings(
477
+ uri_method: :get,
478
+ uri_template: "/v1/{parent}/cloudControlDeployments",
479
+ matches: [
480
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
481
+ ]
482
+ )
440
483
  transcoder.transcode request_pb
441
484
  end
442
485
  end
@@ -237,7 +237,7 @@ module Google
237
237
  # @param options [::Gapic::CallOptions, ::Hash]
238
238
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
239
239
  #
240
- # @overload list_framework_compliance_summaries(parent: nil, page_size: nil, page_token: nil, filter: nil)
240
+ # @overload list_framework_compliance_summaries(parent: nil, page_size: nil, page_token: nil, filter: nil, view: nil)
241
241
  # Pass arguments to `list_framework_compliance_summaries` via keyword arguments. Note that at
242
242
  # least one keyword argument is required. To specify no parameters, or to keep all
243
243
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -252,6 +252,8 @@ module Google
252
252
  # should return.
253
253
  # @param filter [::String]
254
254
  # Optional. The filtering results.
255
+ # @param view [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummaryView]
256
+ # Optional. Specifies the level of detail to return in the response.
255
257
  #
256
258
  # @yield [response, operation] Access the result along with the RPC operation
257
259
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummary>]
@@ -437,7 +439,7 @@ module Google
437
439
  # @param options [::Gapic::CallOptions, ::Hash]
438
440
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
439
441
  #
440
- # @overload fetch_framework_compliance_report(name: nil, end_time: nil)
442
+ # @overload fetch_framework_compliance_report(name: nil, end_time: nil, filter: nil)
441
443
  # Pass arguments to `fetch_framework_compliance_report` via keyword arguments. Note that at
442
444
  # least one keyword argument is required. To specify no parameters, or to keep all
443
445
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -446,6 +448,8 @@ module Google
446
448
  # Required. The name of the framework compliance report to retrieve.
447
449
  # @param end_time [::Google::Protobuf::Timestamp, ::Hash]
448
450
  # Optional. The end time of the report.
451
+ # @param filter [::String]
452
+ # Optional. The filtering results.
449
453
  #
450
454
  # @yield [response, operation] Access the result along with the RPC operation
451
455
  # @yieldparam response [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceReport]
@@ -231,7 +231,7 @@ module Google
231
231
  # @param options [::Gapic::CallOptions, ::Hash]
232
232
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
233
233
  #
234
- # @overload list_framework_compliance_summaries(parent: nil, page_size: nil, page_token: nil, filter: nil)
234
+ # @overload list_framework_compliance_summaries(parent: nil, page_size: nil, page_token: nil, filter: nil, view: nil)
235
235
  # Pass arguments to `list_framework_compliance_summaries` via keyword arguments. Note that at
236
236
  # least one keyword argument is required. To specify no parameters, or to keep all
237
237
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -246,6 +246,8 @@ module Google
246
246
  # should return.
247
247
  # @param filter [::String]
248
248
  # Optional. The filtering results.
249
+ # @param view [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummaryView]
250
+ # Optional. Specifies the level of detail to return in the response.
249
251
  # @yield [result, operation] Access the result along with the TransportOperation object
250
252
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummary>]
251
253
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -417,7 +419,7 @@ module Google
417
419
  # @param options [::Gapic::CallOptions, ::Hash]
418
420
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
419
421
  #
420
- # @overload fetch_framework_compliance_report(name: nil, end_time: nil)
422
+ # @overload fetch_framework_compliance_report(name: nil, end_time: nil, filter: nil)
421
423
  # Pass arguments to `fetch_framework_compliance_report` via keyword arguments. Note that at
422
424
  # least one keyword argument is required. To specify no parameters, or to keep all
423
425
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -426,6 +428,8 @@ module Google
426
428
  # Required. The name of the framework compliance report to retrieve.
427
429
  # @param end_time [::Google::Protobuf::Timestamp, ::Hash]
428
430
  # Optional. The end time of the report.
431
+ # @param filter [::String]
432
+ # Optional. The filtering results.
429
433
  # @yield [result, operation] Access the result along with the TransportOperation object
430
434
  # @yieldparam result [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceReport]
431
435
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudSecurityCompliance
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.1"
25
25
  end
26
26
  end
27
27
  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\"\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"
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\"\xd4\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:\xd7\x01\xea\x41\xd3\x01\n0cloudsecuritycompliance.googleapis.com/Framework\x12Horganizations/{organization}/locations/{location}/frameworks/{framework}\x12>projects/{project}/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\"\x9c\x01\n\x12\x46rameworkReference\x12K\n\tframework\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\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\"\xa1\t\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:\xee\x01\xea\x41\xea\x01\n3cloudsecuritycompliance.googleapis.com/CloudControl\x12Oorganizations/{organization}/locations/{location}/cloudControls/{cloud_control}\x12\x45projects/{project}/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\"\x90\x02\n\nParamValue\x12\x1b\n\x0cstring_value\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x19\n\nbool_value\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12U\n\x11string_list_value\x18\x05 \x01(\x0b\x32\x33.google.cloud.cloudsecuritycompliance.v1.StringListB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cnumber_value\x18\x06 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12N\n\x0boneof_value\x18\x07 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.ParameterB\x03\xe0\x41\x01H\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\"\xa3\x08\n\x07\x43ontrol\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12L\n\x06\x66\x61mily\x18\x05 \x01(\x0e\x32\x37.google.cloud.cloudsecuritycompliance.v1.Control.FamilyB\x03\xe0\x41\x03\x12S\n\x0e\x63ontrol_family\x18\x06 \x01(\x0b\x32\x36.google.cloud.cloudsecuritycompliance.v1.ControlFamilyB\x03\xe0\x41\x03\x12n\n\x13responsibility_type\x18\x07 \x01(\x0e\x32L.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityTypeB\x03\xe0\x41\x03\x12.\n!google_responsibility_description\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$google_responsibility_implementation\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x30\n#customer_responsibility_description\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x33\n&customer_responsibility_implementation\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12.\n!shared_responsibility_description\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12#\n\x16\x61\x64\x64itional_content_uri\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12related_frameworks\x18\x0e \x03(\tB\x03\xe0\x41\x03\"\xb0\x01\n\x06\x46\x61mily\x12\x16\n\x12\x46\x41MILY_UNSPECIFIED\x10\x00\x12\x06\n\x02\x41\x43\x10\x01\x12\x06\n\x02\x41T\x10\x02\x12\x06\n\x02\x41U\x10\x03\x12\x06\n\x02\x43\x41\x10\x04\x12\x06\n\x02\x43M\x10\x05\x12\x06\n\x02\x43P\x10\x06\x12\x06\n\x02IA\x10\x07\x12\x06\n\x02IR\x10\x08\x12\x06\n\x02MA\x10\t\x12\x06\n\x02MP\x10\n\x12\x06\n\x02PE\x10\x0b\x12\x06\n\x02PL\x10\x0c\x12\x06\n\x02PS\x10\r\x12\x06\n\x02RA\x10\x0e\x12\x06\n\x02SA\x10\x0f\x12\x06\n\x02SC\x10\x10\x12\x06\n\x02SI\x10\x11\x12\x06\n\x02SR\x10\x12:\xc9\x01\xea\x41\xc5\x01\n.cloudsecuritycompliance.googleapis.com/Control\x12\x44organizations/{organization}/locations/{location}/controls/{control}\x12:projects/{project}/locations/{location}/controls/{control}*\x08\x63ontrols2\x07\x63ontrol\"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*\xfe\x05\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\x12\x1c\n\x18\x43\x43_CATEGORY_ADMIN_ACCESS\x10\x10\x12\x1e\n\x1a\x43\x43_CATEGORY_DATA_RESIDENCY\x10\x11\x12*\n&CC_CATEGORY_RESOURCE_USAGE_RESTRICTION\x10\x12\x12 \n\x1c\x43\x43_CATEGORY_SERVICE_SPECIFIC\x10\x13*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
  pool.add_serialized_file(descriptor_data)
@@ -39,6 +39,8 @@ module Google
39
39
  Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Rule").msgclass
40
40
  CELExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CELExpression").msgclass
41
41
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.OperationMetadata").msgclass
42
+ Control = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Control").msgclass
43
+ Control::Family = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.Control.Family").enummodule
42
44
  ControlFamily = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ControlFamily").msgclass
43
45
  RegulatoryControlResponsibilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType").enummodule
44
46
  EnforcementMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.EnforcementMode").enummodule