google-cloud-billing-budgets-v1 0.5.0 → 0.6.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: a4512fefdd2ce943efad9cab9d454c64b20599c539fc9ad123313c2d4566d250
4
- data.tar.gz: 3f6b8ff259645c2128ac0a84b995e862ef417134397a0d13d6237cd6682a0c69
3
+ metadata.gz: 32dfc613d0eb884e951f548a4e0d07afcc7efde47d9c9b5d65d85547a1a6cf57
4
+ data.tar.gz: d1ee28a1fd2cd3461bc98879bb6101bc0b6de5af698103370357d205e1ce58fc
5
5
  SHA512:
6
- metadata.gz: 82cdeb2eaa09185644b797d58e99197504c78d1d371f10d730e95d74ac7cec6685cfc47f03ca90ea346b1f9119d2d837804ac0593a08bda64fe9081188b5536e
7
- data.tar.gz: e0364409586073eca080fb56986b24cd4c08949ccd1a6819f6567d227674863ce376dfbf74a888cdf012aad494ae4cb9204768c0e7be0c74be6ce28c36e6675d
6
+ metadata.gz: 1f7c8c8899203d7e93e5d899c473eeabd5273cc844b6273eb8cb8a70c09330389ed7f7b078aa1a0f7c77abe15dfc0b6d610fa05933902bbd949a60dafba7918b
7
+ data.tar.gz: df1b8cfc1281a9c64045031dac9b600b1fc793bb50325ab5a84f705d5e46d631550a6ddabed4fdbf13f0611107702a97faa9b1315702e072e68f2efb152aca58
@@ -162,7 +162,8 @@ module Google
162
162
  credentials: credentials,
163
163
  endpoint: @config.endpoint,
164
164
  channel_args: @config.channel_args,
165
- interceptors: @config.interceptors
165
+ interceptors: @config.interceptors,
166
+ channel_pool_config: @config.channel_pool
166
167
  )
167
168
  end
168
169
 
@@ -761,6 +762,14 @@ module Google
761
762
  end
762
763
  end
763
764
 
765
+ ##
766
+ # Configuration for the channel pool
767
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
768
+ #
769
+ def channel_pool
770
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
771
+ end
772
+
764
773
  ##
765
774
  # Configuration RPC class for the BudgetService API.
766
775
  #
@@ -191,6 +191,22 @@ module Google
191
191
  # @return [::Google::Cloud::Billing::Budgets::V1::Budget]
192
192
  #
193
193
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
194
+ #
195
+ # @example Basic example
196
+ # require "google/cloud/billing/budgets/v1"
197
+ #
198
+ # # Create a client object. The client can be reused for multiple calls.
199
+ # client = Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client.new
200
+ #
201
+ # # Create a request. To set request fields, pass in keyword arguments.
202
+ # request = Google::Cloud::Billing::Budgets::V1::CreateBudgetRequest.new
203
+ #
204
+ # # Call the create_budget method.
205
+ # result = client.create_budget request
206
+ #
207
+ # # The returned object is of type Google::Cloud::Billing::Budgets::V1::Budget.
208
+ # p result
209
+ #
194
210
  def create_budget request, options = nil
195
211
  raise ::ArgumentError, "request must be provided" if request.nil?
196
212
 
@@ -265,6 +281,22 @@ module Google
265
281
  # @return [::Google::Cloud::Billing::Budgets::V1::Budget]
266
282
  #
267
283
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
284
+ #
285
+ # @example Basic example
286
+ # require "google/cloud/billing/budgets/v1"
287
+ #
288
+ # # Create a client object. The client can be reused for multiple calls.
289
+ # client = Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client.new
290
+ #
291
+ # # Create a request. To set request fields, pass in keyword arguments.
292
+ # request = Google::Cloud::Billing::Budgets::V1::UpdateBudgetRequest.new
293
+ #
294
+ # # Call the update_budget method.
295
+ # result = client.update_budget request
296
+ #
297
+ # # The returned object is of type Google::Cloud::Billing::Budgets::V1::Budget.
298
+ # p result
299
+ #
268
300
  def update_budget request, options = nil
269
301
  raise ::ArgumentError, "request must be provided" if request.nil?
270
302
 
@@ -333,6 +365,22 @@ module Google
333
365
  # @return [::Google::Cloud::Billing::Budgets::V1::Budget]
334
366
  #
335
367
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
368
+ #
369
+ # @example Basic example
370
+ # require "google/cloud/billing/budgets/v1"
371
+ #
372
+ # # Create a client object. The client can be reused for multiple calls.
373
+ # client = Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client.new
374
+ #
375
+ # # Create a request. To set request fields, pass in keyword arguments.
376
+ # request = Google::Cloud::Billing::Budgets::V1::GetBudgetRequest.new
377
+ #
378
+ # # Call the get_budget method.
379
+ # result = client.get_budget request
380
+ #
381
+ # # The returned object is of type Google::Cloud::Billing::Budgets::V1::Budget.
382
+ # p result
383
+ #
336
384
  def get_budget request, options = nil
337
385
  raise ::ArgumentError, "request must be provided" if request.nil?
338
386
 
@@ -415,6 +463,26 @@ module Google
415
463
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Billing::Budgets::V1::Budget>]
416
464
  #
417
465
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
466
+ #
467
+ # @example Basic example
468
+ # require "google/cloud/billing/budgets/v1"
469
+ #
470
+ # # Create a client object. The client can be reused for multiple calls.
471
+ # client = Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client.new
472
+ #
473
+ # # Create a request. To set request fields, pass in keyword arguments.
474
+ # request = Google::Cloud::Billing::Budgets::V1::ListBudgetsRequest.new
475
+ #
476
+ # # Call the list_budgets method.
477
+ # result = client.list_budgets request
478
+ #
479
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
480
+ # # over elements, and API calls will be issued to fetch pages as needed.
481
+ # result.each do |item|
482
+ # # Each element is of type ::Google::Cloud::Billing::Budgets::V1::Budget.
483
+ # p item
484
+ # end
485
+ #
418
486
  def list_budgets request, options = nil
419
487
  raise ::ArgumentError, "request must be provided" if request.nil?
420
488
 
@@ -479,6 +547,22 @@ module Google
479
547
  # @return [::Google::Protobuf::Empty]
480
548
  #
481
549
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
550
+ #
551
+ # @example Basic example
552
+ # require "google/cloud/billing/budgets/v1"
553
+ #
554
+ # # Create a client object. The client can be reused for multiple calls.
555
+ # client = Google::Cloud::Billing::Budgets::V1::BudgetService::Rest::Client.new
556
+ #
557
+ # # Create a request. To set request fields, pass in keyword arguments.
558
+ # request = Google::Cloud::Billing::Budgets::V1::DeleteBudgetRequest.new
559
+ #
560
+ # # Call the delete_budget method.
561
+ # result = client.delete_budget request
562
+ #
563
+ # # The returned object is of type Google::Protobuf::Empty.
564
+ # p result
565
+ #
482
566
  def delete_budget request, options = nil
483
567
  raise ::ArgumentError, "request must be provided" if request.nil?
484
568
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-billing-budgets-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-09-04 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