* $apigeeService = new Google\Service\Apigee(...); * $keyvaluemaps = $apigeeService->keyvaluemaps; * */ class OrganizationsEnvironmentsKeyvaluemaps extends \Google\Service\Resource { /** * Creates a key value map in an environment. (keyvaluemaps.create) * * @param string $parent Required. The name of the environment in which to * create the key value map. Must be of the form * `organizations/{organization}/environments/{environment}`. * @param GoogleCloudApigeeV1KeyValueMap $postBody * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1KeyValueMap */ public function create($parent, GoogleCloudApigeeV1KeyValueMap $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], GoogleCloudApigeeV1KeyValueMap::class); } /** * Delete a key value map in an environment. (keyvaluemaps.delete) * * @param string $name Required. The name of the key value map. Must be of the * form `organizations/{organization}/environments/{environment}/keyvaluemaps/{k * eyvaluemap}`. * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1KeyValueMap */ public function delete($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], GoogleCloudApigeeV1KeyValueMap::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsKeyvaluemaps::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsKeyvaluemaps');