DatalabResourceAccessInput¶
- pydantic model openapi_client.models.datalab_resource_access_input.DatalabResourceAccessInput¶
Datasets, domains and parameters to attach to the datalab. All three lists must be sent on every request, and each one replaces the current value in full, so include everything you want to keep. Inside DatasetAccess, send all of Owner, ReadOnly and ReadOnlyFileLevel - any one you leave out is treated as empty, which removes that category of dataset access from the datalab. Any other field is rejected.
- Fields:
- field dataset_access: Optional[DatasetAccess] = None (alias 'DatasetAccess')¶
- field domain_access: Optional[DomainAccess] = None (alias 'DomainAccess')¶
- field parameter_access: Optional[List[StrictStr]] = None (alias 'ParameterAccess')¶
ParameterKey values the job may read. Create allows at most 25 parameters (JOB-1003).
- 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 DatalabResourceAccessInput 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 DatalabResourceAccessInput from a dict
- Return type:
Optional[Self]