Class LiensResource
The "liens" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class LiensResource
Constructors
LiensResource(IClientService)
Constructs a new resource.
Declaration
public LiensResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Lien)
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.
Declaration
public virtual LiensResource.CreateRequest Create(Lien body)
Parameters
Type | Name | Description |
---|---|---|
Lien | body | The body of the request. |
Returns
Type | Description |
---|---|
LiensResource.CreateRequest |
Delete(string)
Delete a Lien by name
. Callers of this method will require permission on the parent
resource. For
example, a Lien with a parent
of projects/1234
requires permission
resourcemanager.projects.updateLiens
.
Declaration
public virtual LiensResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name/identifier of the Lien to delete. |
Returns
Type | Description |
---|---|
LiensResource.DeleteRequest |
Get(string)
Retrieve a Lien by name
. Callers of this method will require permission on the parent
resource. For
example, a Lien with a parent
of projects/1234
requires permission resourcemanager.projects.get
Declaration
public virtual LiensResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name/identifier of the Lien. |
Returns
Type | Description |
---|---|
LiensResource.GetRequest |
List()
List all Liens applied to the parent
resource. Callers of this method will require permission on the
parent
resource. For example, a Lien with a parent
of projects/1234
requires permission
resourcemanager.projects.get
.
Declaration
public virtual LiensResource.ListRequest List()
Returns
Type | Description |
---|---|
LiensResource.ListRequest |