google-apis-servicenetworking_v1beta 0.61.0 → 0.63.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: 8bdbf0ac27a6de7b7878567d7dd33dc96df30e6701068d9d671290d625385a92
4
- data.tar.gz: bb6dd0ba3b0e0394162e6626395be399f082318961fddaf8b3bd4adab51abc81
3
+ metadata.gz: 338dc98d5cba4881cf4d024dba0548682ec0ee7d94a8434085a01071ab0e5b3a
4
+ data.tar.gz: ba522992a84eabf597180154e7ed0f9b107da948083de26255e6f873c7050eff
5
5
  SHA512:
6
- metadata.gz: 054b30b16f80a2fd41b46cc10f33fdd6c7f769d0365f53f02c02d806255266d6c444fe4a2e715ce691c155fc940b421d72771b9989f2cf3743e5cb0684e9db07
7
- data.tar.gz: 1718e70d748d836c97e6c5dd1cd66b7eac9bdf6440f566e8477be7e7f50bfc3c454302a465ad5e3f8c8c2223f8cc92a0c61cec368cad1a4407250bfaacb5ba2a
6
+ metadata.gz: be4d9a51bbeb8a6ddae52ed467b13817c7b67ed0b2bc4bfdf2523daf3adc73ac4fa4afba4e06471a03061e109099bc045d9180cbaebc8b87931037f383461d5b
7
+ data.tar.gz: b2abfa3e45cf1726c323b477d615e1ec2cb20a5483c187d00dcd185762915c780e54cae5463755d31681ab0a9d8099221af7e86fdbfb5b104c55364ab9ec9bb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-servicenetworking_v1beta
2
2
 
3
+ ### v0.63.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250518
6
+
7
+ ### v0.62.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250506
10
+
3
11
  ### v0.61.0 (2025-05-04)
4
12
 
5
13
  * Regenerated using generator version 0.17.0
@@ -276,7 +276,7 @@ module Google
276
276
  attr_accessor :kind
277
277
 
278
278
  # Content of the configuration. The underlying schema should be defined by
279
- # Aspect owners as protobuf message under `apiserving/configaspects/proto`.
279
+ # Aspect owners as protobuf message under `google/api/configaspects/proto`.
280
280
  # Corresponds to the JSON property `spec`
281
281
  # @return [Hash<String,Object>]
282
282
  attr_accessor :spec
@@ -617,6 +617,140 @@ module Google
617
617
  end
618
618
  end
619
619
 
620
+ # `BatchingConfigProto` defines the batching configuration for an API method.
621
+ class BatchingConfigProto
622
+ include Google::Apis::Core::Hashable
623
+
624
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
625
+ # used for batching, and, optionally, the fields of the response message to be
626
+ # used for demultiplexing.
627
+ # Corresponds to the JSON property `batchDescriptor`
628
+ # @return [Google::Apis::ServicenetworkingV1beta::BatchingDescriptorProto]
629
+ attr_accessor :batch_descriptor
630
+
631
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
632
+ # acts as a trigger to send a batch of messages as a request. At least one
633
+ # threshold must be positive nonzero.
634
+ # Corresponds to the JSON property `thresholds`
635
+ # @return [Google::Apis::ServicenetworkingV1beta::BatchingSettingsProto]
636
+ attr_accessor :thresholds
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @batch_descriptor = args[:batch_descriptor] if args.key?(:batch_descriptor)
645
+ @thresholds = args[:thresholds] if args.key?(:thresholds)
646
+ end
647
+ end
648
+
649
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
650
+ # used for batching, and, optionally, the fields of the response message to be
651
+ # used for demultiplexing.
652
+ class BatchingDescriptorProto
653
+ include Google::Apis::Core::Hashable
654
+
655
+ # The repeated field in the request message to be aggregated by batching.
656
+ # Corresponds to the JSON property `batchedField`
657
+ # @return [String]
658
+ attr_accessor :batched_field
659
+
660
+ # A list of the fields in the request message. Two requests will be batched
661
+ # together only if the values of every field specified in `
662
+ # request_discriminator_fields` is equal between the two requests.
663
+ # Corresponds to the JSON property `discriminatorFields`
664
+ # @return [Array<String>]
665
+ attr_accessor :discriminator_fields
666
+
667
+ # Optional. When present, indicates the field in the response message to be used
668
+ # to demultiplex the response into multiple response messages, in correspondence
669
+ # with the multiple request messages originally batched together.
670
+ # Corresponds to the JSON property `subresponseField`
671
+ # @return [String]
672
+ attr_accessor :subresponse_field
673
+
674
+ def initialize(**args)
675
+ update!(**args)
676
+ end
677
+
678
+ # Update properties of this object
679
+ def update!(**args)
680
+ @batched_field = args[:batched_field] if args.key?(:batched_field)
681
+ @discriminator_fields = args[:discriminator_fields] if args.key?(:discriminator_fields)
682
+ @subresponse_field = args[:subresponse_field] if args.key?(:subresponse_field)
683
+ end
684
+ end
685
+
686
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of which
687
+ # acts as a trigger to send a batch of messages as a request. At least one
688
+ # threshold must be positive nonzero.
689
+ class BatchingSettingsProto
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # The duration after which a batch should be sent, starting from the addition of
693
+ # the first message to that batch.
694
+ # Corresponds to the JSON property `delayThreshold`
695
+ # @return [String]
696
+ attr_accessor :delay_threshold
697
+
698
+ # The maximum number of elements collected in a batch that could be accepted by
699
+ # server.
700
+ # Corresponds to the JSON property `elementCountLimit`
701
+ # @return [Fixnum]
702
+ attr_accessor :element_count_limit
703
+
704
+ # The number of elements of a field collected into a batch which, if exceeded,
705
+ # causes the batch to be sent.
706
+ # Corresponds to the JSON property `elementCountThreshold`
707
+ # @return [Fixnum]
708
+ attr_accessor :element_count_threshold
709
+
710
+ # The maximum size of data allowed by flow control.
711
+ # Corresponds to the JSON property `flowControlByteLimit`
712
+ # @return [Fixnum]
713
+ attr_accessor :flow_control_byte_limit
714
+
715
+ # The maximum number of elements allowed by flow control.
716
+ # Corresponds to the JSON property `flowControlElementLimit`
717
+ # @return [Fixnum]
718
+ attr_accessor :flow_control_element_limit
719
+
720
+ # The behavior to take when the flow control limit is exceeded.
721
+ # Corresponds to the JSON property `flowControlLimitExceededBehavior`
722
+ # @return [String]
723
+ attr_accessor :flow_control_limit_exceeded_behavior
724
+
725
+ # The maximum size of the request that could be accepted by server.
726
+ # Corresponds to the JSON property `requestByteLimit`
727
+ # @return [Fixnum]
728
+ attr_accessor :request_byte_limit
729
+
730
+ # The aggregated size of the batched field which, if exceeded, causes the batch
731
+ # to be sent. This size is computed by aggregating the sizes of the request
732
+ # field to be batched, not of the entire request message.
733
+ # Corresponds to the JSON property `requestByteThreshold`
734
+ # @return [Fixnum]
735
+ attr_accessor :request_byte_threshold
736
+
737
+ def initialize(**args)
738
+ update!(**args)
739
+ end
740
+
741
+ # Update properties of this object
742
+ def update!(**args)
743
+ @delay_threshold = args[:delay_threshold] if args.key?(:delay_threshold)
744
+ @element_count_limit = args[:element_count_limit] if args.key?(:element_count_limit)
745
+ @element_count_threshold = args[:element_count_threshold] if args.key?(:element_count_threshold)
746
+ @flow_control_byte_limit = args[:flow_control_byte_limit] if args.key?(:flow_control_byte_limit)
747
+ @flow_control_element_limit = args[:flow_control_element_limit] if args.key?(:flow_control_element_limit)
748
+ @flow_control_limit_exceeded_behavior = args[:flow_control_limit_exceeded_behavior] if args.key?(:flow_control_limit_exceeded_behavior)
749
+ @request_byte_limit = args[:request_byte_limit] if args.key?(:request_byte_limit)
750
+ @request_byte_threshold = args[:request_byte_threshold] if args.key?(:request_byte_threshold)
751
+ end
752
+ end
753
+
620
754
  # Billing related configuration of the service. The following example shows how
621
755
  # to configure monitored resources and metrics for billing, `
622
756
  # consumer_destinations` is the only supported destination and the monitored
@@ -2593,6 +2727,11 @@ module Google
2593
2727
  # @return [Array<String>]
2594
2728
  attr_accessor :auto_populated_fields
2595
2729
 
2730
+ # `BatchingConfigProto` defines the batching configuration for an API method.
2731
+ # Corresponds to the JSON property `batching`
2732
+ # @return [Google::Apis::ServicenetworkingV1beta::BatchingConfigProto]
2733
+ attr_accessor :batching
2734
+
2596
2735
  # Describes settings to use when generating API methods that use the long-
2597
2736
  # running operation pattern. All default values below are from those used in the
2598
2737
  # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -2617,6 +2756,7 @@ module Google
2617
2756
  # Update properties of this object
2618
2757
  def update!(**args)
2619
2758
  @auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
2759
+ @batching = args[:batching] if args.key?(:batching)
2620
2760
  @long_running = args[:long_running] if args.key?(:long_running)
2621
2761
  @selector = args[:selector] if args.key?(:selector)
2622
2762
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1beta
18
18
  # Version of the google-apis-servicenetworking_v1beta gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.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 = "20250312"
25
+ REVISION = "20250518"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,24 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class BatchingConfigProto
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class BatchingDescriptorProto
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class BatchingSettingsProto
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class Billing
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -784,6 +802,39 @@ module Google
784
802
  end
785
803
  end
786
804
 
805
+ class BatchingConfigProto
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServicenetworkingV1beta::BatchingDescriptorProto, decorator: Google::Apis::ServicenetworkingV1beta::BatchingDescriptorProto::Representation
809
+
810
+ property :thresholds, as: 'thresholds', class: Google::Apis::ServicenetworkingV1beta::BatchingSettingsProto, decorator: Google::Apis::ServicenetworkingV1beta::BatchingSettingsProto::Representation
811
+
812
+ end
813
+ end
814
+
815
+ class BatchingDescriptorProto
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :batched_field, as: 'batchedField'
819
+ collection :discriminator_fields, as: 'discriminatorFields'
820
+ property :subresponse_field, as: 'subresponseField'
821
+ end
822
+ end
823
+
824
+ class BatchingSettingsProto
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :delay_threshold, as: 'delayThreshold'
828
+ property :element_count_limit, as: 'elementCountLimit'
829
+ property :element_count_threshold, as: 'elementCountThreshold'
830
+ property :flow_control_byte_limit, as: 'flowControlByteLimit'
831
+ property :flow_control_element_limit, as: 'flowControlElementLimit'
832
+ property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
833
+ property :request_byte_limit, as: 'requestByteLimit'
834
+ property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
835
+ end
836
+ end
837
+
787
838
  class Billing
788
839
  # @private
789
840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1250,6 +1301,8 @@ module Google
1250
1301
  # @private
1251
1302
  class Representation < Google::Apis::Core::JsonRepresentation
1252
1303
  collection :auto_populated_fields, as: 'autoPopulatedFields'
1304
+ property :batching, as: 'batching', class: Google::Apis::ServicenetworkingV1beta::BatchingConfigProto, decorator: Google::Apis::ServicenetworkingV1beta::BatchingConfigProto::Representation
1305
+
1253
1306
  property :long_running, as: 'longRunning', class: Google::Apis::ServicenetworkingV1beta::LongRunning, decorator: Google::Apis::ServicenetworkingV1beta::LongRunning::Representation
1254
1307
 
1255
1308
  property :selector, as: 'selector'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.63.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1beta
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 V1beta
79
79
  test_files: []