pub struct GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter {
pub default_value: Option<Value>,
pub item: Option<String>,
pub metadata: Option<GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata>,
pub type_: Option<String>,
pub valid_values_expr: Option<String>,
}Expand description
Defines a parameter structure.
This type is not used in any activity, and only used as part of another schema.
Fields§
§default_value: Option<Value>Sets the value of the parameter in an assignment if no value is given.
item: Option<String>Determines the parameter’s value structure. For example, LIST can be specified by defining type: LIST, and item: STRING.
metadata: Option<GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata>Defines subproperties primarily used by the UI to display user-friendly information.
type_: Option<String>Type of the parameter.
valid_values_expr: Option<String>Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in (“parameterValue1”, “parameterValue2”)
Trait Implementations§
Source§impl Clone for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl Clone for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Source§fn clone(
&self,
) -> GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
fn clone( &self, ) -> GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl Default for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Source§fn default() -> GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
fn default() -> GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Auto Trait Implementations§
impl Freeze for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl RefUnwindSafe for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl Send for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl Sync for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl Unpin for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
impl UnwindSafe for GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more