autoInstallPolicy = $autoInstallPolicy; } /** * @return AutoInstallPolicy */ public function getAutoInstallPolicy() { return $this->autoInstallPolicy; } /** * The auto-update mode for the product. When autoUpdateMode is used, it * always takes precedence over the user's choice. So when a user makes * changes to the device settings manually, these changes are ignored. * * Accepted values: autoUpdateModeUnspecified, autoUpdateDefault, * autoUpdatePostponed, autoUpdateHighPriority * * @param self::AUTO_UPDATE_MODE_* $autoUpdateMode */ public function setAutoUpdateMode($autoUpdateMode) { $this->autoUpdateMode = $autoUpdateMode; } /** * @return self::AUTO_UPDATE_MODE_* */ public function getAutoUpdateMode() { return $this->autoUpdateMode; } /** * An authentication URL configuration for the authenticator app of an * identity provider. This helps to launch the identity provider's * authenticator app during the authentication happening in a private app * using Android WebView. Authenticator app should already be the default * handler for the authentication url on the device. * * @param EnterpriseAuthenticationAppLinkConfig[] $enterpriseAuthenticationAppLinkConfigs */ public function setEnterpriseAuthenticationAppLinkConfigs($enterpriseAuthenticationAppLinkConfigs) { $this->enterpriseAuthenticationAppLinkConfigs = $enterpriseAuthenticationAppLinkConfigs; } /** * @return EnterpriseAuthenticationAppLinkConfig[] */ public function getEnterpriseAuthenticationAppLinkConfigs() { return $this->enterpriseAuthenticationAppLinkConfigs; } /** * The managed configuration for the product. * * @param ManagedConfiguration $managedConfiguration */ public function setManagedConfiguration(ManagedConfiguration $managedConfiguration) { $this->managedConfiguration = $managedConfiguration; } /** * @return ManagedConfiguration */ public function getManagedConfiguration() { return $this->managedConfiguration; } /** * The ID of the product. For example, "app:com.google.android.gm". * * @param string $productId */ public function setProductId($productId) { $this->productId = $productId; } /** * @return string */ public function getProductId() { return $this->productId; } /** * Grants the device visibility to the specified product release track(s), * identified by trackIds. The list of release tracks of a product can be * obtained by calling Products.Get. * * @param string[] $trackIds */ public function setTrackIds($trackIds) { $this->trackIds = $trackIds; } /** * @return string[] */ public function getTrackIds() { return $this->trackIds; } /** * Deprecated. Use trackIds instead. * * @param string[] $tracks */ public function setTracks($tracks) { $this->tracks = $tracks; } /** * @return string[] */ public function getTracks() { return $this->tracks; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProductPolicy::class, 'Google_Service_AndroidEnterprise_ProductPolicy');