google-apis-iam_v1 0.40.0 → 0.41.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/CHANGELOG.md +4 -0
- data/lib/google/apis/iam_v1/classes.rb +221 -0
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +107 -0
- data/lib/google/apis/iam_v1/service.rb +352 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b943419a81de6c59a04adab67234bbb939d39cec637be6f492383fb3d55af403
|
4
|
+
data.tar.gz: 1f8e6a12ff4f3adda429a193de2e4c4954ea0ccc49f6235cee0557b68127b373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf958a590c7087a6ea2cb86783065a17af728b8b4571608becbf18515a4fe5bcd03622e2b0ed28c2eaa6ed2cb976a778e2db7c41ac69e2cc89e237e32018a80a
|
7
|
+
data.tar.gz: '03278a1ac8074fd2a7b327bee2e8d72581406e4d6dc28b86cb9b680557825032e4b64d39e9896397acab355b6a94b8a5304e750099d4a897661374faef3cf9d4'
|
data/CHANGELOG.md
CHANGED
@@ -617,6 +617,54 @@ module Google
|
|
617
617
|
end
|
618
618
|
end
|
619
619
|
|
620
|
+
# Represents a public key data along with its format.
|
621
|
+
class KeyData
|
622
|
+
include Google::Apis::Core::Hashable
|
623
|
+
|
624
|
+
# Output only. The format of the key.
|
625
|
+
# Corresponds to the JSON property `format`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :format
|
628
|
+
|
629
|
+
# Output only. The key data. The format of the key is represented by the format
|
630
|
+
# field.
|
631
|
+
# Corresponds to the JSON property `key`
|
632
|
+
# @return [String]
|
633
|
+
attr_accessor :key
|
634
|
+
|
635
|
+
# Immutable. The specifications for the key.
|
636
|
+
# Corresponds to the JSON property `keySpec`
|
637
|
+
# @return [String]
|
638
|
+
attr_accessor :key_spec
|
639
|
+
|
640
|
+
# Output only. Latest timestamp when this key is valid. Attempts to use this key
|
641
|
+
# after this time will fail. Only present if the key data represents a X.509
|
642
|
+
# certificate.
|
643
|
+
# Corresponds to the JSON property `notAfterTime`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :not_after_time
|
646
|
+
|
647
|
+
# Output only. Earliest timestamp when this key is valid. Attempts to use this
|
648
|
+
# key before this time will fail. Only present if the key data represents a X.
|
649
|
+
# 509 certificate.
|
650
|
+
# Corresponds to the JSON property `notBeforeTime`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :not_before_time
|
653
|
+
|
654
|
+
def initialize(**args)
|
655
|
+
update!(**args)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Update properties of this object
|
659
|
+
def update!(**args)
|
660
|
+
@format = args[:format] if args.key?(:format)
|
661
|
+
@key = args[:key] if args.key?(:key)
|
662
|
+
@key_spec = args[:key_spec] if args.key?(:key_spec)
|
663
|
+
@not_after_time = args[:not_after_time] if args.key?(:not_after_time)
|
664
|
+
@not_before_time = args[:not_before_time] if args.key?(:not_before_time)
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
620
668
|
# The request to lint a Cloud IAM policy object.
|
621
669
|
class LintPolicyRequest
|
622
670
|
include Google::Apis::Core::Hashable
|
@@ -807,6 +855,32 @@ module Google
|
|
807
855
|
end
|
808
856
|
end
|
809
857
|
|
858
|
+
# Response message for ListWorkforcePoolProviderKeys.
|
859
|
+
class ListWorkforcePoolProviderKeysResponse
|
860
|
+
include Google::Apis::Core::Hashable
|
861
|
+
|
862
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
863
|
+
# field is omitted, there are no subsequent pages.
|
864
|
+
# Corresponds to the JSON property `nextPageToken`
|
865
|
+
# @return [String]
|
866
|
+
attr_accessor :next_page_token
|
867
|
+
|
868
|
+
# A list of WorkforcePoolProviderKeys.
|
869
|
+
# Corresponds to the JSON property `workforcePoolProviderKeys`
|
870
|
+
# @return [Array<Google::Apis::IamV1::WorkforcePoolProviderKey>]
|
871
|
+
attr_accessor :workforce_pool_provider_keys
|
872
|
+
|
873
|
+
def initialize(**args)
|
874
|
+
update!(**args)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Update properties of this object
|
878
|
+
def update!(**args)
|
879
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
880
|
+
@workforce_pool_provider_keys = args[:workforce_pool_provider_keys] if args.key?(:workforce_pool_provider_keys)
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
810
884
|
# Response message for ListWorkforcePoolProviders.
|
811
885
|
class ListWorkforcePoolProvidersResponse
|
812
886
|
include Google::Apis::Core::Hashable
|
@@ -859,6 +933,32 @@ module Google
|
|
859
933
|
end
|
860
934
|
end
|
861
935
|
|
936
|
+
# Response message for ListWorkloadIdentityPoolProviderKeys.
|
937
|
+
class ListWorkloadIdentityPoolProviderKeysResponse
|
938
|
+
include Google::Apis::Core::Hashable
|
939
|
+
|
940
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
941
|
+
# field is omitted, there are no subsequent pages.
|
942
|
+
# Corresponds to the JSON property `nextPageToken`
|
943
|
+
# @return [String]
|
944
|
+
attr_accessor :next_page_token
|
945
|
+
|
946
|
+
# A list of WorkloadIdentityPoolProviderKey
|
947
|
+
# Corresponds to the JSON property `workloadIdentityPoolProviderKeys`
|
948
|
+
# @return [Array<Google::Apis::IamV1::WorkloadIdentityPoolProviderKey>]
|
949
|
+
attr_accessor :workload_identity_pool_provider_keys
|
950
|
+
|
951
|
+
def initialize(**args)
|
952
|
+
update!(**args)
|
953
|
+
end
|
954
|
+
|
955
|
+
# Update properties of this object
|
956
|
+
def update!(**args)
|
957
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
958
|
+
@workload_identity_pool_provider_keys = args[:workload_identity_pool_provider_keys] if args.key?(:workload_identity_pool_provider_keys)
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
862
962
|
# Response message for ListWorkloadIdentityPoolProviders.
|
863
963
|
class ListWorkloadIdentityPoolProvidersResponse
|
864
964
|
include Google::Apis::Core::Hashable
|
@@ -1997,6 +2097,19 @@ module Google
|
|
1997
2097
|
end
|
1998
2098
|
end
|
1999
2099
|
|
2100
|
+
# Request message for UndeleteWorkforcePoolProviderKey.
|
2101
|
+
class UndeleteWorkforcePoolProviderKeyRequest
|
2102
|
+
include Google::Apis::Core::Hashable
|
2103
|
+
|
2104
|
+
def initialize(**args)
|
2105
|
+
update!(**args)
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
# Update properties of this object
|
2109
|
+
def update!(**args)
|
2110
|
+
end
|
2111
|
+
end
|
2112
|
+
|
2000
2113
|
# Request message for UndeleteWorkforcePoolProvider.
|
2001
2114
|
class UndeleteWorkforcePoolProviderRequest
|
2002
2115
|
include Google::Apis::Core::Hashable
|
@@ -2036,6 +2149,19 @@ module Google
|
|
2036
2149
|
end
|
2037
2150
|
end
|
2038
2151
|
|
2152
|
+
# Request message for UndeleteWorkloadIdentityPoolProviderKey.
|
2153
|
+
class UndeleteWorkloadIdentityPoolProviderKeyRequest
|
2154
|
+
include Google::Apis::Core::Hashable
|
2155
|
+
|
2156
|
+
def initialize(**args)
|
2157
|
+
update!(**args)
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# Update properties of this object
|
2161
|
+
def update!(**args)
|
2162
|
+
end
|
2163
|
+
end
|
2164
|
+
|
2039
2165
|
# Request message for UndeleteWorkloadIdentityPoolProvider.
|
2040
2166
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
2041
2167
|
include Google::Apis::Core::Hashable
|
@@ -2269,6 +2395,53 @@ module Google
|
|
2269
2395
|
end
|
2270
2396
|
end
|
2271
2397
|
|
2398
|
+
# Represents a public key configuration for a Workforce Pool Provider. The key
|
2399
|
+
# can be configured in your identity provider to encrypt SAML assertions. Google
|
2400
|
+
# holds the corresponding private key, which it uses to decrypt encrypted tokens.
|
2401
|
+
class WorkforcePoolProviderKey
|
2402
|
+
include Google::Apis::Core::Hashable
|
2403
|
+
|
2404
|
+
# Output only. The time after which the key will be permanently deleted and
|
2405
|
+
# cannot be recovered. Note that the key may get purged before this time if the
|
2406
|
+
# total limit of keys per provider is exceeded.
|
2407
|
+
# Corresponds to the JSON property `expireTime`
|
2408
|
+
# @return [String]
|
2409
|
+
attr_accessor :expire_time
|
2410
|
+
|
2411
|
+
# Represents a public key data along with its format.
|
2412
|
+
# Corresponds to the JSON property `keyData`
|
2413
|
+
# @return [Google::Apis::IamV1::KeyData]
|
2414
|
+
attr_accessor :key_data
|
2415
|
+
|
2416
|
+
# Output only. The resource name of the key.
|
2417
|
+
# Corresponds to the JSON property `name`
|
2418
|
+
# @return [String]
|
2419
|
+
attr_accessor :name
|
2420
|
+
|
2421
|
+
# Output only. The state of the key.
|
2422
|
+
# Corresponds to the JSON property `state`
|
2423
|
+
# @return [String]
|
2424
|
+
attr_accessor :state
|
2425
|
+
|
2426
|
+
# Immutable. The purpose of the key.
|
2427
|
+
# Corresponds to the JSON property `use`
|
2428
|
+
# @return [String]
|
2429
|
+
attr_accessor :use
|
2430
|
+
|
2431
|
+
def initialize(**args)
|
2432
|
+
update!(**args)
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
# Update properties of this object
|
2436
|
+
def update!(**args)
|
2437
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
2438
|
+
@key_data = args[:key_data] if args.key?(:key_data)
|
2439
|
+
@name = args[:name] if args.key?(:name)
|
2440
|
+
@state = args[:state] if args.key?(:state)
|
2441
|
+
@use = args[:use] if args.key?(:use)
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2272
2445
|
# Represents a collection of external workload identities. You can define IAM
|
2273
2446
|
# policies to grant these identities access to Google Cloud resources.
|
2274
2447
|
class WorkloadIdentityPool
|
@@ -2450,6 +2623,54 @@ module Google
|
|
2450
2623
|
@state = args[:state] if args.key?(:state)
|
2451
2624
|
end
|
2452
2625
|
end
|
2626
|
+
|
2627
|
+
# Represents a public key configuration for your workload identity pool provider.
|
2628
|
+
# The key can be configured in your identity provider to encrypt the SAML
|
2629
|
+
# assertions. Google holds the corresponding private key which it uses to
|
2630
|
+
# decrypt encrypted tokens.
|
2631
|
+
class WorkloadIdentityPoolProviderKey
|
2632
|
+
include Google::Apis::Core::Hashable
|
2633
|
+
|
2634
|
+
# Output only. Time after which the key will be permanently purged and cannot be
|
2635
|
+
# recovered. Note that the key may get purged before this timestamp if the total
|
2636
|
+
# limit of keys per provider is crossed.
|
2637
|
+
# Corresponds to the JSON property `expireTime`
|
2638
|
+
# @return [String]
|
2639
|
+
attr_accessor :expire_time
|
2640
|
+
|
2641
|
+
# Represents a public key data along with its format.
|
2642
|
+
# Corresponds to the JSON property `keyData`
|
2643
|
+
# @return [Google::Apis::IamV1::KeyData]
|
2644
|
+
attr_accessor :key_data
|
2645
|
+
|
2646
|
+
# Output only. The resource name of the key.
|
2647
|
+
# Corresponds to the JSON property `name`
|
2648
|
+
# @return [String]
|
2649
|
+
attr_accessor :name
|
2650
|
+
|
2651
|
+
# Output only. The state of the key.
|
2652
|
+
# Corresponds to the JSON property `state`
|
2653
|
+
# @return [String]
|
2654
|
+
attr_accessor :state
|
2655
|
+
|
2656
|
+
# Immutable. The purpose of the key.
|
2657
|
+
# Corresponds to the JSON property `use`
|
2658
|
+
# @return [String]
|
2659
|
+
attr_accessor :use
|
2660
|
+
|
2661
|
+
def initialize(**args)
|
2662
|
+
update!(**args)
|
2663
|
+
end
|
2664
|
+
|
2665
|
+
# Update properties of this object
|
2666
|
+
def update!(**args)
|
2667
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
2668
|
+
@key_data = args[:key_data] if args.key?(:key_data)
|
2669
|
+
@name = args[:name] if args.key?(:name)
|
2670
|
+
@state = args[:state] if args.key?(:state)
|
2671
|
+
@use = args[:use] if args.key?(:use)
|
2672
|
+
end
|
2673
|
+
end
|
2453
2674
|
end
|
2454
2675
|
end
|
2455
2676
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IamV1
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class KeyData
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class LintPolicyRequest
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -184,6 +190,12 @@ module Google
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
193
|
+
class ListWorkforcePoolProviderKeysResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
187
199
|
class ListWorkforcePoolProvidersResponse
|
188
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
201
|
|
@@ -196,6 +208,12 @@ module Google
|
|
196
208
|
include Google::Apis::Core::JsonObjectSupport
|
197
209
|
end
|
198
210
|
|
211
|
+
class ListWorkloadIdentityPoolProviderKeysResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
199
217
|
class ListWorkloadIdentityPoolProvidersResponse
|
200
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
219
|
|
@@ -376,6 +394,12 @@ module Google
|
|
376
394
|
include Google::Apis::Core::JsonObjectSupport
|
377
395
|
end
|
378
396
|
|
397
|
+
class UndeleteWorkforcePoolProviderKeyRequest
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
379
403
|
class UndeleteWorkforcePoolProviderRequest
|
380
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
405
|
|
@@ -394,6 +418,12 @@ module Google
|
|
394
418
|
include Google::Apis::Core::JsonObjectSupport
|
395
419
|
end
|
396
420
|
|
421
|
+
class UndeleteWorkloadIdentityPoolProviderKeyRequest
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
397
427
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
398
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
429
|
|
@@ -424,6 +454,12 @@ module Google
|
|
424
454
|
include Google::Apis::Core::JsonObjectSupport
|
425
455
|
end
|
426
456
|
|
457
|
+
class WorkforcePoolProviderKey
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
427
463
|
class WorkloadIdentityPool
|
428
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
465
|
|
@@ -442,6 +478,12 @@ module Google
|
|
442
478
|
include Google::Apis::Core::JsonObjectSupport
|
443
479
|
end
|
444
480
|
|
481
|
+
class WorkloadIdentityPoolProviderKey
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
445
487
|
class AdminAuditData
|
446
488
|
# @private
|
447
489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -606,6 +648,17 @@ module Google
|
|
606
648
|
end
|
607
649
|
end
|
608
650
|
|
651
|
+
class KeyData
|
652
|
+
# @private
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
+
property :format, as: 'format'
|
655
|
+
property :key, as: 'key'
|
656
|
+
property :key_spec, as: 'keySpec'
|
657
|
+
property :not_after_time, as: 'notAfterTime'
|
658
|
+
property :not_before_time, as: 'notBeforeTime'
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
609
662
|
class LintPolicyRequest
|
610
663
|
# @private
|
611
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -661,6 +714,15 @@ module Google
|
|
661
714
|
end
|
662
715
|
end
|
663
716
|
|
717
|
+
class ListWorkforcePoolProviderKeysResponse
|
718
|
+
# @private
|
719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
720
|
+
property :next_page_token, as: 'nextPageToken'
|
721
|
+
collection :workforce_pool_provider_keys, as: 'workforcePoolProviderKeys', class: Google::Apis::IamV1::WorkforcePoolProviderKey, decorator: Google::Apis::IamV1::WorkforcePoolProviderKey::Representation
|
722
|
+
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
664
726
|
class ListWorkforcePoolProvidersResponse
|
665
727
|
# @private
|
666
728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -679,6 +741,15 @@ module Google
|
|
679
741
|
end
|
680
742
|
end
|
681
743
|
|
744
|
+
class ListWorkloadIdentityPoolProviderKeysResponse
|
745
|
+
# @private
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
747
|
+
property :next_page_token, as: 'nextPageToken'
|
748
|
+
collection :workload_identity_pool_provider_keys, as: 'workloadIdentityPoolProviderKeys', class: Google::Apis::IamV1::WorkloadIdentityPoolProviderKey, decorator: Google::Apis::IamV1::WorkloadIdentityPoolProviderKey::Representation
|
749
|
+
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
682
753
|
class ListWorkloadIdentityPoolProvidersResponse
|
683
754
|
# @private
|
684
755
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -954,6 +1025,12 @@ module Google
|
|
954
1025
|
end
|
955
1026
|
end
|
956
1027
|
|
1028
|
+
class UndeleteWorkforcePoolProviderKeyRequest
|
1029
|
+
# @private
|
1030
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
957
1034
|
class UndeleteWorkforcePoolProviderRequest
|
958
1035
|
# @private
|
959
1036
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -972,6 +1049,12 @@ module Google
|
|
972
1049
|
end
|
973
1050
|
end
|
974
1051
|
|
1052
|
+
class UndeleteWorkloadIdentityPoolProviderKeyRequest
|
1053
|
+
# @private
|
1054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
975
1058
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
976
1059
|
# @private
|
977
1060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1021,6 +1104,18 @@ module Google
|
|
1021
1104
|
end
|
1022
1105
|
end
|
1023
1106
|
|
1107
|
+
class WorkforcePoolProviderKey
|
1108
|
+
# @private
|
1109
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1110
|
+
property :expire_time, as: 'expireTime'
|
1111
|
+
property :key_data, as: 'keyData', class: Google::Apis::IamV1::KeyData, decorator: Google::Apis::IamV1::KeyData::Representation
|
1112
|
+
|
1113
|
+
property :name, as: 'name'
|
1114
|
+
property :state, as: 'state'
|
1115
|
+
property :use, as: 'use'
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
|
1024
1119
|
class WorkloadIdentityPool
|
1025
1120
|
# @private
|
1026
1121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1056,6 +1151,18 @@ module Google
|
|
1056
1151
|
property :state, as: 'state'
|
1057
1152
|
end
|
1058
1153
|
end
|
1154
|
+
|
1155
|
+
class WorkloadIdentityPoolProviderKey
|
1156
|
+
# @private
|
1157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1158
|
+
property :expire_time, as: 'expireTime'
|
1159
|
+
property :key_data, as: 'keyData', class: Google::Apis::IamV1::KeyData, decorator: Google::Apis::IamV1::KeyData::Representation
|
1160
|
+
|
1161
|
+
property :name, as: 'name'
|
1162
|
+
property :state, as: 'state'
|
1163
|
+
property :use, as: 'use'
|
1164
|
+
end
|
1165
|
+
end
|
1059
1166
|
end
|
1060
1167
|
end
|
1061
1168
|
end
|
@@ -702,6 +702,183 @@ module Google
|
|
702
702
|
execute_or_queue_command(command, &block)
|
703
703
|
end
|
704
704
|
|
705
|
+
# Creates a new WorkforcePoolProviderKey in a WorkforcePoolProvider.
|
706
|
+
# @param [String] parent
|
707
|
+
# Required. The provider to create this key in.
|
708
|
+
# @param [Google::Apis::IamV1::WorkforcePoolProviderKey] workforce_pool_provider_key_object
|
709
|
+
# @param [String] workforce_pool_provider_key_id
|
710
|
+
# Required. The ID to use for the key, which becomes the final component of the
|
711
|
+
# resource name. This value must be 4-32 characters, and may contain the
|
712
|
+
# characters [a-z0-9-].
|
713
|
+
# @param [String] fields
|
714
|
+
# Selector specifying which fields to include in a partial response.
|
715
|
+
# @param [String] quota_user
|
716
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
717
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
718
|
+
# @param [Google::Apis::RequestOptions] options
|
719
|
+
# Request-specific options
|
720
|
+
#
|
721
|
+
# @yield [result, err] Result & error if block supplied
|
722
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
723
|
+
# @yieldparam err [StandardError] error object if request failed
|
724
|
+
#
|
725
|
+
# @return [Google::Apis::IamV1::Operation]
|
726
|
+
#
|
727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
730
|
+
def create_location_workforce_pool_provider_key(parent, workforce_pool_provider_key_object = nil, workforce_pool_provider_key_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
731
|
+
command = make_simple_command(:post, 'v1/{+parent}/keys', options)
|
732
|
+
command.request_representation = Google::Apis::IamV1::WorkforcePoolProviderKey::Representation
|
733
|
+
command.request_object = workforce_pool_provider_key_object
|
734
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
735
|
+
command.response_class = Google::Apis::IamV1::Operation
|
736
|
+
command.params['parent'] = parent unless parent.nil?
|
737
|
+
command.query['workforcePoolProviderKeyId'] = workforce_pool_provider_key_id unless workforce_pool_provider_key_id.nil?
|
738
|
+
command.query['fields'] = fields unless fields.nil?
|
739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
740
|
+
execute_or_queue_command(command, &block)
|
741
|
+
end
|
742
|
+
|
743
|
+
# Deletes a WorkforcePoolProviderKey. You can undelete a key for 30 days. After
|
744
|
+
# 30 days, deletion is permanent.
|
745
|
+
# @param [String] name
|
746
|
+
# Required. The name of the key to delete.
|
747
|
+
# @param [String] fields
|
748
|
+
# Selector specifying which fields to include in a partial response.
|
749
|
+
# @param [String] quota_user
|
750
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
751
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
752
|
+
# @param [Google::Apis::RequestOptions] options
|
753
|
+
# Request-specific options
|
754
|
+
#
|
755
|
+
# @yield [result, err] Result & error if block supplied
|
756
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
757
|
+
# @yieldparam err [StandardError] error object if request failed
|
758
|
+
#
|
759
|
+
# @return [Google::Apis::IamV1::Operation]
|
760
|
+
#
|
761
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
762
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
763
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
764
|
+
def delete_location_workforce_pool_provider_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
765
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
766
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
767
|
+
command.response_class = Google::Apis::IamV1::Operation
|
768
|
+
command.params['name'] = name unless name.nil?
|
769
|
+
command.query['fields'] = fields unless fields.nil?
|
770
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
771
|
+
execute_or_queue_command(command, &block)
|
772
|
+
end
|
773
|
+
|
774
|
+
# Gets a WorkforcePoolProviderKey.
|
775
|
+
# @param [String] name
|
776
|
+
# Required. The name of the key to retrieve.
|
777
|
+
# @param [String] fields
|
778
|
+
# Selector specifying which fields to include in a partial response.
|
779
|
+
# @param [String] quota_user
|
780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
782
|
+
# @param [Google::Apis::RequestOptions] options
|
783
|
+
# Request-specific options
|
784
|
+
#
|
785
|
+
# @yield [result, err] Result & error if block supplied
|
786
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderKey] parsed result object
|
787
|
+
# @yieldparam err [StandardError] error object if request failed
|
788
|
+
#
|
789
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderKey]
|
790
|
+
#
|
791
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
792
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
|
+
def get_location_workforce_pool_provider_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
795
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
796
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderKey::Representation
|
797
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderKey
|
798
|
+
command.params['name'] = name unless name.nil?
|
799
|
+
command.query['fields'] = fields unless fields.nil?
|
800
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
801
|
+
execute_or_queue_command(command, &block)
|
802
|
+
end
|
803
|
+
|
804
|
+
# Lists all non-deleted WorkforcePoolProviderKeys in a WorkforcePoolProvider. If
|
805
|
+
# `show_deleted` is set to `true`, then deleted keys are also listed.
|
806
|
+
# @param [String] parent
|
807
|
+
# Required. The provider resource to list encryption keys for. Format: `
|
808
|
+
# locations/`location`/workforcePools/`workforce_pool_id`/providers/`provider_id`
|
809
|
+
# `
|
810
|
+
# @param [Fixnum] page_size
|
811
|
+
# The maximum number of keys to return. If unspecified, all keys are returned.
|
812
|
+
# The maximum value is 10; values above 10 are truncated to 10.
|
813
|
+
# @param [String] page_token
|
814
|
+
# A page token, received from a previous `ListWorkforcePoolProviderKeys` call.
|
815
|
+
# Provide this to retrieve the subsequent page.
|
816
|
+
# @param [Boolean] show_deleted
|
817
|
+
# Whether to return soft-deleted keys.
|
818
|
+
# @param [String] fields
|
819
|
+
# Selector specifying which fields to include in a partial response.
|
820
|
+
# @param [String] quota_user
|
821
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
822
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
823
|
+
# @param [Google::Apis::RequestOptions] options
|
824
|
+
# Request-specific options
|
825
|
+
#
|
826
|
+
# @yield [result, err] Result & error if block supplied
|
827
|
+
# @yieldparam result [Google::Apis::IamV1::ListWorkforcePoolProviderKeysResponse] parsed result object
|
828
|
+
# @yieldparam err [StandardError] error object if request failed
|
829
|
+
#
|
830
|
+
# @return [Google::Apis::IamV1::ListWorkforcePoolProviderKeysResponse]
|
831
|
+
#
|
832
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
833
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
|
+
def list_location_workforce_pool_provider_keys(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
836
|
+
command = make_simple_command(:get, 'v1/{+parent}/keys', options)
|
837
|
+
command.response_representation = Google::Apis::IamV1::ListWorkforcePoolProviderKeysResponse::Representation
|
838
|
+
command.response_class = Google::Apis::IamV1::ListWorkforcePoolProviderKeysResponse
|
839
|
+
command.params['parent'] = parent unless parent.nil?
|
840
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
841
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
842
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
843
|
+
command.query['fields'] = fields unless fields.nil?
|
844
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
+
execute_or_queue_command(command, &block)
|
846
|
+
end
|
847
|
+
|
848
|
+
# Undeletes a WorkforcePoolProviderKey, as long as it was deleted fewer than 30
|
849
|
+
# days ago.
|
850
|
+
# @param [String] name
|
851
|
+
# Required. The name of the key to undelete.
|
852
|
+
# @param [Google::Apis::IamV1::UndeleteWorkforcePoolProviderKeyRequest] undelete_workforce_pool_provider_key_request_object
|
853
|
+
# @param [String] fields
|
854
|
+
# Selector specifying which fields to include in a partial response.
|
855
|
+
# @param [String] quota_user
|
856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
858
|
+
# @param [Google::Apis::RequestOptions] options
|
859
|
+
# Request-specific options
|
860
|
+
#
|
861
|
+
# @yield [result, err] Result & error if block supplied
|
862
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
863
|
+
# @yieldparam err [StandardError] error object if request failed
|
864
|
+
#
|
865
|
+
# @return [Google::Apis::IamV1::Operation]
|
866
|
+
#
|
867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
870
|
+
def undelete_workforce_pool_provider_key(name, undelete_workforce_pool_provider_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
871
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
872
|
+
command.request_representation = Google::Apis::IamV1::UndeleteWorkforcePoolProviderKeyRequest::Representation
|
873
|
+
command.request_object = undelete_workforce_pool_provider_key_request_object
|
874
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
875
|
+
command.response_class = Google::Apis::IamV1::Operation
|
876
|
+
command.params['name'] = name unless name.nil?
|
877
|
+
command.query['fields'] = fields unless fields.nil?
|
878
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
879
|
+
execute_or_queue_command(command, &block)
|
880
|
+
end
|
881
|
+
|
705
882
|
# Gets the latest state of a long-running operation. Clients can use this method
|
706
883
|
# to poll the operation result at intervals as recommended by the API service.
|
707
884
|
# @param [String] name
|
@@ -1693,6 +1870,181 @@ module Google
|
|
1693
1870
|
execute_or_queue_command(command, &block)
|
1694
1871
|
end
|
1695
1872
|
|
1873
|
+
# Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider.
|
1874
|
+
# @param [String] parent
|
1875
|
+
# Required. The parent provider resource to create the key in.
|
1876
|
+
# @param [Google::Apis::IamV1::WorkloadIdentityPoolProviderKey] workload_identity_pool_provider_key_object
|
1877
|
+
# @param [String] workload_identity_pool_provider_key_id
|
1878
|
+
# Required. The ID to use for the key, which becomes the final component of the
|
1879
|
+
# resource name. This value should be 4-32 characters, and may contain the
|
1880
|
+
# characters [a-z0-9-].
|
1881
|
+
# @param [String] fields
|
1882
|
+
# Selector specifying which fields to include in a partial response.
|
1883
|
+
# @param [String] quota_user
|
1884
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1885
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1886
|
+
# @param [Google::Apis::RequestOptions] options
|
1887
|
+
# Request-specific options
|
1888
|
+
#
|
1889
|
+
# @yield [result, err] Result & error if block supplied
|
1890
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1891
|
+
# @yieldparam err [StandardError] error object if request failed
|
1892
|
+
#
|
1893
|
+
# @return [Google::Apis::IamV1::Operation]
|
1894
|
+
#
|
1895
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1896
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1897
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1898
|
+
def create_project_location_workload_identity_pool_provider_key(parent, workload_identity_pool_provider_key_object = nil, workload_identity_pool_provider_key_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1899
|
+
command = make_simple_command(:post, 'v1/{+parent}/keys', options)
|
1900
|
+
command.request_representation = Google::Apis::IamV1::WorkloadIdentityPoolProviderKey::Representation
|
1901
|
+
command.request_object = workload_identity_pool_provider_key_object
|
1902
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1903
|
+
command.response_class = Google::Apis::IamV1::Operation
|
1904
|
+
command.params['parent'] = parent unless parent.nil?
|
1905
|
+
command.query['workloadIdentityPoolProviderKeyId'] = workload_identity_pool_provider_key_id unless workload_identity_pool_provider_key_id.nil?
|
1906
|
+
command.query['fields'] = fields unless fields.nil?
|
1907
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1908
|
+
execute_or_queue_command(command, &block)
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days.
|
1912
|
+
# After 30 days, deletion is permanent.
|
1913
|
+
# @param [String] name
|
1914
|
+
# Required. The name of the encryption key to delete.
|
1915
|
+
# @param [String] fields
|
1916
|
+
# Selector specifying which fields to include in a partial response.
|
1917
|
+
# @param [String] quota_user
|
1918
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1919
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1920
|
+
# @param [Google::Apis::RequestOptions] options
|
1921
|
+
# Request-specific options
|
1922
|
+
#
|
1923
|
+
# @yield [result, err] Result & error if block supplied
|
1924
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1925
|
+
# @yieldparam err [StandardError] error object if request failed
|
1926
|
+
#
|
1927
|
+
# @return [Google::Apis::IamV1::Operation]
|
1928
|
+
#
|
1929
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1930
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1931
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1932
|
+
def delete_project_location_workload_identity_pool_provider_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
1933
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1934
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1935
|
+
command.response_class = Google::Apis::IamV1::Operation
|
1936
|
+
command.params['name'] = name unless name.nil?
|
1937
|
+
command.query['fields'] = fields unless fields.nil?
|
1938
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1939
|
+
execute_or_queue_command(command, &block)
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# Gets an individual WorkloadIdentityPoolProviderKey.
|
1943
|
+
# @param [String] name
|
1944
|
+
# Required. The name of the key to retrieve.
|
1945
|
+
# @param [String] fields
|
1946
|
+
# Selector specifying which fields to include in a partial response.
|
1947
|
+
# @param [String] quota_user
|
1948
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1949
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1950
|
+
# @param [Google::Apis::RequestOptions] options
|
1951
|
+
# Request-specific options
|
1952
|
+
#
|
1953
|
+
# @yield [result, err] Result & error if block supplied
|
1954
|
+
# @yieldparam result [Google::Apis::IamV1::WorkloadIdentityPoolProviderKey] parsed result object
|
1955
|
+
# @yieldparam err [StandardError] error object if request failed
|
1956
|
+
#
|
1957
|
+
# @return [Google::Apis::IamV1::WorkloadIdentityPoolProviderKey]
|
1958
|
+
#
|
1959
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1960
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1961
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1962
|
+
def get_project_location_workload_identity_pool_provider_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
1963
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1964
|
+
command.response_representation = Google::Apis::IamV1::WorkloadIdentityPoolProviderKey::Representation
|
1965
|
+
command.response_class = Google::Apis::IamV1::WorkloadIdentityPoolProviderKey
|
1966
|
+
command.params['name'] = name unless name.nil?
|
1967
|
+
command.query['fields'] = fields unless fields.nil?
|
1968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1969
|
+
execute_or_queue_command(command, &block)
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
# Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If
|
1973
|
+
# show_deleted is set to `true`, then deleted pools are also listed.
|
1974
|
+
# @param [String] parent
|
1975
|
+
# Required. The parent provider resource to list encryption keys for.
|
1976
|
+
# @param [Fixnum] page_size
|
1977
|
+
# The maximum number of keys to return. If unspecified, all keys are returned.
|
1978
|
+
# The maximum value is 10; values above 10 are truncated to 10.
|
1979
|
+
# @param [String] page_token
|
1980
|
+
# A page token, received from a previous `ListWorkloadIdentityPoolProviderKeys`
|
1981
|
+
# call. Provide this to retrieve the subsequent page.
|
1982
|
+
# @param [Boolean] show_deleted
|
1983
|
+
# Whether to return soft deleted resources as well.
|
1984
|
+
# @param [String] fields
|
1985
|
+
# Selector specifying which fields to include in a partial response.
|
1986
|
+
# @param [String] quota_user
|
1987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1989
|
+
# @param [Google::Apis::RequestOptions] options
|
1990
|
+
# Request-specific options
|
1991
|
+
#
|
1992
|
+
# @yield [result, err] Result & error if block supplied
|
1993
|
+
# @yieldparam result [Google::Apis::IamV1::ListWorkloadIdentityPoolProviderKeysResponse] parsed result object
|
1994
|
+
# @yieldparam err [StandardError] error object if request failed
|
1995
|
+
#
|
1996
|
+
# @return [Google::Apis::IamV1::ListWorkloadIdentityPoolProviderKeysResponse]
|
1997
|
+
#
|
1998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2001
|
+
def list_project_location_workload_identity_pool_provider_keys(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2002
|
+
command = make_simple_command(:get, 'v1/{+parent}/keys', options)
|
2003
|
+
command.response_representation = Google::Apis::IamV1::ListWorkloadIdentityPoolProviderKeysResponse::Representation
|
2004
|
+
command.response_class = Google::Apis::IamV1::ListWorkloadIdentityPoolProviderKeysResponse
|
2005
|
+
command.params['parent'] = parent unless parent.nil?
|
2006
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2007
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2008
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
2009
|
+
command.query['fields'] = fields unless fields.nil?
|
2010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2011
|
+
execute_or_queue_command(command, &block)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer
|
2015
|
+
# than 30 days ago.
|
2016
|
+
# @param [String] name
|
2017
|
+
# Required. The name of the encryption key to undelete.
|
2018
|
+
# @param [Google::Apis::IamV1::UndeleteWorkloadIdentityPoolProviderKeyRequest] undelete_workload_identity_pool_provider_key_request_object
|
2019
|
+
# @param [String] fields
|
2020
|
+
# Selector specifying which fields to include in a partial response.
|
2021
|
+
# @param [String] quota_user
|
2022
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2023
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2024
|
+
# @param [Google::Apis::RequestOptions] options
|
2025
|
+
# Request-specific options
|
2026
|
+
#
|
2027
|
+
# @yield [result, err] Result & error if block supplied
|
2028
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
2029
|
+
# @yieldparam err [StandardError] error object if request failed
|
2030
|
+
#
|
2031
|
+
# @return [Google::Apis::IamV1::Operation]
|
2032
|
+
#
|
2033
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2034
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2035
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2036
|
+
def undelete_workload_identity_pool_provider_key(name, undelete_workload_identity_pool_provider_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2037
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
2038
|
+
command.request_representation = Google::Apis::IamV1::UndeleteWorkloadIdentityPoolProviderKeyRequest::Representation
|
2039
|
+
command.request_object = undelete_workload_identity_pool_provider_key_request_object
|
2040
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
2041
|
+
command.response_class = Google::Apis::IamV1::Operation
|
2042
|
+
command.params['name'] = name unless name.nil?
|
2043
|
+
command.query['fields'] = fields unless fields.nil?
|
2044
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2045
|
+
execute_or_queue_command(command, &block)
|
2046
|
+
end
|
2047
|
+
|
1696
2048
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1697
2049
|
# to poll the operation result at intervals as recommended by the API service.
|
1698
2050
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iam_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.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: 2023-
|
11
|
+
date: 2023-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.41.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|