google-apis-serviceusage_v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e63211ffe287cda9eddf39d38d9859cff11d37570e26daf7eea2f2c8129a9db
4
- data.tar.gz: a60fda8c7d65cc73f50fb74318de1e4c6bc65bfc52e349e41f39db2f7cb90660
3
+ metadata.gz: 5ce478419de79e5f54751147b73a6c620dc17ed99ffaed74d59fd6d82dd96e4f
4
+ data.tar.gz: 41e97526d66c6b69fb0598e2d63c416bc859102b9d0f8c0a67a3a51a56478b5e
5
5
  SHA512:
6
- metadata.gz: 8317d881c44dc81ef53224e1c9049cc133a126fc04c6f2e9f139e5f23a826f18df789c7a0b0272584185a0b4e8af1e0b16a5c22ce0db30ddf7751eb8b9a5190c
7
- data.tar.gz: bdb8d98b493051dfe037777a6baa6dc0f689a9c6593ef2c32bccc00337f69be5c65d8a9fbb02b4904717c8aabbc5016c4c11b709cc5db33bd7301be08553072f
6
+ metadata.gz: 61f57975d02c1e9da2e47c44a48ecac067c9b1ad51f35bde10f9116cdca2e18090ed024dc9d98699e8ae2789f8f6eafa91cd0b7791a3b9f0d69e781c60b4c72d
7
+ data.tar.gz: 365d88df0bc4c2c62e47b9e38e371f4e84037419f23925cb9bdb0a55c0c2db0ccc8959608ed9edc722026556ed46b133e4059f7d4ff5fcc33d878f55cd51d328
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.71.0 (2025-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20251021
@@ -1308,9 +1308,9 @@ module Google
1308
1308
  class Control
1309
1309
  include Google::Apis::Core::Hashable
1310
1310
 
1311
- # The service controller environment to use. If empty, no control plane feature (
1312
- # like quota and billing) will be enabled. The recommended value for most
1313
- # 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.
1314
1314
  # Corresponds to the JSON property `environment`
1315
1315
  # @return [String]
1316
1316
  attr_accessor :environment
@@ -3111,6 +3111,94 @@ module Google
3111
3111
  end
3112
3112
  end
3113
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
+
3114
3202
  # Metadata for the `UpdateConsumerPolicy` method.
3115
3203
  class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
3116
3204
  include Google::Apis::Core::Hashable
@@ -3124,6 +3212,19 @@ module Google
3124
3212
  end
3125
3213
  end
3126
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
+
3127
3228
  # Defines the HTTP configuration for an API service. It contains a list of
3128
3229
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
3129
3230
  # REST API methods.
@@ -3635,8 +3736,9 @@ module Google
3635
3736
  attr_accessor :operations
3636
3737
 
3637
3738
  # Unordered list. Unreachable resources. Populated when the request sets `
3638
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
3639
- # when attempting to list all resources across all supported locations.
3739
+ # ListOperationsRequest.return_partial_success` and reads across collections.
3740
+ # For example, when attempting to list all resources across all supported
3741
+ # locations.
3640
3742
  # Corresponds to the JSON property `unreachable`
3641
3743
  # @return [Array<String>]
3642
3744
  attr_accessor :unreachable
@@ -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.71.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 = "20251021"
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
 
@@ -1641,12 +1665,45 @@ module Google
1641
1665
  end
1642
1666
  end
1643
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
+
1644
1695
  class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
1645
1696
  # @private
1646
1697
  class Representation < Google::Apis::Core::JsonRepresentation
1647
1698
  end
1648
1699
  end
1649
1700
 
1701
+ class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata
1702
+ # @private
1703
+ class Representation < Google::Apis::Core::JsonRepresentation
1704
+ end
1705
+ end
1706
+
1650
1707
  class Http
1651
1708
  # @private
1652
1709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -169,11 +169,12 @@ module Google
169
169
  # The standard list page token.
170
170
  # @param [Boolean] return_partial_success
171
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 e.
174
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
175
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
176
- # explicitly documented otherwise in service or product specific documentation.
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.
177
178
  # @param [String] fields
178
179
  # Selector specifying which fields to include in a partial response.
179
180
  # @param [String] quota_user
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.71.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.71.0
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: