Struct google_iam1::LintPolicyRequest[][src]

pub struct LintPolicyRequest {
    pub policy: Option<Policy>,
    pub full_resource_name: Option<String>,
    pub binding: Option<Binding>,
    pub context: Option<HashMap<String, String>>,
    pub condition: Option<Expr>,
}

The request to lint a Cloud IAM policy object. LintPolicy is currently functional only for lint_object of type condition.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Policy object to be linted. The functionality of linting a policy is not yet implemented and if this field is set, it returns NOT_IMPLEMENTED error.

The full resource name of the policy this lint request is about.

The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.

Binding object to be linted. The functionality of linting a binding is not yet implemented and if this field is set, it returns NOT_IMPLEMENTED error.

context contains additional permission-controlled data that any lint unit may depend on, in form of {key: value} pairs. Currently, this field is non-operational and it will not be used during the lint operation.

google.iam.v1.Binding.condition object to be linted.

Trait Implementations

impl Default for LintPolicyRequest
[src]

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

impl Clone for LintPolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LintPolicyRequest
[src]

Formats the value using the given formatter. Read more

impl RequestValue for LintPolicyRequest
[src]

Auto Trait Implementations