google-cloud-monitoring-dashboard-v1 0.16.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: 895170ee6a6bd010b18cf187f7531a3e79ab2bf09431c74767e224a05f56d9aa
4
- data.tar.gz: '069d63c436f2fabd52e7e1124acd7170ef9cdb9f413cb9bc162633c9b3eb1032'
3
+ metadata.gz: 19e754d56616cb4fd1d18f33c295002bc796dccd444fe2fc6be2b8a1e9d1ee30
4
+ data.tar.gz: 40636ecbad77e2ce0376d49cc15ac9089de507fd272c6dc11a85639a9da8d945
5
5
  SHA512:
6
- metadata.gz: af3c58d2835fbaeac8da58efcb6559cc349f95f509ac2e7ad15fd6c31aab801126f6d7198315adc00bc01e96c2317f1757e22dc328f44ffbb5505c62e8be41fd
7
- data.tar.gz: 2a8a87d3bc6e8c8cbab61fab03289a62c8825a974d93ccb6b068f8841733f709754cf3fd4ce5cbcebb7fceefa3391a57ad1e6d416c283d78875abe50b736739b
6
+ metadata.gz: 1d17373261db7b2223a17e783d4324b41ebb3a7bb47ff8542ba29f95777a740d703a0362d9ba8f5bcda864e79c3f8180fb889630e59e6a6344a871d39b49a7b7
7
+ data.tar.gz: de2d9169b87ade93cd6003d23ba1d5979a4606e147f415dd6af8c588d5c9d82abd67987623d6ce53a182ba8e34d458509a71a7cc11989b41cad4af59f3834430
@@ -32,6 +32,9 @@ module Google
32
32
  # widgets in a specific layout.
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
 
@@ -242,10 +245,11 @@ module Google
242
245
  # Customize the options with defaults
243
246
  metadata = @config.rpcs.create_dashboard.metadata.to_h
244
247
 
245
- # Set x-goog-api-client and x-goog-user-project headers
248
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
246
249
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
247
250
  lib_name: @config.lib_name, lib_version: @config.lib_version,
248
251
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION
252
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
249
253
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
250
254
 
251
255
  header_params = {}
@@ -345,10 +349,11 @@ module Google
345
349
  # Customize the options with defaults
346
350
  metadata = @config.rpcs.list_dashboards.metadata.to_h
347
351
 
348
- # Set x-goog-api-client and x-goog-user-project headers
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::Monitoring::Dashboard::V1::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 = {}
@@ -439,10 +444,11 @@ module Google
439
444
  # Customize the options with defaults
440
445
  metadata = @config.rpcs.get_dashboard.metadata.to_h
441
446
 
442
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
443
448
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
450
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION
451
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
446
452
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
447
453
 
448
454
  header_params = {}
@@ -530,10 +536,11 @@ module Google
530
536
  # Customize the options with defaults
531
537
  metadata = @config.rpcs.delete_dashboard.metadata.to_h
532
538
 
533
- # Set x-goog-api-client and x-goog-user-project headers
539
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
534
540
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
535
541
  lib_name: @config.lib_name, lib_version: @config.lib_version,
536
542
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION
543
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
537
544
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
538
545
 
539
546
  header_params = {}
@@ -622,10 +629,11 @@ module Google
622
629
  # Customize the options with defaults
623
630
  metadata = @config.rpcs.update_dashboard.metadata.to_h
624
631
 
625
- # Set x-goog-api-client and x-goog-user-project headers
632
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
626
633
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
627
634
  lib_name: @config.lib_name, lib_version: @config.lib_version,
628
635
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION
636
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
629
637
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
630
638
 
631
639
  header_params = {}
@@ -34,6 +34,9 @@ module Google
34
34
  # widgets in a specific layout.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "monitoring.$UNIVERSE_DOMAIN$"
39
42
 
@@ -234,12 +237,13 @@ module Google
234
237
  # Customize the options with defaults
235
238
  call_metadata = @config.rpcs.create_dashboard.metadata.to_h
236
239
 
237
- # Set x-goog-api-client and x-goog-user-project headers
240
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
238
241
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
239
242
  lib_name: @config.lib_name, lib_version: @config.lib_version,
240
243
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION,
241
244
  transports_version_send: [:rest]
242
245
 
246
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
243
247
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
244
248
 
245
249
  options.apply_defaults timeout: @config.rpcs.create_dashboard.timeout,
@@ -330,12 +334,13 @@ module Google
330
334
  # Customize the options with defaults
331
335
  call_metadata = @config.rpcs.list_dashboards.metadata.to_h
332
336
 
333
- # Set x-goog-api-client and x-goog-user-project headers
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::Monitoring::Dashboard::V1::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.list_dashboards.timeout,
@@ -417,12 +422,13 @@ module Google
417
422
  # Customize the options with defaults
418
423
  call_metadata = @config.rpcs.get_dashboard.metadata.to_h
419
424
 
420
- # Set x-goog-api-client and x-goog-user-project headers
425
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
421
426
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
422
427
  lib_name: @config.lib_name, lib_version: @config.lib_version,
423
428
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION,
424
429
  transports_version_send: [:rest]
425
430
 
431
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
426
432
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
427
433
 
428
434
  options.apply_defaults timeout: @config.rpcs.get_dashboard.timeout,
@@ -501,12 +507,13 @@ module Google
501
507
  # Customize the options with defaults
502
508
  call_metadata = @config.rpcs.delete_dashboard.metadata.to_h
503
509
 
504
- # Set x-goog-api-client and x-goog-user-project headers
510
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
505
511
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
506
512
  lib_name: @config.lib_name, lib_version: @config.lib_version,
507
513
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION,
508
514
  transports_version_send: [:rest]
509
515
 
516
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
510
517
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
511
518
 
512
519
  options.apply_defaults timeout: @config.rpcs.delete_dashboard.timeout,
@@ -586,12 +593,13 @@ module Google
586
593
  # Customize the options with defaults
587
594
  call_metadata = @config.rpcs.update_dashboard.metadata.to_h
588
595
 
589
- # Set x-goog-api-client and x-goog-user-project headers
596
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
590
597
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
591
598
  lib_name: @config.lib_name, lib_version: @config.lib_version,
592
599
  gapic_version: ::Google::Cloud::Monitoring::Dashboard::V1::VERSION,
593
600
  transports_version_send: [:rest]
594
601
 
602
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
595
603
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
596
604
 
597
605
  options.apply_defaults timeout: @config.rpcs.update_dashboard.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.16.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
@@ -41,7 +41,7 @@ module Google
41
41
  # @return [::String]
42
42
  # Required. The monitored resource type. For example, the type
43
43
  # `"cloudsql_database"` represents databases in Google Cloud SQL.
44
- # For a list of types, see [Monitoring resource
44
+ # For a list of types, see [Monitored resource
45
45
  # types](https://cloud.google.com/monitoring/api/resources)
46
46
  # and [Logging resource
47
47
  # types](https://cloud.google.com/logging/docs/api/v2/resource-list).
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring-dashboard-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common