class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

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

Methods

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

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

Details

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

Deletes all error events of a given project. (locations.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