google-cloud-cloud_security_compliance-v1 0.4.0 → 0.5.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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +2 -0
  4. data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +2 -0
  5. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +2 -0
  6. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +31 -0
  7. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +16 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +2 -0
  9. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +2 -0
  10. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +41 -16
  11. data/lib/google/cloud/cloud_security_compliance/v1/config/paths.rb +81 -16
  12. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +41 -16
  13. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/service_stub.rb +74 -0
  14. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +20 -7
  15. data/lib/google/cloud/cloud_security_compliance/v1/deployment/operations.rb +2 -0
  16. data/lib/google/cloud/cloud_security_compliance/v1/deployment/paths.rb +124 -16
  17. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +20 -7
  18. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/operations.rb +31 -0
  19. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/service_stub.rb +43 -0
  20. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +8 -2
  21. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +8 -2
  22. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  23. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +3 -1
  24. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  25. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_pb.rb +1 -1
  26. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +4 -1
  27. data/proto_docs/google/api/client.rb +4 -0
  28. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +154 -13
  29. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +39 -16
  30. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +34 -12
  31. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +42 -0
  32. metadata +3 -3
@@ -491,6 +491,13 @@ module Google
491
491
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
492
492
  ]
493
493
  )
494
+ .with_bindings(
495
+ uri_method: :get,
496
+ uri_template: "/v1/{parent}/frameworks",
497
+ matches: [
498
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
499
+ ]
500
+ )
494
501
  transcoder.transcode request_pb
495
502
  end
496
503
 
@@ -512,6 +519,13 @@ module Google
512
519
  ["name", %r{^organizations/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
513
520
  ]
514
521
  )
522
+ .with_bindings(
523
+ uri_method: :get,
524
+ uri_template: "/v1/{name}",
525
+ matches: [
526
+ ["name", %r{^projects/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
527
+ ]
528
+ )
515
529
  transcoder.transcode request_pb
516
530
  end
517
531
 
@@ -534,6 +548,14 @@ module Google
534
548
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
535
549
  ]
536
550
  )
551
+ .with_bindings(
552
+ uri_method: :post,
553
+ uri_template: "/v1/{parent}/frameworks",
554
+ body: "framework",
555
+ matches: [
556
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
557
+ ]
558
+ )
537
559
  transcoder.transcode request_pb
538
560
  end
539
561
 
@@ -556,6 +578,14 @@ module Google
556
578
  ["framework.name", %r{^organizations/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
557
579
  ]
558
580
  )
581
+ .with_bindings(
582
+ uri_method: :patch,
583
+ uri_template: "/v1/{framework.name}",
584
+ body: "framework",
585
+ matches: [
586
+ ["framework.name", %r{^projects/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
587
+ ]
588
+ )
559
589
  transcoder.transcode request_pb
560
590
  end
561
591
 
@@ -577,6 +607,13 @@ module Google
577
607
  ["name", %r{^organizations/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
578
608
  ]
579
609
  )
610
+ .with_bindings(
611
+ uri_method: :delete,
612
+ uri_template: "/v1/{name}",
613
+ matches: [
614
+ ["name", %r{^projects/[^/]+/locations/[^/]+/frameworks/[^/]+/?$}, false]
615
+ ]
616
+ )
580
617
  transcoder.transcode request_pb
581
618
  end
582
619
 
@@ -598,6 +635,13 @@ module Google
598
635
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
599
636
  ]
600
637
  )
638
+ .with_bindings(
639
+ uri_method: :get,
640
+ uri_template: "/v1/{parent}/cloudControls",
641
+ matches: [
642
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
643
+ ]
644
+ )
601
645
  transcoder.transcode request_pb
602
646
  end
603
647
 
@@ -619,6 +663,13 @@ module Google
619
663
  ["name", %r{^organizations/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
620
664
  ]
621
665
  )
666
+ .with_bindings(
667
+ uri_method: :get,
668
+ uri_template: "/v1/{name}",
669
+ matches: [
670
+ ["name", %r{^projects/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
671
+ ]
672
+ )
622
673
  transcoder.transcode request_pb
623
674
  end
624
675
 
@@ -641,6 +692,14 @@ module Google
641
692
  ["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
642
693
  ]
643
694
  )
695
+ .with_bindings(
696
+ uri_method: :post,
697
+ uri_template: "/v1/{parent}/cloudControls",
698
+ body: "cloud_control",
699
+ matches: [
700
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
701
+ ]
702
+ )
644
703
  transcoder.transcode request_pb
645
704
  end
646
705
 
@@ -663,6 +722,14 @@ module Google
663
722
  ["cloud_control.name", %r{^organizations/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
664
723
  ]
665
724
  )
725
+ .with_bindings(
726
+ uri_method: :patch,
727
+ uri_template: "/v1/{cloud_control.name}",
728
+ body: "cloud_control",
729
+ matches: [
730
+ ["cloud_control.name", %r{^projects/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
731
+ ]
732
+ )
666
733
  transcoder.transcode request_pb
667
734
  end
668
735
 
@@ -684,6 +751,13 @@ module Google
684
751
  ["name", %r{^organizations/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
685
752
  ]
686
753
  )
754
+ .with_bindings(
755
+ uri_method: :delete,
756
+ uri_template: "/v1/{name}",
757
+ matches: [
758
+ ["name", %r{^projects/[^/]+/locations/[^/]+/cloudControls/[^/]+/?$}, false]
759
+ ]
760
+ )
687
761
  transcoder.transcode request_pb
688
762
  end
689
763
  end
@@ -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.
@@ -941,6 +952,7 @@ module Google
941
952
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
942
953
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
943
954
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
955
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
944
956
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
945
957
  # trigger a retry.
946
958
  # @return [::Hash]
@@ -1024,6 +1036,7 @@ module Google
1024
1036
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1025
1037
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1026
1038
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1039
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1027
1040
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1028
1041
  # trigger a retry.
1029
1042
  #
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -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.
@@ -867,6 +878,7 @@ module Google
867
878
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
868
879
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
869
880
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
881
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
870
882
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
871
883
  # trigger a retry.
872
884
  # @return [::Hash]
@@ -946,6 +958,7 @@ module Google
946
958
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
947
959
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
948
960
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
961
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
949
962
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
950
963
  # trigger a retry.
951
964
  #
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -850,6 +852,13 @@ module Google
850
852
  ["name", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
851
853
  ]
852
854
  )
855
+ .with_bindings(
856
+ uri_method: :get,
857
+ uri_template: "/v1/{name}/operations",
858
+ matches: [
859
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
860
+ ]
861
+ )
853
862
  transcoder.transcode request_pb
854
863
  end
855
864
 
@@ -871,6 +880,13 @@ module Google
871
880
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
872
881
  ]
873
882
  )
883
+ .with_bindings(
884
+ uri_method: :get,
885
+ uri_template: "/v1/{name}",
886
+ matches: [
887
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
888
+ ]
889
+ )
874
890
  transcoder.transcode request_pb
875
891
  end
876
892
 
@@ -892,6 +908,13 @@ module Google
892
908
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
893
909
  ]
894
910
  )
911
+ .with_bindings(
912
+ uri_method: :delete,
913
+ uri_template: "/v1/{name}",
914
+ matches: [
915
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
916
+ ]
917
+ )
895
918
  transcoder.transcode request_pb
896
919
  end
897
920
 
@@ -914,6 +937,14 @@ module Google
914
937
  ["name", %r{^organizations/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
915
938
  ]
916
939
  )
940
+ .with_bindings(
941
+ uri_method: :post,
942
+ uri_template: "/v1/{name}:cancel",
943
+ body: "*",
944
+ matches: [
945
+ ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
946
+ ]
947
+ )
917
948
  transcoder.transcode request_pb
918
949
  end
919
950
  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