Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AssetSource.
The source of the asset.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset_content_data
def asset_content_data() -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData
Returns
- (::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
#asset_content_data=
def asset_content_data=(value) -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData
Parameter
- value (::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
Returns
- (::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
#asset_gcs_source
def asset_gcs_source() -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource
Returns
- (::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.
#asset_gcs_source=
def asset_gcs_source=(value) -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource
Parameter
- value (::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.
Returns
- (::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.