Skip to content

Commit

Permalink
feat(cloudprofiler): update the api
Browse files Browse the repository at this point in the history
#### cloudprofiler:v2

The following keys were added:
- schemas.Profile.properties.startTime (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent 139ffc8 commit a9f4a0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/dyn/cloudprofiler_v2.projects.profiles.html
Expand Up @@ -143,6 +143,7 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
&quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
&quot;profileType&quot;: &quot;A String&quot;, # 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.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
}</pre>
</div>

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

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

Expand Down Expand Up @@ -232,6 +235,7 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
&quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
&quot;profileType&quot;: &quot;A String&quot;, # 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.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
},
],
&quot;skippedProfiles&quot;: 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.
Expand Down Expand Up @@ -276,6 +280,7 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
&quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
&quot;profileType&quot;: &quot;A String&quot;, # 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.
&quot;startTime&quot;: &quot;A String&quot;, # 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.
Expand All @@ -302,6 +307,7 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
&quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
&quot;profileType&quot;: &quot;A String&quot;, # 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.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
}</pre>
</div>

Expand Down
Expand Up @@ -254,7 +254,7 @@
}
}
},
"revision": "20240122",
"revision": "20240219",
"rootUrl": "https://cloudprofiler.googleapis.com/",
"schemas": {
"CreateProfileRequest": {
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a9f4a0a

Please sign in to comment.