* $apigeeService = new Google\Service\Apigee(...); * $addonsConfig = $apigeeService->organizations_environments_addonsConfig; * */ class OrganizationsEnvironmentsAddonsConfig extends \Google\Service\Resource { /** * Updates an add-on enablement status of an environment. * (addonsConfig.setAddonEnablement) * * @param string $name Required. Name of the add-ons config. Must be in the * format of `/organizations/{org}/environments/{env}/addonsConfig` * @param GoogleCloudApigeeV1SetAddonEnablementRequest $postBody * @param array $optParams Optional parameters. * @return GoogleLongrunningOperation * @throws \Google\Service\Exception */ public function setAddonEnablement($name, GoogleCloudApigeeV1SetAddonEnablementRequest $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('setAddonEnablement', [$params], GoogleLongrunningOperation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsAddonsConfig::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsAddonsConfig');