DataPermissionsUpdate¶
- pydantic model openapi_client.models.data_permissions_update.DataPermissionsUpdate¶
Request body for update_data_permissions_on_dataset. Backend requires AuthorizedTags, Columns, and Rows (IPV-1055 if any key is missing). AuthorizedTags must be a JSON array; Columns and Rows must be JSON objects (IPV-1060). Replaces EffectiveTags with AuthorizedTags and updates the Lake Formation data cells filter Columns/Rows for path dfname. Optional Encoding controls decoding of Rows.Expression (default none).
- Fields:
- field authorized_tags: List[StrictStr] [Required] (alias 'AuthorizedTags')¶
Required. Tag IDs (key#value) granted this data filter; fully replaces existing EffectiveTags. Empty array clears grants for tags (diff is computed vs prior EffectiveTags for the async workflow). Group tags must not already have owner/editor/read-only on the dataset; user# tags must not name a user with direct owner/editor/read-only (AUTH-1010).
- field columns: Optional[DataPermissionsUpdateColumns] = None (alias 'Columns')¶
- field rows: Optional[DataPermissionsUpdateRows] = None (alias 'Rows')¶
- field encoding: Optional[StrictStr] = 'none' (alias 'Encoding')¶
Optional. Encoding of Rows.Expression. Defaults to none when omitted. Empty string → IPV-1045. Values other than base64/none → IPV-1045. When base64, Rows.Expression must be valid base64 or GE-1034 is returned.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of DataPermissionsUpdate from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of DataPermissionsUpdate from a dict
- Return type:
Optional[Self]