Class: Google::Cloud::VisionAI::V1::UploadAssetRequest

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

Overview

Request message for UploadAsset.

Instance Attribute Summary collapse

Instance Attribute Details

#asset_source::Google::Cloud::VisionAI::V1::AssetSource

Returns The source of the asset.

Returns:



166
167
168
169
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 166

class UploadAssetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. The resource name of the asset to upload. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}.

Returns:

  • (::String)

    Required. The resource name of the asset to upload. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}



166
167
168
169
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 166

class UploadAssetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end