* $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. Name of the environment in which to create * the key value map. Use the following structure in your request: * `organizations/{org}/environments/{env}` * @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 environment. (keyvaluemaps.delete) * * @param string $name Required. Name of the key value map. Use the following * structure in your request: * `organizations/{org}/environments/{env}/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(OrganizationsEnvironmentsKeyvaluemaps::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsKeyvaluemaps');