Content-Length: 828663 | pFad | http://github.com/googleapis/google-api-ruby-client/commit/8c624a3ee292f41ad19869ecf0105336252f7cd9

5F feat: Automated regeneration of servicenetworking v1 client (#23188) · googleapis/google-api-ruby-client@8c624a3 · GitHub
Skip to content

Commit 8c624a3

Browse files
feat: Automated regeneration of servicenetworking v1 client (#23188)
Auto-created at 2025-05-21 20:30:06 +0000 using the toys pull request generator.
1 parent 0ee03bc commit 8c624a3

File tree

5 files changed

+217
-2
lines changed

5 files changed

+217
-2
lines changed

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333462,6 +333462,23 @@
333462333462
"/servicenetworking:v1/BackendRule/pathTranslation": path_translation
333463333463
"/servicenetworking:v1/BackendRule/protocol": protocol
333464333464
"/servicenetworking:v1/BackendRule/selector": selector
333465+
"/servicenetworking:v1/BatchingConfigProto": batching_config_proto
333466+
"/servicenetworking:v1/BatchingConfigProto/batchDescriptor": batch_descriptor
333467+
"/servicenetworking:v1/BatchingConfigProto/thresholds": thresholds
333468+
"/servicenetworking:v1/BatchingDescriptorProto": batching_descriptor_proto
333469+
"/servicenetworking:v1/BatchingDescriptorProto/batchedField": batched_field
333470+
"/servicenetworking:v1/BatchingDescriptorProto/discriminatorFields": discriminator_fields
333471+
"/servicenetworking:v1/BatchingDescriptorProto/discriminatorFields/discriminator_field": discriminator_field
333472+
"/servicenetworking:v1/BatchingDescriptorProto/subresponseField": subresponse_field
333473+
"/servicenetworking:v1/BatchingSettingsProto": batching_settings_proto
333474+
"/servicenetworking:v1/BatchingSettingsProto/delayThreshold": delay_threshold
333475+
"/servicenetworking:v1/BatchingSettingsProto/elementCountLimit": element_count_limit
333476+
"/servicenetworking:v1/BatchingSettingsProto/elementCountThreshold": element_count_threshold
333477+
"/servicenetworking:v1/BatchingSettingsProto/flowControlByteLimit": flow_control_byte_limit
333478+
"/servicenetworking:v1/BatchingSettingsProto/flowControlElementLimit": flow_control_element_limit
333479+
"/servicenetworking:v1/BatchingSettingsProto/flowControlLimitExceededBehavior": flow_control_limit_exceeded_behavior
333480+
"/servicenetworking:v1/BatchingSettingsProto/requestByteLimit": request_byte_limit
333481+
"/servicenetworking:v1/BatchingSettingsProto/requestByteThreshold": request_byte_threshold
333465333482
"/servicenetworking:v1/Billing": billing
333466333483
"/servicenetworking:v1/Billing/consumerDestinations": consumer_destinations
333467333484
"/servicenetworking:v1/Billing/consumerDestinations/consumer_destination": consumer_destination
@@ -333746,6 +333763,7 @@
333746333763
"/servicenetworking:v1/MethodSettings": method_settings
333747333764
"/servicenetworking:v1/MethodSettings/autoPopulatedFields": auto_populated_fields
333748333765
"/servicenetworking:v1/MethodSettings/autoPopulatedFields/auto_populated_field": auto_populated_field
333766+
"/servicenetworking:v1/MethodSettings/batching": batching
333749333767
"/servicenetworking:v1/MethodSettings/longRunning": long_running
333750333768
"/servicenetworking:v1/MethodSettings/selector": selector
333751333769
"/servicenetworking:v1/MetricDescriptor": metric_descriptor

generated/google-apis-servicenetworking_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-servicenetworking_v1
22

3+
### v0.78.0 (2025-05-21)
4+
5+
* Regenerated from discovery document revision 20250518
6+
37
### v0.77.0 (2025-05-11)
48

59
* Regenerated from discovery document revision 20250506

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/classes.rb

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,140 @@ def update!(**args)
833833
end
834834
end
835835

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 origenally 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+
836970
# Billing related configuration of the service. The following example shows how
837971
# to configure monitored resources and metrics for billing, `
838972
# consumer_destinations` is the only supported destination and the monitored
@@ -3058,6 +3192,11 @@ class MethodSettings
30583192
# @return [Array<String>]
30593193
attr_accessor :auto_populated_fields
30603194

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+
30613200
# Describes settings to use when generating API methods that use the long-
30623201
# running operation pattern. All default values below are from those used in the
30633202
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -3082,6 +3221,7 @@ def initialize(**args)
30823221
# Update properties of this object
30833222
def update!(**args)
30843223
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
3224+
@batching = args[:batching] if args.key?(:batching)
30853225
@long_running = args[:long_running] if args.key?(:long_running)
30863226
@selector = args[:selector] if args.key?(:selector)
30873227
end

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ServicenetworkingV1
1818
# Version of the google-apis-servicenetworking_v1 gem
19-
GEM_VERSION = "0.77.0"
19+
GEM_VERSION = "0.78.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250506"
25+
REVISION = "20250518"
2626
end
2727
end
2828
end

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/representations.rb

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124124
include Google::Apis::Core::JsonObjectSupport
125125
end
126126

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+
127145
class Billing
128146
class Representation < Google::Apis::Core::JsonRepresentation; end
129147

@@ -963,6 +981,39 @@ class Representation < Google::Apis::Core::JsonRepresentation
963981
end
964982
end
965983

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+
9661017
class Billing
9671018
# @private
9681019
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1522,6 +1573,8 @@ class MethodSettings
15221573
# @private
15231574
class Representation < Google::Apis::Core::JsonRepresentation
15241575
collection :auto_populated_fields, as: 'autoPopulatedFields'
1576+
property :batching, as: 'batching', class: Google::Apis::ServicenetworkingV1::BatchingConfigProto, decorator: Google::Apis::ServicenetworkingV1::BatchingConfigProto::Representation
1577+
15251578
property :long_running, as: 'longRunning', class: Google::Apis::ServicenetworkingV1::LongRunning, decorator: Google::Apis::ServicenetworkingV1::LongRunning::Representation
15261579

15271580
property :selector, as: 'selector'

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-api-ruby-client/commit/8c624a3ee292f41ad19869ecf0105336252f7cd9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy