google-cloud-billing-budgets-v1 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25c90928b78df27767d4a42c2a12b788cb28fe850702c87d7092d434ab9d82c7
|
4
|
+
data.tar.gz: e0c84de0fd542b12ece049940bac8d205a634c1d46f6daf3ec2793d47a4e45c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf1fd2cd358f0bfb6f962a50f7b23898f34980e5eb4f2262693eb2e248f8b5a97f61b0a88c88ce439298044cd0dc09c5caa0787c9c74b8a63ba770c7c9a28445
|
7
|
+
data.tar.gz: 685cdf4a2f5b683de0320ff39a6f5f4b39295b7470f46ee6f9f37a9b08b4efadfa9dbc7a7bf14c08239c355e22b322e31ed7f9f78a653d72d5a6c6109ffaac6e
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# budget plan and rules to execute as we track spend against that plan.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "billingbudgets.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -244,10 +247,11 @@ module Google
|
|
244
247
|
# Customize the options with defaults
|
245
248
|
metadata = @config.rpcs.create_budget.metadata.to_h
|
246
249
|
|
247
|
-
# Set x-goog-api-client
|
250
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
248
251
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
249
252
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
250
253
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION
|
254
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
251
255
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
252
256
|
|
253
257
|
header_params = {}
|
@@ -341,10 +345,11 @@ module Google
|
|
341
345
|
# Customize the options with defaults
|
342
346
|
metadata = @config.rpcs.update_budget.metadata.to_h
|
343
347
|
|
344
|
-
# Set x-goog-api-client
|
348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
345
349
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
346
350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
347
351
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION
|
352
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
348
353
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
349
354
|
|
350
355
|
header_params = {}
|
@@ -432,10 +437,11 @@ module Google
|
|
432
437
|
# Customize the options with defaults
|
433
438
|
metadata = @config.rpcs.get_budget.metadata.to_h
|
434
439
|
|
435
|
-
# Set x-goog-api-client
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
436
441
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
437
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
438
443
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION
|
444
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
439
445
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
440
446
|
|
441
447
|
header_params = {}
|
@@ -541,10 +547,11 @@ module Google
|
|
541
547
|
# Customize the options with defaults
|
542
548
|
metadata = @config.rpcs.list_budgets.metadata.to_h
|
543
549
|
|
544
|
-
# Set x-goog-api-client
|
550
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
545
551
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
546
552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
547
553
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION
|
554
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
548
555
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
549
556
|
|
550
557
|
header_params = {}
|
@@ -628,10 +635,11 @@ module Google
|
|
628
635
|
# Customize the options with defaults
|
629
636
|
metadata = @config.rpcs.delete_budget.metadata.to_h
|
630
637
|
|
631
|
-
# Set x-goog-api-client
|
638
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
632
639
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
633
640
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
634
641
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION
|
642
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
635
643
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
636
644
|
|
637
645
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# budget plan and rules to execute as we track spend against that plan.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "billingbudgets.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -236,12 +239,13 @@ module Google
|
|
236
239
|
# Customize the options with defaults
|
237
240
|
call_metadata = @config.rpcs.create_budget.metadata.to_h
|
238
241
|
|
239
|
-
# Set x-goog-api-client
|
242
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
240
243
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
241
244
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
242
245
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION,
|
243
246
|
transports_version_send: [:rest]
|
244
247
|
|
248
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
245
249
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
246
250
|
|
247
251
|
options.apply_defaults timeout: @config.rpcs.create_budget.timeout,
|
@@ -326,12 +330,13 @@ module Google
|
|
326
330
|
# Customize the options with defaults
|
327
331
|
call_metadata = @config.rpcs.update_budget.metadata.to_h
|
328
332
|
|
329
|
-
# Set x-goog-api-client
|
333
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
330
334
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
331
335
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
332
336
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION,
|
333
337
|
transports_version_send: [:rest]
|
334
338
|
|
339
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
335
340
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
336
341
|
|
337
342
|
options.apply_defaults timeout: @config.rpcs.update_budget.timeout,
|
@@ -410,12 +415,13 @@ module Google
|
|
410
415
|
# Customize the options with defaults
|
411
416
|
call_metadata = @config.rpcs.get_budget.metadata.to_h
|
412
417
|
|
413
|
-
# Set x-goog-api-client
|
418
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
414
419
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
415
420
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
416
421
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION,
|
417
422
|
transports_version_send: [:rest]
|
418
423
|
|
424
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
419
425
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
420
426
|
|
421
427
|
options.apply_defaults timeout: @config.rpcs.get_budget.timeout,
|
@@ -512,12 +518,13 @@ module Google
|
|
512
518
|
# Customize the options with defaults
|
513
519
|
call_metadata = @config.rpcs.list_budgets.metadata.to_h
|
514
520
|
|
515
|
-
# Set x-goog-api-client
|
521
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
516
522
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
517
523
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
518
524
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION,
|
519
525
|
transports_version_send: [:rest]
|
520
526
|
|
527
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
521
528
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
522
529
|
|
523
530
|
options.apply_defaults timeout: @config.rpcs.list_budgets.timeout,
|
@@ -592,12 +599,13 @@ module Google
|
|
592
599
|
# Customize the options with defaults
|
593
600
|
call_metadata = @config.rpcs.delete_budget.metadata.to_h
|
594
601
|
|
595
|
-
# Set x-goog-api-client
|
602
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
596
603
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
597
604
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
598
605
|
gapic_version: ::Google::Cloud::Billing::Budgets::V1::VERSION,
|
599
606
|
transports_version_send: [:rest]
|
600
607
|
|
608
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
601
609
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
602
610
|
|
603
611
|
options.apply_defaults timeout: @config.rpcs.delete_budget.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-billing-budgets-v1
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|