File tree Expand file tree Collapse file tree 8 files changed +22
-24
lines changed
clients/google-api-services-cloudtrace
com/google/api/services/cloudtrace/v1
com/google/api/services/cloudtrace/v2 Expand file tree Collapse file tree 8 files changed +22
-24
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222 <dependency >
2323 <groupId >com.google.apis</groupId >
2424 <artifactId >google-api-services-cloudtrace</artifactId >
25- <version >v1-rev20240816 -2.0.0</version >
25+ <version >v1-rev20250411 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-cloudtrace:v1-rev20240816 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-cloudtrace:v1-rev20250411 -2.0.0'
3939}
4040```
4141
Original file line number Diff line number Diff line change @@ -154,10 +154,8 @@ public Projects projects() {
154154 public class Projects {
155155
156156 /**
157- * Sends new traces to Cloud Trace or updates existing traces. If the ID of a trace that you send
158- * matches that of an existing trace, any fields in the existing trace and its spans are overwritten
159- * by the provided values, and any new fields provided are merged with the existing trace data. If
160- * the ID does not match, a new trace is created.
157+ * Sends trace spans to Cloud Trace. Spans cannot be updated. If the trace ID and span ID already
158+ * exist, an additional copy of the span will be stored.
161159 *
162160 * Create a request for the method "projects.patchTraces".
163161 *
@@ -179,10 +177,8 @@ public class PatchTraces extends CloudTraceRequest<com.google.api.services.cloud
179177 private static final String REST_PATH = "v1/projects/{projectId}/traces" ;
180178
181179 /**
182- * Sends new traces to Cloud Trace or updates existing traces. If the ID of a trace that you send
183- * matches that of an existing trace, any fields in the existing trace and its spans are
184- * overwritten by the provided values, and any new fields provided are merged with the existing
185- * trace data. If the ID does not match, a new trace is created.
180+ * Sends trace spans to Cloud Trace. Spans cannot be updated. If the trace ID and span ID already
181+ * exist, an additional copy of the span will be stored.
186182 *
187183 * Create a request for the method "projects.patchTraces".
188184 *
Original file line number Diff line number Diff line change 88
99 <groupId >com.google.apis</groupId >
1010 <artifactId >google-api-services-cloudtrace</artifactId >
11- <version >v1-rev20240816 -2.0.0</version >
12- <name >Cloud Trace API v1-rev20240816 -2.0.0</name >
11+ <version >v1-rev20250411 -2.0.0</version >
12+ <name >Cloud Trace API v1-rev20250411 -2.0.0</name >
1313 <packaging >jar</packaging >
1414
1515 <inceptionYear >2011</inceptionYear >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222 <dependency >
2323 <groupId >com.google.apis</groupId >
2424 <artifactId >google-api-services-cloudtrace</artifactId >
25- <version >v1-rev20240816 -2.0.0</version >
25+ <version >v1-rev20250411 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-cloudtrace:v1-rev20240816 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-cloudtrace:v1-rev20250411 -2.0.0'
3939}
4040```
4141
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222 <dependency >
2323 <groupId >com.google.apis</groupId >
2424 <artifactId >google-api-services-cloudtrace</artifactId >
25- <version >v2-rev20230511 -2.0.0</version >
25+ <version >v2-rev20250411 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-cloudtrace:v2-rev20230511 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-cloudtrace:v2-rev20250411 -2.0.0'
3939}
4040```
4141
Original file line number Diff line number Diff line change @@ -174,7 +174,8 @@ public Traces traces() {
174174 public class Traces {
175175
176176 /**
177- * Batch writes new spans to new or existing traces. You cannot update existing spans.
177+ * Batch writes new spans to new or existing traces. You cannot update existing spans. If a span ID
178+ * already exists, an additional copy of the span will be stored.
178179 *
179180 * Create a request for the method "traces.batchWrite".
180181 *
@@ -199,7 +200,8 @@ public class BatchWrite extends CloudTraceRequest<com.google.api.services.cloudt
199200 java .util .regex .Pattern .compile ("^projects/[^/]+$" );
200201
201202 /**
202- * Batch writes new spans to new or existing traces. You cannot update existing spans.
203+ * Batch writes new spans to new or existing traces. You cannot update existing spans. If a span
204+ * ID already exists, an additional copy of the span will be stored.
203205 *
204206 * Create a request for the method "traces.batchWrite".
205207 *
@@ -332,7 +334,7 @@ public Spans spans() {
332334 public class Spans {
333335
334336 /**
335- * Creates a new span.
337+ * Creates a new span. If a span ID already exists, an additional copy of the span will be stored.
336338 *
337339 * Create a request for the method "spans.createSpan".
338340 *
@@ -362,7 +364,7 @@ public class CreateSpan extends CloudTraceRequest<com.google.api.services.cloudt
362364 java .util .regex .Pattern .compile ("^projects/[^/]+/traces/[^/]+/spans/[^/]+$" );
363365
364366 /**
365- * Creates a new span.
367+ * Creates a new span. If a span ID already exists, an additional copy of the span will be stored.
366368 *
367369 * Create a request for the method "spans.createSpan".
368370 *
Original file line number Diff line number Diff line change 88
99 <groupId >com.google.apis</groupId >
1010 <artifactId >google-api-services-cloudtrace</artifactId >
11- <version >v2-rev20230511 -2.0.0</version >
12- <name >Cloud Trace API v2-rev20230511 -2.0.0</name >
11+ <version >v2-rev20250411 -2.0.0</version >
12+ <name >Cloud Trace API v2-rev20250411 -2.0.0</name >
1313 <packaging >jar</packaging >
1414
1515 <inceptionYear >2011</inceptionYear >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222 <dependency >
2323 <groupId >com.google.apis</groupId >
2424 <artifactId >google-api-services-cloudtrace</artifactId >
25- <version >v2-rev20230511 -2.0.0</version >
25+ <version >v2-rev20250411 -2.0.0</version >
2626 </dependency >
2727 </dependencies >
2828</project >
@@ -35,7 +35,7 @@ repositories {
3535 mavenCentral()
3636}
3737dependencies {
38- implementation 'com.google.apis:google-api-services-cloudtrace:v2-rev20230511 -2.0.0'
38+ implementation 'com.google.apis:google-api-services-cloudtrace:v2-rev20250411 -2.0.0'
3939}
4040```
4141
You can’t perform that action at this time.
0 commit comments