DataPermissionsUpdateColumns

pydantic model openapi_client.models.data_permissions_update_columns.DataPermissionsUpdateColumns

Required object. Applied to Lake Formation update_data_cells_filter. Must include Condition and Expression. Update does not enum-check Condition or validate column names against DatasetSchema before calling LF (unlike create); use the documented enum values.

Fields:
field condition: Optional[StrictStr] = None (alias 'Condition')

How Expression is applied. include / exclude use Expression as column names; all ignores Expression and uses every column from DatasetSchema.

field expression: Optional[List[StrictStr]] = None (alias 'Expression')

Column names when Condition is include or exclude. Ignored when Condition is all (full schema used). Prefer names that exist on the dataset schema.

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 DataPermissionsUpdateColumns 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 DataPermissionsUpdateColumns from a dict

Return type:

Optional[Self]