Skip to content

Commit 25eedc8

Browse files
1 parent 709dbef commit 25eedc8

File tree

4 files changed

+27
-13
lines changed

4 files changed

+27
-13
lines changed

clients/google-api-services-cloudprofiler/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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-cloudprofiler</artifactId>
25-
<version>v2-rev20240101-2.0.0</version>
25+
<version>v2-rev20240122-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-cloudprofiler:v2-rev20240101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudprofiler:v2-rev20240122-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudprofiler/v2/2.0.0/com/google/api/services/cloudprofiler/v2/CloudProfiler.java

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ public Profiles profiles() {
174174
public class Profiles {
175175

176176
/**
177-
* CreateProfile creates a new profile resource in the online mode. The server ensures that the new
177+
* CreateProfile creates a new profile resource in the online mode. _Direct use of this API is
178+
* discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs
179+
* /about-profiler#profiling_agent) instead for profile collection._ The server ensures that the new
178180
* profiles are created at a constant rate per deployment, so the creation request may hang for some
179181
* time until the next profile session is available. The request may fail with ABORTED error if the
180182
* creation is not available within ~1m, the response will indicate the duration of the backoff the
@@ -206,7 +208,9 @@ public class Create extends CloudProfilerRequest<com.google.api.services.cloudpr
206208
java.util.regex.Pattern.compile("^projects/[^/]+$");
207209

208210
/**
209-
* CreateProfile creates a new profile resource in the online mode. The server ensures that the
211+
* CreateProfile creates a new profile resource in the online mode. _Direct use of this API is
212+
* discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs
213+
* /about-profiler#profiling_agent) instead for profile collection._ The server ensures that the
210214
* new profiles are created at a constant rate per deployment, so the creation request may hang
211215
* for some time until the next profile session is available. The request may fail with ABORTED
212216
* error if the creation is not available within ~1m, the response will indicate the duration of
@@ -320,7 +324,9 @@ public Create set(String parameterName, Object value) {
320324
}
321325
/**
322326
* CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the
323-
* profile to create along with the profile bytes, the server records it.
327+
* profile to create along with the profile bytes, the server records it. _Direct use of this API is
328+
* discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs
329+
* /about-profiler#profiling_agent) instead for profile collection._
324330
*
325331
* Create a request for the method "profiles.createOffline".
326332
*
@@ -346,7 +352,10 @@ public class CreateOffline extends CloudProfilerRequest<com.google.api.services.
346352

347353
/**
348354
* CreateOfflineProfile creates a new profile resource in the offline mode. The client provides
349-
* the profile to create along with the profile bytes, the server records it.
355+
* the profile to create along with the profile bytes, the server records it. _Direct use of this
356+
* API is discouraged, please use a [supported profiler
357+
* agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for
358+
* profile collection._
350359
*
351360
* Create a request for the method "profiles.createOffline".
352361
*
@@ -640,7 +649,9 @@ public List set(String parameterName, Object value) {
640649
/**
641650
* UpdateProfile updates the profile bytes and labels on the profile resource created in the online
642651
* mode. Updating the bytes for profiles created in the offline mode is currently not supported: the
643-
* profile content must be provided at the time of the profile creation.
652+
* profile content must be provided at the time of the profile creation. _Direct use of this API is
653+
* discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs
654+
* /about-profiler#profiling_agent) instead for profile collection._
644655
*
645656
* Create a request for the method "profiles.patch".
646657
*
@@ -667,7 +678,10 @@ public class Patch extends CloudProfilerRequest<com.google.api.services.cloudpro
667678
/**
668679
* UpdateProfile updates the profile bytes and labels on the profile resource created in the
669680
* online mode. Updating the bytes for profiles created in the offline mode is currently not
670-
* supported: the profile content must be provided at the time of the profile creation.
681+
* supported: the profile content must be provided at the time of the profile creation. _Direct
682+
* use of this API is discouraged, please use a [supported profiler
683+
* agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for
684+
* profile collection._
671685
*
672686
* Create a request for the method "profiles.patch".
673687
*

clients/google-api-services-cloudprofiler/v2/2.0.0/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-cloudprofiler</artifactId>
11-
<version>v2-rev20240101-2.0.0</version>
12-
<name>Cloud Profiler API v2-rev20240101-2.0.0</name>
11+
<version>v2-rev20240122-2.0.0</version>
12+
<name>Cloud Profiler API v2-rev20240122-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -91,7 +91,7 @@
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
9393
<link>https://googleapis.dev/java/google-http-client/1.43.3/</link>
94-
<link>https://googleapis.dev/java/google-oauth-client/1.34.1/</link>
94+
<link>https://googleapis.dev/java/google-oauth-client/1.35.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.2.0/</link>
9696
</links>
9797
</configuration>

clients/google-api-services-cloudprofiler/v2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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-cloudprofiler</artifactId>
25-
<version>v2-rev20240101-2.0.0</version>
25+
<version>v2-rev20240122-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-cloudprofiler:v2-rev20240101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudprofiler:v2-rev20240122-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)