google-apis-serviceusage_v1 0.70.0 → 0.72.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ce478419de79e5f54751147b73a6c620dc17ed99ffaed74d59fd6d82dd96e4f
|
|
4
|
+
data.tar.gz: 41e97526d66c6b69fb0598e2d63c416bc859102b9d0f8c0a67a3a51a56478b5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61f57975d02c1e9da2e47c44a48ecac067c9b1ad51f35bde10f9116cdca2e18090ed024dc9d98699e8ae2789f8f6eafa91cd0b7791a3b9f0d69e781c60b4c72d
|
|
7
|
+
data.tar.gz: 365d88df0bc4c2c62e47b9e38e371f4e84037419f23925cb9bdb0a55c0c2db0ccc8959608ed9edc722026556ed46b133e4059f7d4ff5fcc33d878f55cd51d328
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-serviceusage_v1
|
|
2
2
|
|
|
3
|
+
### v0.72.0 (2026-01-18)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260109
|
|
6
|
+
|
|
7
|
+
### v0.71.0 (2025-10-26)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251021
|
|
10
|
+
|
|
3
11
|
### v0.70.0 (2025-09-28)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250919
|
|
@@ -1169,6 +1169,36 @@ module Google
|
|
|
1169
1169
|
end
|
|
1170
1170
|
end
|
|
1171
1171
|
|
|
1172
|
+
# Content Security Policy contains the content security related policy of a
|
|
1173
|
+
# resource.
|
|
1174
|
+
class ContentSecurityPolicy
|
|
1175
|
+
include Google::Apis::Core::Hashable
|
|
1176
|
+
|
|
1177
|
+
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
1178
|
+
# Corresponds to the JSON property `mcpContentSecurity`
|
|
1179
|
+
# @return [Google::Apis::ServiceusageV1::ContentSecurity]
|
|
1180
|
+
attr_accessor :mcp_content_security
|
|
1181
|
+
|
|
1182
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
1183
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
1184
|
+
# contentSecurityPolicies/default`, `projects/`PROJECT_ID`/
|
|
1185
|
+
# contentSecurityPolicies/default`, We only support project level content
|
|
1186
|
+
# security policy for now.
|
|
1187
|
+
# Corresponds to the JSON property `name`
|
|
1188
|
+
# @return [String]
|
|
1189
|
+
attr_accessor :name
|
|
1190
|
+
|
|
1191
|
+
def initialize(**args)
|
|
1192
|
+
update!(**args)
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1195
|
+
# Update properties of this object
|
|
1196
|
+
def update!(**args)
|
|
1197
|
+
@mcp_content_security = args[:mcp_content_security] if args.key?(:mcp_content_security)
|
|
1198
|
+
@name = args[:name] if args.key?(:name)
|
|
1199
|
+
end
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1172
1202
|
# ContentSecurityProvider contains the name of content security provider.
|
|
1173
1203
|
class ContentSecurityProvider
|
|
1174
1204
|
include Google::Apis::Core::Hashable
|
|
@@ -1278,9 +1308,9 @@ module Google
|
|
|
1278
1308
|
class Control
|
|
1279
1309
|
include Google::Apis::Core::Hashable
|
|
1280
1310
|
|
|
1281
|
-
# The service controller environment to use. If empty, no control plane
|
|
1282
|
-
# like quota and billing) will be enabled. The recommended value for most
|
|
1283
|
-
# services is servicecontrol.googleapis.com
|
|
1311
|
+
# The service controller environment to use. If empty, no control plane features
|
|
1312
|
+
# (like quota and billing) will be enabled. The recommended value for most
|
|
1313
|
+
# services is servicecontrol.googleapis.com.
|
|
1284
1314
|
# Corresponds to the JSON property `environment`
|
|
1285
1315
|
# @return [String]
|
|
1286
1316
|
attr_accessor :environment
|
|
@@ -2982,14 +3012,6 @@ module Google
|
|
|
2982
3012
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
2983
3013
|
include Google::Apis::Core::Hashable
|
|
2984
3014
|
|
|
2985
|
-
# Optional. Annotations is an unstructured key-value map stored with a policy
|
|
2986
|
-
# that may be set by external tools to store and retrieve arbitrary metadata.
|
|
2987
|
-
# They are not queryable and should be preserved when modifying objects. [AIP-
|
|
2988
|
-
# 128](https://google.aip.dev/128#annotations)
|
|
2989
|
-
# Corresponds to the JSON property `annotations`
|
|
2990
|
-
# @return [Hash<String,String>]
|
|
2991
|
-
attr_accessor :annotations
|
|
2992
|
-
|
|
2993
3015
|
# Output only. The time the policy was created. For singleton policies, this is
|
|
2994
3016
|
# the first touch of the policy.
|
|
2995
3017
|
# Corresponds to the JSON property `createTime`
|
|
@@ -3027,7 +3049,6 @@ module Google
|
|
|
3027
3049
|
|
|
3028
3050
|
# Update properties of this object
|
|
3029
3051
|
def update!(**args)
|
|
3030
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
|
3031
3052
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3032
3053
|
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
|
|
3033
3054
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -3090,6 +3111,94 @@ module Google
|
|
|
3090
3111
|
end
|
|
3091
3112
|
end
|
|
3092
3113
|
|
|
3114
|
+
# McpEnableRule contains MCP enablement related rules.
|
|
3115
|
+
class GoogleApiServiceusageV2betaMcpEnableRule
|
|
3116
|
+
include Google::Apis::Core::Hashable
|
|
3117
|
+
|
|
3118
|
+
# List of enabled MCP services.
|
|
3119
|
+
# Corresponds to the JSON property `mcpServices`
|
|
3120
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpService>]
|
|
3121
|
+
attr_accessor :mcp_services
|
|
3122
|
+
|
|
3123
|
+
def initialize(**args)
|
|
3124
|
+
update!(**args)
|
|
3125
|
+
end
|
|
3126
|
+
|
|
3127
|
+
# Update properties of this object
|
|
3128
|
+
def update!(**args)
|
|
3129
|
+
@mcp_services = args[:mcp_services] if args.key?(:mcp_services)
|
|
3130
|
+
end
|
|
3131
|
+
end
|
|
3132
|
+
|
|
3133
|
+
# MCP Consumer Policy is a set of rules that define MCP related policy for a
|
|
3134
|
+
# cloud resource hierarchy.
|
|
3135
|
+
class GoogleApiServiceusageV2betaMcpPolicy
|
|
3136
|
+
include Google::Apis::Core::Hashable
|
|
3137
|
+
|
|
3138
|
+
# Output only. The time the policy was created. For singleton policies (such as
|
|
3139
|
+
# the `default` policy), this is the first touch of the policy.
|
|
3140
|
+
# Corresponds to the JSON property `createTime`
|
|
3141
|
+
# @return [String]
|
|
3142
|
+
attr_accessor :create_time
|
|
3143
|
+
|
|
3144
|
+
# An opaque tag indicating the current version of the policy, used for
|
|
3145
|
+
# concurrency control.
|
|
3146
|
+
# Corresponds to the JSON property `etag`
|
|
3147
|
+
# @return [String]
|
|
3148
|
+
attr_accessor :etag
|
|
3149
|
+
|
|
3150
|
+
# McpEnableRules contains MCP enablement related rules.
|
|
3151
|
+
# Corresponds to the JSON property `mcpEnableRules`
|
|
3152
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpEnableRule>]
|
|
3153
|
+
attr_accessor :mcp_enable_rules
|
|
3154
|
+
|
|
3155
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
3156
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
3157
|
+
# mcpPolicies/default`, `projects/`PROJECT_ID`/mcpPolicies/default`, `folders/`
|
|
3158
|
+
# FOLDER_ID`/mcpPolicies/default`, `organizations/`ORG_ID`/mcpPolicies/default`.
|
|
3159
|
+
# Corresponds to the JSON property `name`
|
|
3160
|
+
# @return [String]
|
|
3161
|
+
attr_accessor :name
|
|
3162
|
+
|
|
3163
|
+
# Output only. The time the policy was last updated.
|
|
3164
|
+
# Corresponds to the JSON property `updateTime`
|
|
3165
|
+
# @return [String]
|
|
3166
|
+
attr_accessor :update_time
|
|
3167
|
+
|
|
3168
|
+
def initialize(**args)
|
|
3169
|
+
update!(**args)
|
|
3170
|
+
end
|
|
3171
|
+
|
|
3172
|
+
# Update properties of this object
|
|
3173
|
+
def update!(**args)
|
|
3174
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3175
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3176
|
+
@mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
|
|
3177
|
+
@name = args[:name] if args.key?(:name)
|
|
3178
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3179
|
+
end
|
|
3180
|
+
end
|
|
3181
|
+
|
|
3182
|
+
# McpService contains the service names that are enabled for MCP.
|
|
3183
|
+
class GoogleApiServiceusageV2betaMcpService
|
|
3184
|
+
include Google::Apis::Core::Hashable
|
|
3185
|
+
|
|
3186
|
+
# The names of the services that are enabled for MCP. Example: `services/library-
|
|
3187
|
+
# example.googleapis.com`
|
|
3188
|
+
# Corresponds to the JSON property `service`
|
|
3189
|
+
# @return [String]
|
|
3190
|
+
attr_accessor :service
|
|
3191
|
+
|
|
3192
|
+
def initialize(**args)
|
|
3193
|
+
update!(**args)
|
|
3194
|
+
end
|
|
3195
|
+
|
|
3196
|
+
# Update properties of this object
|
|
3197
|
+
def update!(**args)
|
|
3198
|
+
@service = args[:service] if args.key?(:service)
|
|
3199
|
+
end
|
|
3200
|
+
end
|
|
3201
|
+
|
|
3093
3202
|
# Metadata for the `UpdateConsumerPolicy` method.
|
|
3094
3203
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
3095
3204
|
include Google::Apis::Core::Hashable
|
|
@@ -3103,6 +3212,19 @@ module Google
|
|
|
3103
3212
|
end
|
|
3104
3213
|
end
|
|
3105
3214
|
|
|
3215
|
+
# Metadata for the `UpdateMcpPolicy` method.
|
|
3216
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
3217
|
+
include Google::Apis::Core::Hashable
|
|
3218
|
+
|
|
3219
|
+
def initialize(**args)
|
|
3220
|
+
update!(**args)
|
|
3221
|
+
end
|
|
3222
|
+
|
|
3223
|
+
# Update properties of this object
|
|
3224
|
+
def update!(**args)
|
|
3225
|
+
end
|
|
3226
|
+
end
|
|
3227
|
+
|
|
3106
3228
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
3107
3229
|
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
3108
3230
|
# REST API methods.
|
|
@@ -3613,6 +3735,14 @@ module Google
|
|
|
3613
3735
|
# @return [Array<Google::Apis::ServiceusageV1::Operation>]
|
|
3614
3736
|
attr_accessor :operations
|
|
3615
3737
|
|
|
3738
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3739
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
3740
|
+
# For example, when attempting to list all resources across all supported
|
|
3741
|
+
# locations.
|
|
3742
|
+
# Corresponds to the JSON property `unreachable`
|
|
3743
|
+
# @return [Array<String>]
|
|
3744
|
+
attr_accessor :unreachable
|
|
3745
|
+
|
|
3616
3746
|
def initialize(**args)
|
|
3617
3747
|
update!(**args)
|
|
3618
3748
|
end
|
|
@@ -3621,6 +3751,7 @@ module Google
|
|
|
3621
3751
|
def update!(**args)
|
|
3622
3752
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3623
3753
|
@operations = args[:operations] if args.key?(:operations)
|
|
3754
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3624
3755
|
end
|
|
3625
3756
|
end
|
|
3626
3757
|
|
|
@@ -3830,11 +3961,6 @@ module Google
|
|
|
3830
3961
|
class McpPolicy
|
|
3831
3962
|
include Google::Apis::Core::Hashable
|
|
3832
3963
|
|
|
3833
|
-
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
3834
|
-
# Corresponds to the JSON property `contentSecurity`
|
|
3835
|
-
# @return [Google::Apis::ServiceusageV1::ContentSecurity]
|
|
3836
|
-
attr_accessor :content_security
|
|
3837
|
-
|
|
3838
3964
|
# Output only. The time the policy was created. For singleton policies (such as
|
|
3839
3965
|
# the `default` policy), this is the first touch of the policy.
|
|
3840
3966
|
# Corresponds to the JSON property `createTime`
|
|
@@ -3871,7 +3997,6 @@ module Google
|
|
|
3871
3997
|
|
|
3872
3998
|
# Update properties of this object
|
|
3873
3999
|
def update!(**args)
|
|
3874
|
-
@content_security = args[:content_security] if args.key?(:content_security)
|
|
3875
4000
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3876
4001
|
@etag = args[:etag] if args.key?(:etag)
|
|
3877
4002
|
@mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
|
|
@@ -5431,6 +5556,19 @@ module Google
|
|
|
5431
5556
|
end
|
|
5432
5557
|
end
|
|
5433
5558
|
|
|
5559
|
+
# Metadata for the `UpdateContentSecurityPolicy` method.
|
|
5560
|
+
class UpdateContentSecurityPolicyMetadata
|
|
5561
|
+
include Google::Apis::Core::Hashable
|
|
5562
|
+
|
|
5563
|
+
def initialize(**args)
|
|
5564
|
+
update!(**args)
|
|
5565
|
+
end
|
|
5566
|
+
|
|
5567
|
+
# Update properties of this object
|
|
5568
|
+
def update!(**args)
|
|
5569
|
+
end
|
|
5570
|
+
end
|
|
5571
|
+
|
|
5434
5572
|
# Metadata for the `UpdateMcpPolicy` method.
|
|
5435
5573
|
class UpdateMcpPolicyMetadata
|
|
5436
5574
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServiceusageV1
|
|
18
18
|
# Version of the google-apis-serviceusage_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.72.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 = "20260109"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -202,6 +202,12 @@ module Google
|
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
+
class ContentSecurityPolicy
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
205
211
|
class ContentSecurityProvider
|
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
213
|
|
|
@@ -472,12 +478,36 @@ module Google
|
|
|
472
478
|
include Google::Apis::Core::JsonObjectSupport
|
|
473
479
|
end
|
|
474
480
|
|
|
481
|
+
class GoogleApiServiceusageV2betaMcpEnableRule
|
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
+
|
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
class GoogleApiServiceusageV2betaMcpPolicy
|
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
+
|
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
class GoogleApiServiceusageV2betaMcpService
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
475
499
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
476
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
501
|
|
|
478
502
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
503
|
end
|
|
480
504
|
|
|
505
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
481
511
|
class Http
|
|
482
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
513
|
|
|
@@ -820,6 +850,12 @@ module Google
|
|
|
820
850
|
include Google::Apis::Core::JsonObjectSupport
|
|
821
851
|
end
|
|
822
852
|
|
|
853
|
+
class UpdateContentSecurityPolicyMetadata
|
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
855
|
+
|
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
857
|
+
end
|
|
858
|
+
|
|
823
859
|
class UpdateMcpPolicyMetadata
|
|
824
860
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
825
861
|
|
|
@@ -1145,6 +1181,15 @@ module Google
|
|
|
1145
1181
|
end
|
|
1146
1182
|
end
|
|
1147
1183
|
|
|
1184
|
+
class ContentSecurityPolicy
|
|
1185
|
+
# @private
|
|
1186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1187
|
+
property :mcp_content_security, as: 'mcpContentSecurity', class: Google::Apis::ServiceusageV1::ContentSecurity, decorator: Google::Apis::ServiceusageV1::ContentSecurity::Representation
|
|
1188
|
+
|
|
1189
|
+
property :name, as: 'name'
|
|
1190
|
+
end
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1148
1193
|
class ContentSecurityProvider
|
|
1149
1194
|
# @private
|
|
1150
1195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1595,7 +1640,6 @@ module Google
|
|
|
1595
1640
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
1596
1641
|
# @private
|
|
1597
1642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1598
|
-
hash :annotations, as: 'annotations'
|
|
1599
1643
|
property :create_time, as: 'createTime'
|
|
1600
1644
|
collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule::Representation
|
|
1601
1645
|
|
|
@@ -1621,12 +1665,45 @@ module Google
|
|
|
1621
1665
|
end
|
|
1622
1666
|
end
|
|
1623
1667
|
|
|
1668
|
+
class GoogleApiServiceusageV2betaMcpEnableRule
|
|
1669
|
+
# @private
|
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1671
|
+
collection :mcp_services, as: 'mcpServices', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpService, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpService::Representation
|
|
1672
|
+
|
|
1673
|
+
end
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1676
|
+
class GoogleApiServiceusageV2betaMcpPolicy
|
|
1677
|
+
# @private
|
|
1678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1679
|
+
property :create_time, as: 'createTime'
|
|
1680
|
+
property :etag, as: 'etag'
|
|
1681
|
+
collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpEnableRule, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpEnableRule::Representation
|
|
1682
|
+
|
|
1683
|
+
property :name, as: 'name'
|
|
1684
|
+
property :update_time, as: 'updateTime'
|
|
1685
|
+
end
|
|
1686
|
+
end
|
|
1687
|
+
|
|
1688
|
+
class GoogleApiServiceusageV2betaMcpService
|
|
1689
|
+
# @private
|
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1691
|
+
property :service, as: 'service'
|
|
1692
|
+
end
|
|
1693
|
+
end
|
|
1694
|
+
|
|
1624
1695
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
1625
1696
|
# @private
|
|
1626
1697
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1627
1698
|
end
|
|
1628
1699
|
end
|
|
1629
1700
|
|
|
1701
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
1702
|
+
# @private
|
|
1703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
|
|
1630
1707
|
class Http
|
|
1631
1708
|
# @private
|
|
1632
1709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1740,6 +1817,7 @@ module Google
|
|
|
1740
1817
|
property :next_page_token, as: 'nextPageToken'
|
|
1741
1818
|
collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1::Operation, decorator: Google::Apis::ServiceusageV1::Operation::Representation
|
|
1742
1819
|
|
|
1820
|
+
collection :unreachable, as: 'unreachable'
|
|
1743
1821
|
end
|
|
1744
1822
|
end
|
|
1745
1823
|
|
|
@@ -1802,8 +1880,6 @@ module Google
|
|
|
1802
1880
|
class McpPolicy
|
|
1803
1881
|
# @private
|
|
1804
1882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1805
|
-
property :content_security, as: 'contentSecurity', class: Google::Apis::ServiceusageV1::ContentSecurity, decorator: Google::Apis::ServiceusageV1::ContentSecurity::Representation
|
|
1806
|
-
|
|
1807
1883
|
property :create_time, as: 'createTime'
|
|
1808
1884
|
property :etag, as: 'etag'
|
|
1809
1885
|
collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1::McpEnableRule, decorator: Google::Apis::ServiceusageV1::McpEnableRule::Representation
|
|
@@ -2175,6 +2251,12 @@ module Google
|
|
|
2175
2251
|
end
|
|
2176
2252
|
end
|
|
2177
2253
|
|
|
2254
|
+
class UpdateContentSecurityPolicyMetadata
|
|
2255
|
+
# @private
|
|
2256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2178
2260
|
class UpdateMcpPolicyMetadata
|
|
2179
2261
|
# @private
|
|
2180
2262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -167,6 +167,14 @@ module Google
|
|
|
167
167
|
# The standard list page size.
|
|
168
168
|
# @param [String] page_token
|
|
169
169
|
# The standard list page token.
|
|
170
|
+
# @param [Boolean] return_partial_success
|
|
171
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
172
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
173
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
174
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
175
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
176
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
177
|
+
# documentation.
|
|
170
178
|
# @param [String] fields
|
|
171
179
|
# Selector specifying which fields to include in a partial response.
|
|
172
180
|
# @param [String] quota_user
|
|
@@ -184,7 +192,7 @@ module Google
|
|
|
184
192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
185
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
186
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
187
|
-
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
195
|
+
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)
|
|
188
196
|
command = make_simple_command(:get, 'v1/operations', options)
|
|
189
197
|
command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
|
|
190
198
|
command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
|
|
@@ -192,6 +200,7 @@ module Google
|
|
|
192
200
|
command.query['name'] = name unless name.nil?
|
|
193
201
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
194
202
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
203
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
195
204
|
command.query['fields'] = fields unless fields.nil?
|
|
196
205
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
197
206
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-serviceusage_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.72.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.72.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|