google-apis-servicenetworking_v1 0.76.0 → 0.78.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: b4e65f553b9d56b104b81e479f71d4b61cfcd233290761c61e9e872f5bff8ee1
4
- data.tar.gz: 6e23b895c744ff172c839e90c7bc03ce69680d2f394771077bfd853a96fb9962
3
+ metadata.gz: 4a4cc684edf6452529682f1af1fb36ebd37c95fa4c4dbd0d24c3e38c6282537a
4
+ data.tar.gz: a783748b66bcefeeb4035ed979add5fc5d3e18aca6edc5b56f5e3b6ccf41320c
5
5
  SHA512:
6
- metadata.gz: 44adb2f10a40bcdb23fa6cf202d733ea9f1d6bdfaa2dec10d00921e7de381ce1196ca26b256238c993f03e3ef973f36f530c2df366b06ce7b499887b6e21b293
7
- data.tar.gz: ea9f897abe7aecadc55e579347cd831415db0bab78f697c8841e1a06b067e2cac92777895a06b622e771462c3ea7bb7a8d8e960124693c08974c97f50de8b12a
6
+ metadata.gz: 360506675444f161e5cf0dc0f64f28d1ca4fddac8b1bb13ea3dd482eb8275c152f6ba659345cd4755204a75067e491e046f5fedcfe7d853e2843f62864de613f
7
+ data.tar.gz: d00e6effedf39250c6f9e8e071635c2d195382079ec96e0389ca91444d0b564fa76aa1a2125f21599e9d9dfc8f6d4e48ebe70d5bb8a6d16d66c9b201bb70566d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.78.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250518
6
+
7
+ ### v0.77.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250506
10
+
3
11
  ### v0.76.0 (2025-05-04)
4
12
 
5
13
  * Regenerated using generator version 0.17.0
@@ -492,7 +492,7 @@ module Google
492
492
  attr_accessor :kind
493
493
 
494
494
  # Content of the configuration. The underlying schema should be defined by
495
- # Aspect owners as protobuf message under `apiserving/configaspects/proto`.
495
+ # Aspect owners as protobuf message under `google/api/configaspects/proto`.
496
496
  # Corresponds to the JSON property `spec`
497
497
  # @return [Hash<String,Object>]
498
498
  attr_accessor :spec
@@ -833,6 +833,140 @@ module Google
833
833
  end
834
834
  end
835
835
 
836
+ # `BatchingConfigProto` defines the batching configuration for an API method.
837
+ class BatchingConfigProto
838
+ include Google::Apis::Core::Hashable
839
+
840
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
841
+ # used for batching, and, optionally, the fields of the response message to be
842
+ # used for demultiplexing.
843
+ # Corresponds to the JSON property `batchDescriptor`
844
+ # @return [Google::Apis::ServicenetworkingV1::BatchingDescriptorProto]
845
+ attr_accessor :batch_descriptor
846
+
847
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
848
+ # acts as a trigger to send a batch of messages as a request. At least one
849
+ # threshold must be positive nonzero.
850
+ # Corresponds to the JSON property `thresholds`
851
+ # @return [Google::Apis::ServicenetworkingV1::BatchingSettingsProto]
852
+ attr_accessor :thresholds
853
+
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ @batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
861
+ @thresholds = args[:thresholds] if args.key?(:thresholds)
862
+ end
863
+ end
864
+
865
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
866
+ # used for batching, and, optionally, the fields of the response message to be
867
+ # used for demultiplexing.
868
+ class BatchingDescriptorProto
869
+ include Google::Apis::Core::Hashable
870
+
871
+ # The repeated field in the request message to be aggregated by batching.
872
+ # Corresponds to the JSON property `batchedField`
873
+ # @return [String]
874
+ attr_accessor :batched_field
875
+
876
+ # A list of the fields in the request message. Two requests will be batched
877
+ # together only if the values of every field specified in `
878
+ # request_discriminator_fields` is equal between the two requests.
879
+ # Corresponds to the JSON property `discriminatorFields`
880
+ # @return [Array<String>]
881
+ attr_accessor :discriminator_fields
882
+
883
+ # Optional. When present, indicates the field in the response message to be used
884
+ # to demultiplex the response into multiple response messages, in correspondence
885
+ # with the multiple request messages originally batched together.
886
+ # Corresponds to the JSON property `subresponseField`
887
+ # @return [String]
888
+ attr_accessor :subresponse_field
889
+
890
+ def initialize(**args)
891
+ update!(**args)
892
+ end
893
+
894
+ # Update properties of this object
895
+ def update!(**args)
896
+ @batched_field = args[:batched_field] if args.key?(:batched_field)
897
+ @discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
898
+ @subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
899
+ end
900
+ end
901
+
902
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
903
+ # acts as a trigger to send a batch of messages as a request. At least one
904
+ # threshold must be positive nonzero.
905
+ class BatchingSettingsProto
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # The duration after which a batch should be sent, starting from the addition of
909
+ # the first message to that batch.
910
+ # Corresponds to the JSON property `delayThreshold`
911
+ # @return [String]
912
+ attr_accessor :delay_threshold
913
+
914
+ # The maximum number of elements collected in a batch that could be accepted by
915
+ # server.
916
+ # Corresponds to the JSON property `elementCountLimit`
917
+ # @return [Fixnum]
918
+ attr_accessor :element_count_limit
919
+
920
+ # The number of elements of a field collected into a batch which, if exceeded,
921
+ # causes the batch to be sent.
922
+ # Corresponds to the JSON property `elementCountThreshold`
923
+ # @return [Fixnum]
924
+ attr_accessor :element_count_threshold
925
+
926
+ # The maximum size of data allowed by flow control.
927
+ # Corresponds to the JSON property `flowControlByteLimit`
928
+ # @return [Fixnum]
929
+ attr_accessor :flow_control_byte_limit
930
+
931
+ # The maximum number of elements allowed by flow control.
932
+ # Corresponds to the JSON property `flowControlElementLimit`
933
+ # @return [Fixnum]
934
+ attr_accessor :flow_control_element_limit
935
+
936
+ # The behavior to take when the flow control limit is exceeded.
937
+ # Corresponds to the JSON property `flowControlLimitExceededBehavior`
938
+ # @return [String]
939
+ attr_accessor :flow_control_limit_exceeded_behavior
940
+
941
+ # The maximum size of the request that could be accepted by server.
942
+ # Corresponds to the JSON property `requestByteLimit`
943
+ # @return [Fixnum]
944
+ attr_accessor :request_byte_limit
945
+
946
+ # The aggregated size of the batched field which, if exceeded, causes the batch
947
+ # to be sent. This size is computed by aggregating the sizes of the request
948
+ # field to be batched, not of the entire request message.
949
+ # Corresponds to the JSON property `requestByteThreshold`
950
+ # @return [Fixnum]
951
+ attr_accessor :request_byte_threshold
952
+
953
+ def initialize(**args)
954
+ update!(**args)
955
+ end
956
+
957
+ # Update properties of this object
958
+ def update!(**args)
959
+ @delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
960
+ @element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
961
+ @element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
962
+ @flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
963
+ @flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
964
+ @flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
965
+ @request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
966
+ @request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
967
+ end
968
+ end
969
+
836
970
  # Billing related configuration of the service. The following example shows how
837
971
  # to configure monitored resources and metrics for billing, `
838
972
  # consumer_destinations` is the only supported destination and the monitored
@@ -3058,6 +3192,11 @@ module Google
3058
3192
  # @return [Array<String>]
3059
3193
  attr_accessor :auto_populated_fields
3060
3194
 
3195
+ # `BatchingConfigProto` defines the batching configuration for an API method.
3196
+ # Corresponds to the JSON property `batching`
3197
+ # @return [Google::Apis::ServicenetworkingV1::BatchingConfigProto]
3198
+ attr_accessor :batching
3199
+
3061
3200
  # Describes settings to use when generating API methods that use the long-
3062
3201
  # running operation pattern. All default values below are from those used in the
3063
3202
  # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -3082,6 +3221,7 @@ module Google
3082
3221
  # Update properties of this object
3083
3222
  def update!(**args)
3084
3223
  @auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
3224
+ @batching = args[:batching] if args.key?(:batching)
3085
3225
  @long_running = args[:long_running] if args.key?(:long_running)
3086
3226
  @selector = args[:selector] if args.key?(:selector)
3087
3227
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1
18
18
  # Version of the google-apis-servicenetworking_v1 gem
19
- GEM_VERSION = "0.76.0"
19
+ GEM_VERSION = "0.78.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 = "20250316"
25
+ REVISION = "20250518"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,24 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class BatchingConfigProto
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class BatchingDescriptorProto
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class BatchingSettingsProto
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class Billing
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
@@ -963,6 +981,39 @@ module Google
963
981
  end
964
982
  end
965
983
 
984
+ class BatchingConfigProto
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServicenetworkingV1::BatchingDescriptorProto, decorator: Google::Apis::ServicenetworkingV1::BatchingDescriptorProto::Representation
988
+
989
+ property :thresholds, as: 'thresholds', class: Google::Apis::ServicenetworkingV1::BatchingSettingsProto, decorator: Google::Apis::ServicenetworkingV1::BatchingSettingsProto::Representation
990
+
991
+ end
992
+ end
993
+
994
+ class BatchingDescriptorProto
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :batched_field, as: 'batchedField'
998
+ collection :discriminator_fields, as: 'discriminatorFields'
999
+ property :subresponse_field, as: 'subresponseField'
1000
+ end
1001
+ end
1002
+
1003
+ class BatchingSettingsProto
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ property :delay_threshold, as: 'delayThreshold'
1007
+ property :element_count_limit, as: 'elementCountLimit'
1008
+ property :element_count_threshold, as: 'elementCountThreshold'
1009
+ property :flow_control_byte_limit, as: 'flowControlByteLimit'
1010
+ property :flow_control_element_limit, as: 'flowControlElementLimit'
1011
+ property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
1012
+ property :request_byte_limit, as: 'requestByteLimit'
1013
+ property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
1014
+ end
1015
+ end
1016
+
966
1017
  class Billing
967
1018
  # @private
968
1019
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1522,6 +1573,8 @@ module Google
1522
1573
  # @private
1523
1574
  class Representation < Google::Apis::Core::JsonRepresentation
1524
1575
  collection :auto_populated_fields, as: 'autoPopulatedFields'
1576
+ property :batching, as: 'batching', class: Google::Apis::ServicenetworkingV1::BatchingConfigProto, decorator: Google::Apis::ServicenetworkingV1::BatchingConfigProto::Representation
1577
+
1525
1578
  property :long_running, as: 'longRunning', class: Google::Apis::ServicenetworkingV1::LongRunning, decorator: Google::Apis::ServicenetworkingV1::LongRunning::Representation
1526
1579
 
1527
1580
  property :selector, as: 'selector'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.78.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-servicenetworking_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.76.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.78.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_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 Networking API V1
79
79
  test_files: []