/var/www/flurhymez/vendor/google/apiclient-services/src/Logging/Resource
NameSizeModeActions
BillingAccounts.php24840644editdlrm
BillingAccountsBuckets.php19030644editdlrm
BillingAccountsBucketsViews.php17090644editdlrm
BillingAccountsExclusions.php62160644editdlrm
BillingAccountsLocations.php26430644editdlrm
BillingAccountsLocationsBuckets.php74420644editdlrm
BillingAccountsLocationsBucketsViews.php53380644editdlrm
BillingAccountsLocationsOperations.php36860644editdlrm
BillingAccountsLogs.php41180644editdlrm
BillingAccountsOperations.php16740644editdlrm
BillingAccountsSinks.php102770644editdlrm
Entries.php38970644editdlrm
Exclusions.php61410644editdlrm
Folders.php24280644editdlrm
FoldersExclusions.php61760644editdlrm
FoldersLocations.php26030644editdlrm
FoldersLocationsBuckets.php81830644editdlrm
FoldersLocationsBucketsViews.php58780644editdlrm
FoldersLocationsOperations.php42180644editdlrm
FoldersLogs.php40780644editdlrm
FoldersSinks.php102370644editdlrm
Locations.php25680644editdlrm
LocationsBuckets.php81480644editdlrm
LocationsBucketsViews.php58430644editdlrm
LocationsOperations.php41830644editdlrm
Logs.php40430644editdlrm
MonitoredResourceDescriptors.php22830644editdlrm
Organizations.php43900644editdlrm
OrganizationsExclusions.php62060644editdlrm
OrganizationsLocations.php26330644editdlrm
OrganizationsLocationsBuckets.php82130644editdlrm
OrganizationsLocationsBucketsViews.php59080644editdlrm
OrganizationsLocationsOperations.php42480644editdlrm
OrganizationsLogs.php41080644editdlrm
OrganizationsSinks.php102670644editdlrm
Projects.php24350644editdlrm
ProjectsExclusions.php61810644editdlrm
ProjectsLocations.php26080644editdlrm
ProjectsLocationsBuckets.php81880644editdlrm
ProjectsLocationsBucketsViews.php58830644editdlrm
ProjectsLocationsOperations.php42230644editdlrm
ProjectsLogs.php40830644editdlrm
ProjectsMetrics.php46170644editdlrm
ProjectsSinks.php102420644editdlrm
Sinks.php78360644editdlrm
V2.php43020644editdlrm
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Logging/Resource/ProjectsMetrics.php (4617B)
* $loggingService = new Google\Service\Logging(...); * $metrics = $loggingService->metrics; * */ class ProjectsMetrics extends \Google\Service\Resource { /** * Creates a logs-based metric. (metrics.create) * * @param string $parent Required. The resource name of the project in which to * create the metric: "projects/[PROJECT_ID]" The new metric must be provided in * the request. * @param LogMetric $postBody * @param array $optParams Optional parameters. * @return LogMetric */ public function create($parent, LogMetric $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], LogMetric::class); } /** * Deletes a logs-based metric. (metrics.delete) * * @param string $metricName Required. The resource name of the metric to * delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" * @param array $optParams Optional parameters. * @return LoggingEmpty */ public function delete($metricName, $optParams = []) { $params = ['metricName' => $metricName]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], LoggingEmpty::class); } /** * Gets a logs-based metric. (metrics.get) * * @param string $metricName Required. The resource name of the desired metric: * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" * @param array $optParams Optional parameters. * @return LogMetric */ public function get($metricName, $optParams = []) { $params = ['metricName' => $metricName]; $params = array_merge($params, $optParams); return $this->call('get', [$params], LogMetric::class); } /** * Lists logs-based metrics. (metrics.listProjectsMetrics) * * @param string $parent Required. The name of the project containing the * metrics: "projects/[PROJECT_ID]" * @param array $optParams Optional parameters. * * @opt_param int pageSize Optional. The maximum number of results to return * from this request. Non-positive values are ignored. The presence of * nextPageToken in the response indicates that more results might be available. * @opt_param string pageToken Optional. If present, then retrieve the next * batch of results from the preceding call to this method. pageToken must be * the value of nextPageToken from the previous response. The values of other * method parameters should be identical to those in the previous call. * @return ListLogMetricsResponse */ public function listProjectsMetrics($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListLogMetricsResponse::class); } /** * Creates or updates a logs-based metric. (metrics.update) * * @param string $metricName Required. The resource name of the metric to * update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must * be provided in the request and it's name field must be the same as * [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric * is created. * @param LogMetric $postBody * @param array $optParams Optional parameters. * @return LogMetric */ public function update($metricName, LogMetric $postBody, $optParams = []) { $params = ['metricName' => $metricName, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], LogMetric::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsMetrics::class, 'Google_Service_Logging_Resource_ProjectsMetrics');