Class Zone (1.10.0rc0)

Zone(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A zone represents a logical group of related assets within a lake. A zone can be used to map to organizational structure or represent stages of data readiness from raw to curated. It provides managing behavior that is shared or inherited by all contained assets.

Attributes

NameDescription
name str
Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
display_name str
Optional. User friendly display name.
uid str
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the zone was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the zone was last updated.
labels MutableMapping[str, str]
Optional. User defined labels for the zone.
description str
Optional. Description of the zone.
state google.cloud.dataplex_v1.types.State
Output only. Current state of the zone.
type_ google.cloud.dataplex_v1.types.Zone.Type
Required. Immutable. The type of the zone.
discovery_spec google.cloud.dataplex_v1.types.Zone.DiscoverySpec
Optional. Specification of the discovery feature applied to data in this zone.
resource_spec google.cloud.dataplex_v1.types.Zone.ResourceSpec
Required. Specification of the resources that are referenced by the assets within this zone.
asset_status google.cloud.dataplex_v1.types.AssetStatus
Output only. Aggregated status of the underlying assets of the zone.

Classes

DiscoverySpec

DiscoverySpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings to manage the metadata discovery and publishing in a zone.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ResourceSpec

ResourceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for resources attached as assets within a zone.

Type

Type(value)

Type of zone.

Values: TYPE_UNSPECIFIED (0): Zone type not specified. RAW (1): A zone that contains data that needs further processing before it is considered generally ready for consumption and analytics workloads. CURATED (2): A zone that contains data that is considered to be ready for broader consumption and analytics workloads. Curated structured data stored in Cloud Storage must conform to certain file formats (parquet, avro and orc) and organized in a hive-compatible directory layout.