allowMissing = $allowMissing; } /** * @return bool */ public function getAllowMissing() { return $this->allowMissing; } /** * Optional. The latency tolerance for the propagation of this product upsert. * Defaults to latency-sensitive. * * Accepted values: PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED, * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE, * PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT * * @param self::LATENCY_TOLERANCE_* $latencyTolerance */ public function setLatencyTolerance($latencyTolerance) { $this->latencyTolerance = $latencyTolerance; } /** * @return self::LATENCY_TOLERANCE_* */ public function getLatencyTolerance() { return $this->latencyTolerance; } /** * Required. The one-time product to upsert. * * @param OneTimeProduct $oneTimeProduct */ public function setOneTimeProduct(OneTimeProduct $oneTimeProduct) { $this->oneTimeProduct = $oneTimeProduct; } /** * @return OneTimeProduct */ public function getOneTimeProduct() { return $this->oneTimeProduct; } /** * Required. The version of the available regions being used for the one-time * product. * * @param RegionsVersion $regionsVersion */ public function setRegionsVersion(RegionsVersion $regionsVersion) { $this->regionsVersion = $regionsVersion; } /** * @return RegionsVersion */ public function getRegionsVersion() { return $this->regionsVersion; } /** * Required. The list of fields to be updated. * * @param string $updateMask */ public function setUpdateMask($updateMask) { $this->updateMask = $updateMask; } /** * @return string */ public function getUpdateMask() { return $this->updateMask; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UpdateOneTimeProductRequest::class, 'Google_Service_AndroidPublisher_UpdateOneTimeProductRequest');