Skip to content

Commit 5d76a28

Browse files
feat: Automated regeneration of servicenetworking v1 client (#26728)
Auto-created at 2026-06-14 11:05:26 +0000 using the toys pull request generator.
1 parent f3b2709 commit 5d76a28

8 files changed

Lines changed: 92 additions & 17 deletions

File tree

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392774,8 +392774,14 @@
392774392774
"/servicenetworking:v1/Api/version": version
392775392775
"/servicenetworking:v1/Aspect": aspect
392776392776
"/servicenetworking:v1/Aspect/kind": kind
392777+
"/servicenetworking:v1/Aspect/rules": rules
392778+
"/servicenetworking:v1/Aspect/rules/rule": rule
392777392779
"/servicenetworking:v1/Aspect/spec": spec
392778392780
"/servicenetworking:v1/Aspect/spec/spec": spec
392781+
"/servicenetworking:v1/AspectRule": aspect_rule
392782+
"/servicenetworking:v1/AspectRule/config": config
392783+
"/servicenetworking:v1/AspectRule/config/config": config
392784+
"/servicenetworking:v1/AspectRule/selector": selector
392779392785
"/servicenetworking:v1/AuthProvider": auth_provider
392780392786
"/servicenetworking:v1/AuthProvider/audiences": audiences
392781392787
"/servicenetworking:v1/AuthProvider/authorizationUrl": authorization_url
@@ -392876,6 +392882,7 @@
392876392882
"/servicenetworking:v1/ConsumerConfig/consumerExportSubnetRoutesWithPublicIp": consumer_export_subnet_routes_with_public_ip
392877392883
"/servicenetworking:v1/ConsumerConfig/consumerImportCustomRoutes": consumer_import_custom_routes
392878392884
"/servicenetworking:v1/ConsumerConfig/consumerImportSubnetRoutesWithPublicIp": consumer_import_subnet_routes_with_public_ip
392885+
"/servicenetworking:v1/ConsumerConfig/consumerPeeringActive": consumer_peering_active
392879392886
"/servicenetworking:v1/ConsumerConfig/producerExportCustomRoutes": producer_export_custom_routes
392880392887
"/servicenetworking:v1/ConsumerConfig/producerExportSubnetRoutesWithPublicIp": producer_export_subnet_routes_with_public_ip
392881392888
"/servicenetworking:v1/ConsumerConfig/producerImportCustomRoutes": producer_import_custom_routes

generated/google-apis-servicenetworking_v1/CHANGELOG.md

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

3+
### v0.86.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260406
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.85.0 (2025-11-02)
49

510
* Regenerated from discovery document revision 20251027

generated/google-apis-servicenetworking_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/service-infrastructure/docs
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-servicenetworking_v1/google-apis-servicenetworking_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

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

Lines changed: 52 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,11 @@ class Aspect
501501
# @return [String]
502502
attr_accessor :kind
503503

504+
# Optional. Rules of the Configuration.
505+
# Corresponds to the JSON property `rules`
506+
# @return [Array<Google::Apis::ServicenetworkingV1::AspectRule>]
507+
attr_accessor :rules
508+
504509
# Content of the configuration. The underlying schema should be defined by
505510
# Aspect owners as protobuf message under `google/api/configaspects/proto`.
506511
# Corresponds to the JSON property `spec`
@@ -514,10 +519,38 @@ def initialize(**args)
514519
# Update properties of this object
515520
def update!(**args)
516521
@kind = args[:kind] if args.key?(:kind)
522+
@rules = args[:rules] if args.key?(:rules)
517523
@spec = args[:spec] if args.key?(:spec)
518524
end
519525
end
520526

527+
# Rule-based configuration for an aspect.
528+
class AspectRule
529+
include Google::Apis::Core::Hashable
530+
531+
# Required. Rules of the configuration. The underlying schema should be defined
532+
# by Aspect owners as protobuf message under `google/api/configaspects/proto`.
533+
# Corresponds to the JSON property `config`
534+
# @return [Hash<String,Object>]
535+
attr_accessor :config
536+
537+
# Required. Selects the RPC methods to which this rule applies. Refer to
538+
# selector for syntax details.
539+
# Corresponds to the JSON property `selector`
540+
# @return [String]
541+
attr_accessor :selector
542+
543+
def initialize(**args)
544+
update!(**args)
545+
end
546+
547+
# Update properties of this object
548+
def update!(**args)
549+
@config = args[:config] if args.key?(:config)
550+
@selector = args[:selector] if args.key?(:selector)
551+
end
552+
end
553+
521554
# Configuration for an authentication provider, including support for [JSON Web
522555
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
523556
class AuthProvider
@@ -799,7 +832,9 @@ class BackendRule
799832
# @return [Hash<String,Google::Apis::ServicenetworkingV1::BackendRule>]
800833
attr_accessor :overrides_by_request_protocol
801834

802-
# no-lint
835+
# Path translation specifies how to combine the backend address with the request
836+
# path in order to produce the appropriate forwarding URL for the request. See
837+
# PathTranslation for more details.
803838
# Corresponds to the JSON property `pathTranslation`
804839
# @return [String]
805840
attr_accessor :path_translation
@@ -1198,7 +1233,8 @@ class CommonLanguageSettings
11981233
attr_accessor :reference_docs_uri
11991234

12001235
# This message is used to configure the generation of a subset of the RPCs in a
1201-
# service for client libraries.
1236+
# service for client libraries. Note: This feature should not be used in most
1237+
# cases.
12021238
# Corresponds to the JSON property `selectiveGapicGeneration`
12031239
# @return [Google::Apis::ServicenetworkingV1::SelectiveGapicGeneration]
12041240
attr_accessor :selective_gapic_generation
@@ -1301,6 +1337,12 @@ class ConsumerConfig
13011337
attr_accessor :consumer_import_subnet_routes_with_public_ip
13021338
alias_method :consumer_import_subnet_routes_with_public_ip?, :consumer_import_subnet_routes_with_public_ip
13031339

1340+
# Output only. If this is true, consumer peering is active.
1341+
# Corresponds to the JSON property `consumerPeeringActive`
1342+
# @return [Boolean]
1343+
attr_accessor :consumer_peering_active
1344+
alias_method :consumer_peering_active?, :consumer_peering_active
1345+
13041346
# Export custom routes flag value for peering from producer to consumer.
13051347
# Corresponds to the JSON property `producerExportCustomRoutes`
13061348
# @return [Boolean]
@@ -1363,6 +1405,7 @@ def update!(**args)
13631405
@consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip)
13641406
@consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes)
13651407
@consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip)
1408+
@consumer_peering_active = args[:consumer_peering_active] if args.key?(:consumer_peering_active)
13661409
@producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes)
13671410
@producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip)
13681411
@producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes)
@@ -2945,8 +2988,9 @@ class ListOperationsResponse
29452988
attr_accessor :operations
29462989

29472990
# Unordered list. Unreachable resources. Populated when the request sets `
2948-
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2949-
# when attempting to list all resources across all supported locations.
2991+
# ListOperationsRequest.return_partial_success` and reads across collections.
2992+
# For example, when attempting to list all resources across all supported
2993+
# locations.
29502994
# Corresponds to the JSON property `unreachable`
29512995
# @return [Array<String>]
29522996
attr_accessor :unreachable
@@ -4650,7 +4694,8 @@ def update!(**args)
46504694
end
46514695

46524696
# This message is used to configure the generation of a subset of the RPCs in a
4653-
# service for client libraries.
4697+
# service for client libraries. Note: This feature should not be used in most
4698+
# cases.
46544699
class SelectiveGapicGeneration
46554700
include Google::Apis::Core::Hashable
46564701

@@ -4872,8 +4917,8 @@ class Service
48724917
# @return [Array<Google::Apis::ServicenetworkingV1::MetricDescriptor>]
48734918
attr_accessor :metrics
48744919

4875-
# Defines the monitored resources used by this service. This is required by the
4876-
# Service.monitoring and Service.logging configurations.
4920+
# Defines the monitored resources used by this service. This is required by the `
4921+
# Service.monitoring` and `Service.logging` configurations.
48774922
# Corresponds to the JSON property `monitoredResources`
48784923
# @return [Array<Google::Apis::ServicenetworkingV1::MonitoredResourceDescriptor>]
48794924
attr_accessor :monitored_resources

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ServicenetworkingV1
1818
# Version of the google-apis-servicenetworking_v1 gem
19-
GEM_VERSION = "0.85.0"
19+
GEM_VERSION = "0.86.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8888
include Google::Apis::Core::JsonObjectSupport
8989
end
9090

91+
class AspectRule
92+
class Representation < Google::Apis::Core::JsonRepresentation; end
93+
94+
include Google::Apis::Core::JsonObjectSupport
95+
end
96+
9197
class AuthProvider
9298
class Representation < Google::Apis::Core::JsonRepresentation; end
9399

@@ -915,10 +921,20 @@ class Aspect
915921
# @private
916922
class Representation < Google::Apis::Core::JsonRepresentation
917923
property :kind, as: 'kind'
924+
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1::AspectRule, decorator: Google::Apis::ServicenetworkingV1::AspectRule::Representation
925+
918926
hash :spec, as: 'spec'
919927
end
920928
end
921929

930+
class AspectRule
931+
# @private
932+
class Representation < Google::Apis::Core::JsonRepresentation
933+
hash :config, as: 'config'
934+
property :selector, as: 'selector'
935+
end
936+
end
937+
922938
class AuthProvider
923939
# @private
924940
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1112,6 +1128,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
11121128
property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp'
11131129
property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes'
11141130
property :consumer_import_subnet_routes_with_public_ip, as: 'consumerImportSubnetRoutesWithPublicIp'
1131+
property :consumer_peering_active, as: 'consumerPeeringActive'
11151132
property :producer_export_custom_routes, as: 'producerExportCustomRoutes'
11161133
property :producer_export_subnet_routes_with_public_ip, as: 'producerExportSubnetRoutesWithPublicIp'
11171134
property :producer_import_custom_routes, as: 'producerImportCustomRoutes'

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/service.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,12 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
168168
# The standard list page token.
169169
# @param [Boolean] return_partial_success
170170
# When set to `true`, operations that are reachable are returned as normal, and
171-
# those that are unreachable are returned in the [ListOperationsResponse.
172-
# unreachable] field. This can only be `true` when reading across collections e.
173-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
174-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
175-
# explicitly documented otherwise in service or product specific documentation.
171+
# those that are unreachable are returned in the ListOperationsResponse.
172+
# unreachable field. This can only be `true` when reading across collections.
173+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
174+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
175+
# if set unless explicitly documented otherwise in service or product specific
176+
# documentation.
176177
# @param [String] fields
177178
# Selector specifying which fields to include in a partial response.
178179
# @param [String] quota_user

0 commit comments

Comments
 (0)