From a9f4a0a980fa0a5fbbfd21c0ae3235d104101f51 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 27 Feb 2024 07:08:30 +0000 Subject: [PATCH] feat(cloudprofiler): update the api #### cloudprofiler:v2 The following keys were added: - schemas.Profile.properties.startTime (Total Keys: 3) --- docs/dyn/cloudprofiler_v2.projects.profiles.html | 6 ++++++ .../discovery_cache/documents/cloudprofiler.v2.json | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/dyn/cloudprofiler_v2.projects.profiles.html b/docs/dyn/cloudprofiler_v2.projects.profiles.html index 1cdaa1be1f..77445e51bd 100644 --- a/docs/dyn/cloudprofiler_v2.projects.profiles.html +++ b/docs/dyn/cloudprofiler_v2.projects.profiles.html @@ -143,6 +143,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. } @@ -170,6 +171,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. } x__xgafv: string, V1 error format. @@ -195,6 +197,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. } @@ -232,6 +235,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. }, ], "skippedProfiles": 42, # 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. @@ -276,6 +280,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. } updateMask: string, 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 the mask. When no mask is provided, all fields are overwritten. @@ -302,6 +307,7 @@

Method Details

"name": "A String", # Output only. Opaque, server-assigned, unique ID for this profile. "profileBytes": "A String", # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto. "profileType": "A 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. + "startTime": "A String", # Output only. Start time for the profile. This output is only present in response from the ListProfiles method. } diff --git a/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json b/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json index b824c4ddd5..dad8a64b6f 100644 --- a/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json +++ b/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json @@ -254,7 +254,7 @@ } } }, -"revision": "20240122", +"revision": "20240219", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { @@ -393,6 +393,12 @@ "Heap allocation profile. It represents the aggregation of all allocations made over the duration of the profile. All allocations are included, including those that might have been freed by the end of the profiling interval. The profile is in particular useful for garbage collecting languages to understand which parts of the code create most of the garbage collection pressure to see if those can be optimized." ], "type": "string" +}, +"startTime": { +"description": "Output only. Start time for the profile. This output is only present in response from the ListProfiles method.", +"format": "google-datetime", +"readOnly": true, +"type": "string" } }, "type": "object"