Struct gapi_grpc::google::cloud::retail::v2alpha::CreateProductRequest [−][src]
Request message for [CreateProduct][] method.
Fields
parent: String
Required. The parent catalog resource name, such as “projects/*/locations/global/catalogs/default_catalog/branches/default_branch”.
product: Option<Product>
Required. The [Product][google.cloud.retail.v2alpha.Product] to create.
product_id: String
Required. The ID to use for the [Product][google.cloud.retail.v2alpha.Product], which will become the final component of the [Product.name][google.cloud.retail.v2alpha.Product.name].
If the caller does not have permission to create the [Product][google.cloud.retail.v2alpha.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
This field must be unique among all [Product][google.cloud.retail.v2alpha.Product]s with the same [parent][google.cloud.retail.v2alpha.CreateProductRequest.parent]. Otherwise, an ALREADY_EXISTS error is returned.
This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
Trait Implementations
impl Clone for CreateProductRequest
[src][+]
impl Debug for CreateProductRequest
[src][+]
impl Default for CreateProductRequest
[src][+]
impl Message for CreateProductRequest
[src][+]
impl PartialEq<CreateProductRequest> for CreateProductRequest
[src][+]
impl StructuralPartialEq for CreateProductRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateProductRequest
impl Send for CreateProductRequest
impl Sync for CreateProductRequest
impl Unpin for CreateProductRequest
impl UnwindSafe for CreateProductRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,