Struct google_iam1::LintResult [−][src]
pub struct LintResult { pub validation_unit_name: Option<String>, pub severity: Option<String>, pub level: Option<String>, pub field_name: Option<String>, pub location_offset: Option<i32>, pub binding_ordinal: Option<i32>, pub debug_message: Option<String>, }
Structured response of a single validation unit.
This type is not used in any activity, and only used as part of another schema.
Fields
validation_unit_name: Option<String>
The validation unit name, for instance “lintValidationUnits/ConditionComplexityCheck”.
severity: Option<String>
The validation unit severity.
level: Option<String>
The validation unit level.
field_name: Option<String>
The name of the field for which this lint result is about.
For nested messages, field_name
consists of names of the embedded fields
separated by period character. The top-level qualifier is the input object
to lint in the request. For instance, if the lint request is on a
google.iam.v1.Policy and this lint result is about a condition
expression of one of the input policy bindings, the field would be
populated as policy.bindings.condition.expression
.
This field does not identify the ordinality of the repetitive fields (for instance bindings in a policy).
location_offset: Option<i32>
0-based character position of problematic construct within the object
identified by field_name
. Currently, this is populated only for condition
expression.
binding_ordinal: Option<i32>
0-based index ordinality of the binding in the input object associated with this result. This field is populated only if the input object to lint is of type google.iam.v1.Policy, which can comprise more than one binding. It is set to -1 if the result is not associated with any particular binding and only targets the policy as a whole, such as results about policy size violations.
debug_message: Option<String>
Human readable debug message associated with the issue.
Trait Implementations
impl Default for LintResult
[src]
impl Default for LintResult
fn default() -> LintResult
[src]
fn default() -> LintResult
Returns the "default value" for a type. Read more
impl Clone for LintResult
[src]
impl Clone for LintResult
fn clone(&self) -> LintResult
[src]
fn clone(&self) -> LintResult
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 LintResult
[src]
impl Debug for LintResult
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 LintResult
[src]
impl Part for LintResult
Auto Trait Implementations
impl Send for LintResult
impl Send for LintResult
impl Sync for LintResult
impl Sync for LintResult