google-apis-serviceusage_v1 0.66.0 → 0.68.0

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: a1d5fd630a3f9983ff5dc7cd90609bac6a0c82deb2dd9aa60848e138f88ad8e2
4
- data.tar.gz: e576514a753d81f7fb04399447df59204cb1ce1047f22933868b0531f5e8f449
3
+ metadata.gz: 991d418b8911f5d38cb041db45d61b0112817e62f08d3f529ee48a9f6868ec95
4
+ data.tar.gz: ab987a0b9bb7ed077eb368ad41dad65fa1e790ddde86e0883150beda37be1fe3
5
5
  SHA512:
6
- metadata.gz: 00e2c4dbee3e8d6e4df05b8d5a7e4d72656696c27cee78f27dde511c18a44b899a4094ab944d8c6ec0e3b021b91d6532d22e7b85832cc5e48f90ffe4fb9aafe4
7
- data.tar.gz: ba91a20d2fbedfba047582df0ba28f95fe2965539242ea69816f57dcc6e9a12e2d5ef63f31f078e0629ab51a801ec312484ff2304afcdc549abe4036c695dcd0
6
+ metadata.gz: b527d3af97391332711790daea2e68b8eeb14c948940632c9acfe930f0098e7c3f1095e34f3208ec6a47c158155140d15b2968132ff33af0b1487a6daf72c353
7
+ data.tar.gz: 8cd67f894c2d1fe9a16712745127932e17c7586a17fd5317fe4b164bb5a82b7cdd90150ccef064db26768fdb4f2fb138563dd6bf97fe141a635c0f92ca76357c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.68.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250515
6
+
7
+ ### v0.67.0 (2025-05-18)
8
+
9
+ * Regenerated from discovery document revision 20250511
10
+
3
11
  ### v0.66.0 (2025-05-04)
4
12
 
5
13
  * Regenerated using generator version 0.17.0
@@ -313,7 +313,7 @@ module Google
313
313
  attr_accessor :kind
314
314
 
315
315
  # Content of the configuration. The underlying schema should be defined by
316
- # Aspect owners as protobuf message under `apiserving/configaspects/proto`.
316
+ # Aspect owners as protobuf message under `google/api/configaspects/proto`.
317
317
  # Corresponds to the JSON property `spec`
318
318
  # @return [Hash<String,Object>]
319
319
  attr_accessor :spec
@@ -762,6 +762,140 @@ module Google
762
762
  end
763
763
  end
764
764
 
765
+ # `BatchingConfigProto` defines the batching configuration for an API method.
766
+ class BatchingConfigProto
767
+ include Google::Apis::Core::Hashable
768
+
769
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
770
+ # used for batching, and, optionally, the fields of the response message to be
771
+ # used for demultiplexing.
772
+ # Corresponds to the JSON property `batchDescriptor`
773
+ # @return [Google::Apis::ServiceusageV1::BatchingDescriptorProto]
774
+ attr_accessor :batch_descriptor
775
+
776
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
777
+ # acts as a trigger to send a batch of messages as a request. At least one
778
+ # threshold must be positive nonzero.
779
+ # Corresponds to the JSON property `thresholds`
780
+ # @return [Google::Apis::ServiceusageV1::BatchingSettingsProto]
781
+ attr_accessor :thresholds
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ @batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
790
+ @thresholds = args[:thresholds] if args.key?(:thresholds)
791
+ end
792
+ end
793
+
794
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
795
+ # used for batching, and, optionally, the fields of the response message to be
796
+ # used for demultiplexing.
797
+ class BatchingDescriptorProto
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # The repeated field in the request message to be aggregated by batching.
801
+ # Corresponds to the JSON property `batchedField`
802
+ # @return [String]
803
+ attr_accessor :batched_field
804
+
805
+ # A list of the fields in the request message. Two requests will be batched
806
+ # together only if the values of every field specified in `
807
+ # request_discriminator_fields` is equal between the two requests.
808
+ # Corresponds to the JSON property `discriminatorFields`
809
+ # @return [Array<String>]
810
+ attr_accessor :discriminator_fields
811
+
812
+ # Optional. When present, indicates the field in the response message to be used
813
+ # to demultiplex the response into multiple response messages, in correspondence
814
+ # with the multiple request messages originally batched together.
815
+ # Corresponds to the JSON property `subresponseField`
816
+ # @return [String]
817
+ attr_accessor :subresponse_field
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @batched_field = args[:batched_field] if args.key?(:batched_field)
826
+ @discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
827
+ @subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
828
+ end
829
+ end
830
+
831
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
832
+ # acts as a trigger to send a batch of messages as a request. At least one
833
+ # threshold must be positive nonzero.
834
+ class BatchingSettingsProto
835
+ include Google::Apis::Core::Hashable
836
+
837
+ # The duration after which a batch should be sent, starting from the addition of
838
+ # the first message to that batch.
839
+ # Corresponds to the JSON property `delayThreshold`
840
+ # @return [String]
841
+ attr_accessor :delay_threshold
842
+
843
+ # The maximum number of elements collected in a batch that could be accepted by
844
+ # server.
845
+ # Corresponds to the JSON property `elementCountLimit`
846
+ # @return [Fixnum]
847
+ attr_accessor :element_count_limit
848
+
849
+ # The number of elements of a field collected into a batch which, if exceeded,
850
+ # causes the batch to be sent.
851
+ # Corresponds to the JSON property `elementCountThreshold`
852
+ # @return [Fixnum]
853
+ attr_accessor :element_count_threshold
854
+
855
+ # The maximum size of data allowed by flow control.
856
+ # Corresponds to the JSON property `flowControlByteLimit`
857
+ # @return [Fixnum]
858
+ attr_accessor :flow_control_byte_limit
859
+
860
+ # The maximum number of elements allowed by flow control.
861
+ # Corresponds to the JSON property `flowControlElementLimit`
862
+ # @return [Fixnum]
863
+ attr_accessor :flow_control_element_limit
864
+
865
+ # The behavior to take when the flow control limit is exceeded.
866
+ # Corresponds to the JSON property `flowControlLimitExceededBehavior`
867
+ # @return [String]
868
+ attr_accessor :flow_control_limit_exceeded_behavior
869
+
870
+ # The maximum size of the request that could be accepted by server.
871
+ # Corresponds to the JSON property `requestByteLimit`
872
+ # @return [Fixnum]
873
+ attr_accessor :request_byte_limit
874
+
875
+ # The aggregated size of the batched field which, if exceeded, causes the batch
876
+ # to be sent. This size is computed by aggregating the sizes of the request
877
+ # field to be batched, not of the entire request message.
878
+ # Corresponds to the JSON property `requestByteThreshold`
879
+ # @return [Fixnum]
880
+ attr_accessor :request_byte_threshold
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
889
+ @element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
890
+ @element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
891
+ @flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
892
+ @flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
893
+ @flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
894
+ @request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
895
+ @request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
896
+ end
897
+ end
898
+
765
899
  # Billing related configuration of the service. The following example shows how
766
900
  # to configure monitored resources and metrics for billing, `
767
901
  # consumer_destinations` is the only supported destination and the monitored
@@ -3696,6 +3830,11 @@ module Google
3696
3830
  # @return [Array<String>]
3697
3831
  attr_accessor :auto_populated_fields
3698
3832
 
3833
+ # `BatchingConfigProto` defines the batching configuration for an API method.
3834
+ # Corresponds to the JSON property `batching`
3835
+ # @return [Google::Apis::ServiceusageV1::BatchingConfigProto]
3836
+ attr_accessor :batching
3837
+
3699
3838
  # Describes settings to use when generating API methods that use the long-
3700
3839
  # running operation pattern. All default values below are from those used in the
3701
3840
  # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -3720,6 +3859,7 @@ module Google
3720
3859
  # Update properties of this object
3721
3860
  def update!(**args)
3722
3861
  @auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
3862
+ @batching = args[:batching] if args.key?(:batching)
3723
3863
  @long_running = args[:long_running] if args.key?(:long_running)
3724
3864
  @selector = args[:selector] if args.key?(:selector)
3725
3865
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.66.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250313"
25
+ REVISION = "20250515"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,24 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class BatchingConfigProto
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class BatchingDescriptorProto
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class BatchingSettingsProto
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class Billing
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -980,6 +998,39 @@ module Google
980
998
  end
981
999
  end
982
1000
 
1001
+ class BatchingConfigProto
1002
+ # @private
1003
+ class Representation < Google::Apis::Core::JsonRepresentation
1004
+ property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServiceusageV1::BatchingDescriptorProto, decorator: Google::Apis::ServiceusageV1::BatchingDescriptorProto::Representation
1005
+
1006
+ property :thresholds, as: 'thresholds', class: Google::Apis::ServiceusageV1::BatchingSettingsProto, decorator: Google::Apis::ServiceusageV1::BatchingSettingsProto::Representation
1007
+
1008
+ end
1009
+ end
1010
+
1011
+ class BatchingDescriptorProto
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :batched_field, as: 'batchedField'
1015
+ collection :discriminator_fields, as: 'discriminatorFields'
1016
+ property :subresponse_field, as: 'subresponseField'
1017
+ end
1018
+ end
1019
+
1020
+ class BatchingSettingsProto
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :delay_threshold, as: 'delayThreshold'
1024
+ property :element_count_limit, as: 'elementCountLimit'
1025
+ property :element_count_threshold, as: 'elementCountThreshold'
1026
+ property :flow_control_byte_limit, as: 'flowControlByteLimit'
1027
+ property :flow_control_element_limit, as: 'flowControlElementLimit'
1028
+ property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
1029
+ property :request_byte_limit, as: 'requestByteLimit'
1030
+ property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
1031
+ end
1032
+ end
1033
+
983
1034
  class Billing
984
1035
  # @private
985
1036
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1714,6 +1765,8 @@ module Google
1714
1765
  # @private
1715
1766
  class Representation < Google::Apis::Core::JsonRepresentation
1716
1767
  collection :auto_populated_fields, as: 'autoPopulatedFields'
1768
+ property :batching, as: 'batching', class: Google::Apis::ServiceusageV1::BatchingConfigProto, decorator: Google::Apis::ServiceusageV1::BatchingConfigProto::Representation
1769
+
1717
1770
  property :long_running, as: 'longRunning', class: Google::Apis::ServiceusageV1::LongRunning, decorator: Google::Apis::ServiceusageV1::LongRunning::Representation
1718
1771
 
1719
1772
  property :selector, as: 'selector'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.66.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Service Usage API V1
79
79
  test_files: []