google-apis-serviceusage_v1beta1 0.69.0 → 0.71.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/serviceusage_v1beta1/classes.rb +257 -21
- data/lib/google/apis/serviceusage_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/serviceusage_v1beta1/representations.rb +115 -1
- data/lib/google/apis/serviceusage_v1beta1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfab3675baae48e359f7f304ed3500483f4f04ace94976b15298b067e52132fd
|
|
4
|
+
data.tar.gz: dc9587460c32c8fe7f3ce3673760fac1b179c0f8215895fcc8f38ec9adccede9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 198b703c4fe54a7b1588e18b177622283b35894d3ceaf4a69699b856151cb49c8b26738a18c04804d8439cb3b3b0be2c7c25cbb1880c19503e48960075d04c5b
|
|
7
|
+
data.tar.gz: 9aa484f28a0f95f3fe16424d3489d981e376c496b545ce3f9d4a590a665d1b6e5c01eee74624aacf49fe2e602ce287cf7da2025e4a87d76cd154398ddcba8355
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.71.0 (2025-11-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251021
|
|
6
|
+
|
|
7
|
+
### v0.70.0 (2025-09-28)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250919
|
|
10
|
+
|
|
3
11
|
### v0.69.0 (2025-07-27)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250619
|
|
@@ -233,10 +233,19 @@ module Google
|
|
|
233
233
|
# which represent a concrete implementation of an interface as opposed to simply
|
|
234
234
|
# a description of methods and bindings. They are also sometimes simply referred
|
|
235
235
|
# to as "APIs" in other contexts, such as the name of this message itself. See
|
|
236
|
-
# https://cloud.google.com/apis/design/glossary for detailed terminology.
|
|
236
|
+
# https://cloud.google.com/apis/design/glossary for detailed terminology. New
|
|
237
|
+
# usages of this message as an alternative to ServiceDescriptorProto are
|
|
238
|
+
# strongly discouraged. This message does not reliability preserve all
|
|
239
|
+
# information necessary to model the schema and preserve semantics. Instead make
|
|
240
|
+
# use of FileDescriptorSet which preserves the necessary information.
|
|
237
241
|
class Api
|
|
238
242
|
include Google::Apis::Core::Hashable
|
|
239
243
|
|
|
244
|
+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
|
245
|
+
# Corresponds to the JSON property `edition`
|
|
246
|
+
# @return [String]
|
|
247
|
+
attr_accessor :edition
|
|
248
|
+
|
|
240
249
|
# The methods of this interface, in unspecified order.
|
|
241
250
|
# Corresponds to the JSON property `methods`
|
|
242
251
|
# @return [Array<Google::Apis::ServiceusageV1beta1::MethodProp>]
|
|
@@ -292,6 +301,7 @@ module Google
|
|
|
292
301
|
|
|
293
302
|
# Update properties of this object
|
|
294
303
|
def update!(**args)
|
|
304
|
+
@edition = args[:edition] if args.key?(:edition)
|
|
295
305
|
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
|
|
296
306
|
@mixins = args[:mixins] if args.key?(:mixins)
|
|
297
307
|
@name = args[:name] if args.key?(:name)
|
|
@@ -610,7 +620,7 @@ module Google
|
|
|
610
620
|
# @return [Hash<String,Google::Apis::ServiceusageV1beta1::BackendRule>]
|
|
611
621
|
attr_accessor :overrides_by_request_protocol
|
|
612
622
|
|
|
613
|
-
#
|
|
623
|
+
# no-lint
|
|
614
624
|
# Corresponds to the JSON property `pathTranslation`
|
|
615
625
|
# @return [String]
|
|
616
626
|
attr_accessor :path_translation
|
|
@@ -1234,6 +1244,78 @@ module Google
|
|
|
1234
1244
|
end
|
|
1235
1245
|
end
|
|
1236
1246
|
|
|
1247
|
+
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
1248
|
+
class ContentSecurity
|
|
1249
|
+
include Google::Apis::Core::Hashable
|
|
1250
|
+
|
|
1251
|
+
# List of content security providers that are enabled for content scanning.
|
|
1252
|
+
# Corresponds to the JSON property `contentSecurityProviders`
|
|
1253
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::ContentSecurityProvider>]
|
|
1254
|
+
attr_accessor :content_security_providers
|
|
1255
|
+
|
|
1256
|
+
def initialize(**args)
|
|
1257
|
+
update!(**args)
|
|
1258
|
+
end
|
|
1259
|
+
|
|
1260
|
+
# Update properties of this object
|
|
1261
|
+
def update!(**args)
|
|
1262
|
+
@content_security_providers = args[:content_security_providers] if args.key?(:content_security_providers)
|
|
1263
|
+
end
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
# Content Security Policy contains the content security related policy of a
|
|
1267
|
+
# resource.
|
|
1268
|
+
class ContentSecurityPolicy
|
|
1269
|
+
include Google::Apis::Core::Hashable
|
|
1270
|
+
|
|
1271
|
+
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
1272
|
+
# Corresponds to the JSON property `mcpContentSecurity`
|
|
1273
|
+
# @return [Google::Apis::ServiceusageV1beta1::ContentSecurity]
|
|
1274
|
+
attr_accessor :mcp_content_security
|
|
1275
|
+
|
|
1276
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
1277
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
1278
|
+
# contentSecurityPolicies/default`, `projects/`PROJECT_ID`/
|
|
1279
|
+
# contentSecurityPolicies/default`, We only support project level content
|
|
1280
|
+
# security policy for now.
|
|
1281
|
+
# Corresponds to the JSON property `name`
|
|
1282
|
+
# @return [String]
|
|
1283
|
+
attr_accessor :name
|
|
1284
|
+
|
|
1285
|
+
def initialize(**args)
|
|
1286
|
+
update!(**args)
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
# Update properties of this object
|
|
1290
|
+
def update!(**args)
|
|
1291
|
+
@mcp_content_security = args[:mcp_content_security] if args.key?(:mcp_content_security)
|
|
1292
|
+
@name = args[:name] if args.key?(:name)
|
|
1293
|
+
end
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
# ContentSecurityProvider contains the name of content security provider.
|
|
1297
|
+
class ContentSecurityProvider
|
|
1298
|
+
include Google::Apis::Core::Hashable
|
|
1299
|
+
|
|
1300
|
+
# Name of security service for content scanning, such as Google Cloud Model
|
|
1301
|
+
# Armor or supported third-party ISV solutions. If it is Google 1P service, the
|
|
1302
|
+
# name should be prefixed with `services/`. If it is a 3P service, the format
|
|
1303
|
+
# needs to be documented. The currently supported values are: - `services/
|
|
1304
|
+
# modelarmor.googleapis.com` for Google Cloud Model Armor.
|
|
1305
|
+
# Corresponds to the JSON property `name`
|
|
1306
|
+
# @return [String]
|
|
1307
|
+
attr_accessor :name
|
|
1308
|
+
|
|
1309
|
+
def initialize(**args)
|
|
1310
|
+
update!(**args)
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1313
|
+
# Update properties of this object
|
|
1314
|
+
def update!(**args)
|
|
1315
|
+
@name = args[:name] if args.key?(:name)
|
|
1316
|
+
end
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1237
1319
|
# `Context` defines which contexts an API requests. Example: context: rules: -
|
|
1238
1320
|
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
|
1239
1321
|
# context.OriginContext The above specifies that all methods in the API request `
|
|
@@ -1887,7 +1969,11 @@ module Google
|
|
|
1887
1969
|
end
|
|
1888
1970
|
end
|
|
1889
1971
|
|
|
1890
|
-
# Enum type definition.
|
|
1972
|
+
# Enum type definition. New usages of this message as an alternative to
|
|
1973
|
+
# EnumDescriptorProto are strongly discouraged. This message does not
|
|
1974
|
+
# reliability preserve all information necessary to model the schema and
|
|
1975
|
+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
|
|
1976
|
+
# necessary information.
|
|
1891
1977
|
class Enum
|
|
1892
1978
|
include Google::Apis::Core::Hashable
|
|
1893
1979
|
|
|
@@ -1937,7 +2023,11 @@ module Google
|
|
|
1937
2023
|
end
|
|
1938
2024
|
end
|
|
1939
2025
|
|
|
1940
|
-
# Enum value definition.
|
|
2026
|
+
# Enum value definition. New usages of this message as an alternative to
|
|
2027
|
+
# EnumValueDescriptorProto are strongly discouraged. This message does not
|
|
2028
|
+
# reliability preserve all information necessary to model the schema and
|
|
2029
|
+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
|
|
2030
|
+
# necessary information.
|
|
1941
2031
|
class EnumValue
|
|
1942
2032
|
include Google::Apis::Core::Hashable
|
|
1943
2033
|
|
|
@@ -2011,7 +2101,11 @@ module Google
|
|
|
2011
2101
|
end
|
|
2012
2102
|
end
|
|
2013
2103
|
|
|
2014
|
-
# A single field of a message type.
|
|
2104
|
+
# A single field of a message type. New usages of this message as an alternative
|
|
2105
|
+
# to FieldDescriptorProto are strongly discouraged. This message does not
|
|
2106
|
+
# reliability preserve all information necessary to model the schema and
|
|
2107
|
+
# preserve semantics. Instead make use of FileDescriptorSet which preserves the
|
|
2108
|
+
# necessary information.
|
|
2015
2109
|
class Field
|
|
2016
2110
|
include Google::Apis::Core::Hashable
|
|
2017
2111
|
|
|
@@ -2181,7 +2275,8 @@ module Google
|
|
|
2181
2275
|
|
|
2182
2276
|
# Map of service names to renamed services. Keys are the package relative
|
|
2183
2277
|
# service names and values are the name to be used for the service client and
|
|
2184
|
-
# call options. publishing: go_settings: renamed_services: Publisher:
|
|
2278
|
+
# call options. Example: publishing: go_settings: renamed_services: Publisher:
|
|
2279
|
+
# TopicAdmin
|
|
2185
2280
|
# Corresponds to the JSON property `renamedServices`
|
|
2186
2281
|
# @return [Hash<String,String>]
|
|
2187
2282
|
attr_accessor :renamed_services
|
|
@@ -2995,14 +3090,6 @@ module Google
|
|
|
2995
3090
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
2996
3091
|
include Google::Apis::Core::Hashable
|
|
2997
3092
|
|
|
2998
|
-
# Optional. Annotations is an unstructured key-value map stored with a policy
|
|
2999
|
-
# that may be set by external tools to store and retrieve arbitrary metadata.
|
|
3000
|
-
# They are not queryable and should be preserved when modifying objects. [AIP-
|
|
3001
|
-
# 128](https://google.aip.dev/128#annotations)
|
|
3002
|
-
# Corresponds to the JSON property `annotations`
|
|
3003
|
-
# @return [Hash<String,String>]
|
|
3004
|
-
attr_accessor :annotations
|
|
3005
|
-
|
|
3006
3093
|
# Output only. The time the policy was created. For singleton policies, this is
|
|
3007
3094
|
# the first touch of the policy.
|
|
3008
3095
|
# Corresponds to the JSON property `createTime`
|
|
@@ -3016,8 +3103,8 @@ module Google
|
|
|
3016
3103
|
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule>]
|
|
3017
3104
|
attr_accessor :enable_rules
|
|
3018
3105
|
|
|
3019
|
-
#
|
|
3020
|
-
#
|
|
3106
|
+
# An opaque tag indicating the current version of the policy, used for
|
|
3107
|
+
# concurrency control.
|
|
3021
3108
|
# Corresponds to the JSON property `etag`
|
|
3022
3109
|
# @return [String]
|
|
3023
3110
|
attr_accessor :etag
|
|
@@ -3040,7 +3127,6 @@ module Google
|
|
|
3040
3127
|
|
|
3041
3128
|
# Update properties of this object
|
|
3042
3129
|
def update!(**args)
|
|
3043
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
|
3044
3130
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3045
3131
|
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
|
|
3046
3132
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -3083,6 +3169,14 @@ module Google
|
|
|
3083
3169
|
# @return [String]
|
|
3084
3170
|
attr_accessor :impact_type
|
|
3085
3171
|
|
|
3172
|
+
# Output only. This field will be populated only for the `
|
|
3173
|
+
# DEPENDENCY_MISSING_DEPENDENCIES` impact type. Example: `services/compute.
|
|
3174
|
+
# googleapis.com`. Impact.detail will be in format : `missing service dependency:
|
|
3175
|
+
# `missing_dependency`.`
|
|
3176
|
+
# Corresponds to the JSON property `missingDependency`
|
|
3177
|
+
# @return [String]
|
|
3178
|
+
attr_accessor :missing_dependency
|
|
3179
|
+
|
|
3086
3180
|
def initialize(**args)
|
|
3087
3181
|
update!(**args)
|
|
3088
3182
|
end
|
|
@@ -3091,6 +3185,7 @@ module Google
|
|
|
3091
3185
|
def update!(**args)
|
|
3092
3186
|
@detail = args[:detail] if args.key?(:detail)
|
|
3093
3187
|
@impact_type = args[:impact_type] if args.key?(:impact_type)
|
|
3188
|
+
@missing_dependency = args[:missing_dependency] if args.key?(:missing_dependency)
|
|
3094
3189
|
end
|
|
3095
3190
|
end
|
|
3096
3191
|
|
|
@@ -3774,6 +3869,13 @@ module Google
|
|
|
3774
3869
|
# @return [Array<Google::Apis::ServiceusageV1beta1::Operation>]
|
|
3775
3870
|
attr_accessor :operations
|
|
3776
3871
|
|
|
3872
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3873
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
3874
|
+
# when attempting to list all resources across all supported locations.
|
|
3875
|
+
# Corresponds to the JSON property `unreachable`
|
|
3876
|
+
# @return [Array<String>]
|
|
3877
|
+
attr_accessor :unreachable
|
|
3878
|
+
|
|
3777
3879
|
def initialize(**args)
|
|
3778
3880
|
update!(**args)
|
|
3779
3881
|
end
|
|
@@ -3782,6 +3884,7 @@ module Google
|
|
|
3782
3884
|
def update!(**args)
|
|
3783
3885
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3784
3886
|
@operations = args[:operations] if args.key?(:operations)
|
|
3887
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3785
3888
|
end
|
|
3786
3889
|
end
|
|
3787
3890
|
|
|
@@ -3967,10 +4070,109 @@ module Google
|
|
|
3967
4070
|
end
|
|
3968
4071
|
end
|
|
3969
4072
|
|
|
3970
|
-
#
|
|
4073
|
+
# McpEnableRule contains MCP enablement related rules.
|
|
4074
|
+
class McpEnableRule
|
|
4075
|
+
include Google::Apis::Core::Hashable
|
|
4076
|
+
|
|
4077
|
+
# List of enabled MCP services.
|
|
4078
|
+
# Corresponds to the JSON property `mcpServices`
|
|
4079
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::McpService>]
|
|
4080
|
+
attr_accessor :mcp_services
|
|
4081
|
+
|
|
4082
|
+
def initialize(**args)
|
|
4083
|
+
update!(**args)
|
|
4084
|
+
end
|
|
4085
|
+
|
|
4086
|
+
# Update properties of this object
|
|
4087
|
+
def update!(**args)
|
|
4088
|
+
@mcp_services = args[:mcp_services] if args.key?(:mcp_services)
|
|
4089
|
+
end
|
|
4090
|
+
end
|
|
4091
|
+
|
|
4092
|
+
# MCP Consumer Policy is a set of rules that define MCP related policy for a
|
|
4093
|
+
# cloud resource hierarchy.
|
|
4094
|
+
class McpPolicy
|
|
4095
|
+
include Google::Apis::Core::Hashable
|
|
4096
|
+
|
|
4097
|
+
# Output only. The time the policy was created. For singleton policies (such as
|
|
4098
|
+
# the `default` policy), this is the first touch of the policy.
|
|
4099
|
+
# Corresponds to the JSON property `createTime`
|
|
4100
|
+
# @return [String]
|
|
4101
|
+
attr_accessor :create_time
|
|
4102
|
+
|
|
4103
|
+
# An opaque tag indicating the current version of the policy, used for
|
|
4104
|
+
# concurrency control.
|
|
4105
|
+
# Corresponds to the JSON property `etag`
|
|
4106
|
+
# @return [String]
|
|
4107
|
+
attr_accessor :etag
|
|
4108
|
+
|
|
4109
|
+
# McpEnableRules contains MCP enablement related rules.
|
|
4110
|
+
# Corresponds to the JSON property `mcpEnableRules`
|
|
4111
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::McpEnableRule>]
|
|
4112
|
+
attr_accessor :mcp_enable_rules
|
|
4113
|
+
|
|
4114
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
4115
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
4116
|
+
# mcpPolicies/default`, `projects/`PROJECT_ID`/mcpPolicies/default`, `folders/`
|
|
4117
|
+
# FOLDER_ID`/mcpPolicies/default`, `organizations/`ORG_ID`/mcpPolicies/default`.
|
|
4118
|
+
# Corresponds to the JSON property `name`
|
|
4119
|
+
# @return [String]
|
|
4120
|
+
attr_accessor :name
|
|
4121
|
+
|
|
4122
|
+
# Output only. The time the policy was last updated.
|
|
4123
|
+
# Corresponds to the JSON property `updateTime`
|
|
4124
|
+
# @return [String]
|
|
4125
|
+
attr_accessor :update_time
|
|
4126
|
+
|
|
4127
|
+
def initialize(**args)
|
|
4128
|
+
update!(**args)
|
|
4129
|
+
end
|
|
4130
|
+
|
|
4131
|
+
# Update properties of this object
|
|
4132
|
+
def update!(**args)
|
|
4133
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4134
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4135
|
+
@mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
|
|
4136
|
+
@name = args[:name] if args.key?(:name)
|
|
4137
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4138
|
+
end
|
|
4139
|
+
end
|
|
4140
|
+
|
|
4141
|
+
# McpService contains the service names that are enabled for MCP.
|
|
4142
|
+
class McpService
|
|
4143
|
+
include Google::Apis::Core::Hashable
|
|
4144
|
+
|
|
4145
|
+
# The names of the services that are enabled for MCP. Example: `services/library-
|
|
4146
|
+
# example.googleapis.com`
|
|
4147
|
+
# Corresponds to the JSON property `service`
|
|
4148
|
+
# @return [String]
|
|
4149
|
+
attr_accessor :service
|
|
4150
|
+
|
|
4151
|
+
def initialize(**args)
|
|
4152
|
+
update!(**args)
|
|
4153
|
+
end
|
|
4154
|
+
|
|
4155
|
+
# Update properties of this object
|
|
4156
|
+
def update!(**args)
|
|
4157
|
+
@service = args[:service] if args.key?(:service)
|
|
4158
|
+
end
|
|
4159
|
+
end
|
|
4160
|
+
|
|
4161
|
+
# Method represents a method of an API interface. New usages of this message as
|
|
4162
|
+
# an alternative to MethodDescriptorProto are strongly discouraged. This message
|
|
4163
|
+
# does not reliability preserve all information necessary to model the schema
|
|
4164
|
+
# and preserve semantics. Instead make use of FileDescriptorSet which preserves
|
|
4165
|
+
# the necessary information.
|
|
3971
4166
|
class MethodProp
|
|
3972
4167
|
include Google::Apis::Core::Hashable
|
|
3973
4168
|
|
|
4169
|
+
# The source edition string, only valid when syntax is SYNTAX_EDITIONS. This
|
|
4170
|
+
# field should be ignored, instead the edition should be inherited from Api.
|
|
4171
|
+
# This is similar to Field and EnumValue.
|
|
4172
|
+
# Corresponds to the JSON property `edition`
|
|
4173
|
+
# @return [String]
|
|
4174
|
+
attr_accessor :edition
|
|
4175
|
+
|
|
3974
4176
|
# The simple name of this method.
|
|
3975
4177
|
# Corresponds to the JSON property `name`
|
|
3976
4178
|
# @return [String]
|
|
@@ -4003,7 +4205,8 @@ module Google
|
|
|
4003
4205
|
# @return [String]
|
|
4004
4206
|
attr_accessor :response_type_url
|
|
4005
4207
|
|
|
4006
|
-
# The source syntax of this method.
|
|
4208
|
+
# The source syntax of this method. This field should be ignored, instead the
|
|
4209
|
+
# syntax should be inherited from Api. This is similar to Field and EnumValue.
|
|
4007
4210
|
# Corresponds to the JSON property `syntax`
|
|
4008
4211
|
# @return [String]
|
|
4009
4212
|
attr_accessor :syntax
|
|
@@ -4014,6 +4217,7 @@ module Google
|
|
|
4014
4217
|
|
|
4015
4218
|
# Update properties of this object
|
|
4016
4219
|
def update!(**args)
|
|
4220
|
+
@edition = args[:edition] if args.key?(:edition)
|
|
4017
4221
|
@name = args[:name] if args.key?(:name)
|
|
4018
4222
|
@options = args[:options] if args.key?(:options)
|
|
4019
4223
|
@request_streaming = args[:request_streaming] if args.key?(:request_streaming)
|
|
@@ -4656,7 +4860,9 @@ module Google
|
|
|
4656
4860
|
end
|
|
4657
4861
|
|
|
4658
4862
|
# A protocol buffer option, which can be attached to a message, field,
|
|
4659
|
-
# enumeration, etc.
|
|
4863
|
+
# enumeration, etc. New usages of this message as an alternative to FileOptions,
|
|
4864
|
+
# MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions,
|
|
4865
|
+
# or MethodOptions are strongly discouraged.
|
|
4660
4866
|
class Option
|
|
4661
4867
|
include Google::Apis::Core::Hashable
|
|
4662
4868
|
|
|
@@ -5761,7 +5967,11 @@ module Google
|
|
|
5761
5967
|
end
|
|
5762
5968
|
end
|
|
5763
5969
|
|
|
5764
|
-
# A protocol buffer message type.
|
|
5970
|
+
# A protocol buffer message type. New usages of this message as an alternative
|
|
5971
|
+
# to DescriptorProto are strongly discouraged. This message does not reliability
|
|
5972
|
+
# preserve all information necessary to model the schema and preserve semantics.
|
|
5973
|
+
# Instead make use of FileDescriptorSet which preserves the necessary
|
|
5974
|
+
# information.
|
|
5765
5975
|
class Type
|
|
5766
5976
|
include Google::Apis::Core::Hashable
|
|
5767
5977
|
|
|
@@ -5845,6 +6055,32 @@ module Google
|
|
|
5845
6055
|
end
|
|
5846
6056
|
end
|
|
5847
6057
|
|
|
6058
|
+
# Metadata for the `UpdateContentSecurityPolicy` method.
|
|
6059
|
+
class UpdateContentSecurityPolicyMetadata
|
|
6060
|
+
include Google::Apis::Core::Hashable
|
|
6061
|
+
|
|
6062
|
+
def initialize(**args)
|
|
6063
|
+
update!(**args)
|
|
6064
|
+
end
|
|
6065
|
+
|
|
6066
|
+
# Update properties of this object
|
|
6067
|
+
def update!(**args)
|
|
6068
|
+
end
|
|
6069
|
+
end
|
|
6070
|
+
|
|
6071
|
+
# Metadata for the `UpdateMcpPolicy` method.
|
|
6072
|
+
class UpdateMcpPolicyMetadata
|
|
6073
|
+
include Google::Apis::Core::Hashable
|
|
6074
|
+
|
|
6075
|
+
def initialize(**args)
|
|
6076
|
+
update!(**args)
|
|
6077
|
+
end
|
|
6078
|
+
|
|
6079
|
+
# Update properties of this object
|
|
6080
|
+
def update!(**args)
|
|
6081
|
+
end
|
|
6082
|
+
end
|
|
6083
|
+
|
|
5848
6084
|
# Configuration controlling usage of a service.
|
|
5849
6085
|
class Usage
|
|
5850
6086
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServiceusageV1beta1
|
|
18
18
|
# Version of the google-apis-serviceusage_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.71.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251021"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,24 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class ContentSecurity
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class ContentSecurityPolicy
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class ContentSecurityProvider
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
199
217
|
class Context
|
|
200
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
219
|
|
|
@@ -604,6 +622,24 @@ module Google
|
|
|
604
622
|
include Google::Apis::Core::JsonObjectSupport
|
|
605
623
|
end
|
|
606
624
|
|
|
625
|
+
class McpEnableRule
|
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
|
+
|
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
class McpPolicy
|
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
633
|
+
|
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
class McpService
|
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
|
+
|
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
641
|
+
end
|
|
642
|
+
|
|
607
643
|
class MethodProp
|
|
608
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
645
|
|
|
@@ -856,6 +892,18 @@ module Google
|
|
|
856
892
|
include Google::Apis::Core::JsonObjectSupport
|
|
857
893
|
end
|
|
858
894
|
|
|
895
|
+
class UpdateContentSecurityPolicyMetadata
|
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
|
+
|
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
class UpdateMcpPolicyMetadata
|
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
903
|
+
|
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
905
|
+
end
|
|
906
|
+
|
|
859
907
|
class Usage
|
|
860
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
861
909
|
|
|
@@ -932,6 +980,7 @@ module Google
|
|
|
932
980
|
class Api
|
|
933
981
|
# @private
|
|
934
982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
983
|
+
property :edition, as: 'edition'
|
|
935
984
|
collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1beta1::MethodProp, decorator: Google::Apis::ServiceusageV1beta1::MethodProp::Representation
|
|
936
985
|
|
|
937
986
|
collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1beta1::Mixin, decorator: Google::Apis::ServiceusageV1beta1::Mixin::Representation
|
|
@@ -1180,6 +1229,30 @@ module Google
|
|
|
1180
1229
|
end
|
|
1181
1230
|
end
|
|
1182
1231
|
|
|
1232
|
+
class ContentSecurity
|
|
1233
|
+
# @private
|
|
1234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1235
|
+
collection :content_security_providers, as: 'contentSecurityProviders', class: Google::Apis::ServiceusageV1beta1::ContentSecurityProvider, decorator: Google::Apis::ServiceusageV1beta1::ContentSecurityProvider::Representation
|
|
1236
|
+
|
|
1237
|
+
end
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
class ContentSecurityPolicy
|
|
1241
|
+
# @private
|
|
1242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1243
|
+
property :mcp_content_security, as: 'mcpContentSecurity', class: Google::Apis::ServiceusageV1beta1::ContentSecurity, decorator: Google::Apis::ServiceusageV1beta1::ContentSecurity::Representation
|
|
1244
|
+
|
|
1245
|
+
property :name, as: 'name'
|
|
1246
|
+
end
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1249
|
+
class ContentSecurityProvider
|
|
1250
|
+
# @private
|
|
1251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1252
|
+
property :name, as: 'name'
|
|
1253
|
+
end
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1183
1256
|
class Context
|
|
1184
1257
|
# @private
|
|
1185
1258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1621,7 +1694,6 @@ module Google
|
|
|
1621
1694
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
1622
1695
|
# @private
|
|
1623
1696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1624
|
-
hash :annotations, as: 'annotations'
|
|
1625
1697
|
property :create_time, as: 'createTime'
|
|
1626
1698
|
collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule::Representation
|
|
1627
1699
|
|
|
@@ -1643,6 +1715,7 @@ module Google
|
|
|
1643
1715
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1644
1716
|
property :detail, as: 'detail'
|
|
1645
1717
|
property :impact_type, as: 'impactType'
|
|
1718
|
+
property :missing_dependency, as: 'missingDependency'
|
|
1646
1719
|
end
|
|
1647
1720
|
end
|
|
1648
1721
|
|
|
@@ -1812,6 +1885,7 @@ module Google
|
|
|
1812
1885
|
property :next_page_token, as: 'nextPageToken'
|
|
1813
1886
|
collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1beta1::Operation, decorator: Google::Apis::ServiceusageV1beta1::Operation::Representation
|
|
1814
1887
|
|
|
1888
|
+
collection :unreachable, as: 'unreachable'
|
|
1815
1889
|
end
|
|
1816
1890
|
end
|
|
1817
1891
|
|
|
@@ -1863,9 +1937,37 @@ module Google
|
|
|
1863
1937
|
end
|
|
1864
1938
|
end
|
|
1865
1939
|
|
|
1940
|
+
class McpEnableRule
|
|
1941
|
+
# @private
|
|
1942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1943
|
+
collection :mcp_services, as: 'mcpServices', class: Google::Apis::ServiceusageV1beta1::McpService, decorator: Google::Apis::ServiceusageV1beta1::McpService::Representation
|
|
1944
|
+
|
|
1945
|
+
end
|
|
1946
|
+
end
|
|
1947
|
+
|
|
1948
|
+
class McpPolicy
|
|
1949
|
+
# @private
|
|
1950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1951
|
+
property :create_time, as: 'createTime'
|
|
1952
|
+
property :etag, as: 'etag'
|
|
1953
|
+
collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1beta1::McpEnableRule, decorator: Google::Apis::ServiceusageV1beta1::McpEnableRule::Representation
|
|
1954
|
+
|
|
1955
|
+
property :name, as: 'name'
|
|
1956
|
+
property :update_time, as: 'updateTime'
|
|
1957
|
+
end
|
|
1958
|
+
end
|
|
1959
|
+
|
|
1960
|
+
class McpService
|
|
1961
|
+
# @private
|
|
1962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1963
|
+
property :service, as: 'service'
|
|
1964
|
+
end
|
|
1965
|
+
end
|
|
1966
|
+
|
|
1866
1967
|
class MethodProp
|
|
1867
1968
|
# @private
|
|
1868
1969
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1970
|
+
property :edition, as: 'edition'
|
|
1869
1971
|
property :name, as: 'name'
|
|
1870
1972
|
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
|
1871
1973
|
|
|
@@ -2298,6 +2400,18 @@ module Google
|
|
|
2298
2400
|
end
|
|
2299
2401
|
end
|
|
2300
2402
|
|
|
2403
|
+
class UpdateContentSecurityPolicyMetadata
|
|
2404
|
+
# @private
|
|
2405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2406
|
+
end
|
|
2407
|
+
end
|
|
2408
|
+
|
|
2409
|
+
class UpdateMcpPolicyMetadata
|
|
2410
|
+
# @private
|
|
2411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2412
|
+
end
|
|
2413
|
+
end
|
|
2414
|
+
|
|
2301
2415
|
class Usage
|
|
2302
2416
|
# @private
|
|
2303
2417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -94,6 +94,13 @@ module Google
|
|
|
94
94
|
# The standard list page size.
|
|
95
95
|
# @param [String] page_token
|
|
96
96
|
# The standard list page token.
|
|
97
|
+
# @param [Boolean] return_partial_success
|
|
98
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
99
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
100
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
101
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
102
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
103
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
97
104
|
# @param [String] fields
|
|
98
105
|
# Selector specifying which fields to include in a partial response.
|
|
99
106
|
# @param [String] quota_user
|
|
@@ -111,7 +118,7 @@ module Google
|
|
|
111
118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
112
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
113
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
114
|
-
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
121
|
+
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
115
122
|
command = make_simple_command(:get, 'v1beta1/operations', options)
|
|
116
123
|
command.response_representation = Google::Apis::ServiceusageV1beta1::ListOperationsResponse::Representation
|
|
117
124
|
command.response_class = Google::Apis::ServiceusageV1beta1::ListOperationsResponse
|
|
@@ -119,6 +126,7 @@ module Google
|
|
|
119
126
|
command.query['name'] = name unless name.nil?
|
|
120
127
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
121
128
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
129
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
122
130
|
command.query['fields'] = fields unless fields.nil?
|
|
123
131
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
124
132
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-serviceusage_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.71.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.71.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|