Skip to content

Commit 8107302

Browse files
feat: Automated regeneration of networkconnectivity v1 client (googleapis#22307)
Auto-created at 2025-03-30 10:32:47 +0000 using the toys pull request generator.
1 parent a66ae8b commit 8107302

File tree

5 files changed

+27
-2
lines changed

5 files changed

+27
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279960,6 +279960,9 @@
279960279960
"/networkconnectivity:v1/InternalRange": internal_range
279961279961
"/networkconnectivity:v1/InternalRange/createTime": create_time
279962279962
"/networkconnectivity:v1/InternalRange/description": description
279963+
"/networkconnectivity:v1/InternalRange/excludeCidrRanges": exclude_cidr_ranges
279964+
"/networkconnectivity:v1/InternalRange/excludeCidrRanges/exclude_cidr_range": exclude_cidr_range
279965+
"/networkconnectivity:v1/InternalRange/immutable": immutable
279963279966
"/networkconnectivity:v1/InternalRange/ipCidrRange": ip_cidr_range
279964279967
"/networkconnectivity:v1/InternalRange/labels": labels
279965279968
"/networkconnectivity:v1/InternalRange/labels/label": label

generated/google-apis-networkconnectivity_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-networkconnectivity_v1
22

3+
### v0.57.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250318
6+
37
### v0.56.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250312

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,20 @@ class InternalRange
10971097
# @return [String]
10981098
attr_accessor :description
10991099

1100+
# Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows
1101+
# exclusion of particular CIDR ranges from the auto-allocation process, without
1102+
# having to reserve these blocks
1103+
# Corresponds to the JSON property `excludeCidrRanges`
1104+
# @return [Array<String>]
1105+
attr_accessor :exclude_cidr_ranges
1106+
1107+
# Optional. Immutable ranges cannot have their fields modified, except for
1108+
# labels and description.
1109+
# Corresponds to the JSON property `immutable`
1110+
# @return [Boolean]
1111+
attr_accessor :immutable
1112+
alias_method :immutable?, :immutable
1113+
11001114
# The IP range that this internal range defines. NOTE: IPv6 ranges are limited
11011115
# to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this
11021116
# field is compulsory, i.e. the address range must be specified explicitly.
@@ -1188,6 +1202,8 @@ def initialize(**args)
11881202
def update!(**args)
11891203
@create_time = args[:create_time] if args.key?(:create_time)
11901204
@description = args[:description] if args.key?(:description)
1205+
@exclude_cidr_ranges = args[:exclude_cidr_ranges] if args.key?(:exclude_cidr_ranges)
1206+
@immutable = args[:immutable] if args.key?(:immutable)
11911207
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
11921208
@labels = args[:labels] if args.key?(:labels)
11931209
@migration = args[:migration] if args.key?(:migration)

generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_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 NetworkconnectivityV1
1818
# Version of the google-apis-networkconnectivity_v1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,8 @@ class InternalRange
723723
class Representation < Google::Apis::Core::JsonRepresentation
724724
property :create_time, as: 'createTime'
725725
property :description, as: 'description'
726+
collection :exclude_cidr_ranges, as: 'excludeCidrRanges'
727+
property :immutable, as: 'immutable'
726728
property :ip_cidr_range, as: 'ipCidrRange'
727729
hash :labels, as: 'labels'
728730
property :migration, as: 'migration', class: Google::Apis::NetworkconnectivityV1::Migration, decorator: Google::Apis::NetworkconnectivityV1::Migration::Representation

0 commit comments

Comments
 (0)