Struct google_cloudasset1_beta1::api::GoogleIdentityAccesscontextmanagerV1MethodSelector [−][src]
pub struct GoogleIdentityAccesscontextmanagerV1MethodSelector {
pub method: Option<String>,
pub permission: Option<String>,
}
Expand description
An allowed method or permission of a service specified in ApiOperation.
This type is not used in any activity, and only used as part of another schema.
Fields
method: Option<String>
Value for method
should be a valid method name for the corresponding service_name
in ApiOperation. If *
used as value for method
, then ALL methods and permissions are allowed.
permission: Option<String>
Value for permission
should be a valid Cloud IAM permission for the corresponding service_name
in ApiOperation.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more