@@ -107,6 +107,19 @@ public final class Subnetwork extends com.google.api.client.json.GenericJson {
107
107
@ com .google .api .client .util .Key
108
108
private java .lang .String ipCidrRange ;
109
109
110
+ /**
111
+ * Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
112
+ * sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
113
+ * a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
114
+ * resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
115
+ * /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
116
+ * projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
117
+ * regions/region/publicDelegatedPrefixes/sub-pdp-name
118
+ * The value may be {@code null}.
119
+ */
120
+ @ com .google .api .client .util .Key
121
+ private java .lang .String ipCollection ;
122
+
110
123
/**
111
124
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified
112
125
* during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
@@ -122,6 +135,18 @@ public final class Subnetwork extends com.google.api.client.json.GenericJson {
122
135
@ com .google .api .client .util .Key
123
136
private java .lang .String ipv6CidrRange ;
124
137
138
+ /**
139
+ * [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
140
+ * The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
141
+ * Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
142
+ * to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
143
+ * Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
144
+ * types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
145
+ * The value may be {@code null}.
146
+ */
147
+ @ com .google .api .client .util .Key
148
+ private java .lang .String ipv6GceEndpoint ;
149
+
125
150
/**
126
151
* [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
127
152
* The value may be {@code null}.
@@ -468,6 +493,35 @@ public Subnetwork setIpCidrRange(java.lang.String ipCidrRange) {
468
493
return this ;
469
494
}
470
495
496
+ /**
497
+ * Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
498
+ * sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
499
+ * a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
500
+ * resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
501
+ * /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
502
+ * projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
503
+ * regions/region/publicDelegatedPrefixes/sub-pdp-name
504
+ * @return value or {@code null} for none
505
+ */
506
+ public java .lang .String getIpCollection () {
507
+ return ipCollection ;
508
+ }
509
+
510
+ /**
511
+ * Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a
512
+ * sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify
513
+ * a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full
514
+ * resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region
515
+ * /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in -
516
+ * projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name -
517
+ * regions/region/publicDelegatedPrefixes/sub-pdp-name
518
+ * @param ipCollection ipCollection or {@code null} for none
519
+ */
520
+ public Subnetwork setIpCollection (java .lang .String ipCollection ) {
521
+ this .ipCollection = ipCollection ;
522
+ return this ;
523
+ }
524
+
471
525
/**
472
526
* The access type of IPv6 address this subnet holds. It's immutable and can only be specified
473
527
* during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
@@ -504,6 +558,33 @@ public Subnetwork setIpv6CidrRange(java.lang.String ipv6CidrRange) {
504
558
return this ;
505
559
}
506
560
561
+ /**
562
+ * [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
563
+ * The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
564
+ * Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
565
+ * to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
566
+ * Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
567
+ * types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
568
+ * @return value or {@code null} for none
569
+ */
570
+ public java .lang .String getIpv6GceEndpoint () {
571
+ return ipv6GceEndpoint ;
572
+ }
573
+
574
+ /**
575
+ * [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY:
576
+ * The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type.
577
+ * Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used
578
+ * to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and
579
+ * Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint
580
+ * types. Such a subnetwork gets its IPv6 range from Google IP Pool directly.
581
+ * @param ipv6GceEndpoint ipv6GceEndpoint or {@code null} for none
582
+ */
583
+ public Subnetwork setIpv6GceEndpoint (java .lang .String ipv6GceEndpoint ) {
584
+ this .ipv6GceEndpoint = ipv6GceEndpoint ;
585
+ return this ;
586
+ }
587
+
507
588
/**
508
589
* [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
509
590
* @return value or {@code null} for none
0 commit comments