google-apis-serviceconsumermanagement_v1beta1 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: c693ba2d769f6738e352b7a1a888a7f236df175173565be27fb5e7a19d587aaf
|
4
|
+
data.tar.gz: 219b6e37494550d043f0cc866d603380f605e7d520379eef0bc5a4c7eb6c4168
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04e8266178ac5a0ab342a9f9a7bddd9d663d98ba4112f802a1cba292e5cb4b6dafc18a89a6d5a67de8cc99bbe9c042bd620733f8655025de40d4b6bf31bdb1e2
|
7
|
+
data.tar.gz: ef628cc5a2c7f8dabcc1fd614e42a2bb1afde385d4ab7bf6440ca51a55e4a64f594da1ecc26ca791db281b1cbf17134b6a05a45b5b09626a101d2892e43b6b16
|
data/CHANGELOG.md
CHANGED
@@ -449,6 +449,140 @@ module Google
|
|
449
449
|
end
|
450
450
|
end
|
451
451
|
|
452
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
453
|
+
class BatchingConfigProto
|
454
|
+
include Google::Apis::Core::Hashable
|
455
|
+
|
456
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
457
|
+
# used for batching, and, optionally, the fields of the response message to be
|
458
|
+
# used for demultiplexing.
|
459
|
+
# Corresponds to the JSON property `batchDescriptor`
|
460
|
+
# @return [Google::Apis::ServiceconsumermanagementV1beta1::BatchingDescriptorProto]
|
461
|
+
attr_accessor :batch_descriptor
|
462
|
+
|
463
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
464
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
465
|
+
# threshold must be positive nonzero.
|
466
|
+
# Corresponds to the JSON property `thresholds`
|
467
|
+
# @return [Google::Apis::ServiceconsumermanagementV1beta1::BatchingSettingsProto]
|
468
|
+
attr_accessor :thresholds
|
469
|
+
|
470
|
+
def initialize(**args)
|
471
|
+
update!(**args)
|
472
|
+
end
|
473
|
+
|
474
|
+
# Update properties of this object
|
475
|
+
def update!(**args)
|
476
|
+
@batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
|
477
|
+
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
482
|
+
# used for batching, and, optionally, the fields of the response message to be
|
483
|
+
# used for demultiplexing.
|
484
|
+
class BatchingDescriptorProto
|
485
|
+
include Google::Apis::Core::Hashable
|
486
|
+
|
487
|
+
# The repeated field in the request message to be aggregated by batching.
|
488
|
+
# Corresponds to the JSON property `batchedField`
|
489
|
+
# @return [String]
|
490
|
+
attr_accessor :batched_field
|
491
|
+
|
492
|
+
# A list of the fields in the request message. Two requests will be batched
|
493
|
+
# together only if the values of every field specified in `
|
494
|
+
# request_discriminator_fields` is equal between the two requests.
|
495
|
+
# Corresponds to the JSON property `discriminatorFields`
|
496
|
+
# @return [Array<String>]
|
497
|
+
attr_accessor :discriminator_fields
|
498
|
+
|
499
|
+
# Optional. When present, indicates the field in the response message to be used
|
500
|
+
# to demultiplex the response into multiple response messages, in correspondence
|
501
|
+
# with the multiple request messages originally batched together.
|
502
|
+
# Corresponds to the JSON property `subresponseField`
|
503
|
+
# @return [String]
|
504
|
+
attr_accessor :subresponse_field
|
505
|
+
|
506
|
+
def initialize(**args)
|
507
|
+
update!(**args)
|
508
|
+
end
|
509
|
+
|
510
|
+
# Update properties of this object
|
511
|
+
def update!(**args)
|
512
|
+
@batched_field = args[:batched_field] if args.key?(:batched_field)
|
513
|
+
@discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
|
514
|
+
@subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of which
|
519
|
+
# acts as a trigger to send a batch of messages as a request. At least one
|
520
|
+
# threshold must be positive nonzero.
|
521
|
+
class BatchingSettingsProto
|
522
|
+
include Google::Apis::Core::Hashable
|
523
|
+
|
524
|
+
# The duration after which a batch should be sent, starting from the addition of
|
525
|
+
# the first message to that batch.
|
526
|
+
# Corresponds to the JSON property `delayThreshold`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :delay_threshold
|
529
|
+
|
530
|
+
# The maximum number of elements collected in a batch that could be accepted by
|
531
|
+
# server.
|
532
|
+
# Corresponds to the JSON property `elementCountLimit`
|
533
|
+
# @return [Fixnum]
|
534
|
+
attr_accessor :element_count_limit
|
535
|
+
|
536
|
+
# The number of elements of a field collected into a batch which, if exceeded,
|
537
|
+
# causes the batch to be sent.
|
538
|
+
# Corresponds to the JSON property `elementCountThreshold`
|
539
|
+
# @return [Fixnum]
|
540
|
+
attr_accessor :element_count_threshold
|
541
|
+
|
542
|
+
# The maximum size of data allowed by flow control.
|
543
|
+
# Corresponds to the JSON property `flowControlByteLimit`
|
544
|
+
# @return [Fixnum]
|
545
|
+
attr_accessor :flow_control_byte_limit
|
546
|
+
|
547
|
+
# The maximum number of elements allowed by flow control.
|
548
|
+
# Corresponds to the JSON property `flowControlElementLimit`
|
549
|
+
# @return [Fixnum]
|
550
|
+
attr_accessor :flow_control_element_limit
|
551
|
+
|
552
|
+
# The behavior to take when the flow control limit is exceeded.
|
553
|
+
# Corresponds to the JSON property `flowControlLimitExceededBehavior`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :flow_control_limit_exceeded_behavior
|
556
|
+
|
557
|
+
# The maximum size of the request that could be accepted by server.
|
558
|
+
# Corresponds to the JSON property `requestByteLimit`
|
559
|
+
# @return [Fixnum]
|
560
|
+
attr_accessor :request_byte_limit
|
561
|
+
|
562
|
+
# The aggregated size of the batched field which, if exceeded, causes the batch
|
563
|
+
# to be sent. This size is computed by aggregating the sizes of the request
|
564
|
+
# field to be batched, not of the entire request message.
|
565
|
+
# Corresponds to the JSON property `requestByteThreshold`
|
566
|
+
# @return [Fixnum]
|
567
|
+
attr_accessor :request_byte_threshold
|
568
|
+
|
569
|
+
def initialize(**args)
|
570
|
+
update!(**args)
|
571
|
+
end
|
572
|
+
|
573
|
+
# Update properties of this object
|
574
|
+
def update!(**args)
|
575
|
+
@delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
|
576
|
+
@element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
|
577
|
+
@element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
|
578
|
+
@flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
|
579
|
+
@flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
|
580
|
+
@flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
|
581
|
+
@request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
|
582
|
+
@request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
452
586
|
# Billing related configuration of the service. The following example shows how
|
453
587
|
# to configure monitored resources and metrics for billing, `
|
454
588
|
# consumer_destinations` is the only supported destination and the monitored
|
@@ -1999,6 +2133,11 @@ module Google
|
|
1999
2133
|
# @return [Array<String>]
|
2000
2134
|
attr_accessor :auto_populated_fields
|
2001
2135
|
|
2136
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
2137
|
+
# Corresponds to the JSON property `batching`
|
2138
|
+
# @return [Google::Apis::ServiceconsumermanagementV1beta1::BatchingConfigProto]
|
2139
|
+
attr_accessor :batching
|
2140
|
+
|
2002
2141
|
# Describes settings to use when generating API methods that use the long-
|
2003
2142
|
# running operation pattern. All default values below are from those used in the
|
2004
2143
|
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
|
@@ -2023,6 +2162,7 @@ module Google
|
|
2023
2162
|
# Update properties of this object
|
2024
2163
|
def update!(**args)
|
2025
2164
|
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
|
2165
|
+
@batching = args[:batching] if args.key?(:batching)
|
2026
2166
|
@long_running = args[:long_running] if args.key?(:long_running)
|
2027
2167
|
@selector = args[:selector] if args.key?(:selector)
|
2028
2168
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceconsumermanagementV1beta1
|
18
18
|
# Version of the google-apis-serviceconsumermanagement_v1beta1 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
|
@@ -70,6 +70,24 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BatchingConfigProto
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BatchingDescriptorProto
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class BatchingSettingsProto
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class Billing
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -722,6 +740,39 @@ module Google
|
|
722
740
|
end
|
723
741
|
end
|
724
742
|
|
743
|
+
class BatchingConfigProto
|
744
|
+
# @private
|
745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
746
|
+
property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServiceconsumermanagementV1beta1::BatchingDescriptorProto, decorator: Google::Apis::ServiceconsumermanagementV1beta1::BatchingDescriptorProto::Representation
|
747
|
+
|
748
|
+
property :thresholds, as: 'thresholds', class: Google::Apis::ServiceconsumermanagementV1beta1::BatchingSettingsProto, decorator: Google::Apis::ServiceconsumermanagementV1beta1::BatchingSettingsProto::Representation
|
749
|
+
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
class BatchingDescriptorProto
|
754
|
+
# @private
|
755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
756
|
+
property :batched_field, as: 'batchedField'
|
757
|
+
collection :discriminator_fields, as: 'discriminatorFields'
|
758
|
+
property :subresponse_field, as: 'subresponseField'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
class BatchingSettingsProto
|
763
|
+
# @private
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
765
|
+
property :delay_threshold, as: 'delayThreshold'
|
766
|
+
property :element_count_limit, as: 'elementCountLimit'
|
767
|
+
property :element_count_threshold, as: 'elementCountThreshold'
|
768
|
+
property :flow_control_byte_limit, as: 'flowControlByteLimit'
|
769
|
+
property :flow_control_element_limit, as: 'flowControlElementLimit'
|
770
|
+
property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
|
771
|
+
property :request_byte_limit, as: 'requestByteLimit'
|
772
|
+
property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
725
776
|
class Billing
|
726
777
|
# @private
|
727
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1081,6 +1132,8 @@ module Google
|
|
1081
1132
|
# @private
|
1082
1133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1083
1134
|
collection :auto_populated_fields, as: 'autoPopulatedFields'
|
1135
|
+
property :batching, as: 'batching', class: Google::Apis::ServiceconsumermanagementV1beta1::BatchingConfigProto, decorator: Google::Apis::ServiceconsumermanagementV1beta1::BatchingConfigProto::Representation
|
1136
|
+
|
1084
1137
|
property :long_running, as: 'longRunning', class: Google::Apis::ServiceconsumermanagementV1beta1::LongRunning, decorator: Google::Apis::ServiceconsumermanagementV1beta1::LongRunning::Representation
|
1085
1138
|
|
1086
1139
|
property :selector, as: 'selector'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceconsumermanagement_v1beta1
|
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_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.60.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_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 Consumer Management API V1beta1
|
79
79
|
test_files: []
|