class Projects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $clouderrorreportingService = new Google\Service\Clouderrorreporting(...);
 $projects = $clouderrorreportingService->projects;

Methods

deleteEvents(string $projectName, array $optParams = [])

Deletes all error events of a given project. (projects.deleteEvents)

Details

DeleteEventsResponse deleteEvents(string $projectName, array $optParams = [])

Deletes all error events of a given project. (projects.deleteEvents)

Parameters

string $projectName

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectID}/locations/{location}, where {projectID} is the Google Cloud Platform project ID and {location} is a Cloud region. Examples: projects/my-project-123, projects/my- project-123/locations/global. For a list of supported locations, see Supported Regions. global is the default when unspecified.

array $optParams

Optional parameters.

Return Value

DeleteEventsResponse

Exceptions

Exception