blockOnWarnings = $blockOnWarnings; } /** * @return bool */ public function getBlockOnWarnings() { return $this->blockOnWarnings; } /** * Optional. Additional deploy information including the desired initial * percentage rollout. Defaults to the current value saved in the developer * dashboard if unset. * * @param DeployInfo[] $deployInfos */ public function setDeployInfos($deployInfos) { $this->deployInfos = $deployInfos; } /** * @return DeployInfo[] */ public function getDeployInfos() { return $this->deployInfos; } /** * Optional. Use this to control if the item is published immediately on * approval or staged for publishing in the future. Defaults to * `DEFAULT_PUBLISH` if unset. * * Accepted values: PUBLISH_TYPE_UNSPECIFIED, DEFAULT_PUBLISH, STAGED_PUBLISH * * @param self::PUBLISH_TYPE_* $publishType */ public function setPublishType($publishType) { $this->publishType = $publishType; } /** * @return self::PUBLISH_TYPE_* */ public function getPublishType() { return $this->publishType; } /** * Optional. Whether to attempt to skip item review. The API will validate if * the item qualifies and return a validation error if the item requires * review. Defaults to `false` if unset. * * @param bool $skipReview */ public function setSkipReview($skipReview) { $this->skipReview = $skipReview; } /** * @return bool */ public function getSkipReview() { return $this->skipReview; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PublishItemRequest::class, 'Google_Service_Chromewebstore_PublishItemRequest');