Class: Google::Cloud::VisionAI::V1::AssetSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

The source of the asset.

Defined Under Namespace

Classes: AssetContentData, AssetGcsSource

Instance Attribute Summary collapse

Instance Attribute Details

#asset_content_data::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData

Returns 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.

Returns:

  • (::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.



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 139

class AssetSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The asset source is from Cloud Storage.
  # @!attribute [rw] gcs_uri
  #   @return [::String]
  #     Cloud storage uri.
  class AssetGcsSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The content of the asset.
  # @!attribute [rw] asset_content_data
  #   @return [::String]
  class AssetContentData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#asset_gcs_source::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource

Returns 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.

Returns:

  • (::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.



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 139

class AssetSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The asset source is from Cloud Storage.
  # @!attribute [rw] gcs_uri
  #   @return [::String]
  #     Cloud storage uri.
  class AssetGcsSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The content of the asset.
  # @!attribute [rw] asset_content_data
  #   @return [::String]
  class AssetContentData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end