class ReportErrorEventRequest extends Message

A request for reporting an individual error event.

Protobuf type Google\Devtools\Clouderrorreporting\V1beta1\ReportErrorEventRequest

Methods

__construct()

No description

string
getProjectName()

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID.

setProjectName(string $var)

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID.

getEvent()

[Required] The error event to be reported.

setEvent(ReportedErrorEvent $var)

[Required] The error event to be reported.

Details

at line 34
__construct()

at line 48
string getProjectName()

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID.

Example: projects/my-project-123.

Generated from protobuf field string project_name = 1;

Return Value

string

at line 62
setProjectName(string $var)

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID.

Example: projects/my-project-123.

Generated from protobuf field string project_name = 1;

Parameters

string $var

at line 74
ReportedErrorEvent getEvent()

[Required] The error event to be reported.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;

Return Value

ReportedErrorEvent

at line 85
setEvent(ReportedErrorEvent $var)

[Required] The error event to be reported.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;

Parameters

ReportedErrorEvent $var