Struct google_vision1::api::ProductSet
source · pub struct ProductSet {
pub display_name: Option<String>,
pub index_error: Option<Status>,
pub index_time: Option<DateTime<Utc>>,
pub name: Option<String>,
}
Expand description
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations product sets create projects (request|response)
- locations product sets get projects (response)
- locations product sets patch projects (request|response)
Fields§
§display_name: Option<String>
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
index_error: Option<Status>
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
index_time: Option<DateTime<Utc>>
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value “1970-01-01T00:00:00Z”. This field is ignored when creating a ProductSet.
name: Option<String>
The resource name of the ProductSet. Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID
. This field is ignored when creating a ProductSet.
Trait Implementations§
source§impl Clone for ProductSet
impl Clone for ProductSet
source§fn clone(&self) -> ProductSet
fn clone(&self) -> ProductSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more