Class DataProduct (2.20.0)

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

A data product is a curated collection of data assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner.

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

Attributes

Name Description
name str
Identifier. Resource name of the data product. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}.
uid str
Output only. System generated unique ID for the data product. This ID will be different if the data product is deleted and re-created with the same name.
display_name str
Required. User-friendly display name of the data product.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the data product was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the data product was last updated.
etag str
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels MutableMapping[str, str]
Optional. User-defined labels for the data product. Example: :: { "environment": "production", "billing": "marketing-department" }
description str
Optional. Description of the data product.
icon bytes
Optional. Base64 encoded image representing the data product. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
owner_emails MutableSequence[str]
Required. Emails of the data product owners.
asset_count int
Output only. Number of data assets associated with this data product.
access_groups MutableMapping[str, google.cloud.dataplex_v1.types.DataProduct.AccessGroup]
Optional. Data product access groups by access group id as key. If data product is used only for packaging data assets, then access groups may be empty. However, if a data product is used for sharing data assets, then at least one access group must be specified. Example: :: { "analyst": { "id": "analyst", "displayName": "Analyst", "description": "Access group for analysts", "principal": { "googleGroup": "analysts@example.com" } } }
access_approval_config google.cloud.dataplex_v1.types.DataProduct.AccessApprovalConfig
Optional. Configuration for access approval for the data product. This field is a member of oneof_ _access_approval_config.

Classes

AccessApprovalConfig

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

Configuration for access approval for the data product.

AccessGroup

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

Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets.

AccessGroupsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

Principal

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