Stackdriver Error Reporting V1beta1 Client - Class DeleteEventsRequest (0.21.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\ErrorReporting\V1beta1\DeleteEventsRequest