Struct google_cloudresourcemanager1::api::Lien
source · pub struct Lien {
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub origin: Option<String>,
pub parent: Option<String>,
pub reason: Option<String>,
pub restrictions: Option<Vec<String>>,
}
Expand description
A Lien represents an encumbrance on the actions that can be performed on a resource.
§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).
- create liens (request|response)
- delete liens (none)
- get liens (response)
- list liens (none)
Fields§
§create_time: Option<DateTime<Utc>>
The creation time of this Lien.
name: Option<String>
A system-generated unique identifier for this Lien. Example: liens/1234abcd
origin: Option<String>
A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: ‘compute.googleapis.com’
parent: Option<String>
A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: projects/1234
reason: Option<String>
Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: ‘Holds production API key’
restrictions: Option<Vec<String>>
The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: [‘resourcemanager.projects.delete’]