google-cloud-profiler-v2 0.10.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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: 2762415bbd3a94fa9b5c284b95aa28090b8e50a462c63fa696649ed91c92a46e
|
4
|
+
data.tar.gz: b85b3e676791d5033e5915b747a3f1b8fa71477a0c3bf72bc668a9ceefc9f465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71843fe891a6b11b7639e45a6cc3e567086af895438263f8ac956954c9e7ef8895bb57717fa3bd64af01c6608ecffb38bfd502881759e373d04e4a993ad63d07
|
7
|
+
data.tar.gz: 63616bdc1a1336c38c620d89b8b1d499bd3b2c9bd5069f10b5aa264c95a810c7eab5fe19d406d0d122fc9ecda95525cfb39f5cd3b65dc011b7c1c38864b5c573
|
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.
|
4
|
+
version: 1.0.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-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|