google-cloud-billing-budgets-v1beta1 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac413997a5db38cc8f07c1ef163a1840aee67e06d297379618cb19515e008b7f
4
- data.tar.gz: a32ee7cefeaec2b8945b538651ff382ccb5d23947ef6218ca9f22d2b016f70d8
3
+ metadata.gz: 1f4a0a0484fe81650002e69c40532079a1106727c40e3ba35d523ebfddc49938
4
+ data.tar.gz: dd70bc455e887cd08c11405bf58b5f9a507e090df7920c56a9b6eb9d968d01f6
5
5
  SHA512:
6
- metadata.gz: 6a6a063becdc430df8fdd892f9872b749e48eec7e0241dc4667b0439b97ff8cf6776a6b9e72ed8feefc2eecec83955e0fd066f89e231a2863f8b4fa769e4b590
7
- data.tar.gz: 944244f816c745c1bb6da34655f9c8c24c56daf4da431ab2640f15c95011419104de8451bea5dde822313e675e58b22dd002ea59b7aca7890a819da03ce4cc72
6
+ metadata.gz: 443a65b87709fda3695a7314db26d7d61202b3cfd9c16e75b77e017aac270cec641c770453c3f6c28b5ec6b97d58c916451818e7aceedb6c61cbab28010a0075
7
+ data.tar.gz: 1fce9f614dabae6340a9cfcc2aeea13e06027dfdeebcef3761da768dfa7dffaea0352c4cb3f79c35b9c3c4cb8ebcbeaa44c3249f5d46c32bc0d6da224cf8d09d
@@ -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::V1beta1::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::V1beta1::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::V1beta1::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::V1beta1::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::V1beta1::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 = {}
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
24
24
  module V1beta1
25
- VERSION = "0.12.0"
25
+ VERSION = "0.12.1"
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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-billing-budgets-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
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-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common