Skip to content

Commit 51ad826

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were added: - schemas.AllocationOptions (Total Keys: 5) - schemas.InternalRange.properties.allocationOptions.$ref (Total Keys: 1) - schemas.NextHopSpoke (Total Keys: 4) - schemas.Route.properties.nextHopSpoke.$ref (Total Keys: 1)
1 parent 37b8525 commit 51ad826

5 files changed

+84
-7
lines changed

docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.routeTables.routes.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ <h3>Method Details</h3>
125125
&quot;uri&quot;: &quot;A String&quot;, # The URI of the Router appliance instance.
126126
&quot;vpcNetwork&quot;: &quot;A String&quot;, # The VPC network where this VM is located.
127127
},
128+
&quot;nextHopSpoke&quot;: { # A route next hop that leads to a spoke resource. # Immutable. The next-hop spoke for packets on this route.
129+
&quot;siteToSiteDataTransfer&quot;: True or False, # Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.
130+
&quot;uri&quot;: &quot;A String&quot;, # The URI of the spoke resource.
131+
},
128132
&quot;nextHopVpcNetwork&quot;: { # Immutable. The destination VPC network for packets on this route.
129133
&quot;uri&quot;: &quot;A String&quot;, # The URI of the VPC network resource
130134
},
@@ -182,6 +186,10 @@ <h3>Method Details</h3>
182186
&quot;uri&quot;: &quot;A String&quot;, # The URI of the Router appliance instance.
183187
&quot;vpcNetwork&quot;: &quot;A String&quot;, # The VPC network where this VM is located.
184188
},
189+
&quot;nextHopSpoke&quot;: { # A route next hop that leads to a spoke resource. # Immutable. The next-hop spoke for packets on this route.
190+
&quot;siteToSiteDataTransfer&quot;: True or False, # Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.
191+
&quot;uri&quot;: &quot;A String&quot;, # The URI of the spoke resource.
192+
},
185193
&quot;nextHopVpcNetwork&quot;: { # Immutable. The destination VPC network for packets on this route.
186194
&quot;uri&quot;: &quot;A String&quot;, # The URI of the VPC network resource
187195
},

docs/dyn/networkconnectivity_v1.projects.locations.internalRanges.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ <h3>Method Details</h3>
111111
The object takes the form of:
112112

113113
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
114+
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
115+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
116+
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
117+
},
114118
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
115119
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
116120
&quot;excludeCidrRanges&quot;: [ # Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks
@@ -224,6 +228,10 @@ <h3>Method Details</h3>
224228
An object of the form:
225229

226230
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
231+
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
232+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
233+
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
234+
},
227235
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
228236
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
229237
&quot;excludeCidrRanges&quot;: [ # Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks
@@ -277,6 +285,10 @@ <h3>Method Details</h3>
277285
{ # Response for InternalRange.ListInternalRanges
278286
&quot;internalRanges&quot;: [ # Internal ranges to be returned.
279287
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
288+
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
289+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
290+
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
291+
},
280292
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
281293
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
282294
&quot;excludeCidrRanges&quot;: [ # Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks
@@ -339,6 +351,10 @@ <h3>Method Details</h3>
339351
The object takes the form of:
340352

341353
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
354+
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
355+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
356+
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
357+
},
342358
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
343359
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
344360
&quot;excludeCidrRanges&quot;: [ # Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks

docs/dyn/networkconnectivity_v1alpha1.projects.locations.internalRanges.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121

122122
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
123123
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
124-
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
124+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.
125125
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
126126
},
127127
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
@@ -238,7 +238,7 @@ <h3>Method Details</h3>
238238

239239
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
240240
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
241-
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
241+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.
242242
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
243243
},
244244
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
@@ -343,7 +343,7 @@ <h3>Method Details</h3>
343343
&quot;internalRanges&quot;: [ # Internal range to be returned.
344344
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
345345
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
346-
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
346+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.
347347
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
348348
},
349349
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.
@@ -409,7 +409,7 @@ <h3>Method Details</h3>
409409

410410
{ # The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
411411
&quot;allocationOptions&quot;: { # Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. # Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length).
412-
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
412+
&quot;allocationStrategy&quot;: &quot;A String&quot;, # Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.
413413
&quot;firstAvailableRangesLookupSize&quot;: 42, # Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
414414
},
415415
&quot;createTime&quot;: &quot;A String&quot;, # Time when the internal range was created.

googleapiclient/discovery_cache/documents/networkconnectivity.v1.json

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2925,7 +2925,7 @@
29252925
}
29262926
}
29272927
},
2928-
"revision": "20250414",
2928+
"revision": "20250502",
29292929
"rootUrl": "https://networkconnectivity.googleapis.com/",
29302930
"schemas": {
29312931
"AcceptHubSpokeRequest": {
@@ -2973,6 +2973,36 @@
29732973
},
29742974
"type": "object"
29752975
},
2976+
"AllocationOptions": {
2977+
"description": "Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.",
2978+
"id": "AllocationOptions",
2979+
"properties": {
2980+
"allocationStrategy": {
2981+
"description": "Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.",
2982+
"enum": [
2983+
"ALLOCATION_STRATEGY_UNSPECIFIED",
2984+
"RANDOM",
2985+
"FIRST_AVAILABLE",
2986+
"RANDOM_FIRST_N_AVAILABLE",
2987+
"FIRST_SMALLEST_FITTING"
2988+
],
2989+
"enumDescriptions": [
2990+
"Unspecified strategy must be used when the range is specified explicitly using ip_cidr_range field. Othherwise unspefified means using the default strategy.",
2991+
"Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space.",
2992+
"Pick the first available address range. This strategy is deterministic and the result is easy to predict.",
2993+
"Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced.",
2994+
"Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space."
2995+
],
2996+
"type": "string"
2997+
},
2998+
"firstAvailableRangesLookupSize": {
2999+
"description": "Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.",
3000+
"format": "int32",
3001+
"type": "integer"
3002+
}
3003+
},
3004+
"type": "object"
3005+
},
29763006
"AuditConfig": {
29773007
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:[email protected]\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:[email protected]\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.",
29783008
"id": "AuditConfig",
@@ -3646,6 +3676,10 @@
36463676
"description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.",
36473677
"id": "InternalRange",
36483678
"properties": {
3679+
"allocationOptions": {
3680+
"$ref": "AllocationOptions",
3681+
"description": "Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length)."
3682+
},
36493683
"createTime": {
36503684
"description": "Time when the internal range was created.",
36513685
"format": "google-datetime",
@@ -4411,6 +4445,21 @@
44114445
},
44124446
"type": "object"
44134447
},
4448+
"NextHopSpoke": {
4449+
"description": "A route next hop that leads to a spoke resource.",
4450+
"id": "NextHopSpoke",
4451+
"properties": {
4452+
"siteToSiteDataTransfer": {
4453+
"description": "Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.",
4454+
"type": "boolean"
4455+
},
4456+
"uri": {
4457+
"description": "The URI of the spoke resource.",
4458+
"type": "string"
4459+
}
4460+
},
4461+
"type": "object"
4462+
},
44144463
"NextHopVPNTunnel": {
44154464
"description": "A route next hop that leads to a VPN tunnel resource.",
44164465
"id": "NextHopVPNTunnel",
@@ -5007,6 +5056,10 @@
50075056
"$ref": "NextHopRouterApplianceInstance",
50085057
"description": "Immutable. The next-hop Router appliance instance for packets on this route."
50095058
},
5059+
"nextHopSpoke": {
5060+
"$ref": "NextHopSpoke",
5061+
"description": "Immutable. The next-hop spoke for packets on this route."
5062+
},
50105063
"nextHopVpcNetwork": {
50115064
"$ref": "NextHopVpcNetwork",
50125065
"description": "Immutable. The destination VPC network for packets on this route."

googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,15 +1122,15 @@
11221122
}
11231123
}
11241124
},
1125-
"revision": "20250414",
1125+
"revision": "20250502",
11261126
"rootUrl": "https://networkconnectivity.googleapis.com/",
11271127
"schemas": {
11281128
"AllocationOptions": {
11291129
"description": "Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.",
11301130
"id": "AllocationOptions",
11311131
"properties": {
11321132
"allocationStrategy": {
1133-
"description": "Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.",
1133+
"description": "Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.",
11341134
"enum": [
11351135
"ALLOCATION_STRATEGY_UNSPECIFIED",
11361136
"RANDOM",

0 commit comments

Comments
 (0)