Skip to content

Commit e7dc41b

Browse files
feat: Automated regeneration of serviceusage v1beta1 client (googleapis#25736)
Auto-created at 2026-02-15 10:50:28 +0000 using the toys pull request generator.
1 parent e2a57b3 commit e7dc41b

File tree

5 files changed

+61
-2
lines changed

5 files changed

+61
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371815,8 +371815,14 @@
371815371815
"/serviceusage:v1beta1/Api/version": version
371816371816
"/serviceusage:v1beta1/Aspect": aspect
371817371817
"/serviceusage:v1beta1/Aspect/kind": kind
371818+
"/serviceusage:v1beta1/Aspect/rules": rules
371819+
"/serviceusage:v1beta1/Aspect/rules/rule": rule
371818371820
"/serviceusage:v1beta1/Aspect/spec": spec
371819371821
"/serviceusage:v1beta1/Aspect/spec/spec": spec
371822+
"/serviceusage:v1beta1/AspectRule": aspect_rule
371823+
"/serviceusage:v1beta1/AspectRule/config": config
371824+
"/serviceusage:v1beta1/AspectRule/config/config": config
371825+
"/serviceusage:v1beta1/AspectRule/selector": selector
371820371826
"/serviceusage:v1beta1/AuthProvider": auth_provider
371821371827
"/serviceusage:v1beta1/AuthProvider/audiences": audiences
371822371828
"/serviceusage:v1beta1/AuthProvider/authorizationUrl": authorization_url

generated/google-apis-serviceusage_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-serviceusage_v1beta1
22

3+
### v0.74.0 (2026-02-15)
4+
5+
* Regenerated from discovery document revision 20260210
6+
37
### v0.73.0 (2026-01-25)
48

59
* Regenerated from discovery document revision 20260120

generated/google-apis-serviceusage_v1beta1/lib/google/apis/serviceusage_v1beta1/classes.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ class Aspect
322322
# @return [String]
323323
attr_accessor :kind
324324

325+
# Optional. Rules of the Configuration.
326+
# Corresponds to the JSON property `rules`
327+
# @return [Array<Google::Apis::ServiceusageV1beta1::AspectRule>]
328+
attr_accessor :rules
329+
325330
# Content of the configuration. The underlying schema should be defined by
326331
# Aspect owners as protobuf message under `google/api/configaspects/proto`.
327332
# Corresponds to the JSON property `spec`
@@ -335,10 +340,38 @@ def initialize(**args)
335340
# Update properties of this object
336341
def update!(**args)
337342
@kind = args[:kind] if args.key?(:kind)
343+
@rules = args[:rules] if args.key?(:rules)
338344
@spec = args[:spec] if args.key?(:spec)
339345
end
340346
end
341347

348+
# Rule-based configuration for an aspect.
349+
class AspectRule
350+
include Google::Apis::Core::Hashable
351+
352+
# Required. Rules of the configuration. The underlying schema should be defined
353+
# by Aspect owners as protobuf message under `google/api/configaspects/proto`.
354+
# Corresponds to the JSON property `config`
355+
# @return [Hash<String,Object>]
356+
attr_accessor :config
357+
358+
# Required. Selects the RPC methods to which this rule applies. Refer to
359+
# selector for syntax details.
360+
# Corresponds to the JSON property `selector`
361+
# @return [String]
362+
attr_accessor :selector
363+
364+
def initialize(**args)
365+
update!(**args)
366+
end
367+
368+
# Update properties of this object
369+
def update!(**args)
370+
@config = args[:config] if args.key?(:config)
371+
@selector = args[:selector] if args.key?(:selector)
372+
end
373+
end
374+
342375
# Configuration for an authentication provider, including support for [JSON Web
343376
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
344377
class AuthProvider

generated/google-apis-serviceusage_v1beta1/lib/google/apis/serviceusage_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ServiceusageV1beta1
1818
# Version of the google-apis-serviceusage_v1beta1 gem
19-
GEM_VERSION = "0.73.0"
19+
GEM_VERSION = "0.74.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260120"
25+
REVISION = "20260210"
2626
end
2727
end
2828
end

generated/google-apis-serviceusage_v1beta1/lib/google/apis/serviceusage_v1beta1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
7676
include Google::Apis::Core::JsonObjectSupport
7777
end
7878

79+
class AspectRule
80+
class Representation < Google::Apis::Core::JsonRepresentation; end
81+
82+
include Google::Apis::Core::JsonObjectSupport
83+
end
84+
7985
class AuthProvider
8086
class Representation < Google::Apis::Core::JsonRepresentation; end
8187

@@ -1023,10 +1029,20 @@ class Aspect
10231029
# @private
10241030
class Representation < Google::Apis::Core::JsonRepresentation
10251031
property :kind, as: 'kind'
1032+
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::AspectRule, decorator: Google::Apis::ServiceusageV1beta1::AspectRule::Representation
1033+
10261034
hash :spec, as: 'spec'
10271035
end
10281036
end
10291037

1038+
class AspectRule
1039+
# @private
1040+
class Representation < Google::Apis::Core::JsonRepresentation
1041+
hash :config, as: 'config'
1042+
property :selector, as: 'selector'
1043+
end
1044+
end
1045+
10301046
class AuthProvider
10311047
# @private
10321048
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)