Class: Google::Cloud::VisionAI::V1::Asset
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::Asset
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
An asset is a resource in corpus. It represents a media object inside corpus, contains metadata and another resource annotation. Different feature could be applied to the asset to generate annotations. User could specified annotation related to the target asset.
Instance Attribute Summary collapse
-
#asset_gcs_source ⇒ ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource
readonly
Output only.
-
#name ⇒ ::String
Resource name of the asset.
-
#ttl ⇒ ::Google::Protobuf::Duration
The duration for which all media assets, associated metadata, and search documents can exist.
Instance Attribute Details
#asset_gcs_source ⇒ ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource (readonly)
Returns Output only. The original cloud storage source uri that is associated with this asset.
231 232 233 234 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 231 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Resource name of the asset.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}.
231 232 233 234 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 231 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ttl ⇒ ::Google::Protobuf::Duration
Returns The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource.
231 232 233 234 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 231 class Asset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |