google-apis-cloudprofiler_v2 0.21.0 → 0.23.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e61e6b45b2935ea80ee0410c8dbf46951624d2e5d8e31a31aa98fd539c8b2dfb
4
- data.tar.gz: '082cd0e623d0c0f51259604941c079d6f927ff8a7161dfe2c5d1bf186eb6ae87'
3
+ metadata.gz: ec74c3579e3c20bd41e664715538ffb5279a8800fe5501fb2c671912fe75507e
4
+ data.tar.gz: 6a31b6d7870e5993d969d2f88630d2eeebedf821c30f2b039acdb8a09c46aa08
5
5
  SHA512:
6
- metadata.gz: 0162c7f8ef6ebdd07468efe2921b0e589a33ed3f004fab8d80c697aec44c4551513582793020ca5a6081cacdc43e7bcdb6de0e526817ea443fbfcca0f454e32f
7
- data.tar.gz: 3e1dce143daff939717ede95e9ea4337eca81b2430aae32799535a531d9b877e1fc957e266b363f2f222f1f5c50470c884194193b95be1ca1b9a2cc42f4f4b03
6
+ metadata.gz: d8b0253f488630436f4df1942ed09c2d6e5dcbf9293cab12397e1240039be40d4a9d5439d823e5c18dc666b352a1d2e79da956bcaf70b55e2ce27e96b1814cb1
7
+ data.tar.gz: fd10e8506c6adee0863cc298f3b470119ce615583a7fb36f6f5fdea3ed41101260a13449428a692e540ac00716bf3fade96ee287c5282e38b947bde191ed5b22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-cloudprofiler_v2
2
2
 
3
+ ### v0.23.0 (2024-02-24)
4
+
5
+ * Regenerated from discovery document revision 20240219
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.22.0 (2024-01-28)
9
+
10
+ * Regenerated from discovery document revision 20240122
11
+ * Regenerated using generator version 0.13.1
12
+
3
13
  ### v0.21.0 (2024-01-23)
4
14
 
5
15
  * Regenerated using generator version 0.13.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/profiler/) may provide guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -173,6 +173,12 @@ module Google
173
173
  # @return [String]
174
174
  attr_accessor :profile_type
175
175
 
176
+ # Output only. Start time for the profile. This output is only present in
177
+ # response from the ListProfiles method.
178
+ # Corresponds to the JSON property `startTime`
179
+ # @return [String]
180
+ attr_accessor :start_time
181
+
176
182
  def initialize(**args)
177
183
  update!(**args)
178
184
  end
@@ -185,6 +191,7 @@ module Google
185
191
  @name = args[:name] if args.key?(:name)
186
192
  @profile_bytes = args[:profile_bytes] if args.key?(:profile_bytes)
187
193
  @profile_type = args[:profile_type] if args.key?(:profile_type)
194
+ @start_time = args[:start_time] if args.key?(:start_time)
188
195
  end
189
196
  end
190
197
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudprofilerV2
18
18
  # Version of the google-apis-cloudprofiler_v2 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240101"
25
+ REVISION = "20240219"
26
26
  end
27
27
  end
28
28
  end
@@ -84,6 +84,7 @@ module Google
84
84
  property :name, as: 'name'
85
85
  property :profile_bytes, :base64 => true, as: 'profileBytes'
86
86
  property :profile_type, as: 'profileType'
87
+ property :start_time, as: 'startTime'
87
88
  end
88
89
  end
89
90
  end
@@ -51,15 +51,18 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # CreateProfile creates a new profile resource in the online mode. The server
55
- # ensures that the new profiles are created at a constant rate per deployment,
56
- # so the creation request may hang for some time until the next profile session
57
- # is available. The request may fail with ABORTED error if the creation is not
58
- # available within ~1m, the response will indicate the duration of the backoff
59
- # the client should take before attempting creating a profile again. The backoff
60
- # duration is returned in google.rpc.RetryInfo extension on the response status.
61
- # To a gRPC client, the extension will be return as a binary-serialized proto in
62
- # the trailing metadata item named "google.rpc.retryinfo-bin".
54
+ # CreateProfile creates a new profile resource in the online mode. _Direct use
55
+ # of this API is discouraged, please use a [supported profiler agent](https://
56
+ # cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for
57
+ # profile collection._ The server ensures that the new profiles are created at a
58
+ # constant rate per deployment, so the creation request may hang for some time
59
+ # until the next profile session is available. The request may fail with ABORTED
60
+ # error if the creation is not available within ~1m, the response will indicate
61
+ # the duration of the backoff the client should take before attempting creating
62
+ # a profile again. The backoff duration is returned in google.rpc.RetryInfo
63
+ # extension on the response status. To a gRPC client, the extension will be
64
+ # return as a binary-serialized proto in the trailing metadata item named "
65
+ # google.rpc.retryinfo-bin".
63
66
  # @param [String] parent
64
67
  # Parent project to create the profile in.
65
68
  # @param [Google::Apis::CloudprofilerV2::CreateProfileRequest] create_profile_request_object
@@ -94,7 +97,9 @@ module Google
94
97
 
95
98
  # CreateOfflineProfile creates a new profile resource in the offline mode. The
96
99
  # client provides the profile to create along with the profile bytes, the server
97
- # records it.
100
+ # records it. _Direct use of this API is discouraged, please use a [supported
101
+ # profiler agent](https://cloud.google.com/profiler/docs/about-profiler#
102
+ # profiling_agent) instead for profile collection._
98
103
  # @param [String] parent
99
104
  # Parent project to create the profile in.
100
105
  # @param [Google::Apis::CloudprofilerV2::Profile] profile_object
@@ -171,7 +176,9 @@ module Google
171
176
  # UpdateProfile updates the profile bytes and labels on the profile resource
172
177
  # created in the online mode. Updating the bytes for profiles created in the
173
178
  # offline mode is currently not supported: the profile content must be provided
174
- # at the time of the profile creation.
179
+ # at the time of the profile creation. _Direct use of this API is discouraged,
180
+ # please use a [supported profiler agent](https://cloud.google.com/profiler/docs/
181
+ # about-profiler#profiling_agent) instead for profile collection._
175
182
  # @param [String] name
176
183
  # Output only. Opaque, server-assigned, unique ID for this profile.
177
184
  # @param [Google::Apis::CloudprofilerV2::Profile] profile_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudprofiler_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudprofiler_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudprofiler_v2/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudprofiler_v2/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudprofiler_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Profiler API V2