google-cloud-cloud_controls_partner-v1 0.1.0 → 1.0.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_core/client.rb +23 -9
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_core/rest/client.rb +21 -9
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/client.rb +7 -2
- data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/rest/client.rb +7 -2
- data/lib/google/cloud/cloud_controls_partner/v1/version.rb +1 -1
- data/lib/google/cloud/cloudcontrolspartner/v1/core_pb.rb +1 -1
- data/lib/google/cloud/cloudcontrolspartner/v1/core_services_pb.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b0f1f570db5770d18a236002f02eb6f0dbab62f7c6461500415fad629f2267f
|
4
|
+
data.tar.gz: 4996b79ed78e4a1a3f1362ceceb078cf182c7d87903e50b4d2c8f4c4205dc439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d23327cb2e71ddcc697d71de93abd1a4a41e676355db0bfe1a3fe182968b70e7faab1a389cb94ecb56f491f3832e35085b8ffe9a150e3f9209aa1adb5a8f6f
|
7
|
+
data.tar.gz: 2b93bd11f3ddce6e2e47ac2e5c91d3c85f0aaacb0d1387089d66815da3b641930a33514e8ab171754c07e6ea22af06672276690d2278bb0104bfbda7a0b8020f
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service describing handlers for resources
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -251,10 +254,11 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
metadata = @config.rpcs.get_workload.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
263
|
|
260
264
|
header_params = {}
|
@@ -352,10 +356,11 @@ module Google
|
|
352
356
|
# Customize the options with defaults
|
353
357
|
metadata = @config.rpcs.list_workloads.metadata.to_h
|
354
358
|
|
355
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
360
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
362
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
363
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
359
364
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
360
365
|
|
361
366
|
header_params = {}
|
@@ -439,10 +444,11 @@ module Google
|
|
439
444
|
# Customize the options with defaults
|
440
445
|
metadata = @config.rpcs.get_customer.metadata.to_h
|
441
446
|
|
442
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
448
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
450
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
451
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
446
452
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
447
453
|
|
448
454
|
header_params = {}
|
@@ -539,10 +545,11 @@ module Google
|
|
539
545
|
# Customize the options with defaults
|
540
546
|
metadata = @config.rpcs.list_customers.metadata.to_h
|
541
547
|
|
542
|
-
# Set x-goog-api-client
|
548
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
543
549
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
544
550
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
545
551
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
552
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
546
553
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
547
554
|
|
548
555
|
header_params = {}
|
@@ -626,10 +633,11 @@ module Google
|
|
626
633
|
# Customize the options with defaults
|
627
634
|
metadata = @config.rpcs.get_ekm_connections.metadata.to_h
|
628
635
|
|
629
|
-
# Set x-goog-api-client
|
636
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
630
637
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
631
638
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
632
639
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
640
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
633
641
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
634
642
|
|
635
643
|
header_params = {}
|
@@ -712,10 +720,11 @@ module Google
|
|
712
720
|
# Customize the options with defaults
|
713
721
|
metadata = @config.rpcs.get_partner_permissions.metadata.to_h
|
714
722
|
|
715
|
-
# Set x-goog-api-client
|
723
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
716
724
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
717
725
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
718
726
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
727
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
719
728
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
720
729
|
|
721
730
|
header_params = {}
|
@@ -743,7 +752,10 @@ module Google
|
|
743
752
|
end
|
744
753
|
|
745
754
|
##
|
746
|
-
#
|
755
|
+
# Deprecated: Only returns access approval requests directly associated with
|
756
|
+
# an assured workload folder.
|
757
|
+
#
|
758
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
747
759
|
#
|
748
760
|
# @overload list_access_approval_requests(request, options = nil)
|
749
761
|
# Pass arguments to `list_access_approval_requests` via a request object, either of type
|
@@ -815,10 +827,11 @@ module Google
|
|
815
827
|
# Customize the options with defaults
|
816
828
|
metadata = @config.rpcs.list_access_approval_requests.metadata.to_h
|
817
829
|
|
818
|
-
# Set x-goog-api-client
|
830
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
819
831
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
820
832
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
821
833
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
834
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
822
835
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
823
836
|
|
824
837
|
header_params = {}
|
@@ -902,10 +915,11 @@ module Google
|
|
902
915
|
# Customize the options with defaults
|
903
916
|
metadata = @config.rpcs.get_partner.metadata.to_h
|
904
917
|
|
905
|
-
# Set x-goog-api-client
|
918
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
906
919
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
907
920
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
908
921
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
922
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
909
923
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
910
924
|
|
911
925
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service describing handlers for resources
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -243,12 +246,13 @@ module Google
|
|
243
246
|
# Customize the options with defaults
|
244
247
|
call_metadata = @config.rpcs.get_workload.metadata.to_h
|
245
248
|
|
246
|
-
# Set x-goog-api-client
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
249
252
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
250
253
|
transports_version_send: [:rest]
|
251
254
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
253
257
|
|
254
258
|
options.apply_defaults timeout: @config.rpcs.get_workload.timeout,
|
@@ -337,12 +341,13 @@ module Google
|
|
337
341
|
# Customize the options with defaults
|
338
342
|
call_metadata = @config.rpcs.list_workloads.metadata.to_h
|
339
343
|
|
340
|
-
# Set x-goog-api-client
|
344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
341
345
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
342
346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
343
347
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
344
348
|
transports_version_send: [:rest]
|
345
349
|
|
350
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
346
351
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
347
352
|
|
348
353
|
options.apply_defaults timeout: @config.rpcs.list_workloads.timeout,
|
@@ -416,12 +421,13 @@ module Google
|
|
416
421
|
# Customize the options with defaults
|
417
422
|
call_metadata = @config.rpcs.get_customer.metadata.to_h
|
418
423
|
|
419
|
-
# Set x-goog-api-client
|
424
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
420
425
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
421
426
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
422
427
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
423
428
|
transports_version_send: [:rest]
|
424
429
|
|
430
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
425
431
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
426
432
|
|
427
433
|
options.apply_defaults timeout: @config.rpcs.get_customer.timeout,
|
@@ -509,12 +515,13 @@ module Google
|
|
509
515
|
# Customize the options with defaults
|
510
516
|
call_metadata = @config.rpcs.list_customers.metadata.to_h
|
511
517
|
|
512
|
-
# Set x-goog-api-client
|
518
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
513
519
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
514
520
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
515
521
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
516
522
|
transports_version_send: [:rest]
|
517
523
|
|
524
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
518
525
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
519
526
|
|
520
527
|
options.apply_defaults timeout: @config.rpcs.list_customers.timeout,
|
@@ -588,12 +595,13 @@ module Google
|
|
588
595
|
# Customize the options with defaults
|
589
596
|
call_metadata = @config.rpcs.get_ekm_connections.metadata.to_h
|
590
597
|
|
591
|
-
# Set x-goog-api-client
|
598
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
592
599
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
593
600
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
594
601
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
595
602
|
transports_version_send: [:rest]
|
596
603
|
|
604
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
597
605
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
598
606
|
|
599
607
|
options.apply_defaults timeout: @config.rpcs.get_ekm_connections.timeout,
|
@@ -667,12 +675,13 @@ module Google
|
|
667
675
|
# Customize the options with defaults
|
668
676
|
call_metadata = @config.rpcs.get_partner_permissions.metadata.to_h
|
669
677
|
|
670
|
-
# Set x-goog-api-client
|
678
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
671
679
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
672
680
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
673
681
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
674
682
|
transports_version_send: [:rest]
|
675
683
|
|
684
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
676
685
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
677
686
|
|
678
687
|
options.apply_defaults timeout: @config.rpcs.get_partner_permissions.timeout,
|
@@ -692,7 +701,8 @@ module Google
|
|
692
701
|
end
|
693
702
|
|
694
703
|
##
|
695
|
-
#
|
704
|
+
# Deprecated: Only returns access approval requests directly associated with
|
705
|
+
# an assured workload folder.
|
696
706
|
#
|
697
707
|
# @overload list_access_approval_requests(request, options = nil)
|
698
708
|
# Pass arguments to `list_access_approval_requests` via a request object, either of type
|
@@ -763,12 +773,13 @@ module Google
|
|
763
773
|
# Customize the options with defaults
|
764
774
|
call_metadata = @config.rpcs.list_access_approval_requests.metadata.to_h
|
765
775
|
|
766
|
-
# Set x-goog-api-client
|
776
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
767
777
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
768
778
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
769
779
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
770
780
|
transports_version_send: [:rest]
|
771
781
|
|
782
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
772
783
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
773
784
|
|
774
785
|
options.apply_defaults timeout: @config.rpcs.list_access_approval_requests.timeout,
|
@@ -842,12 +853,13 @@ module Google
|
|
842
853
|
# Customize the options with defaults
|
843
854
|
call_metadata = @config.rpcs.get_partner.metadata.to_h
|
844
855
|
|
845
|
-
# Set x-goog-api-client
|
856
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
846
857
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
847
858
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
848
859
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
849
860
|
transports_version_send: [:rest]
|
850
861
|
|
862
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
851
863
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
852
864
|
|
853
865
|
options.apply_defaults timeout: @config.rpcs.get_partner.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service describing handlers for resources
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -251,10 +254,11 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
metadata = @config.rpcs.list_violations.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
263
|
|
260
264
|
header_params = {}
|
@@ -338,10 +342,11 @@ module Google
|
|
338
342
|
# Customize the options with defaults
|
339
343
|
metadata = @config.rpcs.get_violation.metadata.to_h
|
340
344
|
|
341
|
-
# Set x-goog-api-client
|
345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
342
346
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
343
347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
344
348
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION
|
349
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
header_params = {}
|
data/lib/google/cloud/cloud_controls_partner/v1/cloud_controls_partner_monitoring/rest/client.rb
CHANGED
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service describing handlers for resources
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -243,12 +246,13 @@ module Google
|
|
243
246
|
# Customize the options with defaults
|
244
247
|
call_metadata = @config.rpcs.list_violations.metadata.to_h
|
245
248
|
|
246
|
-
# Set x-goog-api-client
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
249
252
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
250
253
|
transports_version_send: [:rest]
|
251
254
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
253
257
|
|
254
258
|
options.apply_defaults timeout: @config.rpcs.list_violations.timeout,
|
@@ -322,12 +326,13 @@ module Google
|
|
322
326
|
# Customize the options with defaults
|
323
327
|
call_metadata = @config.rpcs.get_violation.metadata.to_h
|
324
328
|
|
325
|
-
# Set x-goog-api-client
|
329
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
326
330
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
327
331
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
328
332
|
gapic_version: ::Google::Cloud::CloudControlsPartner::V1::VERSION,
|
329
333
|
transports_version_send: [:rest]
|
330
334
|
|
335
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
331
336
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
332
337
|
|
333
338
|
options.apply_defaults timeout: @config.rpcs.get_violation.timeout,
|
@@ -17,7 +17,7 @@ require 'google/cloud/cloudcontrolspartner/v1/partners_pb'
|
|
17
17
|
require 'google/protobuf/timestamp_pb'
|
18
18
|
|
19
19
|
|
20
|
-
descriptor_data = "\n/google/cloud/cloudcontrolspartner/v1/core.proto\x12$google.cloud.cloudcontrolspartner.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x43google/cloud/cloudcontrolspartner/v1/access_approval_requests.proto\x1a=google/cloud/cloudcontrolspartner/v1/customer_workloads.proto\x1a\x34google/cloud/cloudcontrolspartner/v1/customers.proto\x1a:google/cloud/cloudcontrolspartner/v1/ekm_connections.proto\x1a>google/cloud/cloudcontrolspartner/v1/partner_permissions.proto\x1a\x33google/cloud/cloudcontrolspartner/v1/partners.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\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\x32\
|
20
|
+
descriptor_data = "\n/google/cloud/cloudcontrolspartner/v1/core.proto\x12$google.cloud.cloudcontrolspartner.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x43google/cloud/cloudcontrolspartner/v1/access_approval_requests.proto\x1a=google/cloud/cloudcontrolspartner/v1/customer_workloads.proto\x1a\x34google/cloud/cloudcontrolspartner/v1/customers.proto\x1a:google/cloud/cloudcontrolspartner/v1/ekm_connections.proto\x1a>google/cloud/cloudcontrolspartner/v1/partner_permissions.proto\x1a\x33google/cloud/cloudcontrolspartner/v1/partners.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\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\x32\xde\x0e\n\x18\x43loudControlsPartnerCore\x12\xc6\x01\n\x0bGetWorkload\x12\x38.google.cloud.cloudcontrolspartner.v1.GetWorkloadRequest\x1a..google.cloud.cloudcontrolspartner.v1.Workload\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=organizations/*/locations/*/customers/*/workloads/*}\x12\xd9\x01\n\rListWorkloads\x12:.google.cloud.cloudcontrolspartner.v1.ListWorkloadsRequest\x1a;.google.cloud.cloudcontrolspartner.v1.ListWorkloadsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=organizations/*/locations/*/customers/*}/workloads\x12\xba\x01\n\x0bGetCustomer\x12\x38.google.cloud.cloudcontrolspartner.v1.GetCustomerRequest\x1a..google.cloud.cloudcontrolspartner.v1.Customer\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=organizations/*/locations/*/customers/*}\x12\xcd\x01\n\rListCustomers\x12:.google.cloud.cloudcontrolspartner.v1.ListCustomersRequest\x1a;.google.cloud.cloudcontrolspartner.v1.ListCustomersResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=organizations/*/locations/*}/customers\x12\xe7\x01\n\x11GetEkmConnections\x12>.google.cloud.cloudcontrolspartner.v1.GetEkmConnectionsRequest\x1a\x34.google.cloud.cloudcontrolspartner.v1.EkmConnections\"\\\xda\x41\x04name\x82\xd3\xe4\x93\x02O\x12M/v1/{name=organizations/*/locations/*/customers/*/workloads/*/ekmConnections}\x12\xf7\x01\n\x15GetPartnerPermissions\x12\x42.google.cloud.cloudcontrolspartner.v1.GetPartnerPermissionsRequest\x1a\x38.google.cloud.cloudcontrolspartner.v1.PartnerPermissions\"`\xda\x41\x04name\x82\xd3\xe4\x93\x02S\x12Q/v1/{name=organizations/*/locations/*/customers/*/workloads/*/partnerPermissions}\x12\x9c\x02\n\x1aListAccessApprovalRequests\x12G.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsRequest\x1aH.google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsResponse\"k\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02Y\x12W/v1/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests\x12\xb3\x01\n\nGetPartner\x12\x37.google.cloud.cloudcontrolspartner.v1.GetPartnerRequest\x1a-.google.cloud.cloudcontrolspartner.v1.Partner\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=organizations/*/locations/*/partner}\x1aW\xca\x41#cloudcontrolspartner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfd\x02\n(com.google.cloud.cloudcontrolspartner.v1B\tCoreProtoP\x01Z\\cloud.google.com/go/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02$Google.Cloud.CloudControlsPartner.V1\xca\x02$Google\\Cloud\\CloudControlsPartner\\V1\xea\x02\'Google::Cloud::CloudControlsPartner::V1\xea\x41m\n8cloudcontrolspartner.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
|
21
21
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
23
|
|
@@ -45,7 +45,8 @@ module Google
|
|
45
45
|
rpc :GetEkmConnections, ::Google::Cloud::CloudControlsPartner::V1::GetEkmConnectionsRequest, ::Google::Cloud::CloudControlsPartner::V1::EkmConnections
|
46
46
|
# Gets the partner permissions granted for a workload
|
47
47
|
rpc :GetPartnerPermissions, ::Google::Cloud::CloudControlsPartner::V1::GetPartnerPermissionsRequest, ::Google::Cloud::CloudControlsPartner::V1::PartnerPermissions
|
48
|
-
#
|
48
|
+
# Deprecated: Only returns access approval requests directly associated with
|
49
|
+
# an assured workload folder.
|
49
50
|
rpc :ListAccessApprovalRequests, ::Google::Cloud::CloudControlsPartner::V1::ListAccessApprovalRequestsRequest, ::Google::Cloud::CloudControlsPartner::V1::ListAccessApprovalRequestsResponse
|
50
51
|
# Get details of a Partner.
|
51
52
|
rpc :GetPartner, ::Google::Cloud::CloudControlsPartner::V1::GetPartnerRequest, ::Google::Cloud::CloudControlsPartner::V1::Partner
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-cloud_controls_partner-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|