google_api_cloud_resource_manager v0.7.0 GoogleApi.CloudResourceManager.V1.Model.Lien View Source

A Lien represents an encumbrance on the actions that can be performed on a resource.

Attributes

  • createTime (DateTime.t): The creation time of this Lien. Defaults to nil.
  • name (String.t): A system-generated unique identifier for this Lien.

Example: liens/1234abcd Defaults to nil.

  • origin (String.t): 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' Defaults to nil.

  • parent (String.t): 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 Defaults to nil.

  • reason (String.t): Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters.

Example: 'Holds production API key' Defaults to nil.

  • restrictions (list(String.t)): 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'] Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudResourceManager.V1.Model.Lien{
  createTime: DateTime.t(),
  name: String.t(),
  origin: String.t(),
  parent: String.t(),
  reason: String.t(),
  restrictions: [String.t()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.