* $apigeeService = new Google\Service\Apigee(...); * $keyvaluemaps = $apigeeService->keyvaluemaps; * */ class OrganizationsApisKeyvaluemaps extends \Google\Service\Resource { /** * Creates a key value map in an API proxy. (keyvaluemaps.create) * * @param string $parent Required. Name of the environment in which to create * the key value map. Use the following structure in your request: * `organizations/{org}/apis/{api}` * @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); } /** * Deletes a key value map from an API proxy. (keyvaluemaps.delete) * * @param string $name Required. Name of the key value map. Use the following * structure in your request: * `organizations/{org}/apis/{api}/keyvaluemaps/{keyvaluemap}` * @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(OrganizationsApisKeyvaluemaps::class, 'Google_Service_Apigee_Resource_OrganizationsApisKeyvaluemaps');