Stackdriver Error Reporting V1beta1 Client - Class DeleteEventsRequest (0.22.6)

Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class DeleteEventsRequest.

Deletes all events in the project.

Generated from protobuf message google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest

Namespace

Google \ Cloud \ ErrorReporting \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_name string

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

getProjectName

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID.

Example: projects/my-project-123.

Returns
Type Description
string

setProjectName

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID.

Example: projects/my-project-123.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
projectName string

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID.

Example: projects/my-project-123. Please see Google\Cloud\ErrorReporting\V1beta1\ErrorStatsServiceClient::projectName() for help formatting this field.

Returns
Type Description
Google\Cloud\ErrorReporting\V1beta1\DeleteEventsRequest