@googleapis/serviceusage 21.0.1 → 22.0.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.
package/v1beta1.ts CHANGED
@@ -264,11 +264,28 @@ export namespace serviceusage_v1beta1 {
264
264
  * The type of this aspect configuration.
265
265
  */
266
266
  kind?: string | null;
267
+ /**
268
+ * Optional. Rules of the Configuration.
269
+ */
270
+ rules?: Schema$AspectRule[];
267
271
  /**
268
272
  * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.
269
273
  */
270
274
  spec?: {[key: string]: any} | null;
271
275
  }
276
+ /**
277
+ * Rule-based configuration for an aspect.
278
+ */
279
+ export interface Schema$AspectRule {
280
+ /**
281
+ * Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.
282
+ */
283
+ config?: {[key: string]: any} | null;
284
+ /**
285
+ * Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.
286
+ */
287
+ selector?: string | null;
288
+ }
272
289
  /**
273
290
  * `Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
274
291
  */
@@ -391,7 +408,7 @@ export namespace serviceusage_v1beta1 {
391
408
  */
392
409
  overridesByRequestProtocol?: {[key: string]: Schema$BackendRule} | null;
393
410
  /**
394
- * no-lint
411
+ * Path translation specifies how to combine the backend address with the request path in order to produce the appropriate forwarding URL for the request. See PathTranslation for more details.
395
412
  */
396
413
  pathTranslation?: string | null;
397
414
  /**
@@ -594,7 +611,7 @@ export namespace serviceusage_v1beta1 {
594
611
  */
595
612
  referenceDocsUri?: string | null;
596
613
  /**
597
- * Configuration for which RPCs should be generated in the GAPIC client.
614
+ * Configuration for which RPCs should be generated in the GAPIC client. Note: This field should not be used in most cases.
598
615
  */
599
616
  selectiveGapicGeneration?: Schema$SelectiveGapicGeneration;
600
617
  }
@@ -755,7 +772,7 @@ export namespace serviceusage_v1beta1 {
755
772
  */
756
773
  export interface Schema$Control {
757
774
  /**
758
- * 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
775
+ * 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.
759
776
  */
760
777
  environment?: string | null;
761
778
  /**
@@ -1206,7 +1223,7 @@ export namespace serviceusage_v1beta1 {
1206
1223
  */
1207
1224
  metrics?: Schema$MetricDescriptor[];
1208
1225
  /**
1209
- * Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.
1226
+ * Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.
1210
1227
  */
1211
1228
  monitoredResources?: Schema$MonitoredResourceDescriptor[];
1212
1229
  /**
@@ -1495,10 +1512,57 @@ export namespace serviceusage_v1beta1 {
1495
1512
  */
1496
1513
  missingDependency?: string | null;
1497
1514
  }
1515
+ /**
1516
+ * McpEnableRule contains MCP enablement related rules.
1517
+ */
1518
+ export interface Schema$GoogleApiServiceusageV2betaMcpEnableRule {
1519
+ /**
1520
+ * List of enabled MCP services.
1521
+ */
1522
+ mcpServices?: Schema$GoogleApiServiceusageV2betaMcpService[];
1523
+ }
1524
+ /**
1525
+ * MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.
1526
+ */
1527
+ export interface Schema$GoogleApiServiceusageV2betaMcpPolicy {
1528
+ /**
1529
+ * Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.
1530
+ */
1531
+ createTime?: string | null;
1532
+ /**
1533
+ * An opaque tag indicating the current version of the policy, used for concurrency control.
1534
+ */
1535
+ etag?: string | null;
1536
+ /**
1537
+ * McpEnableRules contains MCP enablement related rules.
1538
+ */
1539
+ mcpEnableRules?: Schema$GoogleApiServiceusageV2betaMcpEnableRule[];
1540
+ /**
1541
+ * 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`.
1542
+ */
1543
+ name?: string | null;
1544
+ /**
1545
+ * Output only. The time the policy was last updated.
1546
+ */
1547
+ updateTime?: string | null;
1548
+ }
1549
+ /**
1550
+ * McpService contains the service names that are enabled for MCP.
1551
+ */
1552
+ export interface Schema$GoogleApiServiceusageV2betaMcpService {
1553
+ /**
1554
+ * The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`
1555
+ */
1556
+ service?: string | null;
1557
+ }
1498
1558
  /**
1499
1559
  * Metadata for the `UpdateConsumerPolicy` method.
1500
1560
  */
1501
1561
  export interface Schema$GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata {}
1562
+ /**
1563
+ * Metadata for the `UpdateMcpPolicy` method.
1564
+ */
1565
+ export interface Schema$GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata {}
1502
1566
  /**
1503
1567
  * Settings for Go client libraries.
1504
1568
  */
@@ -1767,7 +1831,7 @@ export namespace serviceusage_v1beta1 {
1767
1831
  */
1768
1832
  operations?: Schema$Operation[];
1769
1833
  /**
1770
- * 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.
1834
+ * 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.
1771
1835
  */
1772
1836
  unreachable?: string[] | null;
1773
1837
  }
@@ -1852,49 +1916,6 @@ export namespace serviceusage_v1beta1 {
1852
1916
  */
1853
1917
  totalPollTimeout?: string | null;
1854
1918
  }
1855
- /**
1856
- * McpEnableRule contains MCP enablement related rules.
1857
- */
1858
- export interface Schema$McpEnableRule {
1859
- /**
1860
- * List of enabled MCP services.
1861
- */
1862
- mcpServices?: Schema$McpService[];
1863
- }
1864
- /**
1865
- * MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.
1866
- */
1867
- export interface Schema$McpPolicy {
1868
- /**
1869
- * Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.
1870
- */
1871
- createTime?: string | null;
1872
- /**
1873
- * An opaque tag indicating the current version of the policy, used for concurrency control.
1874
- */
1875
- etag?: string | null;
1876
- /**
1877
- * McpEnableRules contains MCP enablement related rules.
1878
- */
1879
- mcpEnableRules?: Schema$McpEnableRule[];
1880
- /**
1881
- * 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`.
1882
- */
1883
- name?: string | null;
1884
- /**
1885
- * Output only. The time the policy was last updated.
1886
- */
1887
- updateTime?: string | null;
1888
- }
1889
- /**
1890
- * McpService contains the service names that are enabled for MCP.
1891
- */
1892
- export interface Schema$McpService {
1893
- /**
1894
- * The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`
1895
- */
1896
- service?: string | null;
1897
- }
1898
1919
  /**
1899
1920
  * Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
1900
1921
  */
@@ -2472,7 +2493,7 @@ export namespace serviceusage_v1beta1 {
2472
2493
  common?: Schema$CommonLanguageSettings;
2473
2494
  }
2474
2495
  /**
2475
- * This message is used to configure the generation of a subset of the RPCs in a service for client libraries.
2496
+ * This message is used to configure the generation of a subset of the RPCs in a service for client libraries. Note: This feature should not be used in most cases.
2476
2497
  */
2477
2498
  export interface Schema$SelectiveGapicGeneration {
2478
2499
  /**
@@ -2682,10 +2703,6 @@ export namespace serviceusage_v1beta1 {
2682
2703
  * Metadata for the `UpdateContentSecurityPolicy` method.
2683
2704
  */
2684
2705
  export interface Schema$UpdateContentSecurityPolicyMetadata {}
2685
- /**
2686
- * Metadata for the `UpdateMcpPolicy` method.
2687
- */
2688
- export interface Schema$UpdateMcpPolicyMetadata {}
2689
2706
  /**
2690
2707
  * Configuration controlling usage of a service.
2691
2708
  */
@@ -2708,7 +2725,7 @@ export namespace serviceusage_v1beta1 {
2708
2725
  */
2709
2726
  export interface Schema$UsageRule {
2710
2727
  /**
2711
- * Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.
2728
+ * Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.
2712
2729
  */
2713
2730
  allowUnregisteredCalls?: boolean | null;
2714
2731
  /**
@@ -2909,7 +2926,7 @@ export namespace serviceusage_v1beta1 {
2909
2926
  * pageSize: 'placeholder-value',
2910
2927
  * // The standard list page token.
2911
2928
  * pageToken: 'placeholder-value',
2912
- * // 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.
2929
+ * // 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.
2913
2930
  * returnPartialSuccess: 'placeholder-value',
2914
2931
  * });
2915
2932
  * console.log(res.data);
@@ -3043,7 +3060,7 @@ export namespace serviceusage_v1beta1 {
3043
3060
  */
3044
3061
  pageToken?: string;
3045
3062
  /**
3046
- * 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.
3063
+ * 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.
3047
3064
  */
3048
3065
  returnPartialSuccess?: boolean;
3049
3066
  }