Vision AI V1 API - Class Google::Cloud::VisionAI::V1::UploadAssetRequest (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UploadAssetRequest.

Request message for UploadAsset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset_source

def asset_source() -> ::Google::Cloud::VisionAI::V1::AssetSource
Returns

#asset_source=

def asset_source=(value) -> ::Google::Cloud::VisionAI::V1::AssetSource
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the asset to upload. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}