* $apigeeService = new Google\Service\Apigee(...); * $securityStats = $apigeeService->organizations_environments_securityStats; * */ class OrganizationsEnvironmentsSecurityStats extends \Google\Service\Resource { /** * Retrieve security statistics as tabular rows. * (securityStats.queryTabularStats) * * @param string $orgenv Required. Should be of the form * organizations//environments/. * @param GoogleCloudApigeeV1QueryTabularStatsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1QueryTabularStatsResponse * @throws \Google\Service\Exception */ public function queryTabularStats($orgenv, GoogleCloudApigeeV1QueryTabularStatsRequest $postBody, $optParams = []) { $params = ['orgenv' => $orgenv, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('queryTabularStats', [$params], GoogleCloudApigeeV1QueryTabularStatsResponse::class); } /** * Retrieve security statistics as a collection of time series. * (securityStats.queryTimeSeriesStats) * * @param string $orgenv Required. Should be of the form * organizations//environments/. * @param GoogleCloudApigeeV1QueryTimeSeriesStatsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1QueryTimeSeriesStatsResponse * @throws \Google\Service\Exception */ public function queryTimeSeriesStats($orgenv, GoogleCloudApigeeV1QueryTimeSeriesStatsRequest $postBody, $optParams = []) { $params = ['orgenv' => $orgenv, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('queryTimeSeriesStats', [$params], GoogleCloudApigeeV1QueryTimeSeriesStatsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsSecurityStats::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsSecurityStats');