Class: Google::Cloud::VisionAI::V1::CreateAssetRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::CreateAssetRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Request message for CreateAssetRequest.
Instance Attribute Summary collapse
-
#asset ⇒ ::Google::Cloud::VisionAI::V1::Asset
Required.
-
#asset_id ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#asset ⇒ ::Google::Cloud::VisionAI::V1::Asset
Returns Required. The asset to create.
42 43 44 45 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 42 class CreateAssetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#asset_id ⇒ ::String
Returns Optional. The ID to use for the asset, which will become the final component of the asset's resource name if user choose to specify. Otherwise, asset id will be generated by system.
This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
42 43 44 45 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 42 class CreateAssetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource where this asset will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
.
42 43 44 45 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 42 class CreateAssetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |