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

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 +40 -1
  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: 20231205
12
+ // Revision: 20240101
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -42,6 +42,14 @@ declare namespace gapi.client {
42
42
  /** Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`. */
43
43
  target?: string;
44
44
  }
45
+ interface ListProfilesResponse {
46
+ /** Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch. */
47
+ nextPageToken?: string;
48
+ /** List of profiles fetched. */
49
+ profiles?: Profile[];
50
+ /** Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried. */
51
+ skippedProfiles?: number;
52
+ }
45
53
  interface Profile {
46
54
  /** Deployment this profile corresponds to. */
47
55
  deployment?: Deployment;
@@ -173,6 +181,37 @@ declare namespace gapi.client {
173
181
  },
174
182
  body: Profile
175
183
  ): Request<Profile>;
184
+ /** Lists profiles which have been collected so far and for which the caller has permission to view. */
185
+ list(request?: {
186
+ /** V1 error format. */
187
+ '$.xgafv'?: string;
188
+ /** OAuth access token. */
189
+ access_token?: string;
190
+ /** Data format for response. */
191
+ alt?: string;
192
+ /** JSONP */
193
+ callback?: string;
194
+ /** Selector specifying which fields to include in a partial response. */
195
+ fields?: string;
196
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
197
+ key?: string;
198
+ /** OAuth 2.0 token for the current user. */
199
+ oauth_token?: string;
200
+ /** The maximum number of items to return. Default page_size is 1000. Max limit is 1000. */
201
+ pageSize?: number;
202
+ /** The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to `ListProfiles` must match the call that provided the page token. */
203
+ pageToken?: string;
204
+ /** Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id} */
205
+ parent: string;
206
+ /** Returns response with indentations and line breaks. */
207
+ prettyPrint?: boolean;
208
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
209
+ quotaUser?: string;
210
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
211
+ upload_protocol?: string;
212
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
213
+ uploadType?: string;
214
+ }): Request<ListProfilesResponse>;
176
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. */
177
216
  patch(request: {
178
217
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudprofiler-v2",
3
- "version": "0.0.20231205",
3
+ "version": "0.0.20240101",
4
4
  "description": "TypeScript typings for Cloud Profiler API v2",
5
5
  "repository": {
6
6
  "type": "git",