google-cloud-monitoring-dashboard-v1 0.12.1 → 0.13.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: 91d27544406498203c77c4dee0f815abd3f8d0c4780a6e9fb557e29bd215dc38
4
- data.tar.gz: 7e029c34e4dc36569702ab1193b27fd8cf101fd8cd02401d91bf799779305d4c
3
+ metadata.gz: 5055956486e7d7122008a4117702597d5150ebc923136aaf962d822427b93725
4
+ data.tar.gz: 25eb1e2d858a8ef3ba255355fb9d8348504e8bd515f97a18b04de52e169d1b6f
5
5
  SHA512:
6
- metadata.gz: 7f3faa5acb66feb560d2334acc159eb90054bd8bb46b5254cfc69e6afe1666f3ad29d79ba3f0166e252bbb872b59bd61bd5d932cdf790ca6164eec68ab0606c3
7
- data.tar.gz: bf4338ca2ccf5140417588f8998a84b0737d4fc1360e9e95c250eeeeb39c587b2edc15c6b6a131e84f0b90709db5f0cffd0e1db92373478d3709bd22963df441
6
+ metadata.gz: e217d3346c25bc66eadca4274f79aa169a065a60d1f41c1b2718f911a73cee14d9e023034858a08ea6e9a546e059313f53c331f6f07f741e13692fd86d79046b
7
+ data.tar.gz: 6aa8981c6413cbdc39da7cea81f4637cacaabf910c07e7e44b9823beb3fd909db806f5a8469492c9f4190d0015a20be952954edb12b3b7102dc14bf588a9d2a5
@@ -151,7 +151,8 @@ module Google
151
151
  credentials: credentials,
152
152
  endpoint: @config.endpoint,
153
153
  channel_args: @config.channel_args,
154
- interceptors: @config.interceptors
154
+ interceptors: @config.interceptors,
155
+ channel_pool_config: @config.channel_pool
155
156
  )
156
157
  end
157
158
 
@@ -754,6 +755,14 @@ module Google
754
755
  end
755
756
  end
756
757
 
758
+ ##
759
+ # Configuration for the channel pool
760
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
761
+ #
762
+ def channel_pool
763
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
764
+ end
765
+
757
766
  ##
758
767
  # Configuration RPC class for the DashboardsService API.
759
768
  #
@@ -189,6 +189,22 @@ module Google
189
189
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
190
190
  #
191
191
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
192
+ #
193
+ # @example Basic example
194
+ # require "google/cloud/monitoring/dashboard/v1"
195
+ #
196
+ # # Create a client object. The client can be reused for multiple calls.
197
+ # client = Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::Client.new
198
+ #
199
+ # # Create a request. To set request fields, pass in keyword arguments.
200
+ # request = Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest.new
201
+ #
202
+ # # Call the create_dashboard method.
203
+ # result = client.create_dashboard request
204
+ #
205
+ # # The returned object is of type Google::Cloud::Monitoring::Dashboard::V1::Dashboard.
206
+ # p result
207
+ #
192
208
  def create_dashboard request, options = nil
193
209
  raise ::ArgumentError, "request must be provided" if request.nil?
194
210
 
@@ -264,6 +280,26 @@ module Google
264
280
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Monitoring::Dashboard::V1::Dashboard>]
265
281
  #
266
282
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
283
+ #
284
+ # @example Basic example
285
+ # require "google/cloud/monitoring/dashboard/v1"
286
+ #
287
+ # # Create a client object. The client can be reused for multiple calls.
288
+ # client = Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::Client.new
289
+ #
290
+ # # Create a request. To set request fields, pass in keyword arguments.
291
+ # request = Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsRequest.new
292
+ #
293
+ # # Call the list_dashboards method.
294
+ # result = client.list_dashboards request
295
+ #
296
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
297
+ # # over elements, and API calls will be issued to fetch pages as needed.
298
+ # result.each do |item|
299
+ # # Each element is of type ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard.
300
+ # p item
301
+ # end
302
+ #
267
303
  def list_dashboards request, options = nil
268
304
  raise ::ArgumentError, "request must be provided" if request.nil?
269
305
 
@@ -335,6 +371,22 @@ module Google
335
371
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
336
372
  #
337
373
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
374
+ #
375
+ # @example Basic example
376
+ # require "google/cloud/monitoring/dashboard/v1"
377
+ #
378
+ # # Create a client object. The client can be reused for multiple calls.
379
+ # client = Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::Client.new
380
+ #
381
+ # # Create a request. To set request fields, pass in keyword arguments.
382
+ # request = Google::Cloud::Monitoring::Dashboard::V1::GetDashboardRequest.new
383
+ #
384
+ # # Call the get_dashboard method.
385
+ # result = client.get_dashboard request
386
+ #
387
+ # # The returned object is of type Google::Cloud::Monitoring::Dashboard::V1::Dashboard.
388
+ # p result
389
+ #
338
390
  def get_dashboard request, options = nil
339
391
  raise ::ArgumentError, "request must be provided" if request.nil?
340
392
 
@@ -403,6 +455,22 @@ module Google
403
455
  # @return [::Google::Protobuf::Empty]
404
456
  #
405
457
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
458
+ #
459
+ # @example Basic example
460
+ # require "google/cloud/monitoring/dashboard/v1"
461
+ #
462
+ # # Create a client object. The client can be reused for multiple calls.
463
+ # client = Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::Client.new
464
+ #
465
+ # # Create a request. To set request fields, pass in keyword arguments.
466
+ # request = Google::Cloud::Monitoring::Dashboard::V1::DeleteDashboardRequest.new
467
+ #
468
+ # # Call the delete_dashboard method.
469
+ # result = client.delete_dashboard request
470
+ #
471
+ # # The returned object is of type Google::Protobuf::Empty.
472
+ # p result
473
+ #
406
474
  def delete_dashboard request, options = nil
407
475
  raise ::ArgumentError, "request must be provided" if request.nil?
408
476
 
@@ -472,6 +540,22 @@ module Google
472
540
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
473
541
  #
474
542
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
543
+ #
544
+ # @example Basic example
545
+ # require "google/cloud/monitoring/dashboard/v1"
546
+ #
547
+ # # Create a client object. The client can be reused for multiple calls.
548
+ # client = Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Rest::Client.new
549
+ #
550
+ # # Create a request. To set request fields, pass in keyword arguments.
551
+ # request = Google::Cloud::Monitoring::Dashboard::V1::UpdateDashboardRequest.new
552
+ #
553
+ # # Call the update_dashboard method.
554
+ # result = client.update_dashboard request
555
+ #
556
+ # # The returned object is of type Google::Cloud::Monitoring::Dashboard::V1::Dashboard.
557
+ # p result
558
+ #
475
559
  def update_dashboard request, options = nil
476
560
  raise ::ArgumentError, "request must be provided" if request.nil?
477
561
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.12.1"
25
+ VERSION = "0.13.0"
26
26
  end
27
27
  end
28
28
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.12.1
4
+ version: 0.13.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: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 3.4.2
243
+ rubygems_version: 3.4.19
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: Manages your Cloud Monitoring data and configurations.