pub struct UpdateOneTimeProductRequest {
pub allow_missing: Option<bool>,
pub latency_tolerance: Option<String>,
pub one_time_product: Option<OneTimeProduct>,
pub regions_version: Option<RegionsVersion>,
pub update_mask: Option<FieldMask>,
}Expand description
Request message for UpdateOneTimeProduct.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_missing: Option<bool>Optional. If set to true, and the one-time product with the given package_name and product_id doesn’t exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.
latency_tolerance: Option<String>Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.
one_time_product: Option<OneTimeProduct>Required. The one-time product to upsert.
regions_version: Option<RegionsVersion>Required. The version of the available regions being used for the one-time product.
update_mask: Option<FieldMask>Required. The list of fields to be updated.
Trait Implementations§
Source§impl Clone for UpdateOneTimeProductRequest
impl Clone for UpdateOneTimeProductRequest
Source§fn clone(&self) -> UpdateOneTimeProductRequest
fn clone(&self) -> UpdateOneTimeProductRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateOneTimeProductRequest
impl Debug for UpdateOneTimeProductRequest
Source§impl Default for UpdateOneTimeProductRequest
impl Default for UpdateOneTimeProductRequest
Source§fn default() -> UpdateOneTimeProductRequest
fn default() -> UpdateOneTimeProductRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOneTimeProductRequest
impl<'de> Deserialize<'de> for UpdateOneTimeProductRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for UpdateOneTimeProductRequest
Auto Trait Implementations§
impl Freeze for UpdateOneTimeProductRequest
impl RefUnwindSafe for UpdateOneTimeProductRequest
impl Send for UpdateOneTimeProductRequest
impl Sync for UpdateOneTimeProductRequest
impl Unpin for UpdateOneTimeProductRequest
impl UnwindSafe for UpdateOneTimeProductRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more