google-apis-serviceusage_v1beta1 0.67.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65de5b09c8394fbf7ec7b3798e57582089e39f9f6d9c461f657050ba8c9b22e7
|
4
|
+
data.tar.gz: 7557bec17f8b4cba2729fda63cd6168806a813159d2e6830c5a361b6bf100970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42bda4b4fb3a8f07d1434a422cd455656306af91ec7c77faf8c2c488c3d90d0945094056fc440615eecc38c25600a215448786e2eb1c3c320d64d45eef39296
|
7
|
+
data.tar.gz: 4ff23bf18152628b22a09d13accc87331648013f94dca3b9f459f83dbf2fcb2e8828a0a6307dd6b29d56976f6cfcbbafbbfaa2349033ea3182fc33246dc306e5
|
data/CHANGELOG.md
CHANGED
@@ -745,6 +745,140 @@ module Google
|
|
745
745
|
end
|
746
746
|
end
|
747
747
|
|
748
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
749
|
+
class BatchingConfigProto
|
750
|
+
include Google::Apis::Core::Hashable
|
751
|
+
|
752
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
753
|
+
# used for batching, and, optionally, the fields of the response message to be
|
754
|
+
# used for demultiplexing.
|
755
|
+
# Corresponds to the JSON property `batchDescriptor`
|
756
|
+
# @return [Google::Apis::ServiceusageV1beta1::BatchingDescriptorProto]
|
757
|
+
attr_accessor :batch_descriptor
|
758
|
+
|
759
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
760
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
761
|
+
# threshold must be positive nonzero.
|
762
|
+
# Corresponds to the JSON property `thresholds`
|
763
|
+
# @return [Google::Apis::ServiceusageV1beta1::BatchingSettingsProto]
|
764
|
+
attr_accessor :thresholds
|
765
|
+
|
766
|
+
def initialize(**args)
|
767
|
+
update!(**args)
|
768
|
+
end
|
769
|
+
|
770
|
+
# Update properties of this object
|
771
|
+
def update!(**args)
|
772
|
+
@batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
|
773
|
+
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
778
|
+
# used for batching, and, optionally, the fields of the response message to be
|
779
|
+
# used for demultiplexing.
|
780
|
+
class BatchingDescriptorProto
|
781
|
+
include Google::Apis::Core::Hashable
|
782
|
+
|
783
|
+
# The repeated field in the request message to be aggregated by batching.
|
784
|
+
# Corresponds to the JSON property `batchedField`
|
785
|
+
# @return [String]
|
786
|
+
attr_accessor :batched_field
|
787
|
+
|
788
|
+
# A list of the fields in the request message. Two requests will be batched
|
789
|
+
# together only if the values of every field specified in `
|
790
|
+
# request_discriminator_fields` is equal between the two requests.
|
791
|
+
# Corresponds to the JSON property `discriminatorFields`
|
792
|
+
# @return [Array<String>]
|
793
|
+
attr_accessor :discriminator_fields
|
794
|
+
|
795
|
+
# Optional. When present, indicates the field in the response message to be used
|
796
|
+
# to demultiplex the response into multiple response messages, in correspondence
|
797
|
+
# with the multiple request messages originally batched together.
|
798
|
+
# Corresponds to the JSON property `subresponseField`
|
799
|
+
# @return [String]
|
800
|
+
attr_accessor :subresponse_field
|
801
|
+
|
802
|
+
def initialize(**args)
|
803
|
+
update!(**args)
|
804
|
+
end
|
805
|
+
|
806
|
+
# Update properties of this object
|
807
|
+
def update!(**args)
|
808
|
+
@batched_field = args[:batched_field] if args.key?(:batched_field)
|
809
|
+
@discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
|
810
|
+
@subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
815
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
816
|
+
# threshold must be positive nonzero.
|
817
|
+
class BatchingSettingsProto
|
818
|
+
include Google::Apis::Core::Hashable
|
819
|
+
|
820
|
+
# The duration after which a batch should be sent, starting from the addition of
|
821
|
+
# the first message to that batch.
|
822
|
+
# Corresponds to the JSON property `delayThreshold`
|
823
|
+
# @return [String]
|
824
|
+
attr_accessor :delay_threshold
|
825
|
+
|
826
|
+
# The maximum number of elements collected in a batch that could be accepted by
|
827
|
+
# server.
|
828
|
+
# Corresponds to the JSON property `elementCountLimit`
|
829
|
+
# @return [Fixnum]
|
830
|
+
attr_accessor :element_count_limit
|
831
|
+
|
832
|
+
# The number of elements of a field collected into a batch which, if exceeded,
|
833
|
+
# causes the batch to be sent.
|
834
|
+
# Corresponds to the JSON property `elementCountThreshold`
|
835
|
+
# @return [Fixnum]
|
836
|
+
attr_accessor :element_count_threshold
|
837
|
+
|
838
|
+
# The maximum size of data allowed by flow control.
|
839
|
+
# Corresponds to the JSON property `flowControlByteLimit`
|
840
|
+
# @return [Fixnum]
|
841
|
+
attr_accessor :flow_control_byte_limit
|
842
|
+
|
843
|
+
# The maximum number of elements allowed by flow control.
|
844
|
+
# Corresponds to the JSON property `flowControlElementLimit`
|
845
|
+
# @return [Fixnum]
|
846
|
+
attr_accessor :flow_control_element_limit
|
847
|
+
|
848
|
+
# The behavior to take when the flow control limit is exceeded.
|
849
|
+
# Corresponds to the JSON property `flowControlLimitExceededBehavior`
|
850
|
+
# @return [String]
|
851
|
+
attr_accessor :flow_control_limit_exceeded_behavior
|
852
|
+
|
853
|
+
# The maximum size of the request that could be accepted by server.
|
854
|
+
# Corresponds to the JSON property `requestByteLimit`
|
855
|
+
# @return [Fixnum]
|
856
|
+
attr_accessor :request_byte_limit
|
857
|
+
|
858
|
+
# The aggregated size of the batched field which, if exceeded, causes the batch
|
859
|
+
# to be sent. This size is computed by aggregating the sizes of the request
|
860
|
+
# field to be batched, not of the entire request message.
|
861
|
+
# Corresponds to the JSON property `requestByteThreshold`
|
862
|
+
# @return [Fixnum]
|
863
|
+
attr_accessor :request_byte_threshold
|
864
|
+
|
865
|
+
def initialize(**args)
|
866
|
+
update!(**args)
|
867
|
+
end
|
868
|
+
|
869
|
+
# Update properties of this object
|
870
|
+
def update!(**args)
|
871
|
+
@delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
|
872
|
+
@element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
|
873
|
+
@element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
|
874
|
+
@flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
|
875
|
+
@flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
|
876
|
+
@flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
|
877
|
+
@request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
|
878
|
+
@request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
748
882
|
# Billing related configuration of the service. The following example shows how
|
749
883
|
# to configure monitored resources and metrics for billing, `
|
750
884
|
# consumer_destinations` is the only supported destination and the monitored
|
@@ -3931,6 +4065,11 @@ module Google
|
|
3931
4065
|
# @return [Array<String>]
|
3932
4066
|
attr_accessor :auto_populated_fields
|
3933
4067
|
|
4068
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
4069
|
+
# Corresponds to the JSON property `batching`
|
4070
|
+
# @return [Google::Apis::ServiceusageV1beta1::BatchingConfigProto]
|
4071
|
+
attr_accessor :batching
|
4072
|
+
|
3934
4073
|
# Describes settings to use when generating API methods that use the long-
|
3935
4074
|
# running operation pattern. All default values below are from those used in the
|
3936
4075
|
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
|
@@ -3955,6 +4094,7 @@ module Google
|
|
3955
4094
|
# Update properties of this object
|
3956
4095
|
def update!(**args)
|
3957
4096
|
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
|
4097
|
+
@batching = args[:batching] if args.key?(:batching)
|
3958
4098
|
@long_running = args[:long_running] if args.key?(:long_running)
|
3959
4099
|
@selector = args[:selector] if args.key?(:selector)
|
3960
4100
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceusageV1beta1
|
18
18
|
# Version of the google-apis-serviceusage_v1beta1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
25
|
+
REVISION = "20250515"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,24 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class BatchingConfigProto
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class BatchingDescriptorProto
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class BatchingSettingsProto
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
139
157
|
class Billing
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
@@ -1038,6 +1056,39 @@ module Google
|
|
1038
1056
|
end
|
1039
1057
|
end
|
1040
1058
|
|
1059
|
+
class BatchingConfigProto
|
1060
|
+
# @private
|
1061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1062
|
+
property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServiceusageV1beta1::BatchingDescriptorProto, decorator: Google::Apis::ServiceusageV1beta1::BatchingDescriptorProto::Representation
|
1063
|
+
|
1064
|
+
property :thresholds, as: 'thresholds', class: Google::Apis::ServiceusageV1beta1::BatchingSettingsProto, decorator: Google::Apis::ServiceusageV1beta1::BatchingSettingsProto::Representation
|
1065
|
+
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
class BatchingDescriptorProto
|
1070
|
+
# @private
|
1071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
+
property :batched_field, as: 'batchedField'
|
1073
|
+
collection :discriminator_fields, as: 'discriminatorFields'
|
1074
|
+
property :subresponse_field, as: 'subresponseField'
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
class BatchingSettingsProto
|
1079
|
+
# @private
|
1080
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1081
|
+
property :delay_threshold, as: 'delayThreshold'
|
1082
|
+
property :element_count_limit, as: 'elementCountLimit'
|
1083
|
+
property :element_count_threshold, as: 'elementCountThreshold'
|
1084
|
+
property :flow_control_byte_limit, as: 'flowControlByteLimit'
|
1085
|
+
property :flow_control_element_limit, as: 'flowControlElementLimit'
|
1086
|
+
property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
|
1087
|
+
property :request_byte_limit, as: 'requestByteLimit'
|
1088
|
+
property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1041
1092
|
class Billing
|
1042
1093
|
# @private
|
1043
1094
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1839,6 +1890,8 @@ module Google
|
|
1839
1890
|
# @private
|
1840
1891
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1841
1892
|
collection :auto_populated_fields, as: 'autoPopulatedFields'
|
1893
|
+
property :batching, as: 'batching', class: Google::Apis::ServiceusageV1beta1::BatchingConfigProto, decorator: Google::Apis::ServiceusageV1beta1::BatchingConfigProto::Representation
|
1894
|
+
|
1842
1895
|
property :long_running, as: 'longRunning', class: Google::Apis::ServiceusageV1beta1::LongRunning, decorator: Google::Apis::ServiceusageV1beta1::LongRunning::Representation
|
1843
1896
|
|
1844
1897
|
property :selector, as: 'selector'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceusage_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.68.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
|
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.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Service Usage API V1beta1
|
79
79
|
test_files: []
|