Skip to content

Commit 3a72bef

Browse files
feat: Automated regeneration of networkmanagement v1 client (googleapis#25880)
Auto-created at 2026-03-08 10:02:53 +0000 using the toys pull request generator.
1 parent c57130a commit 3a72bef

File tree

5 files changed

+121
-2
lines changed

5 files changed

+121
-2
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320121,6 +320121,13 @@
320121320121
"/networkmanagement:v1/GeoLocation": geo_location
320122320122
"/networkmanagement:v1/GeoLocation/country": country
320123320123
"/networkmanagement:v1/GeoLocation/formattedAddress": formatted_address
320124+
"/networkmanagement:v1/GkeNetworkPolicyInfo": gke_network_policy_info
320125+
"/networkmanagement:v1/GkeNetworkPolicyInfo/action": action
320126+
"/networkmanagement:v1/GkeNetworkPolicyInfo/direction": direction
320127+
"/networkmanagement:v1/GkeNetworkPolicyInfo/displayName": display_name
320128+
"/networkmanagement:v1/GkeNetworkPolicyInfo/uri": uri
320129+
"/networkmanagement:v1/GkeNetworkPolicySkippedInfo": gke_network_policy_skipped_info
320130+
"/networkmanagement:v1/GkeNetworkPolicySkippedInfo/reason": reason
320124320131
"/networkmanagement:v1/GkePodInfo": gke_pod_info
320125320132
"/networkmanagement:v1/GkePodInfo/ipAddress": ip_address
320126320133
"/networkmanagement:v1/GkePodInfo/networkUri": network_uri
@@ -320479,6 +320486,8 @@
320479320486
"/networkmanagement:v1/Step/forward": forward
320480320487
"/networkmanagement:v1/Step/forwardingRule": forwarding_rule
320481320488
"/networkmanagement:v1/Step/gkeMaster": gke_master
320489+
"/networkmanagement:v1/Step/gkeNetworkPolicy": gke_network_policy
320490+
"/networkmanagement:v1/Step/gkeNetworkPolicySkipped": gke_network_policy_skipped
320482320491
"/networkmanagement:v1/Step/gkePod": gke_pod
320483320492
"/networkmanagement:v1/Step/googleManagedService": google_managed_service
320484320493
"/networkmanagement:v1/Step/googleService": google_service

generated/google-apis-networkmanagement_v1/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_v1
22

3+
### v0.80.0 (2026-03-08)
4+
5+
* Regenerated from discovery document revision 20260225
6+
37
### v0.79.0 (2026-02-22)
48

59
* Regenerated from discovery document revision 20260211

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

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,6 +1393,66 @@ def update!(**args)
13931393
end
13941394
end
13951395

1396+
# For display only. Metadata associated with a GKE Network Policy.
1397+
class GkeNetworkPolicyInfo
1398+
include Google::Apis::Core::Hashable
1399+
1400+
# Possible values: ALLOW, DENY
1401+
# Corresponds to the JSON property `action`
1402+
# @return [String]
1403+
attr_accessor :action
1404+
1405+
# Possible values: INGRESS, EGRESS
1406+
# Corresponds to the JSON property `direction`
1407+
# @return [String]
1408+
attr_accessor :direction
1409+
1410+
# The name of the Network Policy.
1411+
# Corresponds to the JSON property `displayName`
1412+
# @return [String]
1413+
attr_accessor :display_name
1414+
1415+
# The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
1416+
# `projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
1417+
# Format for a Network Policy in a regional cluster: `projects//locations//
1418+
# clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
1419+
# Corresponds to the JSON property `uri`
1420+
# @return [String]
1421+
attr_accessor :uri
1422+
1423+
def initialize(**args)
1424+
update!(**args)
1425+
end
1426+
1427+
# Update properties of this object
1428+
def update!(**args)
1429+
@action = args[:action] if args.key?(:action)
1430+
@direction = args[:direction] if args.key?(:direction)
1431+
@display_name = args[:display_name] if args.key?(:display_name)
1432+
@uri = args[:uri] if args.key?(:uri)
1433+
end
1434+
end
1435+
1436+
# For display only. Contains information about why GKE Network Policy evaluation
1437+
# was skipped.
1438+
class GkeNetworkPolicySkippedInfo
1439+
include Google::Apis::Core::Hashable
1440+
1441+
# Reason why Network Policy evaluation was skipped.
1442+
# Corresponds to the JSON property `reason`
1443+
# @return [String]
1444+
attr_accessor :reason
1445+
1446+
def initialize(**args)
1447+
update!(**args)
1448+
end
1449+
1450+
# Update properties of this object
1451+
def update!(**args)
1452+
@reason = args[:reason] if args.key?(:reason)
1453+
end
1454+
end
1455+
13961456
# For display only. Metadata associated with a Google Kubernetes Engine (GKE)
13971457
# Pod.
13981458
class GkePodInfo
@@ -3239,6 +3299,17 @@ class Step
32393299
# @return [Google::Apis::NetworkmanagementV1::GkeMasterInfo]
32403300
attr_accessor :gke_master
32413301

3302+
# For display only. Metadata associated with a GKE Network Policy.
3303+
# Corresponds to the JSON property `gkeNetworkPolicy`
3304+
# @return [Google::Apis::NetworkmanagementV1::GkeNetworkPolicyInfo]
3305+
attr_accessor :gke_network_policy
3306+
3307+
# For display only. Contains information about why GKE Network Policy evaluation
3308+
# was skipped.
3309+
# Corresponds to the JSON property `gkeNetworkPolicySkipped`
3310+
# @return [Google::Apis::NetworkmanagementV1::GkeNetworkPolicySkippedInfo]
3311+
attr_accessor :gke_network_policy_skipped
3312+
32423313
# For display only. Metadata associated with a Google Kubernetes Engine (GKE)
32433314
# Pod.
32443315
# Corresponds to the JSON property `gkePod`
@@ -3383,6 +3454,8 @@ def update!(**args)
33833454
@forward = args[:forward] if args.key?(:forward)
33843455
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
33853456
@gke_master = args[:gke_master] if args.key?(:gke_master)
3457+
@gke_network_policy = args[:gke_network_policy] if args.key?(:gke_network_policy)
3458+
@gke_network_policy_skipped = args[:gke_network_policy_skipped] if args.key?(:gke_network_policy_skipped)
33863459
@gke_pod = args[:gke_pod] if args.key?(:gke_pod)
33873460
@google_service = args[:google_service] if args.key?(:google_service)
33883461
@hybrid_subnet = args[:hybrid_subnet] if args.key?(:hybrid_subnet)

generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/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 NetworkmanagementV1
1818
# Version of the google-apis-networkmanagement_v1 gem
19-
GEM_VERSION = "0.79.0"
19+
GEM_VERSION = "0.80.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 = "20260211"
25+
REVISION = "20260225"
2626
end
2727
end
2828
end

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

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

181+
class GkeNetworkPolicyInfo
182+
class Representation < Google::Apis::Core::JsonRepresentation; end
183+
184+
include Google::Apis::Core::JsonObjectSupport
185+
end
186+
187+
class GkeNetworkPolicySkippedInfo
188+
class Representation < Google::Apis::Core::JsonRepresentation; end
189+
190+
include Google::Apis::Core::JsonObjectSupport
191+
end
192+
181193
class GkePodInfo
182194
class Representation < Google::Apis::Core::JsonRepresentation; end
183195

@@ -757,6 +769,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
757769
end
758770
end
759771

772+
class GkeNetworkPolicyInfo
773+
# @private
774+
class Representation < Google::Apis::Core::JsonRepresentation
775+
property :action, as: 'action'
776+
property :direction, as: 'direction'
777+
property :display_name, as: 'displayName'
778+
property :uri, as: 'uri'
779+
end
780+
end
781+
782+
class GkeNetworkPolicySkippedInfo
783+
# @private
784+
class Representation < Google::Apis::Core::JsonRepresentation
785+
property :reason, as: 'reason'
786+
end
787+
end
788+
760789
class GkePodInfo
761790
# @private
762791
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1209,6 +1238,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
12091238

12101239
property :gke_master, as: 'gkeMaster', class: Google::Apis::NetworkmanagementV1::GkeMasterInfo, decorator: Google::Apis::NetworkmanagementV1::GkeMasterInfo::Representation
12111240

1241+
property :gke_network_policy, as: 'gkeNetworkPolicy', class: Google::Apis::NetworkmanagementV1::GkeNetworkPolicyInfo, decorator: Google::Apis::NetworkmanagementV1::GkeNetworkPolicyInfo::Representation
1242+
1243+
property :gke_network_policy_skipped, as: 'gkeNetworkPolicySkipped', class: Google::Apis::NetworkmanagementV1::GkeNetworkPolicySkippedInfo, decorator: Google::Apis::NetworkmanagementV1::GkeNetworkPolicySkippedInfo::Representation
1244+
12121245
property :gke_pod, as: 'gkePod', class: Google::Apis::NetworkmanagementV1::GkePodInfo, decorator: Google::Apis::NetworkmanagementV1::GkePodInfo::Representation
12131246

12141247
property :google_service, as: 'googleService', class: Google::Apis::NetworkmanagementV1::GoogleServiceInfo, decorator: Google::Apis::NetworkmanagementV1::GoogleServiceInfo::Representation

0 commit comments

Comments
 (0)