google.cloud.forseti.common.gcp_type.lien module

Lien Resource.

class Lien(parent, name, restrictions, raw_json)[source]

Bases: google.cloud.forseti.common.gcp_type.resource.Resource

Lien Resource.

_abc_cache = <_weakrefset.WeakSet object>
_abc_negative_cache = <_weakrefset.WeakSet object>
_abc_negative_cache_version = 195
_abc_registry = <_weakrefset.WeakSet object>
classmethod from_json(parent, json_string)[source]

Create a lien from a json string.

Parameters:
  • parent (Resource) – resource this lien belongs to.
  • json_string (str) – json string of a lien GCP API response.
Returns:

lien resource.

Return type:

Lien