google-apis-cloudprofiler_v2 0.20.0 → 0.22.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 +9 -0
- data/lib/google/apis/cloudprofiler_v2/gem_version.rb +3 -3
- data/lib/google/apis/cloudprofiler_v2/service.rb +21 -12
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ab73454a45d10246467ae9a2d080a841a808a1d7d2dc5c793e7352677e1e4d5
|
|
4
|
+
data.tar.gz: 053c531dae016debb5561e392cfad1bb629e40f3f29782125e42a72b4f2fa776
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9256ce97b7ed214f312cf090f3c1c3b54a5b24986172f2044e60be348df36cbb932f4ff219f478a96075b20b6d7eaae9c7a0c0cdf4f49aa2a6e33447a4c3120c
|
|
7
|
+
data.tar.gz: 7d2d5af618dd3abfd0cc660507a7085e8ba45f6fdb3d97c5af361049e9dcab1841668634d4adfe4de0f3734fb8e86fcd395c70e5408fed31ba49913fcd502b32
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudprofiler_v2
|
|
2
2
|
|
|
3
|
+
### v0.22.0 (2024-01-28)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240122
|
|
6
|
+
* Regenerated using generator version 0.13.1
|
|
7
|
+
|
|
8
|
+
### v0.21.0 (2024-01-23)
|
|
9
|
+
|
|
10
|
+
* Regenerated using generator version 0.13.0
|
|
11
|
+
|
|
3
12
|
### v0.20.0 (2024-01-07)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20240101
|
|
@@ -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.22.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240122"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -32,6 +32,8 @@ module Google
|
|
|
32
32
|
#
|
|
33
33
|
# @see https://cloud.google.com/profiler/
|
|
34
34
|
class CloudProfilerService < Google::Apis::Core::BaseService
|
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://cloudprofiler.$UNIVERSE_DOMAIN$/"
|
|
36
|
+
|
|
35
37
|
# @return [String]
|
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
@@ -43,21 +45,24 @@ module Google
|
|
|
43
45
|
attr_accessor :quota_user
|
|
44
46
|
|
|
45
47
|
def initialize
|
|
46
|
-
super(
|
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
|
47
49
|
client_name: 'google-apis-cloudprofiler_v2',
|
|
48
50
|
client_version: Google::Apis::CloudprofilerV2::GEM_VERSION)
|
|
49
51
|
@batch_path = 'batch'
|
|
50
52
|
end
|
|
51
53
|
|
|
52
|
-
# CreateProfile creates a new profile resource in the online mode.
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
# the
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
#
|
|
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".
|
|
61
66
|
# @param [String] parent
|
|
62
67
|
# Parent project to create the profile in.
|
|
63
68
|
# @param [Google::Apis::CloudprofilerV2::CreateProfileRequest] create_profile_request_object
|
|
@@ -92,7 +97,9 @@ module Google
|
|
|
92
97
|
|
|
93
98
|
# CreateOfflineProfile creates a new profile resource in the offline mode. The
|
|
94
99
|
# client provides the profile to create along with the profile bytes, the server
|
|
95
|
-
# 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._
|
|
96
103
|
# @param [String] parent
|
|
97
104
|
# Parent project to create the profile in.
|
|
98
105
|
# @param [Google::Apis::CloudprofilerV2::Profile] profile_object
|
|
@@ -169,7 +176,9 @@ module Google
|
|
|
169
176
|
# UpdateProfile updates the profile bytes and labels on the profile resource
|
|
170
177
|
# created in the online mode. Updating the bytes for profiles created in the
|
|
171
178
|
# offline mode is currently not supported: the profile content must be provided
|
|
172
|
-
# 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._
|
|
173
182
|
# @param [String] name
|
|
174
183
|
# Output only. Opaque, server-assigned, unique ID for this profile.
|
|
175
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.22.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-
|
|
11
|
+
date: 2024-01-28 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.12.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.12.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.22.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: []
|