@googleapis/serviceusage 18.0.0 → 19.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
@@ -220,9 +220,13 @@ export namespace serviceusage_v1beta1 {
220
220
  analysis?: Schema$Analysis[];
221
221
  }
222
222
  /**
223
- * Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
223
+ * Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto 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.
224
224
  */
225
225
  export interface Schema$Api {
226
+ /**
227
+ * The source edition string, only valid when syntax is SYNTAX_EDITIONS.
228
+ */
229
+ edition?: string | null;
226
230
  /**
227
231
  * The methods of this interface, in unspecified order.
228
232
  */
@@ -386,6 +390,9 @@ export namespace serviceusage_v1beta1 {
386
390
  * The map between request protocol and the backend address.
387
391
  */
388
392
  overridesByRequestProtocol?: {[key: string]: Schema$BackendRule} | null;
393
+ /**
394
+ * no-lint
395
+ */
389
396
  pathTranslation?: string | null;
390
397
  /**
391
398
  * The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.
@@ -678,6 +685,24 @@ export namespace serviceusage_v1beta1 {
678
685
  */
679
686
  unit?: string | null;
680
687
  }
688
+ /**
689
+ * ContentSecurity defines the content security related fields of a MCP policy.
690
+ */
691
+ export interface Schema$ContentSecurity {
692
+ /**
693
+ * List of content security providers that are enabled for content scanning.
694
+ */
695
+ contentSecurityProviders?: Schema$ContentSecurityProvider[];
696
+ }
697
+ /**
698
+ * ContentSecurityProvider contains the name of content security provider.
699
+ */
700
+ export interface Schema$ContentSecurityProvider {
701
+ /**
702
+ * Name of security service for content scanning, such as Google Cloud Model Armor or supported third-party ISV solutions. If it is Google 1P service, the name should be prefixed with `services/`. If it is a 3P service, the format needs to be documented. The currently supported values are: - `services/modelarmor.googleapis.com` for Google Cloud Model Armor.
703
+ */
704
+ name?: string | null;
705
+ }
681
706
  /**
682
707
  * `Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
683
708
  */
@@ -954,7 +979,7 @@ export namespace serviceusage_v1beta1 {
954
979
  target?: string | null;
955
980
  }
956
981
  /**
957
- * Enum type definition.
982
+ * Enum type definition. New usages of this message as an alternative to EnumDescriptorProto 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.
958
983
  */
959
984
  export interface Schema$Enum {
960
985
  /**
@@ -983,7 +1008,7 @@ export namespace serviceusage_v1beta1 {
983
1008
  syntax?: string | null;
984
1009
  }
985
1010
  /**
986
- * Enum value definition.
1011
+ * Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto 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.
987
1012
  */
988
1013
  export interface Schema$EnumValue {
989
1014
  /**
@@ -1017,7 +1042,7 @@ export namespace serviceusage_v1beta1 {
1017
1042
  unversionedPackageDisabled?: boolean | null;
1018
1043
  }
1019
1044
  /**
1020
- * A single field of a message type.
1045
+ * A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto 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.
1021
1046
  */
1022
1047
  export interface Schema$Field {
1023
1048
  /**
@@ -1423,7 +1448,7 @@ export namespace serviceusage_v1beta1 {
1423
1448
  */
1424
1449
  enableRules?: Schema$GoogleApiServiceusageV2betaEnableRule[];
1425
1450
  /**
1426
- * Output only. An opaque tag indicating the current version of the policy, used for concurrency control.
1451
+ * An opaque tag indicating the current version of the policy, used for concurrency control.
1427
1452
  */
1428
1453
  etag?: string | null;
1429
1454
  /**
@@ -1456,6 +1481,10 @@ export namespace serviceusage_v1beta1 {
1456
1481
  * Output only. The type of impact.
1457
1482
  */
1458
1483
  impactType?: string | null;
1484
+ /**
1485
+ * Output only. This field will be populated only for the `DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.googleapis.com`. Impact.detail will be in format : `missing service dependency: {missing_dependency\}.`
1486
+ */
1487
+ missingDependency?: string | null;
1459
1488
  }
1460
1489
  /**
1461
1490
  * Metadata for the `UpdateConsumerPolicy` method.
@@ -1470,7 +1499,7 @@ export namespace serviceusage_v1beta1 {
1470
1499
  */
1471
1500
  common?: Schema$CommonLanguageSettings;
1472
1501
  /**
1473
- * Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1502
+ * Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin
1474
1503
  */
1475
1504
  renamedServices?: {[key: string]: string} | null;
1476
1505
  }
@@ -1811,9 +1840,60 @@ export namespace serviceusage_v1beta1 {
1811
1840
  totalPollTimeout?: string | null;
1812
1841
  }
1813
1842
  /**
1814
- * Method represents a method of an API interface.
1843
+ * McpEnableRule contains MCP enablement related rules.
1844
+ */
1845
+ export interface Schema$McpEnableRule {
1846
+ /**
1847
+ * List of enabled MCP services.
1848
+ */
1849
+ mcpServices?: Schema$McpService[];
1850
+ }
1851
+ /**
1852
+ * MCP Consumer Policy is a set of rules that define MCP related policy for a cloud resource hierarchy.
1853
+ */
1854
+ export interface Schema$McpPolicy {
1855
+ /**
1856
+ * ContentSecurity contains the content security related fields of a MCP policy.
1857
+ */
1858
+ contentSecurity?: Schema$ContentSecurity;
1859
+ /**
1860
+ * Output only. The time the policy was created. For singleton policies (such as the `default` policy), this is the first touch of the policy.
1861
+ */
1862
+ createTime?: string | null;
1863
+ /**
1864
+ * An opaque tag indicating the current version of the policy, used for concurrency control.
1865
+ */
1866
+ etag?: string | null;
1867
+ /**
1868
+ * McpEnableRules contains MCP enablement related rules.
1869
+ */
1870
+ mcpEnableRules?: Schema$McpEnableRule[];
1871
+ /**
1872
+ * 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`.
1873
+ */
1874
+ name?: string | null;
1875
+ /**
1876
+ * Output only. The time the policy was last updated.
1877
+ */
1878
+ updateTime?: string | null;
1879
+ }
1880
+ /**
1881
+ * McpService contains the service names that are enabled for MCP.
1882
+ */
1883
+ export interface Schema$McpService {
1884
+ /**
1885
+ * The names of the services that are enabled for MCP. Example: `services/library-example.googleapis.com`
1886
+ */
1887
+ service?: string | null;
1888
+ }
1889
+ /**
1890
+ * 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.
1815
1891
  */
1816
1892
  export interface Schema$Method {
1893
+ /**
1894
+ * The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.
1895
+ */
1896
+ edition?: string | null;
1817
1897
  /**
1818
1898
  * The simple name of this method.
1819
1899
  */
@@ -1839,7 +1919,7 @@ export namespace serviceusage_v1beta1 {
1839
1919
  */
1840
1920
  responseTypeUrl?: string | null;
1841
1921
  /**
1842
- * The source syntax of this method.
1922
+ * The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.
1843
1923
  */
1844
1924
  syntax?: string | null;
1845
1925
  }
@@ -2081,7 +2161,7 @@ export namespace serviceusage_v1beta1 {
2081
2161
  resourceNames?: string[] | null;
2082
2162
  }
2083
2163
  /**
2084
- * A protocol buffer option, which can be attached to a message, field, enumeration, etc.
2164
+ * A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.
2085
2165
  */
2086
2166
  export interface Schema$Option {
2087
2167
  /**
@@ -2549,7 +2629,7 @@ export namespace serviceusage_v1beta1 {
2549
2629
  rules?: Schema$SystemParameterRule[];
2550
2630
  }
2551
2631
  /**
2552
- * A protocol buffer message type.
2632
+ * A protocol buffer message type. New usages of this message as an alternative to DescriptorProto 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.
2553
2633
  */
2554
2634
  export interface Schema$Type {
2555
2635
  /**
@@ -2589,6 +2669,10 @@ export namespace serviceusage_v1beta1 {
2589
2669
  * Metadata for the `UpdateConsumerPolicy` method.
2590
2670
  */
2591
2671
  export interface Schema$UpdateConsumerPolicyMetadata {}
2672
+ /**
2673
+ * Metadata for the `UpdateMcpPolicy` method.
2674
+ */
2675
+ export interface Schema$UpdateMcpPolicyMetadata {}
2592
2676
  /**
2593
2677
  * Configuration controlling usage of a service.
2594
2678
  */