# Cloud Trace V1 API - Class Google::Cloud::Trace::V1::PatchTracesRequest (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Cloud Trace V1 API class Google::Cloud::Trace::V1::PatchTracesRequest.

The request message for the `PatchTraces` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- Required. ID of the Cloud project where the trace data is stored.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. ID of the Cloud project where the trace data is stored.
**Returns**

- (::String) --- Required. ID of the Cloud project where the trace data is stored.

### #traces

    def traces() -> ::Google::Cloud::Trace::V1::Traces

**Returns**

- ([::Google::Cloud::Trace::V1::Traces](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v1/latest/Google-Cloud-Trace-V1-Traces)) --- Required. The body of the message.

### #traces=

    def traces=(value) -> ::Google::Cloud::Trace::V1::Traces

**Parameter**

- **value** ([::Google::Cloud::Trace::V1::Traces](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v1/latest/Google-Cloud-Trace-V1-Traces)) --- Required. The body of the message.
**Returns**

- ([::Google::Cloud::Trace::V1::Traces](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v1/latest/Google-Cloud-Trace-V1-Traces)) --- Required. The body of the message.