Struct google_cloudresourcemanager1::ListConstraint [−][src]
pub struct ListConstraint { pub supports_under: Option<bool>, pub suggested_value: Option<String>, }
A Constraint
that allows or disallows a list of string values, which are
configured by an Organization's policy administrator with a Policy
.
This type is not used in any activity, and only used as part of another schema.
Fields
supports_under: Option<bool>
Indicates whether subtrees of Cloud Resource Manager resource hierarchy
can be used in Policy.allowed_values
and Policy.denied_values
. For
example, "under:folders/123"
would match any resource under the
'folders/123' folder.
suggested_value: Option<String>
Optional. The Google Cloud Console will try to default to a configuration
that matches the value specified in this Constraint
.
Trait Implementations
impl Default for ListConstraint
[src]
impl Default for ListConstraint
fn default() -> ListConstraint
[src]
fn default() -> ListConstraint
Returns the "default value" for a type. Read more
impl Clone for ListConstraint
[src]
impl Clone for ListConstraint
fn clone(&self) -> ListConstraint
[src]
fn clone(&self) -> ListConstraint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ListConstraint
[src]
impl Debug for ListConstraint
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ListConstraint
[src]
impl Part for ListConstraint
Auto Trait Implementations
impl Send for ListConstraint
impl Send for ListConstraint
impl Sync for ListConstraint
impl Sync for ListConstraint