google-apis-serviceconsumermanagement_v1 0.59.0 → 0.60.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: 7d9f619be5b2e16d72ae96abebca6c12acac83b50a9ec505020e41ea311b56f9
|
4
|
+
data.tar.gz: 47ee11c0be203d5eec1a11d639b039f1a01b1592f5b00c5ccc87fdae4a95b619
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f095d7346c63abaa79c548b6e58e6a3e44d83877a9ef02a0c90b21c91c8012c14ccd2165059d2e008044e0da2ab8e1780ea3df7812f8d5af074a61d622895b0
|
7
|
+
data.tar.gz: 336d813cc70abd3a5869beb30792d56f9b065f0636fb49db75f69a3158d851c1188b4b4da13de1813ecc3e7ecc9e0656aa284ca29062b44707cc2d383ce787aa
|
data/CHANGELOG.md
CHANGED
@@ -541,6 +541,140 @@ module Google
|
|
541
541
|
end
|
542
542
|
end
|
543
543
|
|
544
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
545
|
+
class BatchingConfigProto
|
546
|
+
include Google::Apis::Core::Hashable
|
547
|
+
|
548
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
549
|
+
# used for batching, and, optionally, the fields of the response message to be
|
550
|
+
# used for demultiplexing.
|
551
|
+
# Corresponds to the JSON property `batchDescriptor`
|
552
|
+
# @return [Google::Apis::ServiceconsumermanagementV1::BatchingDescriptorProto]
|
553
|
+
attr_accessor :batch_descriptor
|
554
|
+
|
555
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
556
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
557
|
+
# threshold must be positive nonzero.
|
558
|
+
# Corresponds to the JSON property `thresholds`
|
559
|
+
# @return [Google::Apis::ServiceconsumermanagementV1::BatchingSettingsProto]
|
560
|
+
attr_accessor :thresholds
|
561
|
+
|
562
|
+
def initialize(**args)
|
563
|
+
update!(**args)
|
564
|
+
end
|
565
|
+
|
566
|
+
# Update properties of this object
|
567
|
+
def update!(**args)
|
568
|
+
@batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
|
569
|
+
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
574
|
+
# used for batching, and, optionally, the fields of the response message to be
|
575
|
+
# used for demultiplexing.
|
576
|
+
class BatchingDescriptorProto
|
577
|
+
include Google::Apis::Core::Hashable
|
578
|
+
|
579
|
+
# The repeated field in the request message to be aggregated by batching.
|
580
|
+
# Corresponds to the JSON property `batchedField`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :batched_field
|
583
|
+
|
584
|
+
# A list of the fields in the request message. Two requests will be batched
|
585
|
+
# together only if the values of every field specified in `
|
586
|
+
# request_discriminator_fields` is equal between the two requests.
|
587
|
+
# Corresponds to the JSON property `discriminatorFields`
|
588
|
+
# @return [Array<String>]
|
589
|
+
attr_accessor :discriminator_fields
|
590
|
+
|
591
|
+
# Optional. When present, indicates the field in the response message to be used
|
592
|
+
# to demultiplex the response into multiple response messages, in correspondence
|
593
|
+
# with the multiple request messages originally batched together.
|
594
|
+
# Corresponds to the JSON property `subresponseField`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :subresponse_field
|
597
|
+
|
598
|
+
def initialize(**args)
|
599
|
+
update!(**args)
|
600
|
+
end
|
601
|
+
|
602
|
+
# Update properties of this object
|
603
|
+
def update!(**args)
|
604
|
+
@batched_field = args[:batched_field] if args.key?(:batched_field)
|
605
|
+
@discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
|
606
|
+
@subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
611
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
612
|
+
# threshold must be positive nonzero.
|
613
|
+
class BatchingSettingsProto
|
614
|
+
include Google::Apis::Core::Hashable
|
615
|
+
|
616
|
+
# The duration after which a batch should be sent, starting from the addition of
|
617
|
+
# the first message to that batch.
|
618
|
+
# Corresponds to the JSON property `delayThreshold`
|
619
|
+
# @return [String]
|
620
|
+
attr_accessor :delay_threshold
|
621
|
+
|
622
|
+
# The maximum number of elements collected in a batch that could be accepted by
|
623
|
+
# server.
|
624
|
+
# Corresponds to the JSON property `elementCountLimit`
|
625
|
+
# @return [Fixnum]
|
626
|
+
attr_accessor :element_count_limit
|
627
|
+
|
628
|
+
# The number of elements of a field collected into a batch which, if exceeded,
|
629
|
+
# causes the batch to be sent.
|
630
|
+
# Corresponds to the JSON property `elementCountThreshold`
|
631
|
+
# @return [Fixnum]
|
632
|
+
attr_accessor :element_count_threshold
|
633
|
+
|
634
|
+
# The maximum size of data allowed by flow control.
|
635
|
+
# Corresponds to the JSON property `flowControlByteLimit`
|
636
|
+
# @return [Fixnum]
|
637
|
+
attr_accessor :flow_control_byte_limit
|
638
|
+
|
639
|
+
# The maximum number of elements allowed by flow control.
|
640
|
+
# Corresponds to the JSON property `flowControlElementLimit`
|
641
|
+
# @return [Fixnum]
|
642
|
+
attr_accessor :flow_control_element_limit
|
643
|
+
|
644
|
+
# The behavior to take when the flow control limit is exceeded.
|
645
|
+
# Corresponds to the JSON property `flowControlLimitExceededBehavior`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :flow_control_limit_exceeded_behavior
|
648
|
+
|
649
|
+
# The maximum size of the request that could be accepted by server.
|
650
|
+
# Corresponds to the JSON property `requestByteLimit`
|
651
|
+
# @return [Fixnum]
|
652
|
+
attr_accessor :request_byte_limit
|
653
|
+
|
654
|
+
# The aggregated size of the batched field which, if exceeded, causes the batch
|
655
|
+
# to be sent. This size is computed by aggregating the sizes of the request
|
656
|
+
# field to be batched, not of the entire request message.
|
657
|
+
# Corresponds to the JSON property `requestByteThreshold`
|
658
|
+
# @return [Fixnum]
|
659
|
+
attr_accessor :request_byte_threshold
|
660
|
+
|
661
|
+
def initialize(**args)
|
662
|
+
update!(**args)
|
663
|
+
end
|
664
|
+
|
665
|
+
# Update properties of this object
|
666
|
+
def update!(**args)
|
667
|
+
@delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
|
668
|
+
@element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
|
669
|
+
@element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
|
670
|
+
@flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
|
671
|
+
@flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
|
672
|
+
@flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
|
673
|
+
@request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
|
674
|
+
@request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
544
678
|
# Billing related configuration of the service. The following example shows how
|
545
679
|
# to configure monitored resources and metrics for billing, `
|
546
680
|
# consumer_destinations` is the only supported destination and the monitored
|
@@ -2218,6 +2352,11 @@ module Google
|
|
2218
2352
|
# @return [Array<String>]
|
2219
2353
|
attr_accessor :auto_populated_fields
|
2220
2354
|
|
2355
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
2356
|
+
# Corresponds to the JSON property `batching`
|
2357
|
+
# @return [Google::Apis::ServiceconsumermanagementV1::BatchingConfigProto]
|
2358
|
+
attr_accessor :batching
|
2359
|
+
|
2221
2360
|
# Describes settings to use when generating API methods that use the long-
|
2222
2361
|
# running operation pattern. All default values below are from those used in the
|
2223
2362
|
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
|
@@ -2242,6 +2381,7 @@ module Google
|
|
2242
2381
|
# Update properties of this object
|
2243
2382
|
def update!(**args)
|
2244
2383
|
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
|
2384
|
+
@batching = args[:batching] if args.key?(:batching)
|
2245
2385
|
@long_running = args[:long_running] if args.key?(:long_running)
|
2246
2386
|
@selector = args[:selector] if args.key?(:selector)
|
2247
2387
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceconsumermanagementV1
|
18
18
|
# Version of the google-apis-serviceconsumermanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.60.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
|
@@ -88,6 +88,24 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class BatchingConfigProto
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class BatchingDescriptorProto
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class BatchingSettingsProto
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class Billing
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -791,6 +809,39 @@ module Google
|
|
791
809
|
end
|
792
810
|
end
|
793
811
|
|
812
|
+
class BatchingConfigProto
|
813
|
+
# @private
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
815
|
+
property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServiceconsumermanagementV1::BatchingDescriptorProto, decorator: Google::Apis::ServiceconsumermanagementV1::BatchingDescriptorProto::Representation
|
816
|
+
|
817
|
+
property :thresholds, as: 'thresholds', class: Google::Apis::ServiceconsumermanagementV1::BatchingSettingsProto, decorator: Google::Apis::ServiceconsumermanagementV1::BatchingSettingsProto::Representation
|
818
|
+
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
class BatchingDescriptorProto
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
property :batched_field, as: 'batchedField'
|
826
|
+
collection :discriminator_fields, as: 'discriminatorFields'
|
827
|
+
property :subresponse_field, as: 'subresponseField'
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
class BatchingSettingsProto
|
832
|
+
# @private
|
833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
+
property :delay_threshold, as: 'delayThreshold'
|
835
|
+
property :element_count_limit, as: 'elementCountLimit'
|
836
|
+
property :element_count_threshold, as: 'elementCountThreshold'
|
837
|
+
property :flow_control_byte_limit, as: 'flowControlByteLimit'
|
838
|
+
property :flow_control_element_limit, as: 'flowControlElementLimit'
|
839
|
+
property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
|
840
|
+
property :request_byte_limit, as: 'requestByteLimit'
|
841
|
+
property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
794
845
|
class Billing
|
795
846
|
# @private
|
796
847
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1195,6 +1246,8 @@ module Google
|
|
1195
1246
|
# @private
|
1196
1247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1197
1248
|
collection :auto_populated_fields, as: 'autoPopulatedFields'
|
1249
|
+
property :batching, as: 'batching', class: Google::Apis::ServiceconsumermanagementV1::BatchingConfigProto, decorator: Google::Apis::ServiceconsumermanagementV1::BatchingConfigProto::Representation
|
1250
|
+
|
1198
1251
|
property :long_running, as: 'longRunning', class: Google::Apis::ServiceconsumermanagementV1::LongRunning, decorator: Google::Apis::ServiceconsumermanagementV1::LongRunning::Representation
|
1199
1252
|
|
1200
1253
|
property :selector, as: 'selector'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceconsumermanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.60.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-serviceconsumermanagement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.60.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_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.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Service Consumer Management API V1
|
79
79
|
test_files: []
|