google.cloud.forseti.common.gcp_type.bucket module

A Bucket Resource.

See: https://cloud.google.com/storage/docs/json_api/v1/

class Bucket(bucket_id, full_name=None, data=None, name=None, display_name=None, parent=None, lifecycle_state='LIFECYCLE_STATE_UNSPECIFIED')[source]

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

Bucket resource.

RESOURCE_NAME_FMT = 'buckets/%s'
_abc_cache = <_weakrefset.WeakSet object>
_abc_negative_cache = <_weakrefset.WeakSet object>
_abc_negative_cache_version = 199
_abc_registry = <_weakrefset.WeakSet object>
class BucketLifecycleState[source]

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

Represents the Bucket’s LifecycleState.