google-apis-servicemanagement_v1 0.67.0 → 0.68.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: 95ecb1abdd1dd2530e3c82788ca44e8cea8da799e0837573f8026b87264ba4c0
4
- data.tar.gz: f9379a72a21d36116ee39f63389d2a545dadaf4477e6af9fd5acc391c392b996
3
+ metadata.gz: 4813cf69c49e56bb69e5b17462bff2d0919d841da483d73c739357b58a752ae5
4
+ data.tar.gz: 3e3f28ed455b768ad3babb3a504b231137b6798616c86085458faf956c1f5b9e
5
5
  SHA512:
6
- metadata.gz: d7b72c006294fea43c028d0b67f8470b12354357e19360524323281c56e09b474d5f16af224c6df1e23239a27a9f1414b1160896969a10cf4ce361d8550b86c2
7
- data.tar.gz: e549ed24371e0455a9190465952e9284668a6d0acd9467009e5530183bed9d4930a09ef6773a78582410bd764621a884f52d7cf37726f2b0013a1f5612525423
6
+ metadata.gz: 32732aba2d951831f843951192dfea8668fd74ce2ffb4a50e769d5236e6887294c61ffd807494534be455ff70d8d9a2aa128e8f9fd895ccb2ca825d1baf129ab
7
+ data.tar.gz: 3a5358b92e2dad235cda788e56209513091fb2b110aa76e285a982b51c4f52c008521b1365d82374250b0e9eefe07138b73daa621727481b62ac3c57ba800380
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-servicemanagement_v1
2
2
 
3
+ ### v0.68.0 (2025-05-25)
4
+
5
+ * Regenerated from discovery document revision 20250519
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.67.0 (2025-05-11)
4
9
 
5
10
  * Regenerated from discovery document revision 20250502
@@ -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::ServicemanagementV1::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::ServicemanagementV1::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
@@ -2718,6 +2852,11 @@ module Google
2718
2852
  # @return [Array<String>]
2719
2853
  attr_accessor :auto_populated_fields
2720
2854
 
2855
+ # `BatchingConfigProto` defines the batching configuration for an API method.
2856
+ # Corresponds to the JSON property `batching`
2857
+ # @return [Google::Apis::ServicemanagementV1::BatchingConfigProto]
2858
+ attr_accessor :batching
2859
+
2721
2860
  # Describes settings to use when generating API methods that use the long-
2722
2861
  # running operation pattern. All default values below are from those used in the
2723
2862
  # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
@@ -2742,6 +2881,7 @@ module Google
2742
2881
  # Update properties of this object
2743
2882
  def update!(**args)
2744
2883
  @auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
2884
+ @batching = args[:batching] if args.key?(:batching)
2745
2885
  @long_running = args[:long_running] if args.key?(:long_running)
2746
2886
  @selector = args[:selector] if args.key?(:selector)
2747
2887
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicemanagementV1
18
18
  # Version of the google-apis-servicemanagement_v1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250502"
25
+ REVISION = "20250519"
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
 
@@ -776,6 +794,39 @@ module Google
776
794
  end
777
795
  end
778
796
 
797
+ class BatchingConfigProto
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :batch_descriptor, as: 'batchDescriptor', class: Google::Apis::ServicemanagementV1::BatchingDescriptorProto, decorator: Google::Apis::ServicemanagementV1::BatchingDescriptorProto::Representation
801
+
802
+ property :thresholds, as: 'thresholds', class: Google::Apis::ServicemanagementV1::BatchingSettingsProto, decorator: Google::Apis::ServicemanagementV1::BatchingSettingsProto::Representation
803
+
804
+ end
805
+ end
806
+
807
+ class BatchingDescriptorProto
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :batched_field, as: 'batchedField'
811
+ collection :discriminator_fields, as: 'discriminatorFields'
812
+ property :subresponse_field, as: 'subresponseField'
813
+ end
814
+ end
815
+
816
+ class BatchingSettingsProto
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :delay_threshold, as: 'delayThreshold'
820
+ property :element_count_limit, as: 'elementCountLimit'
821
+ property :element_count_threshold, as: 'elementCountThreshold'
822
+ property :flow_control_byte_limit, as: 'flowControlByteLimit'
823
+ property :flow_control_element_limit, as: 'flowControlElementLimit'
824
+ property :flow_control_limit_exceeded_behavior, as: 'flowControlLimitExceededBehavior'
825
+ property :request_byte_limit, as: 'requestByteLimit'
826
+ property :request_byte_threshold, :numeric_string => true, as: 'requestByteThreshold'
827
+ end
828
+ end
829
+
779
830
  class Billing
780
831
  # @private
781
832
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1302,6 +1353,8 @@ module Google
1302
1353
  # @private
1303
1354
  class Representation < Google::Apis::Core::JsonRepresentation
1304
1355
  collection :auto_populated_fields, as: 'autoPopulatedFields'
1356
+ property :batching, as: 'batching', class: Google::Apis::ServicemanagementV1::BatchingConfigProto, decorator: Google::Apis::ServicemanagementV1::BatchingConfigProto::Representation
1357
+
1305
1358
  property :long_running, as: 'longRunning', class: Google::Apis::ServicemanagementV1::LongRunning, decorator: Google::Apis::ServicemanagementV1::LongRunning::Representation
1306
1359
 
1307
1360
  property :selector, as: 'selector'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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-servicemanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_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 Management API V1
79
79
  test_files: []