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).
- lint policy iam policies (request)
Fields
policy: Option<Policy>
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.
full_resource_name: Option<String>
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: Option<Binding>
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: Option<HashMap<String, String>>
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.
condition: Option<Expr>
google.iam.v1.Binding.condition object to be linted.
Trait Implementations
impl Default for LintPolicyRequest
[src]
impl Default for LintPolicyRequest
fn default() -> LintPolicyRequest
[src]
fn default() -> LintPolicyRequest
Returns the "default value" for a type. Read more
impl Clone for LintPolicyRequest
[src]
impl Clone for LintPolicyRequest
fn clone(&self) -> LintPolicyRequest
[src]
fn clone(&self) -> LintPolicyRequest
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 LintPolicyRequest
[src]
impl Debug for LintPolicyRequest
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 RequestValue for LintPolicyRequest
[src]
impl RequestValue for LintPolicyRequest
Auto Trait Implementations
impl Send for LintPolicyRequest
impl Send for LintPolicyRequest
impl Sync for LintPolicyRequest
impl Sync for LintPolicyRequest