google-cloud-profiler-v2 0.10.0 → 0.10.1
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/README.md +1 -1
- data/lib/google/cloud/profiler/v2/export_service/client.rb +5 -1
- data/lib/google/cloud/profiler/v2/export_service/rest/client.rb +5 -1
- data/lib/google/cloud/profiler/v2/profiler_service/client.rb +9 -3
- data/lib/google/cloud/profiler/v2/profiler_service/rest/client.rb +9 -3
- data/lib/google/cloud/profiler/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1204afc41e885eb5fb898933c6d78b76bcff7b97dd8e2db7a965c368cf9fd3e3
|
4
|
+
data.tar.gz: 62c8420a966a815c207a424d033f94cb69e4e73558df27bdc5229186cf25cbb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da651aa2ae504e26c90fbd49d33f1bff1e9ffcd5731baafffc94e88669e0d356a5bd1bcaa1d0bf631b8889d11ee2bd9a9eefa6f6c6fb3dd66b16253c55bf0168
|
7
|
+
data.tar.gz: 8c82228a5ba7161858f439b89b48bb7c0c400bd75d2d52b4eee16951db95a2bb88a21aa42e48ebffbfca2312379af779805b8be9f86063ee835341867ea89ddf
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ response = client.create_profile request
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-profiler-v2/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/profiler/)
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/profiler/docs)
|
44
44
|
for general usage information.
|
45
45
|
|
46
46
|
## Enabling Logging
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# out of Google Cloud.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudprofiler.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -235,10 +238,11 @@ module Google
|
|
235
238
|
# Customize the options with defaults
|
236
239
|
metadata = @config.rpcs.list_profiles.metadata.to_h
|
237
240
|
|
238
|
-
# Set x-goog-api-client
|
241
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
239
242
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
240
243
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
241
244
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION
|
245
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
242
246
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
243
247
|
|
244
248
|
header_params = {}
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# out of Google Cloud.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudprofiler.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -227,12 +230,13 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
call_metadata = @config.rpcs.list_profiles.metadata.to_h
|
229
232
|
|
230
|
-
# Set x-goog-api-client
|
233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
234
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
232
235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
233
236
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION,
|
234
237
|
transports_version_send: [:rest]
|
235
238
|
|
239
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
236
240
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
237
241
|
|
238
242
|
options.apply_defaults timeout: @config.rpcs.list_profiles.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# agents only.__
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudprofiler.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -251,10 +254,11 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
metadata = @config.rpcs.create_profile.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
263
|
|
260
264
|
header_params = {}
|
@@ -345,10 +349,11 @@ module Google
|
|
345
349
|
# Customize the options with defaults
|
346
350
|
metadata = @config.rpcs.create_offline_profile.metadata.to_h
|
347
351
|
|
348
|
-
# Set x-goog-api-client
|
352
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
349
353
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
350
354
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
351
355
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION
|
356
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
352
357
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
353
358
|
|
354
359
|
header_params = {}
|
@@ -443,10 +448,11 @@ module Google
|
|
443
448
|
# Customize the options with defaults
|
444
449
|
metadata = @config.rpcs.update_profile.metadata.to_h
|
445
450
|
|
446
|
-
# Set x-goog-api-client
|
451
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
447
452
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
448
453
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
449
454
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION
|
455
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
450
456
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
451
457
|
|
452
458
|
header_params = {}
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# agents only.__
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudprofiler.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -243,12 +246,13 @@ module Google
|
|
243
246
|
# Customize the options with defaults
|
244
247
|
call_metadata = @config.rpcs.create_profile.metadata.to_h
|
245
248
|
|
246
|
-
# Set x-goog-api-client
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
249
252
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION,
|
250
253
|
transports_version_send: [:rest]
|
251
254
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
253
257
|
|
254
258
|
options.apply_defaults timeout: @config.rpcs.create_profile.timeout,
|
@@ -330,12 +334,13 @@ module Google
|
|
330
334
|
# Customize the options with defaults
|
331
335
|
call_metadata = @config.rpcs.create_offline_profile.metadata.to_h
|
332
336
|
|
333
|
-
# Set x-goog-api-client
|
337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
334
338
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
335
339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
336
340
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION,
|
337
341
|
transports_version_send: [:rest]
|
338
342
|
|
343
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
339
344
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
340
345
|
|
341
346
|
options.apply_defaults timeout: @config.rpcs.create_offline_profile.timeout,
|
@@ -421,12 +426,13 @@ module Google
|
|
421
426
|
# Customize the options with defaults
|
422
427
|
call_metadata = @config.rpcs.update_profile.metadata.to_h
|
423
428
|
|
424
|
-
# Set x-goog-api-client
|
429
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
425
430
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
426
431
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
427
432
|
gapic_version: ::Google::Cloud::Profiler::V2::VERSION,
|
428
433
|
transports_version_send: [:rest]
|
429
434
|
|
435
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
430
436
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
431
437
|
|
432
438
|
options.apply_defaults timeout: @config.rpcs.update_profile.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.10.
|
4
|
+
version: 0.10.1
|
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-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|