google-cloud-monitoring-metrics_scope-v1 0.6.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 149e479ddb395a1c3dbe3f35831273b2941a16ea86f3652fa84c8c1b7a3b7be0
4
- data.tar.gz: 55fc386852016fbdeea65f0538fb88dd71495f65c194e9ef12323c879bf67a1d
3
+ metadata.gz: 6fa331dcdc3316afb863169a5eadf7c6d4cb23c4c50a33157ce1459000d35e9f
4
+ data.tar.gz: 7ebda8123900e29768b7ad7f130f9b1df8eb3199018a56f161afb7f558f92043
5
5
  SHA512:
6
- metadata.gz: 6ce41e9a401bffc1efa2ba89854e792a3655783caf8d5a86168a154b0c67a7bb3cd4138097a991954c1728ba1e60c4ec116c972eaf3520eb1570d69e3c45ffb8
7
- data.tar.gz: 283b9db5058c389d6c4fda9e0eb41db9f118aff3111eb2860d21482681f68bb26e7188c9ff8bd29a190771a3bdd4c3fefc674e37ad000868f9e386ed44413dfa
6
+ metadata.gz: 969651fbfed41659094133d0aad8ea1c0e773899c7f9e51355e85354163a5e1e3b4f992e52ef1da1b3b2954e92de0a1400fc5e0ec03327d53adb0b8953fdcf6d
7
+ data.tar.gz: 4b25bc55aa332e0b49716a09e573dbfbcb4b27216bd8db52c8dbd5ea9915210df1ed82dc8c470a6ee32c4d95a7169461c600d3bfbc3cf6e734606ab26e2b2345
@@ -32,6 +32,9 @@ module Google
32
32
  # projects and AWS accounts.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "monitoring.$UNIVERSE_DOMAIN$"
37
40
 
@@ -233,10 +236,11 @@ module Google
233
236
  # Customize the options with defaults
234
237
  metadata = @config.rpcs.get_metrics_scope.metadata.to_h
235
238
 
236
- # Set x-goog-api-client and x-goog-user-project headers
239
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
237
240
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
238
241
  lib_name: @config.lib_name, lib_version: @config.lib_version,
239
242
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
243
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
240
244
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
241
245
 
242
246
  header_params = {}
@@ -322,10 +326,11 @@ module Google
322
326
  # Customize the options with defaults
323
327
  metadata = @config.rpcs.list_metrics_scopes_by_monitored_project.metadata.to_h
324
328
 
325
- # Set x-goog-api-client and x-goog-user-project headers
329
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
326
330
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
327
331
  lib_name: @config.lib_name, lib_version: @config.lib_version,
328
332
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
333
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
329
334
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
330
335
 
331
336
  options.apply_defaults timeout: @config.rpcs.list_metrics_scopes_by_monitored_project.timeout,
@@ -415,10 +420,11 @@ module Google
415
420
  # Customize the options with defaults
416
421
  metadata = @config.rpcs.create_monitored_project.metadata.to_h
417
422
 
418
- # Set x-goog-api-client and x-goog-user-project headers
423
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
419
424
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
420
425
  lib_name: @config.lib_name, lib_version: @config.lib_version,
421
426
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
427
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
422
428
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
423
429
 
424
430
  header_params = {}
@@ -514,10 +520,11 @@ module Google
514
520
  # Customize the options with defaults
515
521
  metadata = @config.rpcs.delete_monitored_project.metadata.to_h
516
522
 
517
- # Set x-goog-api-client and x-goog-user-project headers
523
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
518
524
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
519
525
  lib_name: @config.lib_name, lib_version: @config.lib_version,
520
526
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
527
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
521
528
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
522
529
 
523
530
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module MetricsScopes
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "monitoring.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::Monitoring::MetricsScope::V1::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module MetricsScope
24
24
  module V1
25
- VERSION = "0.6.0"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  end
@@ -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-monitoring-metrics_scope-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common