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 +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudprofiler_v2/classes.rb +7 -0
- data/lib/google/apis/cloudprofiler_v2/gem_version.rb +3 -3
- data/lib/google/apis/cloudprofiler_v2/representations.rb +1 -0
- data/lib/google/apis/cloudprofiler_v2/service.rb +18 -11
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec74c3579e3c20bd41e664715538ffb5279a8800fe5501fb2c671912fe75507e
|
4
|
+
data.tar.gz: 6a31b6d7870e5993d969d2f88630d2eeebedf821c30f2b039acdb8a09c46aa08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
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.
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# the
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|