* $alertcenterService = new Google\Service\AlertCenter(...); * $v1beta1 = $alertcenterService->v1beta1; * */ class V1beta1 extends \Google\Service\Resource { /** * Returns customer-level settings. (v1beta1.getSettings) * * @param array $optParams Optional parameters. * * @opt_param string customerId Optional. The unique identifier of the Google * Workspace organization account of the customer the alert settings are * associated with. Inferred from the caller identity if not provided. * @return Settings */ public function getSettings($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('getSettings', [$params], Settings::class); } /** * Updates the customer-level settings. (v1beta1.updateSettings) * * @param Settings $postBody * @param array $optParams Optional parameters. * * @opt_param string customerId Optional. The unique identifier of the Google * Workspace organization account of the customer the alert settings are * associated with. Inferred from the caller identity if not provided. * @return Settings */ public function updateSettings(Settings $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updateSettings', [$params], Settings::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(V1beta1::class, 'Google_Service_AlertCenter_Resource_V1beta1');