Class LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource
The "tokens" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource
Constructors
TokensResource(IClientService)
Constructs a new resource.
Declaration
public TokensResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(WorkforcePoolProviderScimToken, string)
Agentspace only. Creates a new WorkforcePoolProviderScimToken in a WorkforcePoolProviderScimTenant. You cannot reuse the name of a deleted SCIM token until 30 days after deletion.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.CreateRequest Create(WorkforcePoolProviderScimToken body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkforcePoolProviderScimToken | body | The body of the request. |
| string | parent | Required. Agentspace only. The parent tenant to create SCIM token. Format: 'locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}' |
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.CreateRequest |
Delete(string)
Agentspace only. Deletes a WorkforcePoolProviderScimToken. You can undelete a SCIM token for 30 days. After 30 days, the SCIM token is permanently deleted. You cannot update deleted SCIM tokens, however, you can view and list them.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Agentspace only. The name of the SCIM token to delete. Format:
|
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.DeleteRequest |
Get(string)
Agentspace only. Gets an individual WorkforcePoolProviderScimToken.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Agentspace only. The name of the SCIM token to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.GetRequest |
List(string)
Agentspace only. Lists all non-deleted WorkforcePoolProviderScimTokenss in a
WorkforcePoolProviderScimTenant. If show_deleted is set to true, then deleted SCIM
tokens are also listed.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Agentspace only. The parent to list SCIM tokens. Format: 'locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}' |
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.ListRequest |
Patch(WorkforcePoolProviderScimToken, string)
Agentspace only. Updates an existing WorkforcePoolProviderScimToken.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.PatchRequest Patch(WorkforcePoolProviderScimToken body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkforcePoolProviderScimToken | body | The body of the request. |
| string | name | Identifier. Agentspace only. The resource name of the SCIM Token. Format:
|
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.PatchRequest |
Undelete(UndeleteWorkforcePoolProviderScimTokenRequest, string)
Agentspace only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.
Declaration
public virtual LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.UndeleteRequest Undelete(UndeleteWorkforcePoolProviderScimTokenRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| UndeleteWorkforcePoolProviderScimTokenRequest | body | The body of the request. |
| string | name | Required. Agentspace only. The name of the SCIM token to undelete. Format:
|
Returns
| Type | Description |
|---|---|
| LocationsResource.WorkforcePoolsResource.ProvidersResource.ScimTenantsResource.TokensResource.UndeleteRequest |