Skip to content

Commit a11cb95

Browse files
feat(serviceusage): update the api
#### serviceusage:v1 The following keys were added: - schemas.GoogleApiServiceusageV2betaMcpEnableRule (Total Keys: 4) - schemas.GoogleApiServiceusageV2betaMcpPolicy (Total Keys: 12) - schemas.GoogleApiServiceusageV2betaMcpService (Total Keys: 3) - schemas.GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata (Total Keys: 2) #### serviceusage:v1beta1 The following keys were added: - schemas.GoogleApiServiceusageV2betaMcpEnableRule (Total Keys: 4) - schemas.GoogleApiServiceusageV2betaMcpPolicy (Total Keys: 12) - schemas.GoogleApiServiceusageV2betaMcpService (Total Keys: 3) - schemas.GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata (Total Keys: 2)
1 parent 0806fee commit a11cb95

File tree

4 files changed

+144
-12
lines changed

4 files changed

+144
-12
lines changed

docs/dyn/serviceusage_v1.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ <h3>Method Details</h3>
184184
name: string, The name of the operation&#x27;s parent resource.
185185
pageSize: integer, The standard list page size.
186186
pageToken: string, The standard list page token.
187-
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
187+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
188188
x__xgafv: string, V1 error format.
189189
Allowed values
190190
1 - v1 error format
@@ -216,7 +216,7 @@ <h3>Method Details</h3>
216216
},
217217
},
218218
],
219-
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
219+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
220220
&quot;A String&quot;,
221221
],
222222
}</pre>

docs/dyn/serviceusage_v1beta1.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h3>Method Details</h3>
136136
name: string, The name of the operation&#x27;s parent resource.
137137
pageSize: integer, The standard list page size.
138138
pageToken: string, The standard list page token.
139-
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
139+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
140140
x__xgafv: string, V1 error format.
141141
Allowed values
142142
1 - v1 error format
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
},
169169
},
170170
],
171-
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
171+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
172172
&quot;A String&quot;,
173173
],
174174
}</pre>

googleapiclient/discovery_cache/documents/serviceusage.v1.json

Lines changed: 70 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
"type": "string"
224224
},
225225
"returnPartialSuccess": {
226-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
226+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
227227
"location": "query",
228228
"type": "boolean"
229229
}
@@ -431,7 +431,7 @@
431431
}
432432
}
433433
},
434-
"revision": "20251021",
434+
"revision": "20260109",
435435
"rootUrl": "https://serviceusage.googleapis.com/",
436436
"schemas": {
437437
"AddEnableRulesMetadata": {
@@ -1275,7 +1275,7 @@
12751275
"id": "Control",
12761276
"properties": {
12771277
"environment": {
1278-
"description": "The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com",
1278+
"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.",
12791279
"type": "string"
12801280
},
12811281
"methodPolicies": {
@@ -2397,12 +2397,78 @@
23972397
},
23982398
"type": "object"
23992399
},
2400+
"GoogleApiServiceusageV2betaMcpEnableRule": {
2401+
"description": "McpEnableRule contains MCP enablement related rules.",
2402+
"id": "GoogleApiServiceusageV2betaMcpEnableRule",
2403+
"properties": {
2404+
"mcpServices": {
2405+
"description": "List of enabled MCP services.",
2406+
"items": {
2407+
"$ref": "GoogleApiServiceusageV2betaMcpService"
2408+
},
2409+
"type": "array"
2410+
}
2411+
},
2412+
"type": "object"
2413+
},
2414+
"GoogleApiServiceusageV2betaMcpPolicy": {
2415+
"description": "MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.",
2416+
"id": "GoogleApiServiceusageV2betaMcpPolicy",
2417+
"properties": {
2418+
"createTime": {
2419+
"description": "Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.",
2420+
"format": "google-datetime",
2421+
"readOnly": true,
2422+
"type": "string"
2423+
},
2424+
"etag": {
2425+
"description": "An opaque tag indicating the current version of the policy, used for concurrency control.",
2426+
"type": "string"
2427+
},
2428+
"mcpEnableRules": {
2429+
"description": "McpEnableRules contains MCP enablement related rules.",
2430+
"items": {
2431+
"$ref": "GoogleApiServiceusageV2betaMcpEnableRule"
2432+
},
2433+
"type": "array"
2434+
},
2435+
"name": {
2436+
"description": "Output only. The resource name of the policy. Only the `default` policy is supported. We allow the following formats: `projects/{PROJECT_NUMBER}/mcpPolicies/default`, `projects/{PROJECT_ID}/mcpPolicies/default`, `folders/{FOLDER_ID}/mcpPolicies/default`, `organizations/{ORG_ID}/mcpPolicies/default`.",
2437+
"readOnly": true,
2438+
"type": "string"
2439+
},
2440+
"updateTime": {
2441+
"description": "Output only. The time the policy was last updated.",
2442+
"format": "google-datetime",
2443+
"readOnly": true,
2444+
"type": "string"
2445+
}
2446+
},
2447+
"type": "object"
2448+
},
2449+
"GoogleApiServiceusageV2betaMcpService": {
2450+
"description": "McpService contains the service names that are enabled for MCP.",
2451+
"id": "GoogleApiServiceusageV2betaMcpService",
2452+
"properties": {
2453+
"service": {
2454+
"description": "The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`",
2455+
"type": "string"
2456+
}
2457+
},
2458+
"type": "object"
2459+
},
24002460
"GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata": {
24012461
"description": "Metadata for the `UpdateConsumerPolicy` method.",
24022462
"id": "GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata",
24032463
"properties": {},
24042464
"type": "object"
24052465
},
2466+
"GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata": {
2467+
"description": "Metadata for the `UpdateMcpPolicy` method.",
2468+
"id": "GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata",
2469+
"properties": {},
2470+
"type": "object"
2471+
},
24062472
"Http": {
24072473
"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.",
24082474
"id": "Http",
@@ -2652,7 +2718,7 @@
26522718
"type": "array"
26532719
},
26542720
"unreachable": {
2655-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
2721+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
26562722
"items": {
26572723
"type": "string"
26582724
},

googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json

Lines changed: 70 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"type": "string"
169169
},
170170
"returnPartialSuccess": {
171-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
171+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
172172
"location": "query",
173173
"type": "boolean"
174174
}
@@ -969,7 +969,7 @@
969969
}
970970
}
971971
},
972-
"revision": "20251021",
972+
"revision": "20260109",
973973
"rootUrl": "https://serviceusage.googleapis.com/",
974974
"schemas": {
975975
"AddEnableRulesMetadata": {
@@ -1871,7 +1871,7 @@
18711871
"id": "Control",
18721872
"properties": {
18731873
"environment": {
1874-
"description": "The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com",
1874+
"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.",
18751875
"type": "string"
18761876
},
18771877
"methodPolicies": {
@@ -2974,12 +2974,78 @@
29742974
},
29752975
"type": "object"
29762976
},
2977+
"GoogleApiServiceusageV2betaMcpEnableRule": {
2978+
"description": "McpEnableRule contains MCP enablement related rules.",
2979+
"id": "GoogleApiServiceusageV2betaMcpEnableRule",
2980+
"properties": {
2981+
"mcpServices": {
2982+
"description": "List of enabled MCP services.",
2983+
"items": {
2984+
"$ref": "GoogleApiServiceusageV2betaMcpService"
2985+
},
2986+
"type": "array"
2987+
}
2988+
},
2989+
"type": "object"
2990+
},
2991+
"GoogleApiServiceusageV2betaMcpPolicy": {
2992+
"description": "MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.",
2993+
"id": "GoogleApiServiceusageV2betaMcpPolicy",
2994+
"properties": {
2995+
"createTime": {
2996+
"description": "Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.",
2997+
"format": "google-datetime",
2998+
"readOnly": true,
2999+
"type": "string"
3000+
},
3001+
"etag": {
3002+
"description": "An opaque tag indicating the current version of the policy, used for concurrency control.",
3003+
"type": "string"
3004+
},
3005+
"mcpEnableRules": {
3006+
"description": "McpEnableRules contains MCP enablement related rules.",
3007+
"items": {
3008+
"$ref": "GoogleApiServiceusageV2betaMcpEnableRule"
3009+
},
3010+
"type": "array"
3011+
},
3012+
"name": {
3013+
"description": "Output only. The resource name of the policy. Only the `default` policy is supported. We allow the following formats: `projects/{PROJECT_NUMBER}/mcpPolicies/default`, `projects/{PROJECT_ID}/mcpPolicies/default`, `folders/{FOLDER_ID}/mcpPolicies/default`, `organizations/{ORG_ID}/mcpPolicies/default`.",
3014+
"readOnly": true,
3015+
"type": "string"
3016+
},
3017+
"updateTime": {
3018+
"description": "Output only. The time the policy was last updated.",
3019+
"format": "google-datetime",
3020+
"readOnly": true,
3021+
"type": "string"
3022+
}
3023+
},
3024+
"type": "object"
3025+
},
3026+
"GoogleApiServiceusageV2betaMcpService": {
3027+
"description": "McpService contains the service names that are enabled for MCP.",
3028+
"id": "GoogleApiServiceusageV2betaMcpService",
3029+
"properties": {
3030+
"service": {
3031+
"description": "The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`",
3032+
"type": "string"
3033+
}
3034+
},
3035+
"type": "object"
3036+
},
29773037
"GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata": {
29783038
"description": "Metadata for the `UpdateConsumerPolicy` method.",
29793039
"id": "GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata",
29803040
"properties": {},
29813041
"type": "object"
29823042
},
3043+
"GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata": {
3044+
"description": "Metadata for the `UpdateMcpPolicy` method.",
3045+
"id": "GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata",
3046+
"properties": {},
3047+
"type": "object"
3048+
},
29833049
"Http": {
29843050
"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.",
29853051
"id": "Http",
@@ -3347,7 +3413,7 @@
33473413
"type": "array"
33483414
},
33493415
"unreachable": {
3350-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
3416+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
33513417
"items": {
33523418
"type": "string"
33533419
},

0 commit comments

Comments
 (0)