google-cloud-profiler-v2 0.7.0 → 0.8.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/lib/google/cloud/profiler/v2/export_service/client.rb +419 -0
- data/lib/google/cloud/profiler/v2/export_service/credentials.rb +53 -0
- data/lib/google/cloud/profiler/v2/export_service/paths.rb +47 -0
- data/lib/google/cloud/profiler/v2/export_service/rest/client.rb +383 -0
- data/lib/google/cloud/profiler/v2/export_service/rest/service_stub.rb +107 -0
- data/lib/google/cloud/profiler/v2/export_service/rest.rb +53 -0
- data/lib/google/cloud/profiler/v2/export_service.rb +56 -0
- data/lib/google/cloud/profiler/v2/rest.rb +1 -0
- data/lib/google/cloud/profiler/v2/version.rb +1 -1
- data/lib/google/cloud/profiler/v2.rb +1 -0
- data/lib/google/devtools/cloudprofiler/v2/profiler_pb.rb +3 -1
- data/lib/google/devtools/cloudprofiler/v2/profiler_services_pb.rb +18 -0
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/devtools/cloudprofiler/v2/profiler.rb +41 -0
- metadata +10 -3
@@ -64,6 +64,24 @@ module Google
|
|
64
64
|
rpc :UpdateProfile, ::Google::Cloud::Profiler::V2::UpdateProfileRequest, ::Google::Cloud::Profiler::V2::Profile
|
65
65
|
end
|
66
66
|
|
67
|
+
Stub = Service.rpc_stub_class
|
68
|
+
end
|
69
|
+
module ExportService
|
70
|
+
# Service allows existing Cloud Profiler customers to export their profile data
|
71
|
+
# out of Google Cloud.
|
72
|
+
class Service
|
73
|
+
|
74
|
+
include ::GRPC::GenericService
|
75
|
+
|
76
|
+
self.marshal_class_method = :encode
|
77
|
+
self.unmarshal_class_method = :decode
|
78
|
+
self.service_name = 'google.devtools.cloudprofiler.v2.ExportService'
|
79
|
+
|
80
|
+
# Lists profiles which have been collected so far and for which the caller
|
81
|
+
# has permission to view.
|
82
|
+
rpc :ListProfiles, ::Google::Cloud::Profiler::V2::ListProfilesRequest, ::Google::Cloud::Profiler::V2::ListProfilesResponse
|
83
|
+
end
|
84
|
+
|
67
85
|
Stub = Service.rpc_stub_class
|
68
86
|
end
|
69
87
|
end
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
# seconds: 360 # 6 minutes
|
305
305
|
# total_poll_timeout:
|
306
306
|
# seconds: 54000 # 90 minutes
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
308
|
+
# @return [::Array<::String>]
|
309
|
+
# List of top-level fields of the request message, that should be
|
310
|
+
# automatically populated by the client libraries based on their
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
312
|
+
#
|
313
|
+
# Example of a YAML configuration:
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# method_settings:
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
318
|
+
# auto_populated_fields:
|
319
|
+
# - request_id
|
307
320
|
class MethodSettings
|
308
321
|
include ::Google::Protobuf::MessageExts
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -152,6 +152,47 @@ module Google
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
# ListProfilesRequest contains request parameters for listing profiles for
|
156
|
+
# deployments in projects which the user has permissions to view.
|
157
|
+
# @!attribute [rw] parent
|
158
|
+
# @return [::String]
|
159
|
+
# Required. The parent, which owns this collection of profiles.
|
160
|
+
# Format: projects/\\{user_project_id}
|
161
|
+
# @!attribute [rw] page_size
|
162
|
+
# @return [::Integer]
|
163
|
+
# The maximum number of items to return.
|
164
|
+
# Default page_size is 1000.
|
165
|
+
# Max limit is 10000.
|
166
|
+
# @!attribute [rw] page_token
|
167
|
+
# @return [::String]
|
168
|
+
# The token to continue pagination and get profiles from a particular page.
|
169
|
+
# When paginating, all other parameters provided to `ListProfiles` must match
|
170
|
+
# the call that provided the page token.
|
171
|
+
class ListProfilesRequest
|
172
|
+
include ::Google::Protobuf::MessageExts
|
173
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
174
|
+
end
|
175
|
+
|
176
|
+
# ListProfileResponse contains the list of collected profiles for deployments
|
177
|
+
# in projects which the user has permissions to view.
|
178
|
+
# @!attribute [rw] profiles
|
179
|
+
# @return [::Array<::Google::Cloud::Profiler::V2::Profile>]
|
180
|
+
# List of profiles fetched.
|
181
|
+
# @!attribute [rw] next_page_token
|
182
|
+
# @return [::String]
|
183
|
+
# Token to receive the next page of results.
|
184
|
+
# This field maybe empty if there are no more profiles to fetch.
|
185
|
+
# @!attribute [rw] skipped_profiles
|
186
|
+
# @return [::Integer]
|
187
|
+
# Number of profiles that were skipped in the current page since they were
|
188
|
+
# not able to be fetched successfully. This should typically be zero. A
|
189
|
+
# non-zero value may indicate a transient failure, in which case if the
|
190
|
+
# number is too high for your use case, the call may be retried.
|
191
|
+
class ListProfilesResponse
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
|
+
end
|
195
|
+
|
155
196
|
# ProfileType is type of profiling data.
|
156
197
|
# NOTE: the enumeration member names are used (in lowercase) as unique string
|
157
198
|
# identifiers of profile types, so they must not be renamed.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-profiler-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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:
|
11
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -174,6 +174,13 @@ files:
|
|
174
174
|
- README.md
|
175
175
|
- lib/google-cloud-profiler-v2.rb
|
176
176
|
- lib/google/cloud/profiler/v2.rb
|
177
|
+
- lib/google/cloud/profiler/v2/export_service.rb
|
178
|
+
- lib/google/cloud/profiler/v2/export_service/client.rb
|
179
|
+
- lib/google/cloud/profiler/v2/export_service/credentials.rb
|
180
|
+
- lib/google/cloud/profiler/v2/export_service/paths.rb
|
181
|
+
- lib/google/cloud/profiler/v2/export_service/rest.rb
|
182
|
+
- lib/google/cloud/profiler/v2/export_service/rest/client.rb
|
183
|
+
- lib/google/cloud/profiler/v2/export_service/rest/service_stub.rb
|
177
184
|
- lib/google/cloud/profiler/v2/profiler_service.rb
|
178
185
|
- lib/google/cloud/profiler/v2/profiler_service/client.rb
|
179
186
|
- lib/google/cloud/profiler/v2/profiler_service/credentials.rb
|
@@ -212,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
219
|
- !ruby/object:Gem::Version
|
213
220
|
version: '0'
|
214
221
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
222
|
+
rubygems_version: 3.5.3
|
216
223
|
signing_key:
|
217
224
|
specification_version: 4
|
218
225
|
summary: Manages continuous profiling information.
|