Struct gapi_grpc::google::cloud::talent::v4beta1::Tenant[][src]

pub struct Tenant {
    pub name: String,
    pub external_id: String,
    pub usage_type: i32,
    pub keyword_searchable_profile_custom_attributes: Vec<String>,
}

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.

Fields

name: String

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: String

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

The maximum number of allowed characters is 255.

usage_type: i32

Indicates whether data owned by this tenant may be used to provide product improvements across other tenants.

Defaults behavior is [DataUsageType.ISOLATED][google.cloud.talent.v4beta1.Tenant.DataUsageType.ISOLATED] if it’s unset.

keyword_searchable_profile_custom_attributes: Vec<String>

A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose corresponding string_values are used in keyword searches. Profiles with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and must be surrounded by quotes.

Implementations

impl Tenant[src]

pub fn usage_type(&self) -> DataUsageType[src]

Returns the enum value of usage_type, or the default if the field is set to an invalid enum value.

pub fn set_usage_type(&mut self, value: DataUsageType)[src]

Sets usage_type to the provided enum value.

Trait Implementations

impl Clone for Tenant[src]

impl Debug for Tenant[src]

impl Default for Tenant[src]

impl Message for Tenant[src]

impl PartialEq<Tenant> for Tenant[src]

impl StructuralPartialEq for Tenant[src]

Auto Trait Implementations

impl RefUnwindSafe for Tenant

impl Send for Tenant

impl Sync for Tenant

impl Unpin for Tenant

impl UnwindSafe for Tenant

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]