Show / Hide Table of Contents

Class LiensResource

The "liens" collection of methods.

Inheritance
object
LiensResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudResourceManager.v1
Assembly: Google.Apis.CloudResourceManager.v1.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
In this article
Back to top Generated by DocFX