@maxim_mazurok/gapi.client.cloudprofiler-v2 0.0.20240101 → 0.0.20240219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +6 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudprofiler.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20240101
12
+ // Revision: 20240219
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -63,9 +63,11 @@ declare namespace gapi.client {
63
63
  profileBytes?: string;
64
64
  /** Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server. */
65
65
  profileType?: string;
66
+ /** Output only. Start time for the profile. This output is only present in response from the ListProfiles method. */
67
+ startTime?: string;
66
68
  }
67
69
  interface ProfilesResource {
68
- /** CreateProfile creates a new profile resource in the online mode. The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named "google.rpc.retryinfo-bin". */
70
+ /** CreateProfile creates a new profile resource in the online mode. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named "google.rpc.retryinfo-bin". */
69
71
  create(request: {
70
72
  /** V1 error format. */
71
73
  '$.xgafv'?: string;
@@ -123,7 +125,7 @@ declare namespace gapi.client {
123
125
  },
124
126
  body: CreateProfileRequest
125
127
  ): Request<Profile>;
126
- /** CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. */
128
+ /** CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ */
127
129
  createOffline(request: {
128
130
  /** V1 error format. */
129
131
  '$.xgafv'?: string;
@@ -212,7 +214,7 @@ declare namespace gapi.client {
212
214
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
213
215
  uploadType?: string;
214
216
  }): Request<ListProfilesResponse>;
215
- /** UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation. */
217
+ /** UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ */
216
218
  patch(request: {
217
219
  /** V1 error format. */
218
220
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudprofiler-v2",
3
- "version": "0.0.20240101",
3
+ "version": "0.0.20240219",
4
4
  "description": "TypeScript typings for Cloud Profiler API v2",
5
5
  "repository": {
6
6
  "type": "git",