Skip to content

Commit 4358b1e

Browse files
feat: Automated regeneration of networkmanagement v1beta1 client (googleapis#24215)
Auto-created at 2025-09-07 10:21:22 +0000 using the toys pull request generator.
1 parent c3576df commit 4358b1e

File tree

5 files changed

+81
-2
lines changed

5 files changed

+81
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298083,6 +298083,10 @@
298083298083
"/networkmanagement:v1beta1/GoogleServiceInfo": google_service_info
298084298084
"/networkmanagement:v1beta1/GoogleServiceInfo/googleServiceType": google_service_type
298085298085
"/networkmanagement:v1beta1/GoogleServiceInfo/sourceIp": source_ip
298086+
"/networkmanagement:v1beta1/HybridSubnetInfo": hybrid_subnet_info
298087+
"/networkmanagement:v1beta1/HybridSubnetInfo/displayName": display_name
298088+
"/networkmanagement:v1beta1/HybridSubnetInfo/region": region
298089+
"/networkmanagement:v1beta1/HybridSubnetInfo/uri": uri
298086298090
"/networkmanagement:v1beta1/InstanceInfo": instance_info
298087298091
"/networkmanagement:v1beta1/InstanceInfo/displayName": display_name
298088298092
"/networkmanagement:v1beta1/InstanceInfo/externalIp": external_ip
@@ -298100,7 +298104,9 @@
298100298104
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/cloudRouterUri": cloud_router_uri
298101298105
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/displayName": display_name
298102298106
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/interconnectUri": interconnect_uri
298107+
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/l2AttachmentMatchedIpAddress": l2_attachment_matched_ip_address
298103298108
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/region": region
298109+
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/type": type
298104298110
"/networkmanagement:v1beta1/InterconnectAttachmentInfo/uri": uri
298105298111
"/networkmanagement:v1beta1/LatencyDistribution": latency_distribution
298106298112
"/networkmanagement:v1beta1/LatencyDistribution/latencyPercentiles": latency_percentiles
@@ -298326,6 +298332,7 @@
298326298332
"/networkmanagement:v1beta1/Step/forwardingRule": forwarding_rule
298327298333
"/networkmanagement:v1beta1/Step/gkeMaster": gke_master
298328298334
"/networkmanagement:v1beta1/Step/googleService": google_service
298335+
"/networkmanagement:v1beta1/Step/hybridSubnet": hybrid_subnet
298329298336
"/networkmanagement:v1beta1/Step/instance": instance
298330298337
"/networkmanagement:v1beta1/Step/interconnectAttachment": interconnect_attachment
298331298338
"/networkmanagement:v1beta1/Step/loadBalancer": load_balancer

generated/google-apis-networkmanagement_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-networkmanagement_v1beta1
22

3+
### v0.65.0 (2025-09-07)
4+
5+
* Regenerated from discovery document revision 20250901
6+
37
### v0.64.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250813

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

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,6 +1314,37 @@ def update!(**args)
13141314
end
13151315
end
13161316

1317+
# For display only. Metadata associated with a hybrid subnet.
1318+
class HybridSubnetInfo
1319+
include Google::Apis::Core::Hashable
1320+
1321+
# Name of a hybrid subnet.
1322+
# Corresponds to the JSON property `displayName`
1323+
# @return [String]
1324+
attr_accessor :display_name
1325+
1326+
# Name of a Google Cloud region where the hybrid subnet is configured.
1327+
# Corresponds to the JSON property `region`
1328+
# @return [String]
1329+
attr_accessor :region
1330+
1331+
# URI of a hybrid subnet.
1332+
# Corresponds to the JSON property `uri`
1333+
# @return [String]
1334+
attr_accessor :uri
1335+
1336+
def initialize(**args)
1337+
update!(**args)
1338+
end
1339+
1340+
# Update properties of this object
1341+
def update!(**args)
1342+
@display_name = args[:display_name] if args.key?(:display_name)
1343+
@region = args[:region] if args.key?(:region)
1344+
@uri = args[:uri] if args.key?(:uri)
1345+
end
1346+
end
1347+
13171348
# For display only. Metadata associated with a Compute Engine instance.
13181349
class InstanceInfo
13191350
include Google::Apis::Core::Hashable
@@ -1414,11 +1445,21 @@ class InterconnectAttachmentInfo
14141445
# @return [String]
14151446
attr_accessor :interconnect_uri
14161447

1448+
# Appliance IP address that was matched for L2_DEDICATED attachments.
1449+
# Corresponds to the JSON property `l2AttachmentMatchedIpAddress`
1450+
# @return [String]
1451+
attr_accessor :l2_attachment_matched_ip_address
1452+
14171453
# Name of a Google Cloud region where the Interconnect attachment is configured.
14181454
# Corresponds to the JSON property `region`
14191455
# @return [String]
14201456
attr_accessor :region
14211457

1458+
# The type of interconnect attachment this is.
1459+
# Corresponds to the JSON property `type`
1460+
# @return [String]
1461+
attr_accessor :type
1462+
14221463
# URI of an Interconnect attachment.
14231464
# Corresponds to the JSON property `uri`
14241465
# @return [String]
@@ -1433,7 +1474,9 @@ def update!(**args)
14331474
@cloud_router_uri = args[:cloud_router_uri] if args.key?(:cloud_router_uri)
14341475
@display_name = args[:display_name] if args.key?(:display_name)
14351476
@interconnect_uri = args[:interconnect_uri] if args.key?(:interconnect_uri)
1477+
@l2_attachment_matched_ip_address = args[:l2_attachment_matched_ip_address] if args.key?(:l2_attachment_matched_ip_address)
14361478
@region = args[:region] if args.key?(:region)
1479+
@type = args[:type] if args.key?(:type)
14371480
@uri = args[:uri] if args.key?(:uri)
14381481
end
14391482
end
@@ -2966,6 +3009,11 @@ class Step
29663009
# @return [Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo]
29673010
attr_accessor :google_service
29683011

3012+
# For display only. Metadata associated with a hybrid subnet.
3013+
# Corresponds to the JSON property `hybridSubnet`
3014+
# @return [Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo]
3015+
attr_accessor :hybrid_subnet
3016+
29693017
# For display only. Metadata associated with a Compute Engine instance.
29703018
# Corresponds to the JSON property `instance`
29713019
# @return [Google::Apis::NetworkmanagementV1beta1::InstanceInfo]
@@ -3079,6 +3127,7 @@ def update!(**args)
30793127
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
30803128
@gke_master = args[:gke_master] if args.key?(:gke_master)
30813129
@google_service = args[:google_service] if args.key?(:google_service)
3130+
@hybrid_subnet = args[:hybrid_subnet] if args.key?(:hybrid_subnet)
30823131
@instance = args[:instance] if args.key?(:instance)
30833132
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
30843133
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)

generated/google-apis-networkmanagement_v1beta1/lib/google/apis/networkmanagement_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 NetworkmanagementV1beta1
1818
# Version of the google-apis-networkmanagement_v1beta1 gem
19-
GEM_VERSION = "0.64.0"
19+
GEM_VERSION = "0.65.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 = "20250813"
25+
REVISION = "20250901"
2626
end
2727
end
2828
end

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
178178
include Google::Apis::Core::JsonObjectSupport
179179
end
180180

181+
class HybridSubnetInfo
182+
class Representation < Google::Apis::Core::JsonRepresentation; end
183+
184+
include Google::Apis::Core::JsonObjectSupport
185+
end
186+
181187
class InstanceInfo
182188
class Representation < Google::Apis::Core::JsonRepresentation; end
183189

@@ -710,6 +716,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
710716
end
711717
end
712718

719+
class HybridSubnetInfo
720+
# @private
721+
class Representation < Google::Apis::Core::JsonRepresentation
722+
property :display_name, as: 'displayName'
723+
property :region, as: 'region'
724+
property :uri, as: 'uri'
725+
end
726+
end
727+
713728
class InstanceInfo
714729
# @private
715730
class Representation < Google::Apis::Core::JsonRepresentation
@@ -733,7 +748,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
733748
property :cloud_router_uri, as: 'cloudRouterUri'
734749
property :display_name, as: 'displayName'
735750
property :interconnect_uri, as: 'interconnectUri'
751+
property :l2_attachment_matched_ip_address, as: 'l2AttachmentMatchedIpAddress'
736752
property :region, as: 'region'
753+
property :type, as: 'type'
737754
property :uri, as: 'uri'
738755
end
739756
end
@@ -1109,6 +1126,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
11091126

11101127
property :google_service, as: 'googleService', class: Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo::Representation
11111128

1129+
property :hybrid_subnet, as: 'hybridSubnet', class: Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo, decorator: Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo::Representation
1130+
11121131
property :instance, as: 'instance', class: Google::Apis::NetworkmanagementV1beta1::InstanceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::InstanceInfo::Representation
11131132

11141133
property :interconnect_attachment, as: 'interconnectAttachment', class: Google::Apis::NetworkmanagementV1beta1::InterconnectAttachmentInfo, decorator: Google::Apis::NetworkmanagementV1beta1::InterconnectAttachmentInfo::Representation

0 commit comments

Comments
 (0)