LienArgs

data class LienArgs(val createTime: Output<String>? = null, val name: Output<String>? = null, val origin: Output<String>? = null, val parent: Output<String>? = null, val reason: Output<String>? = null, val restrictions: Output<List<String>>? = null) : ConvertibleToJava<LienArgs>

Create a Lien which applies to the resource denoted by the parent field. Callers of this method will require permission on the parent resource. For example, applying to projects/1234 requires permission resourcemanager.projects.updateLiens. NOTE: Some resources may limit the number of Liens which may be applied.

Constructors

Link copied to clipboard
fun LienArgs(createTime: Output<String>? = null, name: Output<String>? = null, origin: Output<String>? = null, parent: Output<String>? = null, reason: Output<String>? = null, restrictions: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LienArgs

Properties

Link copied to clipboard
val createTime: Output<String>? = null

The creation time of this Lien.

Link copied to clipboard
val name: Output<String>? = null

A system-generated unique identifier for this Lien. Example: liens/1234abcd

Link copied to clipboard
val origin: Output<String>? = null

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'

Link copied to clipboard
val parent: Output<String>? = null

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

Link copied to clipboard
val reason: Output<String>? = null

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

Link copied to clipboard
val restrictions: Output<List<String>>? = null

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'