google-cloud-billing-budgets-v1 0.7.2 → 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: cf94c5b1e6cb69a13cebf98c17b2bc448f6c48808dd490482826773689b67b77
4
- data.tar.gz: a08c2fe723575c988ee8b507f0f1124fd2a73b022c24e43b9c23b688ad8cdfb3
3
+ metadata.gz: 25c90928b78df27767d4a42c2a12b788cb28fe850702c87d7092d434ab9d82c7
4
+ data.tar.gz: e0c84de0fd542b12ece049940bac8d205a634c1d46f6daf3ec2793d47a4e45c5
5
5
  SHA512:
6
- metadata.gz: e772ce63f304c743282a9236249e5a2a8a3ec1caac7321da1054162fd00f824cd92d29e87c20d51e6eb8cb2e1099c55ea12d6defc2e2cb3c2654007f6df40c20
7
- data.tar.gz: 7b712b893badef4e29d7a1ee0dc3482eb7acbbd06b91df28c924e84f48c1733f793fbcf725269326c8818db1d20498bc81129708ad8567253c4cfd75d79a0747
6
+ metadata.gz: bf1fd2cd358f0bfb6f962a50f7b23898f34980e5eb4f2262693eb2e248f8b5a97f61b0a88c88ce439298044cd0dc09c5caa0787c9c74b8a63ba770c7c9a28445
7
+ data.tar.gz: 685cdf4a2f5b683de0320ff39a6f5f4b39295b7470f46ee6f9f37a9b08b4efadfa9dbc7a7bf14c08239c355e22b322e31ed7f9f78a653d72d5a6c6109ffaac6e
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -11,7 +11,7 @@ require 'google/type/date_pb'
11
11
  require 'google/type/money_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n2google/cloud/billing/budgets/v1/budget_model.proto\x12\x1fgoogle.cloud.billing.budgets.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16google/type/date.proto\x1a\x17google/type/money.proto\"\xd5\x03\n\x06\x42udget\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x44\n\rbudget_filter\x18\x03 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.FilterB\x04\xe2\x41\x01\x01\x12\x43\n\x06\x61mount\x18\x04 \x01(\x0b\x32-.google.cloud.billing.budgets.v1.BudgetAmountB\x04\xe2\x41\x01\x02\x12M\n\x0fthreshold_rules\x18\x05 \x03(\x0b\x32..google.cloud.billing.budgets.v1.ThresholdRuleB\x04\xe2\x41\x01\x01\x12T\n\x12notifications_rule\x18\x06 \x01(\x0b\x32\x32.google.cloud.billing.budgets.v1.NotificationsRuleB\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01:]\xea\x41Z\n$billingbudgets.googleapis.com/Budget\x12\x32\x62illingAccounts/{billing_account}/budgets/{budget}\"\xa0\x01\n\x0c\x42udgetAmount\x12.\n\x10specified_amount\x18\x01 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12O\n\x12last_period_amount\x18\x02 \x01(\x0b\x32\x31.google.cloud.billing.budgets.v1.LastPeriodAmountH\x00\x42\x0f\n\rbudget_amount\"\x12\n\x10LastPeriodAmount\"\xca\x01\n\rThresholdRule\x12\x1f\n\x11threshold_percent\x18\x01 \x01(\x01\x42\x04\xe2\x41\x01\x02\x12O\n\x0bspend_basis\x18\x02 \x01(\x0e\x32\x34.google.cloud.billing.budgets.v1.ThresholdRule.BasisB\x04\xe2\x41\x01\x01\"G\n\x05\x42\x61sis\x12\x15\n\x11\x42\x41SIS_UNSPECIFIED\x10\x00\x12\x11\n\rCURRENT_SPEND\x10\x01\x12\x14\n\x10\x46ORECASTED_SPEND\x10\x02\"\xda\x01\n\x11NotificationsRule\x12\x1a\n\x0cpubsub_topic\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0eschema_version\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12.\n monitoring_notification_channels\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12,\n\x1e\x64isable_default_iam_recipients\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12-\n\x1f\x65nable_project_level_recipients\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xcd\x05\n\x06\x46ilter\x12\x16\n\x08projects\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12 \n\x12resource_ancestors\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x63redit_types\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\x12\x62\n\x16\x63redit_types_treatment\x18\x04 \x01(\x0e\x32<.google.cloud.billing.budgets.v1.Filter.CreditTypesTreatmentB\x04\xe2\x41\x01\x01\x12\x16\n\x08services\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bsubaccounts\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x33.google.cloud.billing.budgets.v1.Filter.LabelsEntryB\x04\xe2\x41\x01\x01\x12P\n\x0f\x63\x61lendar_period\x18\x08 \x01(\x0e\x32/.google.cloud.billing.budgets.v1.CalendarPeriodB\x04\xe2\x41\x01\x01H\x00\x12L\n\rcustom_period\x18\t \x01(\x0b\x32-.google.cloud.billing.budgets.v1.CustomPeriodB\x04\xe2\x41\x01\x01H\x00\x1aI\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.ListValue:\x02\x38\x01\"\x8f\x01\n\x14\x43reditTypesTreatment\x12&\n\"CREDIT_TYPES_TREATMENT_UNSPECIFIED\x10\x00\x12\x17\n\x13INCLUDE_ALL_CREDITS\x10\x01\x12\x17\n\x13\x45XCLUDE_ALL_CREDITS\x10\x02\x12\x1d\n\x19INCLUDE_SPECIFIED_CREDITS\x10\x03\x42\x0e\n\x0cusage_period\"f\n\x0c\x43ustomPeriod\x12+\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x02\x12)\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01*S\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\t\n\x05MONTH\x10\x01\x12\x0b\n\x07QUARTER\x10\x02\x12\x08\n\x04YEAR\x10\x03\x42x\n#com.google.cloud.billing.budgets.v1B\x10\x42udgetModelProtoP\x01Z=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbb\x06proto3"
14
+ descriptor_data = "\n2google/cloud/billing/budgets/v1/budget_model.proto\x12\x1fgoogle.cloud.billing.budgets.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16google/type/date.proto\x1a\x17google/type/money.proto\"\xcf\x03\n\x06\x42udget\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x43\n\rbudget_filter\x18\x03 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.FilterB\x03\xe0\x41\x01\x12\x42\n\x06\x61mount\x18\x04 \x01(\x0b\x32-.google.cloud.billing.budgets.v1.BudgetAmountB\x03\xe0\x41\x02\x12L\n\x0fthreshold_rules\x18\x05 \x03(\x0b\x32..google.cloud.billing.budgets.v1.ThresholdRuleB\x03\xe0\x41\x01\x12S\n\x12notifications_rule\x18\x06 \x01(\x0b\x32\x32.google.cloud.billing.budgets.v1.NotificationsRuleB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x07 \x01(\tB\x03\xe0\x41\x01:]\xea\x41Z\n$billingbudgets.googleapis.com/Budget\x12\x32\x62illingAccounts/{billing_account}/budgets/{budget}\"\xa0\x01\n\x0c\x42udgetAmount\x12.\n\x10specified_amount\x18\x01 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12O\n\x12last_period_amount\x18\x02 \x01(\x0b\x32\x31.google.cloud.billing.budgets.v1.LastPeriodAmountH\x00\x42\x0f\n\rbudget_amount\"\x12\n\x10LastPeriodAmount\"\xc8\x01\n\rThresholdRule\x12\x1e\n\x11threshold_percent\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12N\n\x0bspend_basis\x18\x02 \x01(\x0e\x32\x34.google.cloud.billing.budgets.v1.ThresholdRule.BasisB\x03\xe0\x41\x01\"G\n\x05\x42\x61sis\x12\x15\n\x11\x42\x41SIS_UNSPECIFIED\x10\x00\x12\x11\n\rCURRENT_SPEND\x10\x01\x12\x14\n\x10\x46ORECASTED_SPEND\x10\x02\"\xd5\x01\n\x11NotificationsRule\x12\x19\n\x0cpubsub_topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0eschema_version\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12-\n monitoring_notification_channels\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12+\n\x1e\x64isable_default_iam_recipients\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x1f\x65nable_project_level_recipients\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xc4\x05\n\x06\x46ilter\x12\x15\n\x08projects\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1f\n\x12resource_ancestors\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x63redit_types\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x61\n\x16\x63redit_types_treatment\x18\x04 \x01(\x0e\x32<.google.cloud.billing.budgets.v1.Filter.CreditTypesTreatmentB\x03\xe0\x41\x01\x12\x15\n\x08services\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0bsubaccounts\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12H\n\x06labels\x18\x06 \x03(\x0b\x32\x33.google.cloud.billing.budgets.v1.Filter.LabelsEntryB\x03\xe0\x41\x01\x12O\n\x0f\x63\x61lendar_period\x18\x08 \x01(\x0e\x32/.google.cloud.billing.budgets.v1.CalendarPeriodB\x03\xe0\x41\x01H\x00\x12K\n\rcustom_period\x18\t \x01(\x0b\x32-.google.cloud.billing.budgets.v1.CustomPeriodB\x03\xe0\x41\x01H\x00\x1aI\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.ListValue:\x02\x38\x01\"\x8f\x01\n\x14\x43reditTypesTreatment\x12&\n\"CREDIT_TYPES_TREATMENT_UNSPECIFIED\x10\x00\x12\x17\n\x13INCLUDE_ALL_CREDITS\x10\x01\x12\x17\n\x13\x45XCLUDE_ALL_CREDITS\x10\x02\x12\x1d\n\x19INCLUDE_SPECIFIED_CREDITS\x10\x03\x42\x0e\n\x0cusage_period\"d\n\x0c\x43ustomPeriod\x12*\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x02\x12(\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01*S\n\x0e\x43\x61lendarPeriod\x12\x1f\n\x1b\x43\x41LENDAR_PERIOD_UNSPECIFIED\x10\x00\x12\t\n\x05MONTH\x10\x01\x12\x0b\n\x07QUARTER\x10\x02\x12\x08\n\x04YEAR\x10\x03\x42x\n#com.google.cloud.billing.budgets.v1B\x10\x42udgetModelProtoP\x01Z=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbb\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
13
13
  require 'google/protobuf/field_mask_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n4google/cloud/billing/budgets/v1/budget_service.proto\x12\x1fgoogle.cloud.billing.budgets.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/billing/budgets/v1/budget_model.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x93\x01\n\x13\x43reateBudgetRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$billingbudgets.googleapis.com/Budget\x12=\n\x06\x62udget\x18\x02 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.BudgetB\x04\xe2\x41\x01\x02\"\x8b\x01\n\x13UpdateBudgetRequest\x12=\n\x06\x62udget\x18\x01 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.BudgetB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"O\n\x10GetBudgetRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$billingbudgets.googleapis.com/Budget\"\x9b\x01\n\x12ListBudgetsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\x12$billingbudgets.googleapis.com/Budget\x12\x13\n\x05scope\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"h\n\x13ListBudgetsResponse\x12\x38\n\x07\x62udgets\x18\x01 \x03(\x0b\x32\'.google.cloud.billing.budgets.v1.Budget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x13\x44\x65leteBudgetRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$billingbudgets.googleapis.com/Budget2\xf7\x07\n\rBudgetService\x12\xb5\x01\n\x0c\x43reateBudget\x12\x34.google.cloud.billing.budgets.v1.CreateBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"F\xda\x41\rparent,budget\x82\xd3\xe4\x93\x02\x30\"&/v1/{parent=billingAccounts/*}/budgets:\x06\x62udget\x12\xc1\x01\n\x0cUpdateBudget\x12\x34.google.cloud.billing.budgets.v1.UpdateBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"R\xda\x41\x12\x62udget,update_mask\x82\xd3\xe4\x93\x02\x37\x32-/v1/{budget.name=billingAccounts/*/budgets/*}:\x06\x62udget\x12\x9e\x01\n\tGetBudget\x12\x31.google.cloud.billing.budgets.v1.GetBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1/{name=billingAccounts/*/budgets/*}\x12\xb1\x01\n\x0bListBudgets\x12\x33.google.cloud.billing.budgets.v1.ListBudgetsRequest\x1a\x34.google.cloud.billing.budgets.v1.ListBudgetsResponse\"7\xda\x41\x06parent\x82\xd3\xe4\x93\x02(\x12&/v1/{parent=billingAccounts/*}/budgets\x12\x93\x01\n\x0c\x44\x65leteBudget\x12\x34.google.cloud.billing.budgets.v1.DeleteBudgetRequest\x1a\x16.google.protobuf.Empty\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(*&/v1/{name=billingAccounts/*/budgets/*}\x1a\x7f\xca\x41\x1d\x62illingbudgets.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/cloud-billing,https://www.googleapis.com/auth/cloud-platformBz\n#com.google.cloud.billing.budgets.v1B\x12\x42udgetServiceProtoP\x01Z=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbb\x06proto3"
16
+ descriptor_data = "\n4google/cloud/billing/budgets/v1/budget_service.proto\x12\x1fgoogle.cloud.billing.budgets.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/billing/budgets/v1/budget_model.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x91\x01\n\x13\x43reateBudgetRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$billingbudgets.googleapis.com/Budget\x12<\n\x06\x62udget\x18\x02 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.BudgetB\x03\xe0\x41\x02\"\x89\x01\n\x13UpdateBudgetRequest\x12<\n\x06\x62udget\x18\x01 \x01(\x0b\x32\'.google.cloud.billing.budgets.v1.BudgetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"N\n\x10GetBudgetRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$billingbudgets.googleapis.com/Budget\"\x97\x01\n\x12ListBudgetsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$billingbudgets.googleapis.com/Budget\x12\x12\n\x05scope\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListBudgetsResponse\x12\x38\n\x07\x62udgets\x18\x01 \x03(\x0b\x32\'.google.cloud.billing.budgets.v1.Budget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x13\x44\x65leteBudgetRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$billingbudgets.googleapis.com/Budget2\xf7\x07\n\rBudgetService\x12\xb5\x01\n\x0c\x43reateBudget\x12\x34.google.cloud.billing.budgets.v1.CreateBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"F\xda\x41\rparent,budget\x82\xd3\xe4\x93\x02\x30\"&/v1/{parent=billingAccounts/*}/budgets:\x06\x62udget\x12\xc1\x01\n\x0cUpdateBudget\x12\x34.google.cloud.billing.budgets.v1.UpdateBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"R\xda\x41\x12\x62udget,update_mask\x82\xd3\xe4\x93\x02\x37\x32-/v1/{budget.name=billingAccounts/*/budgets/*}:\x06\x62udget\x12\x9e\x01\n\tGetBudget\x12\x31.google.cloud.billing.budgets.v1.GetBudgetRequest\x1a\'.google.cloud.billing.budgets.v1.Budget\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1/{name=billingAccounts/*/budgets/*}\x12\xb1\x01\n\x0bListBudgets\x12\x33.google.cloud.billing.budgets.v1.ListBudgetsRequest\x1a\x34.google.cloud.billing.budgets.v1.ListBudgetsResponse\"7\xda\x41\x06parent\x82\xd3\xe4\x93\x02(\x12&/v1/{parent=billingAccounts/*}/budgets\x12\x93\x01\n\x0c\x44\x65leteBudget\x12\x34.google.cloud.billing.budgets.v1.DeleteBudgetRequest\x1a\x16.google.protobuf.Empty\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(*&/v1/{name=billingAccounts/*/budgets/*}\x1a\x7f\xca\x41\x1d\x62illingbudgets.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/cloud-billing,https://www.googleapis.com/auth/cloud-platformBz\n#com.google.cloud.billing.budgets.v1B\x12\x42udgetServiceProtoP\x01Z=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbb\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
24
24
  module V1
25
- VERSION = "0.7.2"
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-billing-budgets-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
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-01 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
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Provides methods to view, create, and manage Cloud Billing budgets programmatically
160
48
  at scale. Note that google-cloud-billing-budgets-v1 is a version-specific client
161
49
  library. For most uses, we recommend installing the main client library google-cloud-billing-budgets
@@ -208,14 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
96
  requirements:
209
97
  - - ">="
210
98
  - !ruby/object:Gem::Version
211
- version: '2.6'
99
+ version: '2.7'
212
100
  required_rubygems_version: !ruby/object:Gem::Requirement
213
101
  requirements:
214
102
  - - ">="
215
103
  - !ruby/object:Gem::Version
216
104
  version: '0'
217
105
  requirements: []
218
- rubygems_version: 3.5.3
106
+ rubygems_version: 3.5.6
219
107
  signing_key:
220
108
  specification_version: 4
221
109
  summary: The Cloud Billing Budget API stores Cloud Billing budgets, which define a