@maxim_mazurok/gapi.client.cloudprofiler-v2
Advanced tools
Comparing version 0.0.20230424 to 0.0.20230429
269
index.d.ts
@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Cloud Profiler API v2 0.0 */ | ||
// Generated from: https://cloudprofiler.googleapis.com/$discovery/rest?version=v2 | ||
// Revision: 20230424 | ||
// Revision: 20230429 | ||
@@ -28,5 +28,7 @@ /// <reference types="gapi.client" /> | ||
/** Deployment details. */ | ||
deployment?: Deployment; | ||
deployment?: | ||
Deployment; | ||
/** One or more profile types that the agent is capable of providing. */ | ||
profileType?: string[]; | ||
profileType?: | ||
string[]; | ||
} | ||
@@ -40,5 +42,7 @@ interface Deployment { | ||
*/ | ||
labels?: { [P in string]: string }; | ||
labels?: | ||
{ [P in string]: string }; | ||
/** Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`. */ | ||
projectId?: string; | ||
projectId?: | ||
string; | ||
/** | ||
@@ -48,7 +52,9 @@ * 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 | ||
*/ | ||
target?: string; | ||
target?: | ||
string; | ||
} | ||
interface Profile { | ||
/** Deployment this profile corresponds to. */ | ||
deployment?: Deployment; | ||
deployment?: | ||
Deployment; | ||
/** | ||
@@ -59,3 +65,4 @@ * Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the | ||
*/ | ||
duration?: string; | ||
duration?: | ||
string; | ||
/** | ||
@@ -65,9 +72,13 @@ * Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for | ||
*/ | ||
labels?: { [P in string]: string }; | ||
labels?: | ||
{ [P in string]: string }; | ||
/** Output only. Opaque, server-assigned, unique ID for this profile. */ | ||
name?: string; | ||
name?: | ||
string; | ||
/** Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. */ | ||
profileBytes?: string; | ||
profileBytes?: | ||
string; | ||
/** 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. */ | ||
profileType?: string; | ||
profileType?: | ||
string; | ||
} | ||
@@ -83,53 +94,78 @@ interface ProfilesResource { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Parent project to create the profile in. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: CreateProfileRequest; | ||
resource: | ||
CreateProfileRequest; | ||
}): Request<Profile>; | ||
create(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Parent project to create the profile in. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -140,53 +176,78 @@ body: CreateProfileRequest): Request<Profile>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Parent project to create the profile in. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: Profile; | ||
resource: | ||
Profile; | ||
}): Request<Profile>; | ||
createOffline(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Parent project to create the profile in. */ | ||
parent: string; | ||
parent: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -200,21 +261,31 @@ body: Profile): Request<Profile>; | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Output only. Opaque, server-assigned, unique ID for this profile. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** | ||
@@ -224,31 +295,45 @@ * Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in | ||
*/ | ||
updateMask?: string; | ||
updateMask?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
/** Request body */ | ||
resource: Profile; | ||
resource: | ||
Profile; | ||
}): Request<Profile>; | ||
patch(request: { | ||
/** V1 error format. */ | ||
"$.xgafv"?: string; | ||
"$.xgafv"?: | ||
string; | ||
/** OAuth access token. */ | ||
access_token?: string; | ||
access_token?: | ||
string; | ||
/** Data format for response. */ | ||
alt?: string; | ||
alt?: | ||
string; | ||
/** JSONP */ | ||
callback?: string; | ||
callback?: | ||
string; | ||
/** Selector specifying which fields to include in a partial response. */ | ||
fields?: string; | ||
fields?: | ||
string; | ||
/** 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. */ | ||
key?: string; | ||
key?: | ||
string; | ||
/** Output only. Opaque, server-assigned, unique ID for this profile. */ | ||
name: string; | ||
name: | ||
string; | ||
/** OAuth 2.0 token for the current user. */ | ||
oauth_token?: string; | ||
oauth_token?: | ||
string; | ||
/** Returns response with indentations and line breaks. */ | ||
prettyPrint?: boolean; | ||
prettyPrint?: | ||
boolean; | ||
/** 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. */ | ||
quotaUser?: string; | ||
quotaUser?: | ||
string; | ||
/** | ||
@@ -258,7 +343,10 @@ * Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in | ||
*/ | ||
updateMask?: string; | ||
updateMask?: | ||
string; | ||
/** Upload protocol for media (e.g. "raw", "multipart"). */ | ||
upload_protocol?: string; | ||
upload_protocol?: | ||
string; | ||
/** Legacy upload protocol for media (e.g. "media", "multipart"). */ | ||
uploadType?: string; | ||
uploadType?: | ||
string; | ||
}, | ||
@@ -268,3 +356,4 @@ body: Profile): Request<Profile>; | ||
interface ProjectsResource { | ||
profiles: ProfilesResource; | ||
profiles: | ||
ProfilesResource; | ||
} | ||
@@ -271,0 +360,0 @@ |
{ | ||
"name": "@maxim_mazurok/gapi.client.cloudprofiler-v2", | ||
"version": "0.0.20230424", | ||
"version": "0.0.20230429", | ||
"description": "TypeScript typings for Cloud Profiler API v2", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.cloudprofiler-v2 definition tests */ | ||
// Revision: 20230424 | ||
// Revision: 20230429 | ||
@@ -9,0 +9,0 @@ gapi.load('client', async () => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24858
464