Close httplib2 connections.
create(parent, body=None, workforcePoolProviderScimTokenId=None, x__xgafv=None)
Gemini Enterprise only. Creates a new WorkforcePoolProviderScimToken in a WorkforcePoolProviderScimTenant. You cannot reuse the name of a deleted SCIM token until 30 days after deletion.
Gemini Enterprise 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.
Gemini Enterprise only. Gets an individual WorkforcePoolProviderScimToken.
list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)
Gemini Enterprise only. Lists all non-deleted WorkforcePoolProviderScimTokenss in a WorkforcePoolProviderScimTenant. If `show_deleted` is set to `true`, then deleted SCIM tokens are also listed.
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
Gemini Enterprise only. Updates an existing WorkforcePoolProviderScimToken.
undelete(name, body=None, x__xgafv=None)
Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.
close()
Close httplib2 connections.
create(parent, body=None, workforcePoolProviderScimTokenId=None, x__xgafv=None)
Gemini Enterprise only. Creates a new WorkforcePoolProviderScimToken in a WorkforcePoolProviderScimTenant. You cannot reuse the name of a deleted SCIM token until 30 days after deletion.
Args:
parent: string, Required. Gemini Enterprise only. The parent tenant to create SCIM token. Format: 'locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}' (required)
body: object, The request body.
The object takes the form of:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
workforcePoolProviderScimTokenId: string, Required. Gemini Enterprise only. The ID to use for the SCIM token, which becomes the final component of the resource name. This value should be 4-32 characters and follow the pattern: "([a-z]([a-z0-9\\-]{2,30}[a-z0-9]))"
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
delete(name, x__xgafv=None)
Gemini Enterprise 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.
Args:
name: string, Required. Gemini Enterprise only. The name of the SCIM token to delete. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
get(name, x__xgafv=None)
Gemini Enterprise only. Gets an individual WorkforcePoolProviderScimToken.
Args:
name: string, Required. Gemini Enterprise only. The name of the SCIM token to retrieve. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
list(parent, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)
Gemini Enterprise only. Lists all non-deleted WorkforcePoolProviderScimTokenss in a WorkforcePoolProviderScimTenant. If `show_deleted` is set to `true`, then deleted SCIM tokens are also listed.
Args:
parent: string, Required. Gemini Enterprise only. The parent to list SCIM tokens. Format: 'locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}' (required)
pageSize: integer, Optional. Gemini Enterprise only. The maximum number of SCIM tokens to return. If unspecified, at most 2 SCIM tokens will be returned.
pageToken: string, Optional. Gemini Enterprise only. A page token, received from a previous `ListWorkforcePoolProviderScimTokens` call. Provide this to retrieve the subsequent page.
showDeleted: boolean, Optional. Gemini Enterprise only. Whether to return soft-deleted SCIM tokens.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Response message for ListWorkforcePoolProviderScimTokens.
"nextPageToken": "A String", # Optional. Gemini Enterprise only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
"workforcePoolProviderScimTokens": [ # Output only. Gemini Enterprise only. A list of SCIM tokens.
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
patch(name, body=None, updateMask=None, x__xgafv=None)
Gemini Enterprise only. Updates an existing WorkforcePoolProviderScimToken.
Args:
name: string, Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}` (required)
body: object, The request body.
The object takes the form of:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
updateMask: string, Optional. Gemini Enterprise only. The list of fields to update.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}
undelete(name, body=None, x__xgafv=None)
Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.
Args:
name: string, Required. Gemini Enterprise only. The name of the SCIM token to undelete. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}` (required)
body: object, The request body.
The object takes the form of:
{ # Gemini Enterprise only. Request message for UndeleteWorkforcePoolProviderScimToken.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Gemini Enterprise only. Represents a token for the WorkforcePoolProviderScimTenant. Used for authenticating SCIM provisioning requests.
"displayName": "A String", # Optional. Gemini Enterprise only. The display name of the SCIM token. Cannot exceed 32 characters.
"name": "A String", # Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format: `locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}`
"securityToken": "A String", # Output only. Gemini Enterprise only. The token string. Provide this to the IdP for authentication. Will be set only during creation.
"state": "A String", # Output only. Gemini Enterprise only. The state of the token.
}