ReferenceImageArgs class
The set of arguments for ReferenceImage. The set of arguments for ReferenceImage.
Constructors
-
ReferenceImageArgs({Input<
List< ? boundingPolys, Input<BoundingPoly> >String> ? location, Input<String> ? name, required Input<String> productId, Input<String> ? project, Input<String> ? referenceImageId, required Input<String> uri}) -
Creates a new ReferenceImageArgs.
boundingPolysOptional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).locationOptional.nameThe resource name of the reference image. Format is:projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID. This field is ignored when creating a reference image.productIdRequired.projectOptional.referenceImageIdA user-supplied resource id for the ReferenceImage to be added. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character/.uriThe Google Cloud Storage URI of the reference image. The URI must start withgs://.const -
ReferenceImageArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
boundingPolys
→ Input<
List< ?BoundingPoly> > -
Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
The resource name of the reference image. Format is:
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID. This field is ignored when creating a reference image.final -
productId
→ Input<
String> -
final
-
project
→ Input<
String> ? -
final
-
referenceImageId
→ Input<
String> ? -
A user-supplied resource id for the ReferenceImage to be added. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character
/.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> -
The Google Cloud Storage URI of the reference image. The URI must start with
gs://.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited