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 \ V1beta1Methods
__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 |
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 Examples: For a list of supported locations, see Supported
Regions. |
| Returns | |
|---|---|
| Type | Description |
DeleteEventsRequest |
|