Class Lien
A Lien represents an encumbrance on the actions that can be performed on a resource.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3.Data
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class Lien : IDirectResponseSchema
Properties
CreateTime
The creation time of this Lien.
Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
A system-generated unique identifier for this Lien. Example: liens/1234abcd
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Origin
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'
Declaration
[JsonProperty("origin")]
public virtual string Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Parent
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
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Reason
Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'
Declaration
[JsonProperty("reason")]
public virtual string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Restrictions
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']
Declaration
[JsonProperty("restrictions")]
public virtual IList<string> Restrictions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |