* $apigeeService = new Google\Service\Apigee(...); * $securityIncidents = $apigeeService->organizations_environments_securityIncidents; * */ class OrganizationsEnvironmentsSecurityIncidents extends \Google\Service\Resource { /** * GetSecurityIncident gets the specified security incident. Returns NOT_FOUND * if security incident is not present for the specified organization and * environment. (securityIncidents.get) * * @param string $name Required. Security incident in the following format: `org * anizations/{org}/environments/{environment}/securityIncidents/{incident}'. * Example: organizations/testOrg/environments/testEnv/securityIncidents/1234-45 * 67-890-111 * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1SecurityIncident */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], GoogleCloudApigeeV1SecurityIncident::class); } /** * ListSecurityIncidents lists all the security incident associated with the * environment. * (securityIncidents.listOrganizationsEnvironmentsSecurityIncidents) * * @param string $parent Required. For a specific organization, list of all the * security incidents. Format: `organizations/{org}/environments/{environment}` * @param array $optParams Optional parameters. * * @opt_param string filter The filter expression to be used to get the list of * security incidents, where filtering can be done on API Proxies. Example: * filter = "api_proxy = /", "first_detected_time >", "last_detected_time <" * @opt_param int pageSize The maximum number of incidents to return. The * service may return fewer than this value. If unspecified, at most 50 * incidents will be returned. * @opt_param string pageToken A page token, received from a previous * `ListSecurityIncident` call. Provide this to retrieve the subsequent page. * @return GoogleCloudApigeeV1ListSecurityIncidentsResponse */ public function listOrganizationsEnvironmentsSecurityIncidents($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudApigeeV1ListSecurityIncidentsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsSecurityIncidents::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsSecurityIncidents');