File: //snap/google-cloud-cli/current/lib/surface/media/asset/assets/delete.yaml
- release_tracks: [ALPHA]
help_text:
brief: Delete a Cloud Media Asset asset.
description: Delete a new Media Asset asset.
examples: |
To delete a new asset type with id my-asset under asset type my-at, run:
$ {command} my-at --asset_type my-at
request:
collection: mediaasset.projects.locations.assetTypes.assets
method: delete
ALPHA:
api_version: v1alpha
arguments:
resource:
help_text: The Cloud Media Asset asset to delete.
spec: !REF googlecloudsdk.command_lib.media.asset.resources:asset
params:
- arg_name: etag
api_field: etag
required: false
help_text: |
The current etag of the asset. If an etag is provided and does not match the current etag of the asset, deletion will be blocked and a FAILED_PRECONDITION error will be returned.
response:
modify_response_hooks:
- googlecloudsdk.command_lib.media.asset.assets.hooks:ProcessOutput