Class Lien
A Lien represents an encumbrance on the actions that can be performed on a resource.
Implements
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v1.Data
Assembly: Google.Apis.CloudResourceManager.v1.dll
Syntax
public class Lien : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
The creation time of this Lien.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
IList<string> |