class Liens extends Resource (View source)

The "liens" collection of methods.

Typical usage is:

 $cloudresourcemanagerService = new Google\Service\CloudResourceManager(...);
 $liens = $cloudresourcemanagerService->liens;

Methods

create(Lien $postBody, array $optParams = [])

Create a Lien which applies to the resource denoted by the parent field.

delete(string $name, array $optParams = [])

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. (liens.delete)

get(string $name, array $optParams = [])

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 (liens.get)

listLiens(array $optParams = [])

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. (liens.listLiens)

Details

Lien create(Lien $postBody, array $optParams = [])

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. (liens.create)

Parameters

Lien $postBody
array $optParams

Optional parameters.

Return Value

Lien

Exceptions

Exception

CloudresourcemanagerEmpty delete(string $name, array $optParams = [])

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. (liens.delete)

Parameters

string $name

Required. The name/identifier of the Lien to delete.

array $optParams

Optional parameters.

Return Value

CloudresourcemanagerEmpty

Exceptions

Exception

Lien get(string $name, array $optParams = [])

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 (liens.get)

Parameters

string $name

Required. The name/identifier of the Lien.

array $optParams

Optional parameters.

Return Value

Lien

Exceptions

Exception

ListLiensResponse listLiens(array $optParams = [])

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. (liens.listLiens)

Parameters

array $optParams

Optional parameters.

Return Value

ListLiensResponse

Exceptions

Exception