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

The validation unit name, for instance “lintValidationUnits/ConditionComplexityCheck”.

The validation unit severity.

The validation unit level.

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).

0-based character position of problematic construct within the object identified by field_name. Currently, this is populated only for condition expression.

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.

Human readable debug message associated with the issue.

Trait Implementations

impl Default for LintResult
[src]

Returns the "default value" for a type. Read more

impl Clone for LintResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LintResult
[src]

Formats the value using the given formatter. Read more

impl Part for LintResult
[src]

Auto Trait Implementations

impl Send for LintResult

impl Sync for LintResult