# Error Reporting V1beta1 API - Class Google::Cloud::ErrorReporting::V1beta1::ReportErrorEventRequest (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.1 0.14.0 0.13.1 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.5 Reference documentation and code samples for the Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::ReportErrorEventRequest.

A request for reporting an individual error event.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #event

    def event() -> ::Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent

**Returns**

- ([::Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-error_reporting-v1beta1/latest/Google-Cloud-ErrorReporting-V1beta1-ReportedErrorEvent)) --- Required. The error event to be reported.

### #event=

    def event=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent

**Parameter**

- **value** ([::Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-error_reporting-v1beta1/latest/Google-Cloud-ErrorReporting-V1beta1-ReportedErrorEvent)) --- Required. The error event to be reported.
**Returns**

- ([::Google::Cloud::ErrorReporting::V1beta1::ReportedErrorEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-error_reporting-v1beta1/latest/Google-Cloud-ErrorReporting-V1beta1-ReportedErrorEvent)) --- Required. The error event to be reported.

### #project_name

    def project_name() -> ::String

**Returns**

- (::String) --- Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectId}`, where `{projectId}` is the [Google Cloud Platform project
  ID](https://support.google.com/cloud/answer/6158840).


  Example: // `projects/my-project-123`.

### #project_name=

    def project_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectId}`, where `{projectId}` is the [Google Cloud Platform project
  ID](https://support.google.com/cloud/answer/6158840).


  Example: // `projects/my-project-123`.
**Returns**

- (::String) --- Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectId}`, where `{projectId}` is the [Google Cloud Platform project
  ID](https://support.google.com/cloud/answer/6158840).


  Example: // `projects/my-project-123`.