Resource: Tenant
A Tenant resource represents a tenant in the service. A tenant is a group or entity that shares common access with specific privileges for resources like profiles. Customer may create multiple tenants to provide data isolation for different groups.
JSON representation | |
---|---|
{
"name": string,
"externalId": string,
"usageType": enum ( |
Fields | |
---|---|
name |
Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{projectId}/tenants/{tenantId}", for example, "projects/foo/tenants/bar". |
externalId |
Required. Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255. |
usageType |
Indicates whether data owned by this tenant may be used to provide product improvements across other tenants. Defaults behavior is |
keywordSearchableProfileCustomAttributes[] |
A list of keys of filterable |
DataUsageType
Enum that represents how user data owned by the tenant is used.
Enums | |
---|---|
DATA_USAGE_TYPE_UNSPECIFIED |
Default value. |
AGGREGATED |
Data owned by this tenant is used to improve search/recommendation quality across tenants. |
ISOLATED |
Data owned by this tenant is used to improve search/recommendation quality for this tenant only. |
Methods |
|
---|---|
|
Completes the specified prefix with keyword suggestions. |
|
Creates a new tenant entity. |
|
Deletes specified tenant. |
|
Retrieves specified tenant. |
|
Lists all tenants associated with the project. |
|
Updates specified tenant. |