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
-
(::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
Note: The following fields are mutually exclusive:
asset_content_data
,asset_gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#asset_content_data=
def asset_content_data=(value) -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData
-
value (::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
Note: The following fields are mutually exclusive:
asset_content_data
,asset_gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData) — The source of the asset is from content bytes.
Note: The following fields are mutually exclusive:
asset_content_data
,asset_gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#asset_gcs_source
def asset_gcs_source() -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource
-
(::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.
Note: The following fields are mutually exclusive:
asset_gcs_source
,asset_content_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#asset_gcs_source=
def asset_gcs_source=(value) -> ::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource
-
value (::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.
Note: The following fields are mutually exclusive:
asset_gcs_source
,asset_content_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource) — The source of the asset is from Cloud Storage.
Note: The following fields are mutually exclusive:
asset_gcs_source
,asset_content_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.