|
426 | 426 | }
|
427 | 427 | }
|
428 | 428 | },
|
429 |
| -"revision": "20250511", |
| 429 | +"revision": "20250515", |
430 | 430 | "rootUrl": "https://serviceusage.googleapis.com/",
|
431 | 431 | "schemas": {
|
432 | 432 | "AddEnableRulesMetadata": {
|
|
894 | 894 | },
|
895 | 895 | "type": "object"
|
896 | 896 | },
|
| 897 | +"BatchingConfigProto": { |
| 898 | +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", |
| 899 | +"id": "BatchingConfigProto", |
| 900 | +"properties": { |
| 901 | +"batchDescriptor": { |
| 902 | +"$ref": "BatchingDescriptorProto", |
| 903 | +"description": "The request and response fields used in batching." |
| 904 | +}, |
| 905 | +"thresholds": { |
| 906 | +"$ref": "BatchingSettingsProto", |
| 907 | +"description": "The thresholds which trigger a batched request to be sent." |
| 908 | +} |
| 909 | +}, |
| 910 | +"type": "object" |
| 911 | +}, |
| 912 | +"BatchingDescriptorProto": { |
| 913 | +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", |
| 914 | +"id": "BatchingDescriptorProto", |
| 915 | +"properties": { |
| 916 | +"batchedField": { |
| 917 | +"description": "The repeated field in the request message to be aggregated by batching.", |
| 918 | +"type": "string" |
| 919 | +}, |
| 920 | +"discriminatorFields": { |
| 921 | +"description": "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.", |
| 922 | +"items": { |
| 923 | +"type": "string" |
| 924 | +}, |
| 925 | +"type": "array" |
| 926 | +}, |
| 927 | +"subresponseField": { |
| 928 | +"description": "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.", |
| 929 | +"type": "string" |
| 930 | +} |
| 931 | +}, |
| 932 | +"type": "object" |
| 933 | +}, |
| 934 | +"BatchingSettingsProto": { |
| 935 | +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", |
| 936 | +"id": "BatchingSettingsProto", |
| 937 | +"properties": { |
| 938 | +"delayThreshold": { |
| 939 | +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", |
| 940 | +"format": "google-duration", |
| 941 | +"type": "string" |
| 942 | +}, |
| 943 | +"elementCountLimit": { |
| 944 | +"description": "The maximum number of elements collected in a batch that could be accepted by server.", |
| 945 | +"format": "int32", |
| 946 | +"type": "integer" |
| 947 | +}, |
| 948 | +"elementCountThreshold": { |
| 949 | +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", |
| 950 | +"format": "int32", |
| 951 | +"type": "integer" |
| 952 | +}, |
| 953 | +"flowControlByteLimit": { |
| 954 | +"description": "The maximum size of data allowed by flow control.", |
| 955 | +"format": "int32", |
| 956 | +"type": "integer" |
| 957 | +}, |
| 958 | +"flowControlElementLimit": { |
| 959 | +"description": "The maximum number of elements allowed by flow control.", |
| 960 | +"format": "int32", |
| 961 | +"type": "integer" |
| 962 | +}, |
| 963 | +"flowControlLimitExceededBehavior": { |
| 964 | +"description": "The behavior to take when the flow control limit is exceeded.", |
| 965 | +"enum": [ |
| 966 | +"UNSET_BEHAVIOR", |
| 967 | +"THROW_EXCEPTION", |
| 968 | +"BLOCK", |
| 969 | +"IGNORE" |
| 970 | +], |
| 971 | +"enumDescriptions": [ |
| 972 | +"Default behavior, system-defined.", |
| 973 | +"Stop operation, raise error.", |
| 974 | +"Pause operation until limit clears.", |
| 975 | +"Continue operation, disregard limit." |
| 976 | +], |
| 977 | +"type": "string" |
| 978 | +}, |
| 979 | +"requestByteLimit": { |
| 980 | +"description": "The maximum size of the request that could be accepted by server.", |
| 981 | +"format": "int32", |
| 982 | +"type": "integer" |
| 983 | +}, |
| 984 | +"requestByteThreshold": { |
| 985 | +"description": "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.", |
| 986 | +"format": "int64", |
| 987 | +"type": "string" |
| 988 | +} |
| 989 | +}, |
| 990 | +"type": "object" |
| 991 | +}, |
897 | 992 | "Billing": {
|
898 | 993 | "description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count",
|
899 | 994 | "id": "Billing",
|
|
2698 | 2793 | },
|
2699 | 2794 | "type": "array"
|
2700 | 2795 | },
|
| 2796 | +"batching": { |
| 2797 | +"$ref": "BatchingConfigProto", |
| 2798 | +"description": "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" |
| 2799 | +}, |
2701 | 2800 | "longRunning": {
|
2702 | 2801 | "$ref": "LongRunning",
|
2703 | 2802 | "description": "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"
|
|
0 commit comments