|
17 | 17 | package com.google.api.services.apigee.v1.model; |
18 | 18 |
|
19 | 19 | /** |
20 | | - * NEXT ID: 9 RuntimeTraceConfig defines the configurations for distributed trace in an environment. |
| 20 | + * NEXT ID: 10 RuntimeTraceConfig defines the configurations for distributed trace in an |
| 21 | + * environment. |
21 | 22 | * |
22 | 23 | * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
23 | 24 | * transmitted over HTTP when working with the Apigee API. For a detailed explanation see: |
@@ -54,11 +55,12 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfig extends com.google.api. |
54 | 55 | private java.lang.String name; |
55 | 56 |
|
56 | 57 | /** |
57 | | - * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration |
58 | | - * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s: |
59 | | - * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: - |
60 | | - * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint` |
61 | | - * refers to a valid project ID |
| 58 | + * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. |
| 59 | + * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed |
| 60 | + * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is |
| 61 | + * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter` |
| 62 | + * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol |
| 63 | + * instead. |
62 | 64 | * The value may be {@code null}. |
63 | 65 | */ |
64 | 66 | @com.google.api.client.util.Key |
@@ -93,6 +95,13 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfig extends com.google.api. |
93 | 95 | @com.google.api.client.util.Key |
94 | 96 | private GoogleCloudApigeeV1RuntimeTraceSamplingConfig samplingConfig; |
95 | 97 |
|
| 98 | + /** |
| 99 | + * Optional. The trace protocol to use. |
| 100 | + * The value may be {@code null}. |
| 101 | + */ |
| 102 | + @com.google.api.client.util.Key |
| 103 | + private java.lang.String traceProtocol; |
| 104 | + |
96 | 105 | /** |
97 | 106 | * Endpoint of the exporter. |
98 | 107 | * @return value or {@code null} for none |
@@ -151,23 +160,25 @@ public GoogleCloudApigeeV1RuntimeTraceConfig setName(java.lang.String name) { |
151 | 160 | } |
152 | 161 |
|
153 | 162 | /** |
154 | | - * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration |
155 | | - * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s: |
156 | | - * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: - |
157 | | - * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint` |
158 | | - * refers to a valid project ID |
| 163 | + * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. |
| 164 | + * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed |
| 165 | + * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is |
| 166 | + * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter` |
| 167 | + * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol |
| 168 | + * instead. |
159 | 169 | * @return value or {@code null} for none |
160 | 170 | */ |
161 | 171 | public java.lang.Boolean getOpenTelemetryProtocolEnabled() { |
162 | 172 | return openTelemetryProtocolEnabled; |
163 | 173 | } |
164 | 174 |
|
165 | 175 | /** |
166 | | - * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration |
167 | | - * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s: |
168 | | - * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: - |
169 | | - * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint` |
170 | | - * refers to a valid project ID |
| 176 | + * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. |
| 177 | + * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed |
| 178 | + * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is |
| 179 | + * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter` |
| 180 | + * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol |
| 181 | + * instead. |
171 | 182 | * @param openTelemetryProtocolEnabled openTelemetryProtocolEnabled or {@code null} for none |
172 | 183 | */ |
173 | 184 | public GoogleCloudApigeeV1RuntimeTraceConfig setOpenTelemetryProtocolEnabled(java.lang.Boolean openTelemetryProtocolEnabled) { |
@@ -245,6 +256,23 @@ public GoogleCloudApigeeV1RuntimeTraceConfig setSamplingConfig(GoogleCloudApigee |
245 | 256 | return this; |
246 | 257 | } |
247 | 258 |
|
| 259 | + /** |
| 260 | + * Optional. The trace protocol to use. |
| 261 | + * @return value or {@code null} for none |
| 262 | + */ |
| 263 | + public java.lang.String getTraceProtocol() { |
| 264 | + return traceProtocol; |
| 265 | + } |
| 266 | + |
| 267 | + /** |
| 268 | + * Optional. The trace protocol to use. |
| 269 | + * @param traceProtocol traceProtocol or {@code null} for none |
| 270 | + */ |
| 271 | + public GoogleCloudApigeeV1RuntimeTraceConfig setTraceProtocol(java.lang.String traceProtocol) { |
| 272 | + this.traceProtocol = traceProtocol; |
| 273 | + return this; |
| 274 | + } |
| 275 | + |
248 | 276 | @Override |
249 | 277 | public GoogleCloudApigeeV1RuntimeTraceConfig set(String fieldName, Object value) { |
250 | 278 | return (GoogleCloudApigeeV1RuntimeTraceConfig) super.set(fieldName, value); |
|
0 commit comments