Stackdriver Error Reporting V1beta1 Client - Class DeleteEventsRequest (0.22.7)

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} 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.

getProjectName

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.

Returns
Type Description
string

setProjectName

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.

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} 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. Please see Google\Cloud\ErrorReporting\V1beta1\ErrorStatsServiceClient::projectName() for help formatting this field.

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