@maxim_mazurok/gapi.client.servicenetworking-v1beta 0.0.20250513 → 0.0.20250518

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.
Files changed (2) hide show
  1. package/index.d.ts +35 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://servicenetworking.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20250513
12
+ // Revision: 20250518
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -144,6 +144,38 @@ declare namespace gapi.client {
144
144
  /** Selects the methods to which this rule applies. Refer to selector for syntax details. */
145
145
  selector?: string;
146
146
  }
147
+ interface BatchingConfigProto {
148
+ /** The request and response fields used in batching. */
149
+ batchDescriptor?: BatchingDescriptorProto;
150
+ /** The thresholds which trigger a batched request to be sent. */
151
+ thresholds?: BatchingSettingsProto;
152
+ }
153
+ interface BatchingDescriptorProto {
154
+ /** The repeated field in the request message to be aggregated by batching. */
155
+ batchedField?: string;
156
+ /** A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests. */
157
+ discriminatorFields?: string[];
158
+ /** Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together. */
159
+ subresponseField?: string;
160
+ }
161
+ interface BatchingSettingsProto {
162
+ /** The duration after which a batch should be sent, starting from the addition of the first message to that batch. */
163
+ delayThreshold?: string;
164
+ /** The maximum number of elements collected in a batch that could be accepted by server. */
165
+ elementCountLimit?: number;
166
+ /** The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent. */
167
+ elementCountThreshold?: number;
168
+ /** The maximum size of data allowed by flow control. */
169
+ flowControlByteLimit?: number;
170
+ /** The maximum number of elements allowed by flow control. */
171
+ flowControlElementLimit?: number;
172
+ /** The behavior to take when the flow control limit is exceeded. */
173
+ flowControlLimitExceededBehavior?: string;
174
+ /** The maximum size of the request that could be accepted by server. */
175
+ requestByteLimit?: number;
176
+ /** The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message. */
177
+ requestByteThreshold?: string;
178
+ }
147
179
  interface Billing {
148
180
  /** Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. */
149
181
  consumerDestinations?: BillingDestination[];
@@ -556,6 +588,8 @@ declare namespace gapi.client {
556
588
  interface MethodSettings {
557
589
  /** List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id */
558
590
  autoPopulatedFields?: string[];
591
+ /** Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10 */
592
+ batching?: BatchingConfigProto;
559
593
  /** Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes */
560
594
  longRunning?: LongRunning;
561
595
  /** The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder... */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.servicenetworking-v1beta",
3
- "version": "0.0.20250513",
3
+ "version": "0.0.20250518",
4
4
  "description": "TypeScript typings for Service Networking API v1beta",
5
5
  "repository": {
6
6
  "type": "git",