dataset resource Command Group¤
List, inspect or delete dataset file resources.
File resources are identified by their paths and project IDs.
Warning
This command group is deprecated and will be removed with the next major release. Please use the project file command group instead.
dataset resource list¤
List available file resources.
Outputs a table or a list of file resources.
Options
--raw Outputs raw JSON.
--id-only Lists only resource IDs and no other metadata. This
is useful for piping the IDs into other commands.
--filter <TEXT TEXT>... Filter file resources based on metadata. First
parameter CHOICE can be one of ['project',
'regex']. The second parameter is based on CHOICE,
e.g. a project ID or a regular expression string.
dataset resource delete¤
Delete file resources.
There are three selection mechanisms: with specific IDs - only those specified resources will be deleted; by using --filter - resources based on the filter type and value will be deleted; by using --all, which will delete all resources.
Options
--force Delete resource even if in use by a task.
-a, --all Delete all resources. This is a dangerous option,
so use it with care.
--filter <TEXT TEXT>... Filter file resources based on metadata. First
parameter CHOICE can be one of ['project',
'regex']. The second parameter is based on CHOICE,
e.g. a project ID or a regular expression string.
dataset resource inspect¤
Display all metadata of a file resource.
dataset resource usage¤
Display all usage data of a file resource.