Skip to content

Commit

Permalink
feat(cloudprofiler): add start_time to Profile proto (#9461)
Browse files Browse the repository at this point in the history
* feat: Add load balancer, log entry, org policy, database.version, exfiltration.total_exfiltrated_bytes, file.disk_path, indicator.signature_type, and kubernetes.objects to finding's list of attributes

PiperOrigin-RevId: 609614842

Source-Link: googleapis/googleapis@d2c86cf

Source-Link: googleapis/googleapis-gen@612923b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjEyOTIzYmFjNGFiZWE4NWUxZDc1NjEyNGFjZWY5OTEyMzMzZDc1MCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add soft_delete_time and hard_delete_time object metadata fields

PiperOrigin-RevId: 609782289

Source-Link: googleapis/googleapis@a8bcfb6

Source-Link: googleapis/googleapis-gen@6827329
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjgyNzMyOWMyYTViZDY4MzA1MDU3MWE0ZDcxYmI4NGRjZWYzOTFkOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add `start_time` to Profile proto
docs: update documentation to add guidance around use of ProfilerService API methods

PiperOrigin-RevId: 609836544

Source-Link: googleapis/googleapis@c5b43c8

Source-Link: googleapis/googleapis-gen@aefdaf1
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWVmZGFmMTUyMDQyOTgwOGI1ZDk1NGFlMjRmMjkyMmUyNTFjMmE4OSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 26, 2024
1 parent 6cd6a73 commit 748f065
Show file tree
Hide file tree
Showing 15 changed files with 2,655 additions and 1,343 deletions.
469 changes: 259 additions & 210 deletions cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go

Large diffs are not rendered by default.

63 changes: 42 additions & 21 deletions cloudprofiler/apiv2/profiler_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{
"regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateOfflineProfile_sync",
"title": "cloudprofiler CreateOfflineProfile Sample",
"description": "CreateOfflineProfile createOfflineProfile creates a new profile resource in the offline mode.\nThe client provides the profile to create along with the profile bytes, the\nserver records it.",
"description": "CreateOfflineProfile createOfflineProfile creates a new profile resource in the offline\nmode. The client provides the profile to create along with the profile\nbytes, the server records it.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._",
"file": "ProfilerClient/CreateOfflineProfile/main.go",
"language": "GO",
"clientMethod": {
Expand Down Expand Up @@ -106,7 +106,7 @@
{
"regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateProfile_sync",
"title": "cloudprofiler CreateProfile Sample",
"description": "CreateProfile createProfile creates a new profile resource in the online mode.\n\nThe server ensures that the new profiles are created at a constant rate per\ndeployment, so the creation request may hang for some time until the next\nprofile session is available.\n\nThe request may fail with ABORTED error if the creation is not available\nwithin ~1m, the response will indicate the duration of the backoff the\nclient should take before attempting creating a profile again. The backoff\nduration is returned in google.rpc.RetryInfo extension on the response\nstatus. To a gRPC client, the extension will be return as a\nbinary-serialized proto in the trailing metadata item named\n\"google.rpc.retryinfo-bin\".",
"description": "CreateProfile createProfile creates a new profile resource in the online mode.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._\n\nThe server ensures that the new profiles are created at a constant rate per\ndeployment, so the creation request may hang for some time until the next\nprofile session is available.\n\nThe request may fail with ABORTED error if the creation is not available\nwithin ~1m, the response will indicate the duration of the backoff the\nclient should take before attempting creating a profile again. The backoff\nduration is returned in google.rpc.RetryInfo extension on the response\nstatus. To a gRPC client, the extension will be return as a\nbinary-serialized proto in the trailing metadata item named\n\"google.rpc.retryinfo-bin\".",
"file": "ProfilerClient/CreateProfile/main.go",
"language": "GO",
"clientMethod": {
Expand Down Expand Up @@ -152,7 +152,7 @@
{
"regionTag": "cloudprofiler_v2_generated_ProfilerService_UpdateProfile_sync",
"title": "cloudprofiler UpdateProfile Sample",
"description": "UpdateProfile updateProfile updates the profile bytes and labels on the profile resource\ncreated in the online mode. Updating the bytes for profiles created in the\noffline mode is currently not supported: the profile content must be\nprovided at the time of the profile creation.",
"description": "UpdateProfile updateProfile updates the profile bytes and labels on the profile resource\ncreated in the online mode. Updating the bytes for profiles created in the\noffline mode is currently not supported: the profile content must be\nprovided at the time of the profile creation.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._",
"file": "ProfilerClient/UpdateProfile/main.go",
"language": "GO",
"clientMethod": {
Expand Down
56 changes: 34 additions & 22 deletions securitycenter/apiv1/securitycenterpb/database.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 748f065

Please sign in to comment.