google-apis-serviceusage_v1beta1 0.71.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/serviceusage_v1beta1/classes.rb +107 -5
- data/lib/google/apis/serviceusage_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/serviceusage_v1beta1/representations.rb +57 -0
- data/lib/google/apis/serviceusage_v1beta1/service.rb +6 -5
- 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: 2089676caaa0a65a335d323fd02f7abb28cbe3feb6e3a2bba4855dced5240588
|
|
4
|
+
data.tar.gz: b8840e70a46a37e91ad58cfcb7a489b299efe4f9b4f18a673e420cad859e75da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e885a0cabb118293608097212da1eda69eea5ca19ac46ee3f79c2650baa826ac04b71f9405bb41273a05ced67374eb81546283f54900844d6c46f9149bff07ae
|
|
7
|
+
data.tar.gz: 85476eba1c6310967a72e28f147c7b5e81e4632574f9b759d3d7f7619a9bf36825b253384f817664d6b4372ac1f12a831cd7e07abffe8b4af49c6422a9e9a9be
|
data/CHANGELOG.md
CHANGED
|
@@ -1402,9 +1402,9 @@ module Google
|
|
|
1402
1402
|
class Control
|
|
1403
1403
|
include Google::Apis::Core::Hashable
|
|
1404
1404
|
|
|
1405
|
-
# The service controller environment to use. If empty, no control plane
|
|
1406
|
-
# like quota and billing) will be enabled. The recommended value for most
|
|
1407
|
-
# services is servicecontrol.googleapis.com
|
|
1405
|
+
# The service controller environment to use. If empty, no control plane features
|
|
1406
|
+
# (like quota and billing) will be enabled. The recommended value for most
|
|
1407
|
+
# services is servicecontrol.googleapis.com.
|
|
1408
1408
|
# Corresponds to the JSON property `environment`
|
|
1409
1409
|
# @return [String]
|
|
1410
1410
|
attr_accessor :environment
|
|
@@ -3189,6 +3189,94 @@ module Google
|
|
|
3189
3189
|
end
|
|
3190
3190
|
end
|
|
3191
3191
|
|
|
3192
|
+
# McpEnableRule contains MCP enablement related rules.
|
|
3193
|
+
class GoogleApiServiceusageV2betaMcpEnableRule
|
|
3194
|
+
include Google::Apis::Core::Hashable
|
|
3195
|
+
|
|
3196
|
+
# List of enabled MCP services.
|
|
3197
|
+
# Corresponds to the JSON property `mcpServices`
|
|
3198
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpService>]
|
|
3199
|
+
attr_accessor :mcp_services
|
|
3200
|
+
|
|
3201
|
+
def initialize(**args)
|
|
3202
|
+
update!(**args)
|
|
3203
|
+
end
|
|
3204
|
+
|
|
3205
|
+
# Update properties of this object
|
|
3206
|
+
def update!(**args)
|
|
3207
|
+
@mcp_services = args[:mcp_services] if args.key?(:mcp_services)
|
|
3208
|
+
end
|
|
3209
|
+
end
|
|
3210
|
+
|
|
3211
|
+
# MCP Consumer Policy is a set of rules that define MCP related policy for a
|
|
3212
|
+
# cloud resource hierarchy.
|
|
3213
|
+
class GoogleApiServiceusageV2betaMcpPolicy
|
|
3214
|
+
include Google::Apis::Core::Hashable
|
|
3215
|
+
|
|
3216
|
+
# Output only. The time the policy was created. For singleton policies (such as
|
|
3217
|
+
# the `default` policy), this is the first touch of the policy.
|
|
3218
|
+
# Corresponds to the JSON property `createTime`
|
|
3219
|
+
# @return [String]
|
|
3220
|
+
attr_accessor :create_time
|
|
3221
|
+
|
|
3222
|
+
# An opaque tag indicating the current version of the policy, used for
|
|
3223
|
+
# concurrency control.
|
|
3224
|
+
# Corresponds to the JSON property `etag`
|
|
3225
|
+
# @return [String]
|
|
3226
|
+
attr_accessor :etag
|
|
3227
|
+
|
|
3228
|
+
# McpEnableRules contains MCP enablement related rules.
|
|
3229
|
+
# Corresponds to the JSON property `mcpEnableRules`
|
|
3230
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule>]
|
|
3231
|
+
attr_accessor :mcp_enable_rules
|
|
3232
|
+
|
|
3233
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
3234
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
3235
|
+
# mcpPolicies/default`, `projects/`PROJECT_ID`/mcpPolicies/default`, `folders/`
|
|
3236
|
+
# FOLDER_ID`/mcpPolicies/default`, `organizations/`ORG_ID`/mcpPolicies/default`.
|
|
3237
|
+
# Corresponds to the JSON property `name`
|
|
3238
|
+
# @return [String]
|
|
3239
|
+
attr_accessor :name
|
|
3240
|
+
|
|
3241
|
+
# Output only. The time the policy was last updated.
|
|
3242
|
+
# Corresponds to the JSON property `updateTime`
|
|
3243
|
+
# @return [String]
|
|
3244
|
+
attr_accessor :update_time
|
|
3245
|
+
|
|
3246
|
+
def initialize(**args)
|
|
3247
|
+
update!(**args)
|
|
3248
|
+
end
|
|
3249
|
+
|
|
3250
|
+
# Update properties of this object
|
|
3251
|
+
def update!(**args)
|
|
3252
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3253
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3254
|
+
@mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
|
|
3255
|
+
@name = args[:name] if args.key?(:name)
|
|
3256
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3257
|
+
end
|
|
3258
|
+
end
|
|
3259
|
+
|
|
3260
|
+
# McpService contains the service names that are enabled for MCP.
|
|
3261
|
+
class GoogleApiServiceusageV2betaMcpService
|
|
3262
|
+
include Google::Apis::Core::Hashable
|
|
3263
|
+
|
|
3264
|
+
# The names of the services that are enabled for MCP. Example: `services/library-
|
|
3265
|
+
# example.googleapis.com`
|
|
3266
|
+
# Corresponds to the JSON property `service`
|
|
3267
|
+
# @return [String]
|
|
3268
|
+
attr_accessor :service
|
|
3269
|
+
|
|
3270
|
+
def initialize(**args)
|
|
3271
|
+
update!(**args)
|
|
3272
|
+
end
|
|
3273
|
+
|
|
3274
|
+
# Update properties of this object
|
|
3275
|
+
def update!(**args)
|
|
3276
|
+
@service = args[:service] if args.key?(:service)
|
|
3277
|
+
end
|
|
3278
|
+
end
|
|
3279
|
+
|
|
3192
3280
|
# Metadata for the `UpdateConsumerPolicy` method.
|
|
3193
3281
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
3194
3282
|
include Google::Apis::Core::Hashable
|
|
@@ -3202,6 +3290,19 @@ module Google
|
|
|
3202
3290
|
end
|
|
3203
3291
|
end
|
|
3204
3292
|
|
|
3293
|
+
# Metadata for the `UpdateMcpPolicy` method.
|
|
3294
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
3295
|
+
include Google::Apis::Core::Hashable
|
|
3296
|
+
|
|
3297
|
+
def initialize(**args)
|
|
3298
|
+
update!(**args)
|
|
3299
|
+
end
|
|
3300
|
+
|
|
3301
|
+
# Update properties of this object
|
|
3302
|
+
def update!(**args)
|
|
3303
|
+
end
|
|
3304
|
+
end
|
|
3305
|
+
|
|
3205
3306
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
3206
3307
|
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
|
3207
3308
|
# REST API methods.
|
|
@@ -3870,8 +3971,9 @@ module Google
|
|
|
3870
3971
|
attr_accessor :operations
|
|
3871
3972
|
|
|
3872
3973
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3873
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
3874
|
-
# when attempting to list all resources across all supported
|
|
3974
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
3975
|
+
# For example, when attempting to list all resources across all supported
|
|
3976
|
+
# locations.
|
|
3875
3977
|
# Corresponds to the JSON property `unreachable`
|
|
3876
3978
|
# @return [Array<String>]
|
|
3877
3979
|
attr_accessor :unreachable
|
|
@@ -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.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
|
|
@@ -478,12 +478,36 @@ module Google
|
|
|
478
478
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
479
|
end
|
|
480
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
|
+
|
|
481
499
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
482
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
501
|
|
|
484
502
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
503
|
end
|
|
486
504
|
|
|
505
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
487
511
|
class Http
|
|
488
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
513
|
|
|
@@ -1719,12 +1743,45 @@ module Google
|
|
|
1719
1743
|
end
|
|
1720
1744
|
end
|
|
1721
1745
|
|
|
1746
|
+
class GoogleApiServiceusageV2betaMcpEnableRule
|
|
1747
|
+
# @private
|
|
1748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1749
|
+
collection :mcp_services, as: 'mcpServices', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpService, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpService::Representation
|
|
1750
|
+
|
|
1751
|
+
end
|
|
1752
|
+
end
|
|
1753
|
+
|
|
1754
|
+
class GoogleApiServiceusageV2betaMcpPolicy
|
|
1755
|
+
# @private
|
|
1756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1757
|
+
property :create_time, as: 'createTime'
|
|
1758
|
+
property :etag, as: 'etag'
|
|
1759
|
+
collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule::Representation
|
|
1760
|
+
|
|
1761
|
+
property :name, as: 'name'
|
|
1762
|
+
property :update_time, as: 'updateTime'
|
|
1763
|
+
end
|
|
1764
|
+
end
|
|
1765
|
+
|
|
1766
|
+
class GoogleApiServiceusageV2betaMcpService
|
|
1767
|
+
# @private
|
|
1768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1769
|
+
property :service, as: 'service'
|
|
1770
|
+
end
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1722
1773
|
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
|
1723
1774
|
# @private
|
|
1724
1775
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1725
1776
|
end
|
|
1726
1777
|
end
|
|
1727
1778
|
|
|
1779
|
+
class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
|
|
1780
|
+
# @private
|
|
1781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1782
|
+
end
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1728
1785
|
class Http
|
|
1729
1786
|
# @private
|
|
1730
1787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -96,11 +96,12 @@ module Google
|
|
|
96
96
|
# The standard list page token.
|
|
97
97
|
# @param [Boolean] return_partial_success
|
|
98
98
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
99
|
-
# those that are unreachable are returned in the
|
|
100
|
-
# unreachable
|
|
101
|
-
#
|
|
102
|
-
# by default
|
|
103
|
-
# explicitly documented otherwise in service or product specific
|
|
99
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
100
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
101
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
102
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
103
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
104
|
+
# documentation.
|
|
104
105
|
# @param [String] fields
|
|
105
106
|
# Selector specifying which fields to include in a partial response.
|
|
106
107
|
# @param [String] quota_user
|
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.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_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.72.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:
|