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

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

The request message for ImportAssets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assets_gcs_uri

def assets_gcs_uri() -> ::String
Returns
  • (::String) —

    The file contains all assets information to be imported.

    • The file is in JSONL format.
    • Each line corresponding to one asset.
    • Each line will be converted into InputImageAsset proto.

#assets_gcs_uri=

def assets_gcs_uri=(value) -> ::String
Parameter
  • value (::String) —

    The file contains all assets information to be imported.

    • The file is in JSONL format.
    • Each line corresponding to one asset.
    • Each line will be converted into InputImageAsset proto.
Returns
  • (::String) —

    The file contains all assets information to be imported.

    • The file is in JSONL format.
    • Each line corresponding to one asset.
    • Each line will be converted into InputImageAsset proto.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent corpus resource where the assets will be imported. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent corpus resource where the assets will be imported. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
Returns
  • (::String) — Required. The parent corpus resource where the assets will be imported. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}