@maxim_mazurok/gapi.client.servicenetworking-v1 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.
- package/index.d.ts +35 -1
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250518
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -190,6 +190,38 @@ declare namespace gapi.client {
|
|
|
190
190
|
/** Selects the methods to which this rule applies. Refer to selector for syntax details. */
|
|
191
191
|
selector?: string;
|
|
192
192
|
}
|
|
193
|
+
interface BatchingConfigProto {
|
|
194
|
+
/** The request and response fields used in batching. */
|
|
195
|
+
batchDescriptor?: BatchingDescriptorProto;
|
|
196
|
+
/** The thresholds which trigger a batched request to be sent. */
|
|
197
|
+
thresholds?: BatchingSettingsProto;
|
|
198
|
+
}
|
|
199
|
+
interface BatchingDescriptorProto {
|
|
200
|
+
/** The repeated field in the request message to be aggregated by batching. */
|
|
201
|
+
batchedField?: string;
|
|
202
|
+
/** 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. */
|
|
203
|
+
discriminatorFields?: string[];
|
|
204
|
+
/** 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. */
|
|
205
|
+
subresponseField?: string;
|
|
206
|
+
}
|
|
207
|
+
interface BatchingSettingsProto {
|
|
208
|
+
/** The duration after which a batch should be sent, starting from the addition of the first message to that batch. */
|
|
209
|
+
delayThreshold?: string;
|
|
210
|
+
/** The maximum number of elements collected in a batch that could be accepted by server. */
|
|
211
|
+
elementCountLimit?: number;
|
|
212
|
+
/** The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent. */
|
|
213
|
+
elementCountThreshold?: number;
|
|
214
|
+
/** The maximum size of data allowed by flow control. */
|
|
215
|
+
flowControlByteLimit?: number;
|
|
216
|
+
/** The maximum number of elements allowed by flow control. */
|
|
217
|
+
flowControlElementLimit?: number;
|
|
218
|
+
/** The behavior to take when the flow control limit is exceeded. */
|
|
219
|
+
flowControlLimitExceededBehavior?: string;
|
|
220
|
+
/** The maximum size of the request that could be accepted by server. */
|
|
221
|
+
requestByteLimit?: number;
|
|
222
|
+
/** 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. */
|
|
223
|
+
requestByteThreshold?: string;
|
|
224
|
+
}
|
|
193
225
|
interface Billing {
|
|
194
226
|
/** 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. */
|
|
195
227
|
consumerDestinations?: BillingDestination[];
|
|
@@ -650,6 +682,8 @@ declare namespace gapi.client {
|
|
|
650
682
|
interface MethodSettings {
|
|
651
683
|
/** 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 */
|
|
652
684
|
autoPopulatedFields?: string[];
|
|
685
|
+
/** 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 */
|
|
686
|
+
batching?: BatchingConfigProto;
|
|
653
687
|
/** 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 */
|
|
654
688
|
longRunning?: LongRunning;
|
|
655
689
|
/** 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... */
|