google-apis-iam_v1 0.72.0 → 0.73.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 +193 -0
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +91 -0
- data/lib/google/apis/iam_v1/service.rb +450 -0
- 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: ef9460e4ba843432aac8de8e73cdaccff0b158e8615c0d4c12aec6ae9c98c128
|
4
|
+
data.tar.gz: 62309cd266077ee4259f41b588a68afa276392acebbd2b504bc8ea28ec057048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93545470c82960ce38c071bf68dc9e63b985bea7a3b707532a03e5cb079c5472ce1edcee0e997207efef920429b1e4204d286e166dc4d027bf92124f77ad1ddb
|
7
|
+
data.tar.gz: f345cb3c999f9c130e7f0bc850e3bce814b5e86018393c600500c568d777e06e0cf3d88537340eb45108883427d26681db1fc539bd0c4fffe0180b3f3f1acd2f
|
data/CHANGELOG.md
CHANGED
@@ -1383,6 +1383,58 @@ module Google
|
|
1383
1383
|
end
|
1384
1384
|
end
|
1385
1385
|
|
1386
|
+
# Response message for ListWorkforcePoolProviderScimTenants.
|
1387
|
+
class ListWorkforcePoolProviderScimTenantsResponse
|
1388
|
+
include Google::Apis::Core::Hashable
|
1389
|
+
|
1390
|
+
# Optional. A token, which can be sent as `page_token` to retrieve the next page.
|
1391
|
+
# If this field is omitted, there are no subsequent pages.
|
1392
|
+
# Corresponds to the JSON property `nextPageToken`
|
1393
|
+
# @return [String]
|
1394
|
+
attr_accessor :next_page_token
|
1395
|
+
|
1396
|
+
# Output only. A list of scim tenants.
|
1397
|
+
# Corresponds to the JSON property `workforcePoolProviderScimTenants`
|
1398
|
+
# @return [Array<Google::Apis::IamV1::WorkforcePoolProviderScimTenant>]
|
1399
|
+
attr_accessor :workforce_pool_provider_scim_tenants
|
1400
|
+
|
1401
|
+
def initialize(**args)
|
1402
|
+
update!(**args)
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# Update properties of this object
|
1406
|
+
def update!(**args)
|
1407
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1408
|
+
@workforce_pool_provider_scim_tenants = args[:workforce_pool_provider_scim_tenants] if args.key?(:workforce_pool_provider_scim_tenants)
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Response message for ListWorkforcePoolProviderScimTokens.
|
1413
|
+
class ListWorkforcePoolProviderScimTokensResponse
|
1414
|
+
include Google::Apis::Core::Hashable
|
1415
|
+
|
1416
|
+
# Optional. A token, which can be sent as `page_token` to retrieve the next page.
|
1417
|
+
# If this field is omitted, there are no subsequent pages.
|
1418
|
+
# Corresponds to the JSON property `nextPageToken`
|
1419
|
+
# @return [String]
|
1420
|
+
attr_accessor :next_page_token
|
1421
|
+
|
1422
|
+
# Output only. A list of scim tokens.
|
1423
|
+
# Corresponds to the JSON property `workforcePoolProviderScimTokens`
|
1424
|
+
# @return [Array<Google::Apis::IamV1::WorkforcePoolProviderScimToken>]
|
1425
|
+
attr_accessor :workforce_pool_provider_scim_tokens
|
1426
|
+
|
1427
|
+
def initialize(**args)
|
1428
|
+
update!(**args)
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
# Update properties of this object
|
1432
|
+
def update!(**args)
|
1433
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1434
|
+
@workforce_pool_provider_scim_tokens = args[:workforce_pool_provider_scim_tokens] if args.key?(:workforce_pool_provider_scim_tokens)
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1386
1438
|
# Response message for ListWorkforcePoolProviders.
|
1387
1439
|
class ListWorkforcePoolProvidersResponse
|
1388
1440
|
include Google::Apis::Core::Hashable
|
@@ -3080,6 +3132,32 @@ module Google
|
|
3080
3132
|
end
|
3081
3133
|
end
|
3082
3134
|
|
3135
|
+
# Request message for UndeleteWorkforcePoolProviderScimTenant.
|
3136
|
+
class UndeleteWorkforcePoolProviderScimTenantRequest
|
3137
|
+
include Google::Apis::Core::Hashable
|
3138
|
+
|
3139
|
+
def initialize(**args)
|
3140
|
+
update!(**args)
|
3141
|
+
end
|
3142
|
+
|
3143
|
+
# Update properties of this object
|
3144
|
+
def update!(**args)
|
3145
|
+
end
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
# Request message for UndeleteWorkforcePoolProviderScimToken.
|
3149
|
+
class UndeleteWorkforcePoolProviderScimTokenRequest
|
3150
|
+
include Google::Apis::Core::Hashable
|
3151
|
+
|
3152
|
+
def initialize(**args)
|
3153
|
+
update!(**args)
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
# Update properties of this object
|
3157
|
+
def update!(**args)
|
3158
|
+
end
|
3159
|
+
end
|
3160
|
+
|
3083
3161
|
# Request message for UndeleteWorkforcePool.
|
3084
3162
|
class UndeleteWorkforcePoolRequest
|
3085
3163
|
include Google::Apis::Core::Hashable
|
@@ -3374,6 +3452,15 @@ module Google
|
|
3374
3452
|
# @return [String]
|
3375
3453
|
attr_accessor :expire_time
|
3376
3454
|
|
3455
|
+
# Represents the OAuth 2.0 client credential configuration for retrieving
|
3456
|
+
# additional user attributes that are not present in the initial authentication
|
3457
|
+
# credentials from the identity provider, e.g. groups. See https://datatracker.
|
3458
|
+
# ietf.org/doc/html/rfc6749#section-4.4 for more details on client credentials
|
3459
|
+
# grant flow.
|
3460
|
+
# Corresponds to the JSON property `extendedAttributesOauth2Client`
|
3461
|
+
# @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client]
|
3462
|
+
attr_accessor :extended_attributes_oauth2_client
|
3463
|
+
|
3377
3464
|
# Represents the OAuth 2.0 client credential configuration for retrieving
|
3378
3465
|
# additional user attributes that are not present in the initial authentication
|
3379
3466
|
# credentials from the identity provider, e.g. groups. See https://datatracker.
|
@@ -3417,6 +3504,7 @@ module Google
|
|
3417
3504
|
@disabled = args[:disabled] if args.key?(:disabled)
|
3418
3505
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3419
3506
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
3507
|
+
@extended_attributes_oauth2_client = args[:extended_attributes_oauth2_client] if args.key?(:extended_attributes_oauth2_client)
|
3420
3508
|
@extra_attributes_oauth2_client = args[:extra_attributes_oauth2_client] if args.key?(:extra_attributes_oauth2_client)
|
3421
3509
|
@name = args[:name] if args.key?(:name)
|
3422
3510
|
@oidc = args[:oidc] if args.key?(:oidc)
|
@@ -3473,6 +3561,111 @@ module Google
|
|
3473
3561
|
end
|
3474
3562
|
end
|
3475
3563
|
|
3564
|
+
# Represents a scim tenant. Used for provisioning and managing identity data (
|
3565
|
+
# such as Users and Groups) in cross-domain environments.
|
3566
|
+
class WorkforcePoolProviderScimTenant
|
3567
|
+
include Google::Apis::Core::Hashable
|
3568
|
+
|
3569
|
+
# Output only. Represents the base URI as defined in [RFC 7644, Section 1.3](
|
3570
|
+
# https://datatracker.ietf.org/doc/html/rfc7644#section-1.3). Clients must use
|
3571
|
+
# this as the root address for managing resources under the tenant. Format:
|
3572
|
+
# https://iamscim.googleapis.com/`version`/`tenant_id`/
|
3573
|
+
# Corresponds to the JSON property `baseUri`
|
3574
|
+
# @return [String]
|
3575
|
+
attr_accessor :base_uri
|
3576
|
+
|
3577
|
+
# Optional. Maps BYOID claims to SCIM claims.
|
3578
|
+
# Corresponds to the JSON property `claimMapping`
|
3579
|
+
# @return [Hash<String,String>]
|
3580
|
+
attr_accessor :claim_mapping
|
3581
|
+
|
3582
|
+
# Optional. The user-specified description of the scim tenant. Cannot exceed 256
|
3583
|
+
# characters.
|
3584
|
+
# Corresponds to the JSON property `description`
|
3585
|
+
# @return [String]
|
3586
|
+
attr_accessor :description
|
3587
|
+
|
3588
|
+
# Optional. The user-specified display name of the scim tenant. Cannot exceed 32
|
3589
|
+
# characters.
|
3590
|
+
# Corresponds to the JSON property `displayName`
|
3591
|
+
# @return [String]
|
3592
|
+
attr_accessor :display_name
|
3593
|
+
|
3594
|
+
# Identifier. The resource name of the SCIM Tenant. Format: `locations/`location`
|
3595
|
+
# /workforcePools/`workforce_pool`/providers/ `workforce_pool_provider`/
|
3596
|
+
# scimTenants/`scim_tenant``
|
3597
|
+
# Corresponds to the JSON property `name`
|
3598
|
+
# @return [String]
|
3599
|
+
attr_accessor :name
|
3600
|
+
|
3601
|
+
# Output only. The timestamp when the scim tenant is going to be purged.
|
3602
|
+
# Corresponds to the JSON property `purgeTime`
|
3603
|
+
# @return [String]
|
3604
|
+
attr_accessor :purge_time
|
3605
|
+
|
3606
|
+
# Output only. The state of the tenant.
|
3607
|
+
# Corresponds to the JSON property `state`
|
3608
|
+
# @return [String]
|
3609
|
+
attr_accessor :state
|
3610
|
+
|
3611
|
+
def initialize(**args)
|
3612
|
+
update!(**args)
|
3613
|
+
end
|
3614
|
+
|
3615
|
+
# Update properties of this object
|
3616
|
+
def update!(**args)
|
3617
|
+
@base_uri = args[:base_uri] if args.key?(:base_uri)
|
3618
|
+
@claim_mapping = args[:claim_mapping] if args.key?(:claim_mapping)
|
3619
|
+
@description = args[:description] if args.key?(:description)
|
3620
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3621
|
+
@name = args[:name] if args.key?(:name)
|
3622
|
+
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
3623
|
+
@state = args[:state] if args.key?(:state)
|
3624
|
+
end
|
3625
|
+
end
|
3626
|
+
|
3627
|
+
# Represents a token for the WorkforcePoolProviderScimTenant. Used for
|
3628
|
+
# authenticating SCIM Provisioning requests.
|
3629
|
+
class WorkforcePoolProviderScimToken
|
3630
|
+
include Google::Apis::Core::Hashable
|
3631
|
+
|
3632
|
+
# Optional. The user-specified display name of the scim token. Cannot exceed 32
|
3633
|
+
# characters.
|
3634
|
+
# Corresponds to the JSON property `displayName`
|
3635
|
+
# @return [String]
|
3636
|
+
attr_accessor :display_name
|
3637
|
+
|
3638
|
+
# Identifier. The resource name of the SCIM Token. Format: `locations/`location`/
|
3639
|
+
# workforcePools/`workforce_pool`/providers/ `workforce_pool_provider`/
|
3640
|
+
# scimTenants/`scim_tenant`/tokens/`token``
|
3641
|
+
# Corresponds to the JSON property `name`
|
3642
|
+
# @return [String]
|
3643
|
+
attr_accessor :name
|
3644
|
+
|
3645
|
+
# Output only. The token string. Provide this to the IdP for authentication.
|
3646
|
+
# Will be set only during creation.
|
3647
|
+
# Corresponds to the JSON property `securityToken`
|
3648
|
+
# @return [String]
|
3649
|
+
attr_accessor :security_token
|
3650
|
+
|
3651
|
+
# Output only. The state of the token.
|
3652
|
+
# Corresponds to the JSON property `state`
|
3653
|
+
# @return [String]
|
3654
|
+
attr_accessor :state
|
3655
|
+
|
3656
|
+
def initialize(**args)
|
3657
|
+
update!(**args)
|
3658
|
+
end
|
3659
|
+
|
3660
|
+
# Update properties of this object
|
3661
|
+
def update!(**args)
|
3662
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3663
|
+
@name = args[:name] if args.key?(:name)
|
3664
|
+
@security_token = args[:security_token] if args.key?(:security_token)
|
3665
|
+
@state = args[:state] if args.key?(:state)
|
3666
|
+
end
|
3667
|
+
end
|
3668
|
+
|
3476
3669
|
# Represents a collection of workload identities. You can define IAM policies to
|
3477
3670
|
# grant these identities access to Google Cloud resources.
|
3478
3671
|
class WorkloadIdentityPool
|
@@ -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.73.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250718"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,6 +286,18 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
+
class ListWorkforcePoolProviderScimTenantsResponse
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class ListWorkforcePoolProviderScimTokensResponse
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
289
301
|
class ListWorkforcePoolProvidersResponse
|
290
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
303
|
|
@@ -574,6 +586,18 @@ module Google
|
|
574
586
|
include Google::Apis::Core::JsonObjectSupport
|
575
587
|
end
|
576
588
|
|
589
|
+
class UndeleteWorkforcePoolProviderScimTenantRequest
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
595
|
+
class UndeleteWorkforcePoolProviderScimTokenRequest
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
577
601
|
class UndeleteWorkforcePoolRequest
|
578
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
603
|
|
@@ -640,6 +664,18 @@ module Google
|
|
640
664
|
include Google::Apis::Core::JsonObjectSupport
|
641
665
|
end
|
642
666
|
|
667
|
+
class WorkforcePoolProviderScimTenant
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
+
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
671
|
+
end
|
672
|
+
|
673
|
+
class WorkforcePoolProviderScimToken
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
643
679
|
class WorkloadIdentityPool
|
644
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
681
|
|
@@ -1056,6 +1092,24 @@ module Google
|
|
1056
1092
|
end
|
1057
1093
|
end
|
1058
1094
|
|
1095
|
+
class ListWorkforcePoolProviderScimTenantsResponse
|
1096
|
+
# @private
|
1097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1098
|
+
property :next_page_token, as: 'nextPageToken'
|
1099
|
+
collection :workforce_pool_provider_scim_tenants, as: 'workforcePoolProviderScimTenants', class: Google::Apis::IamV1::WorkforcePoolProviderScimTenant, decorator: Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1100
|
+
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
class ListWorkforcePoolProviderScimTokensResponse
|
1105
|
+
# @private
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1107
|
+
property :next_page_token, as: 'nextPageToken'
|
1108
|
+
collection :workforce_pool_provider_scim_tokens, as: 'workforcePoolProviderScimTokens', class: Google::Apis::IamV1::WorkforcePoolProviderScimToken, decorator: Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1109
|
+
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1059
1113
|
class ListWorkforcePoolProvidersResponse
|
1060
1114
|
# @private
|
1061
1115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1493,6 +1547,18 @@ module Google
|
|
1493
1547
|
end
|
1494
1548
|
end
|
1495
1549
|
|
1550
|
+
class UndeleteWorkforcePoolProviderScimTenantRequest
|
1551
|
+
# @private
|
1552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
class UndeleteWorkforcePoolProviderScimTokenRequest
|
1557
|
+
# @private
|
1558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
|
1496
1562
|
class UndeleteWorkforcePoolRequest
|
1497
1563
|
# @private
|
1498
1564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1568,6 +1634,8 @@ module Google
|
|
1568
1634
|
property :disabled, as: 'disabled'
|
1569
1635
|
property :display_name, as: 'displayName'
|
1570
1636
|
property :expire_time, as: 'expireTime'
|
1637
|
+
property :extended_attributes_oauth2_client, as: 'extendedAttributesOauth2Client', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client::Representation
|
1638
|
+
|
1571
1639
|
property :extra_attributes_oauth2_client, as: 'extraAttributesOauth2Client', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client::Representation
|
1572
1640
|
|
1573
1641
|
property :name, as: 'name'
|
@@ -1591,6 +1659,29 @@ module Google
|
|
1591
1659
|
end
|
1592
1660
|
end
|
1593
1661
|
|
1662
|
+
class WorkforcePoolProviderScimTenant
|
1663
|
+
# @private
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1665
|
+
property :base_uri, as: 'baseUri'
|
1666
|
+
hash :claim_mapping, as: 'claimMapping'
|
1667
|
+
property :description, as: 'description'
|
1668
|
+
property :display_name, as: 'displayName'
|
1669
|
+
property :name, as: 'name'
|
1670
|
+
property :purge_time, as: 'purgeTime'
|
1671
|
+
property :state, as: 'state'
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class WorkforcePoolProviderScimToken
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :display_name, as: 'displayName'
|
1679
|
+
property :name, as: 'name'
|
1680
|
+
property :security_token, as: 'securityToken'
|
1681
|
+
property :state, as: 'state'
|
1682
|
+
end
|
1683
|
+
end
|
1684
|
+
|
1594
1685
|
class WorkloadIdentityPool
|
1595
1686
|
# @private
|
1596
1687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -946,6 +946,456 @@ module Google
|
|
946
946
|
execute_or_queue_command(command, &block)
|
947
947
|
end
|
948
948
|
|
949
|
+
# Creates a new WorkforcePoolProviderScimTenant in a WorkforcePoolProvider. You
|
950
|
+
# cannot reuse the name of a deleted scim tenant until 30 days after deletion.
|
951
|
+
# @param [String] parent
|
952
|
+
# Required. The parent to create scim tenant. Format: 'locations/`location`/
|
953
|
+
# workforcePools/`workforce_pool`/providers/`provider`'
|
954
|
+
# @param [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] workforce_pool_provider_scim_tenant_object
|
955
|
+
# @param [String] workforce_pool_provider_scim_tenant_id
|
956
|
+
# Required. The ID to use for the scim tenant, which becomes the final component
|
957
|
+
# of the resource name. This value should be 4-32 characters, and may contain
|
958
|
+
# the characters [a-z0-9-].
|
959
|
+
# @param [String] fields
|
960
|
+
# Selector specifying which fields to include in a partial response.
|
961
|
+
# @param [String] quota_user
|
962
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
963
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
964
|
+
# @param [Google::Apis::RequestOptions] options
|
965
|
+
# Request-specific options
|
966
|
+
#
|
967
|
+
# @yield [result, err] Result & error if block supplied
|
968
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] parsed result object
|
969
|
+
# @yieldparam err [StandardError] error object if request failed
|
970
|
+
#
|
971
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimTenant]
|
972
|
+
#
|
973
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
974
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
975
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
976
|
+
def create_location_workforce_pool_provider_scim_tenant(parent, workforce_pool_provider_scim_tenant_object = nil, workforce_pool_provider_scim_tenant_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
977
|
+
command = make_simple_command(:post, 'v1/{+parent}/scimTenants', options)
|
978
|
+
command.request_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
979
|
+
command.request_object = workforce_pool_provider_scim_tenant_object
|
980
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
981
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimTenant
|
982
|
+
command.params['parent'] = parent unless parent.nil?
|
983
|
+
command.query['workforcePoolProviderScimTenantId'] = workforce_pool_provider_scim_tenant_id unless workforce_pool_provider_scim_tenant_id.nil?
|
984
|
+
command.query['fields'] = fields unless fields.nil?
|
985
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
986
|
+
execute_or_queue_command(command, &block)
|
987
|
+
end
|
988
|
+
|
989
|
+
# Deletes a WorkforcePoolProviderScimTenant. You can undelete a scim tenant for
|
990
|
+
# 30 days. After 30 days, deletion is permanent. You cannot update deleted scim
|
991
|
+
# tenants. However, you can view and list them.
|
992
|
+
# @param [String] name
|
993
|
+
# Required. The name of the scim tenant to delete. Format: `locations/`location`/
|
994
|
+
# workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant``
|
995
|
+
# @param [String] fields
|
996
|
+
# Selector specifying which fields to include in a partial response.
|
997
|
+
# @param [String] quota_user
|
998
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
999
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1000
|
+
# @param [Google::Apis::RequestOptions] options
|
1001
|
+
# Request-specific options
|
1002
|
+
#
|
1003
|
+
# @yield [result, err] Result & error if block supplied
|
1004
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] parsed result object
|
1005
|
+
# @yieldparam err [StandardError] error object if request failed
|
1006
|
+
#
|
1007
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimTenant]
|
1008
|
+
#
|
1009
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1010
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1011
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1012
|
+
def delete_location_workforce_pool_provider_scim_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
1013
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1014
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1015
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimTenant
|
1016
|
+
command.params['name'] = name unless name.nil?
|
1017
|
+
command.query['fields'] = fields unless fields.nil?
|
1018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1019
|
+
execute_or_queue_command(command, &block)
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# Gets an individual WorkforcePoolProviderScimTenant.
|
1023
|
+
# @param [String] name
|
1024
|
+
# Required. The name of the scim tenant to retrieve. Format: `locations/`
|
1025
|
+
# location`/workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`
|
1026
|
+
# scim_tenant``
|
1027
|
+
# @param [String] fields
|
1028
|
+
# Selector specifying which fields to include in a partial response.
|
1029
|
+
# @param [String] quota_user
|
1030
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1031
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1032
|
+
# @param [Google::Apis::RequestOptions] options
|
1033
|
+
# Request-specific options
|
1034
|
+
#
|
1035
|
+
# @yield [result, err] Result & error if block supplied
|
1036
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] parsed result object
|
1037
|
+
# @yieldparam err [StandardError] error object if request failed
|
1038
|
+
#
|
1039
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimTenant]
|
1040
|
+
#
|
1041
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1042
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1043
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1044
|
+
def get_location_workforce_pool_provider_scim_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
1045
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1046
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1047
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimTenant
|
1048
|
+
command.params['name'] = name unless name.nil?
|
1049
|
+
command.query['fields'] = fields unless fields.nil?
|
1050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1051
|
+
execute_or_queue_command(command, &block)
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# Lists all non-deleted WorkforcePoolProviderScimTenants in a
|
1055
|
+
# WorkforcePoolProvider. If `show_deleted` is set to `true`, then deleted scim
|
1056
|
+
# tenants are also listed.
|
1057
|
+
# @param [String] parent
|
1058
|
+
# Required. The parent to list scim tenants. Format: 'locations/`location`/
|
1059
|
+
# workforcePools/`workforce_pool`/providers/`provider`'
|
1060
|
+
# @param [Fixnum] page_size
|
1061
|
+
# Optional. The maximum number of scim tenants to return. If unspecified, at
|
1062
|
+
# most 1 scim tenant will be returned.
|
1063
|
+
# @param [String] page_token
|
1064
|
+
# Optional. A page token, received from a previous `ListScimTenants` call.
|
1065
|
+
# Provide this to retrieve the subsequent page.
|
1066
|
+
# @param [Boolean] show_deleted
|
1067
|
+
# Optional. Whether to return soft-deleted scim tenants.
|
1068
|
+
# @param [String] fields
|
1069
|
+
# Selector specifying which fields to include in a partial response.
|
1070
|
+
# @param [String] quota_user
|
1071
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1072
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1073
|
+
# @param [Google::Apis::RequestOptions] options
|
1074
|
+
# Request-specific options
|
1075
|
+
#
|
1076
|
+
# @yield [result, err] Result & error if block supplied
|
1077
|
+
# @yieldparam result [Google::Apis::IamV1::ListWorkforcePoolProviderScimTenantsResponse] parsed result object
|
1078
|
+
# @yieldparam err [StandardError] error object if request failed
|
1079
|
+
#
|
1080
|
+
# @return [Google::Apis::IamV1::ListWorkforcePoolProviderScimTenantsResponse]
|
1081
|
+
#
|
1082
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1083
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1084
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1085
|
+
def list_location_workforce_pool_provider_scim_tenants(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1086
|
+
command = make_simple_command(:get, 'v1/{+parent}/scimTenants', options)
|
1087
|
+
command.response_representation = Google::Apis::IamV1::ListWorkforcePoolProviderScimTenantsResponse::Representation
|
1088
|
+
command.response_class = Google::Apis::IamV1::ListWorkforcePoolProviderScimTenantsResponse
|
1089
|
+
command.params['parent'] = parent unless parent.nil?
|
1090
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1091
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1092
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
1093
|
+
command.query['fields'] = fields unless fields.nil?
|
1094
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1095
|
+
execute_or_queue_command(command, &block)
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# Updates an existing WorkforcePoolProviderScimTenant.
|
1099
|
+
# @param [String] name
|
1100
|
+
# Identifier. The resource name of the SCIM Tenant. Format: `locations/`location`
|
1101
|
+
# /workforcePools/`workforce_pool`/providers/ `workforce_pool_provider`/
|
1102
|
+
# scimTenants/`scim_tenant``
|
1103
|
+
# @param [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] workforce_pool_provider_scim_tenant_object
|
1104
|
+
# @param [String] update_mask
|
1105
|
+
# Optional. The list of fields to update.
|
1106
|
+
# @param [String] fields
|
1107
|
+
# Selector specifying which fields to include in a partial response.
|
1108
|
+
# @param [String] quota_user
|
1109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1111
|
+
# @param [Google::Apis::RequestOptions] options
|
1112
|
+
# Request-specific options
|
1113
|
+
#
|
1114
|
+
# @yield [result, err] Result & error if block supplied
|
1115
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] parsed result object
|
1116
|
+
# @yieldparam err [StandardError] error object if request failed
|
1117
|
+
#
|
1118
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimTenant]
|
1119
|
+
#
|
1120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1123
|
+
def patch_location_workforce_pool_provider_scim_tenant(name, workforce_pool_provider_scim_tenant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1124
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1125
|
+
command.request_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1126
|
+
command.request_object = workforce_pool_provider_scim_tenant_object
|
1127
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1128
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimTenant
|
1129
|
+
command.params['name'] = name unless name.nil?
|
1130
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1131
|
+
command.query['fields'] = fields unless fields.nil?
|
1132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1133
|
+
execute_or_queue_command(command, &block)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Undeletes a WorkforcePoolProviderScimTenant, as long as it was deleted fewer
|
1137
|
+
# than 30 days ago.
|
1138
|
+
# @param [String] name
|
1139
|
+
# Required. The name of the scim tenant to undelete. Format: `locations/`
|
1140
|
+
# location`/workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`
|
1141
|
+
# scim_tenant``
|
1142
|
+
# @param [Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTenantRequest] undelete_workforce_pool_provider_scim_tenant_request_object
|
1143
|
+
# @param [String] fields
|
1144
|
+
# Selector specifying which fields to include in a partial response.
|
1145
|
+
# @param [String] quota_user
|
1146
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1147
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1148
|
+
# @param [Google::Apis::RequestOptions] options
|
1149
|
+
# Request-specific options
|
1150
|
+
#
|
1151
|
+
# @yield [result, err] Result & error if block supplied
|
1152
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimTenant] parsed result object
|
1153
|
+
# @yieldparam err [StandardError] error object if request failed
|
1154
|
+
#
|
1155
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimTenant]
|
1156
|
+
#
|
1157
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1158
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1159
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1160
|
+
def undelete_workforce_pool_provider_scim_tenant(name, undelete_workforce_pool_provider_scim_tenant_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1161
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
1162
|
+
command.request_representation = Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTenantRequest::Representation
|
1163
|
+
command.request_object = undelete_workforce_pool_provider_scim_tenant_request_object
|
1164
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimTenant::Representation
|
1165
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimTenant
|
1166
|
+
command.params['name'] = name unless name.nil?
|
1167
|
+
command.query['fields'] = fields unless fields.nil?
|
1168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1169
|
+
execute_or_queue_command(command, &block)
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Creates a new WorkforcePoolProviderScimToken in a
|
1173
|
+
# WorkforcePoolProviderScimTenant. You cannot reuse the name of a deleted SCIM
|
1174
|
+
# token until 30 days after deletion.
|
1175
|
+
# @param [String] parent
|
1176
|
+
# Required. The parent tenant to create scim token. Format: 'locations/`location`
|
1177
|
+
# /workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant`
|
1178
|
+
# '
|
1179
|
+
# @param [Google::Apis::IamV1::WorkforcePoolProviderScimToken] workforce_pool_provider_scim_token_object
|
1180
|
+
# @param [String] workforce_pool_provider_scim_token_id
|
1181
|
+
# Required. The ID to use for the scim token, which becomes the final component
|
1182
|
+
# of the resource name. This value should be 4-32 characters and follow this
|
1183
|
+
# pattern: "([a-z]([a-z0-9\\-]`2,30`[a-z0-9]))"
|
1184
|
+
# @param [String] fields
|
1185
|
+
# Selector specifying which fields to include in a partial response.
|
1186
|
+
# @param [String] quota_user
|
1187
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1188
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1189
|
+
# @param [Google::Apis::RequestOptions] options
|
1190
|
+
# Request-specific options
|
1191
|
+
#
|
1192
|
+
# @yield [result, err] Result & error if block supplied
|
1193
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
1194
|
+
# @yieldparam err [StandardError] error object if request failed
|
1195
|
+
#
|
1196
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
1197
|
+
#
|
1198
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1199
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1200
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1201
|
+
def create_location_workforce_pool_provider_scim_tenant_token(parent, workforce_pool_provider_scim_token_object = nil, workforce_pool_provider_scim_token_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1202
|
+
command = make_simple_command(:post, 'v1/{+parent}/tokens', options)
|
1203
|
+
command.request_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1204
|
+
command.request_object = workforce_pool_provider_scim_token_object
|
1205
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1206
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
1207
|
+
command.params['parent'] = parent unless parent.nil?
|
1208
|
+
command.query['workforcePoolProviderScimTokenId'] = workforce_pool_provider_scim_token_id unless workforce_pool_provider_scim_token_id.nil?
|
1209
|
+
command.query['fields'] = fields unless fields.nil?
|
1210
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1211
|
+
execute_or_queue_command(command, &block)
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# Deletes a WorkforcePoolProviderScimToken. You can undelete a scim token for 30
|
1215
|
+
# days. After 30 days, deletion is permanent. You cannot update deleted scim
|
1216
|
+
# tokens. However, you can view and list them.
|
1217
|
+
# @param [String] name
|
1218
|
+
# Required. The name of the scim token to delete. Format: `locations/`location`/
|
1219
|
+
# workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant`/
|
1220
|
+
# tokens/`token``
|
1221
|
+
# @param [String] fields
|
1222
|
+
# Selector specifying which fields to include in a partial response.
|
1223
|
+
# @param [String] quota_user
|
1224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1226
|
+
# @param [Google::Apis::RequestOptions] options
|
1227
|
+
# Request-specific options
|
1228
|
+
#
|
1229
|
+
# @yield [result, err] Result & error if block supplied
|
1230
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
1231
|
+
# @yieldparam err [StandardError] error object if request failed
|
1232
|
+
#
|
1233
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
1234
|
+
#
|
1235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1238
|
+
def delete_location_workforce_pool_provider_scim_tenant_token(name, fields: nil, quota_user: nil, options: nil, &block)
|
1239
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1240
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1241
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
1242
|
+
command.params['name'] = name unless name.nil?
|
1243
|
+
command.query['fields'] = fields unless fields.nil?
|
1244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1245
|
+
execute_or_queue_command(command, &block)
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# Gets an individual WorkforcePoolProviderScimToken.
|
1249
|
+
# @param [String] name
|
1250
|
+
# Required. The name of the scim token to retrieve. Format: `locations/`location`
|
1251
|
+
# /workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant`
|
1252
|
+
# /tokens/`token``
|
1253
|
+
# @param [String] fields
|
1254
|
+
# Selector specifying which fields to include in a partial response.
|
1255
|
+
# @param [String] quota_user
|
1256
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1257
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1258
|
+
# @param [Google::Apis::RequestOptions] options
|
1259
|
+
# Request-specific options
|
1260
|
+
#
|
1261
|
+
# @yield [result, err] Result & error if block supplied
|
1262
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
1263
|
+
# @yieldparam err [StandardError] error object if request failed
|
1264
|
+
#
|
1265
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
1266
|
+
#
|
1267
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1268
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1269
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1270
|
+
def get_location_workforce_pool_provider_scim_tenant_token(name, fields: nil, quota_user: nil, options: nil, &block)
|
1271
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1272
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1273
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
1274
|
+
command.params['name'] = name unless name.nil?
|
1275
|
+
command.query['fields'] = fields unless fields.nil?
|
1276
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1277
|
+
execute_or_queue_command(command, &block)
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# Lists all non-deleted WorkforcePoolProviderScimTokenss in a
|
1281
|
+
# WorkforcePoolProviderScimTenant. If `show_deleted` is set to `true`, then
|
1282
|
+
# deleted SCIM tokens are also listed.
|
1283
|
+
# @param [String] parent
|
1284
|
+
# Required. The parent to list scim tokens. Format: 'locations/`location`/
|
1285
|
+
# workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant`'
|
1286
|
+
# @param [Fixnum] page_size
|
1287
|
+
# Optional. The maximum number of scim tokens to return. If unspecified, at most
|
1288
|
+
# 2 scim tokens will be returned.
|
1289
|
+
# @param [String] page_token
|
1290
|
+
# Optional. A page token, received from a previous `
|
1291
|
+
# ListWorkforcePoolProviderScimTokens` call. Provide this to retrieve the
|
1292
|
+
# subsequent page.
|
1293
|
+
# @param [Boolean] show_deleted
|
1294
|
+
# Optional. Whether to return soft-deleted scim tokens.
|
1295
|
+
# @param [String] fields
|
1296
|
+
# Selector specifying which fields to include in a partial response.
|
1297
|
+
# @param [String] quota_user
|
1298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1300
|
+
# @param [Google::Apis::RequestOptions] options
|
1301
|
+
# Request-specific options
|
1302
|
+
#
|
1303
|
+
# @yield [result, err] Result & error if block supplied
|
1304
|
+
# @yieldparam result [Google::Apis::IamV1::ListWorkforcePoolProviderScimTokensResponse] parsed result object
|
1305
|
+
# @yieldparam err [StandardError] error object if request failed
|
1306
|
+
#
|
1307
|
+
# @return [Google::Apis::IamV1::ListWorkforcePoolProviderScimTokensResponse]
|
1308
|
+
#
|
1309
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1310
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1311
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1312
|
+
def list_location_workforce_pool_provider_scim_tenant_tokens(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1313
|
+
command = make_simple_command(:get, 'v1/{+parent}/tokens', options)
|
1314
|
+
command.response_representation = Google::Apis::IamV1::ListWorkforcePoolProviderScimTokensResponse::Representation
|
1315
|
+
command.response_class = Google::Apis::IamV1::ListWorkforcePoolProviderScimTokensResponse
|
1316
|
+
command.params['parent'] = parent unless parent.nil?
|
1317
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1318
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1319
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
1320
|
+
command.query['fields'] = fields unless fields.nil?
|
1321
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1322
|
+
execute_or_queue_command(command, &block)
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# Updates an existing WorkforcePoolProviderScimToken.
|
1326
|
+
# @param [String] name
|
1327
|
+
# Identifier. The resource name of the SCIM Token. Format: `locations/`location`/
|
1328
|
+
# workforcePools/`workforce_pool`/providers/ `workforce_pool_provider`/
|
1329
|
+
# scimTenants/`scim_tenant`/tokens/`token``
|
1330
|
+
# @param [Google::Apis::IamV1::WorkforcePoolProviderScimToken] workforce_pool_provider_scim_token_object
|
1331
|
+
# @param [String] update_mask
|
1332
|
+
# Optional. The list of fields to update.
|
1333
|
+
# @param [String] fields
|
1334
|
+
# Selector specifying which fields to include in a partial response.
|
1335
|
+
# @param [String] quota_user
|
1336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1338
|
+
# @param [Google::Apis::RequestOptions] options
|
1339
|
+
# Request-specific options
|
1340
|
+
#
|
1341
|
+
# @yield [result, err] Result & error if block supplied
|
1342
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
1343
|
+
# @yieldparam err [StandardError] error object if request failed
|
1344
|
+
#
|
1345
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
1346
|
+
#
|
1347
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1348
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1349
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1350
|
+
def patch_location_workforce_pool_provider_scim_tenant_token(name, workforce_pool_provider_scim_token_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1351
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1352
|
+
command.request_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1353
|
+
command.request_object = workforce_pool_provider_scim_token_object
|
1354
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1355
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
1356
|
+
command.params['name'] = name unless name.nil?
|
1357
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1358
|
+
command.query['fields'] = fields unless fields.nil?
|
1359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1360
|
+
execute_or_queue_command(command, &block)
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# Undeletes a WorkforcePoolProviderScimToken, as long as it was deleted fewer
|
1364
|
+
# than 30 days ago.
|
1365
|
+
# @param [String] name
|
1366
|
+
# Required. The name of the scim token to undelete. Format: `locations/`location`
|
1367
|
+
# /workforcePools/`workforce_pool`/providers/`provider`/scimTenants/`scim_tenant`
|
1368
|
+
# /tokens/`token``
|
1369
|
+
# @param [Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTokenRequest] undelete_workforce_pool_provider_scim_token_request_object
|
1370
|
+
# @param [String] fields
|
1371
|
+
# Selector specifying which fields to include in a partial response.
|
1372
|
+
# @param [String] quota_user
|
1373
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1374
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1375
|
+
# @param [Google::Apis::RequestOptions] options
|
1376
|
+
# Request-specific options
|
1377
|
+
#
|
1378
|
+
# @yield [result, err] Result & error if block supplied
|
1379
|
+
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
1380
|
+
# @yieldparam err [StandardError] error object if request failed
|
1381
|
+
#
|
1382
|
+
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
1383
|
+
#
|
1384
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1385
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1386
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1387
|
+
def undelete_workforce_pool_provider_scim_token(name, undelete_workforce_pool_provider_scim_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1388
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
1389
|
+
command.request_representation = Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTokenRequest::Representation
|
1390
|
+
command.request_object = undelete_workforce_pool_provider_scim_token_request_object
|
1391
|
+
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
1392
|
+
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
1393
|
+
command.params['name'] = name unless name.nil?
|
1394
|
+
command.query['fields'] = fields unless fields.nil?
|
1395
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1396
|
+
execute_or_queue_command(command, &block)
|
1397
|
+
end
|
1398
|
+
|
949
1399
|
# Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state.
|
950
1400
|
# A WorkforcePoolSubject is automatically created the first time an external
|
951
1401
|
# credential is exchanged for a Google Cloud credential using a mapped `google.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.73.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
63
63
|
rdoc_options: []
|
64
64
|
require_paths:
|