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

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

Request message for UpdateAsset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset

def asset() -> ::Google::Cloud::VisionAI::V1::Asset
Returns
  • (::Google::Cloud::VisionAI::V1::Asset) — Required. The asset to update.

    The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

#asset=

def asset=(value) -> ::Google::Cloud::VisionAI::V1::Asset
Parameter
  • value (::Google::Cloud::VisionAI::V1::Asset) — Required. The asset to update.

    The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

Returns
  • (::Google::Cloud::VisionAI::V1::Asset) — Required. The asset to update.

    The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns