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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ebf6e751b72242bf6dae13738196d78deb4c428016a7588091b5085bc449ff4
4
- data.tar.gz: 9febae06263ca8ad6802692a3329936e08f98cf0706725e84affff03fcefc005
3
+ metadata.gz: 52668e37a839079149e4e7659145fb1d9c7cc9355e0da5be0c236885122d8ac9
4
+ data.tar.gz: f931d7b942fa7910468cd8068bf550fd761f56666dc2a5b1978c8644b794eac4
5
5
  SHA512:
6
- metadata.gz: '0682ffb80c34143dc0752a67eb09c188783a011f3acc95fda4020296f7bcae68ed9b77143d870981da0956f66ce7f7477a94f451f3c47d33d9d1118473eb6e3a'
7
- data.tar.gz: 69c31a30e4fdf5f0fef1d5e1123d18939229511980e336b0de7cb3d18cbcd1fa47866e0d826a26ff83fdb7c9577739ec66c11e1f1856062aa3daf3a635ce7d32
6
+ metadata.gz: 3b346a3176b0e4b630a517f7e5119d15aabc3946b41c589bdccf42efb039958408b6ffca0e66b7f919a3567acc1d78e7e6176f83fed3c7f72e32dfd825d4b962
7
+ data.tar.gz: 0f5c7de5c46e9f869cf608ef6a617fbd6c67f29c1d4a50b07d43e7f5ef81c738895d3c66da880013f1cbbd5fde79181c3b7f2d106e4aa76a08809dbfed5f7c1c
@@ -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
@@ -51,6 +51,14 @@ module Google
51
51
  ["name", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
52
52
  ],
53
53
  body: nil
54
+ ),
55
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
56
+ uri_method: :get,
57
+ uri_template: "/v1/{name}",
58
+ matches: [
59
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
60
+ ],
61
+ body: nil
54
62
  )
55
63
  ]
56
64
  default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
@@ -62,6 +70,14 @@ module Google
62
70
  ["name", %r{^organizations/[^/]+/?$}, false]
63
71
  ],
64
72
  body: nil
73
+ ),
74
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
75
+ uri_method: :get,
76
+ uri_template: "/v1/{name}/locations",
77
+ matches: [
78
+ ["name", %r{^projects/[^/]+/?$}, false]
79
+ ],
80
+ body: nil
65
81
  )
66
82
  ]
67
83
  default_config
@@ -254,8 +254,10 @@ module Google
254
254
  # the default parameter values, pass an empty Hash as a request object (see above).
255
255
  #
256
256
  # @param parent [::String]
257
- # Required. The parent resource name, in the format
258
- # `organizations/{organization}/locations/{location}`.
257
+ # Required. The parent resource name, in one of the following formats:
258
+ # - `organizations/{organization}/locations/{location}`
259
+ # - `projects/{project}/locations/{location}`.
260
+ #
259
261
  # The only supported location is `global`.
260
262
  # @param page_size [::Integer]
261
263
  # Optional. The maximum number of frameworks to return. The default value is
@@ -360,8 +362,12 @@ module Google
360
362
  # the default parameter values, pass an empty Hash as a request object (see above).
361
363
  #
362
364
  # @param name [::String]
363
- # Required. The name of the framework to retrieve, in the format
364
- # `organizations/{organization}/locations/{location}/frameworks/{framework_id}`
365
+ # Required. The name of the framework to retrieve, in one of the following
366
+ # formats:
367
+ # `organizations/{organization}/locations/{location}/frameworks/{framework}`
368
+ # or
369
+ # `projects/{project}/locations/{location}/frameworks/{framework}`.
370
+ #
365
371
  # The only supported location is `global`.
366
372
  # @param major_revision_id [::Integer]
367
373
  # Optional. The framework major version to retrieve. If not specified, the
@@ -452,8 +458,10 @@ module Google
452
458
  # the default parameter values, pass an empty Hash as a request object (see above).
453
459
  #
454
460
  # @param parent [::String]
455
- # Required. The parent resource name, in the format
456
- # `organizations/{organization}/locations/{location}`.
461
+ # Required. The parent resource name, in one of the following formats:
462
+ # - `organizations/{organization}/locations/{location}`
463
+ # - `projects/{project}/locations/{location}`.
464
+ #
457
465
  # The only supported location is `global`.
458
466
  # @param framework_id [::String]
459
467
  # Required. The identifier (ID) of the framework. The ID is not the full name
@@ -654,8 +662,11 @@ module Google
654
662
  # the default parameter values, pass an empty Hash as a request object (see above).
655
663
  #
656
664
  # @param name [::String]
657
- # Required. The name of the resource, in the format
658
- # `organizations/{organization}/locations/{location}/frameworks/{framework}`.
665
+ # Required. The name of the resource, in one of the following formats:
666
+ # `organizations/{organization}/locations/{location}/frameworks/{framework}`
667
+ # or
668
+ # `projects/{project}/locations/{location}/frameworks/{framework}`.
669
+ #
659
670
  # The only supported location is `global`.
660
671
  #
661
672
  # @yield [response, operation] Access the result along with the RPC operation
@@ -744,8 +755,10 @@ module Google
744
755
  # the default parameter values, pass an empty Hash as a request object (see above).
745
756
  #
746
757
  # @param parent [::String]
747
- # Required. The parent resource name, in the format
748
- # `organizations/{organization}/locations/{location}`.
758
+ # Required. The parent resource name, in one of the following formats:
759
+ # - `organizations/{organization}/locations/{location}`
760
+ # - `projects/{project}/locations/{location}`.
761
+ #
749
762
  # The only supported location is `global`.
750
763
  # @param page_size [::Integer]
751
764
  # Optional. The maximum number of cloud controls to return. The default value
@@ -857,8 +870,12 @@ module Google
857
870
  # the default parameter values, pass an empty Hash as a request object (see above).
858
871
  #
859
872
  # @param name [::String]
860
- # Required. The name of the cloud control to retrieve, in the format
861
- # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`.
873
+ # Required. The name of the cloud control to retrieve, in one of the
874
+ # following formats:
875
+ # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
876
+ # or
877
+ # `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
878
+ #
862
879
  # The only supported location is `global`.
863
880
  # @param major_revision_id [::Integer]
864
881
  # Optional. The major version of the cloud control to retrieve. If not
@@ -950,8 +967,10 @@ module Google
950
967
  # the default parameter values, pass an empty Hash as a request object (see above).
951
968
  #
952
969
  # @param parent [::String]
953
- # Required. The parent resource name, in the format
954
- # `organizations/{organization}/locations/{location}`.
970
+ # Required. The parent resource name, in one of the following formats:
971
+ # - `organizations/{organization}/locations/{location}`.
972
+ # - `projects/{project}/locations/{location}`.
973
+ #
955
974
  # The only supported location is `global`.
956
975
  # @param cloud_control_id [::String]
957
976
  # Required. The identifier for the cloud control, which is the last segment
@@ -1161,8 +1180,12 @@ module Google
1161
1180
  # the default parameter values, pass an empty Hash as a request object (see above).
1162
1181
  #
1163
1182
  # @param name [::String]
1164
- # Required. The name of the cloud control to delete, in the format
1165
- # `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`.
1183
+ # Required. The name of the cloud control to delete, in one of the following
1184
+ # formats:
1185
+ # `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`
1186
+ # or
1187
+ # `projects/{project}/locations/{location}/CloudControls/{CloudControl}`.
1188
+ #
1166
1189
  # The only supported location is `global`.
1167
1190
  #
1168
1191
  # @yield [response, operation] Access the result along with the RPC operation
@@ -27,39 +27,104 @@ module Google
27
27
  ##
28
28
  # Create a fully-qualified CloudControl resource string.
29
29
  #
30
- # The resource will be in the following format:
30
+ # @overload cloud_control_path(organization:, location:, cloud_control:)
31
+ # The resource will be in the following format:
31
32
  #
32
- # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
33
+ # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
33
34
  #
34
- # @param organization [String]
35
- # @param location [String]
36
- # @param cloud_control [String]
35
+ # @param organization [String]
36
+ # @param location [String]
37
+ # @param cloud_control [String]
38
+ #
39
+ # @overload cloud_control_path(project:, location:, cloud_control:)
40
+ # The resource will be in the following format:
41
+ #
42
+ # `projects/{project}/locations/{location}/cloudControls/{cloud_control}`
43
+ #
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param cloud_control [String]
37
47
  #
38
48
  # @return [::String]
39
- def cloud_control_path organization:, location:, cloud_control:
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_path **args
50
+ resources = {
51
+ "cloud_control:location:organization" => (proc do |organization:, location:, cloud_control:|
52
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
53
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
54
 
43
- "organizations/#{organization}/locations/#{location}/cloudControls/#{cloud_control}"
55
+ "organizations/#{organization}/locations/#{location}/cloudControls/#{cloud_control}"
56
+ end),
57
+ "cloud_control:location:project" => (proc do |project:, location:, cloud_control:|
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
60
+
61
+ "projects/#{project}/locations/#{location}/cloudControls/#{cloud_control}"
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)
44
68
  end
45
69
 
46
70
  ##
47
71
  # Create a fully-qualified Framework resource string.
48
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)
111
+ end
112
+
113
+ ##
114
+ # Create a fully-qualified Location resource string.
115
+ #
49
116
  # The resource will be in the following format:
50
117
  #
51
- # `organizations/{organization}/locations/{location}/frameworks/{framework}`
118
+ # `projects/{project}/locations/{location}`
52
119
  #
53
- # @param organization [String]
120
+ # @param project [String]
54
121
  # @param location [String]
55
- # @param framework [String]
56
122
  #
57
123
  # @return [::String]
58
- def framework_path organization:, location:, framework:
59
- raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
60
- raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
124
+ def location_path project:, location:
125
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
126
 
62
- "organizations/#{organization}/locations/#{location}/frameworks/#{framework}"
127
+ "projects/#{project}/locations/#{location}"
63
128
  end
64
129
 
65
130
  ##
@@ -248,8 +248,10 @@ module Google
248
248
  # the default parameter values, pass an empty Hash as a request object (see above).
249
249
  #
250
250
  # @param parent [::String]
251
- # Required. The parent resource name, in the format
252
- # `organizations/{organization}/locations/{location}`.
251
+ # Required. The parent resource name, in one of the following formats:
252
+ # - `organizations/{organization}/locations/{location}`
253
+ # - `projects/{project}/locations/{location}`.
254
+ #
253
255
  # The only supported location is `global`.
254
256
  # @param page_size [::Integer]
255
257
  # Optional. The maximum number of frameworks to return. The default value is
@@ -347,8 +349,12 @@ module Google
347
349
  # the default parameter values, pass an empty Hash as a request object (see above).
348
350
  #
349
351
  # @param name [::String]
350
- # Required. The name of the framework to retrieve, in the format
351
- # `organizations/{organization}/locations/{location}/frameworks/{framework_id}`
352
+ # Required. The name of the framework to retrieve, in one of the following
353
+ # formats:
354
+ # `organizations/{organization}/locations/{location}/frameworks/{framework}`
355
+ # or
356
+ # `projects/{project}/locations/{location}/frameworks/{framework}`.
357
+ #
352
358
  # The only supported location is `global`.
353
359
  # @param major_revision_id [::Integer]
354
360
  # Optional. The framework major version to retrieve. If not specified, the
@@ -432,8 +438,10 @@ module Google
432
438
  # the default parameter values, pass an empty Hash as a request object (see above).
433
439
  #
434
440
  # @param parent [::String]
435
- # Required. The parent resource name, in the format
436
- # `organizations/{organization}/locations/{location}`.
441
+ # Required. The parent resource name, in one of the following formats:
442
+ # - `organizations/{organization}/locations/{location}`
443
+ # - `projects/{project}/locations/{location}`.
444
+ #
437
445
  # The only supported location is `global`.
438
446
  # @param framework_id [::String]
439
447
  # Required. The identifier (ID) of the framework. The ID is not the full name
@@ -620,8 +628,11 @@ module Google
620
628
  # the default parameter values, pass an empty Hash as a request object (see above).
621
629
  #
622
630
  # @param name [::String]
623
- # Required. The name of the resource, in the format
624
- # `organizations/{organization}/locations/{location}/frameworks/{framework}`.
631
+ # Required. The name of the resource, in one of the following formats:
632
+ # `organizations/{organization}/locations/{location}/frameworks/{framework}`
633
+ # or
634
+ # `projects/{project}/locations/{location}/frameworks/{framework}`.
635
+ #
625
636
  # The only supported location is `global`.
626
637
  # @yield [result, operation] Access the result along with the TransportOperation object
627
638
  # @yieldparam result [::Google::Protobuf::Empty]
@@ -703,8 +714,10 @@ module Google
703
714
  # the default parameter values, pass an empty Hash as a request object (see above).
704
715
  #
705
716
  # @param parent [::String]
706
- # Required. The parent resource name, in the format
707
- # `organizations/{organization}/locations/{location}`.
717
+ # Required. The parent resource name, in one of the following formats:
718
+ # - `organizations/{organization}/locations/{location}`
719
+ # - `projects/{project}/locations/{location}`.
720
+ #
708
721
  # The only supported location is `global`.
709
722
  # @param page_size [::Integer]
710
723
  # Optional. The maximum number of cloud controls to return. The default value
@@ -809,8 +822,12 @@ module Google
809
822
  # the default parameter values, pass an empty Hash as a request object (see above).
810
823
  #
811
824
  # @param name [::String]
812
- # Required. The name of the cloud control to retrieve, in the format
813
- # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`.
825
+ # Required. The name of the cloud control to retrieve, in one of the
826
+ # following formats:
827
+ # `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
828
+ # or
829
+ # `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
830
+ #
814
831
  # The only supported location is `global`.
815
832
  # @param major_revision_id [::Integer]
816
833
  # Optional. The major version of the cloud control to retrieve. If not
@@ -895,8 +912,10 @@ module Google
895
912
  # the default parameter values, pass an empty Hash as a request object (see above).
896
913
  #
897
914
  # @param parent [::String]
898
- # Required. The parent resource name, in the format
899
- # `organizations/{organization}/locations/{location}`.
915
+ # Required. The parent resource name, in one of the following formats:
916
+ # - `organizations/{organization}/locations/{location}`.
917
+ # - `projects/{project}/locations/{location}`.
918
+ #
900
919
  # The only supported location is `global`.
901
920
  # @param cloud_control_id [::String]
902
921
  # Required. The identifier for the cloud control, which is the last segment
@@ -1092,8 +1111,12 @@ module Google
1092
1111
  # the default parameter values, pass an empty Hash as a request object (see above).
1093
1112
  #
1094
1113
  # @param name [::String]
1095
- # Required. The name of the cloud control to delete, in the format
1096
- # `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`.
1114
+ # Required. The name of the cloud control to delete, in one of the following
1115
+ # formats:
1116
+ # `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`
1117
+ # or
1118
+ # `projects/{project}/locations/{location}/CloudControls/{CloudControl}`.
1119
+ #
1097
1120
  # The only supported location is `global`.
1098
1121
  # @yield [result, operation] Access the result along with the TransportOperation object
1099
1122
  # @yieldparam result [::Google::Protobuf::Empty]
@@ -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