Struct Tenant (0.5.0)

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 jobs. Customer may create multiple tenants to provide data isolation for different groups.

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/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

external_id

Required. Client side tenant identifier, used to uniquely identify the tenant.

The maximum number of allowed characters is 255.

Implementations

new

 fn new() -> Self

set_name

 fn set_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [name][crate::model::Tenant::name].

set_external_id

 fn set_external_id<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [external_id][crate::model::Tenant::external_id].