Struct AutoAssignmentType (0.5.0)

Configuration for automatic assignments handled by data plane operations.

Fields

inactive_license_ttl

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

Implementations

new

 fn new() -> Self

set_inactive_license_ttl

 fn set_inactive_license_ttl<T>(self, v: T) -> Self
where
    T: std::convert::Into<wkt::Duration>,

Sets the value of [inactive_license_ttl][crate::model::assignment_protocol::AutoAssignmentType::inactive_license_ttl].

set_or_clear_inactive_license_ttl

 fn set_or_clear_inactive_license_ttl<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<wkt::Duration>,

Sets or clears the value of [inactive_license_ttl][crate::model::assignment_protocol::AutoAssignmentType::inactive_license_ttl].