Skip to content

Commit a045dba

Browse files
feat(notebooks): update the api
#### notebooks:v2 The following keys were added: - schemas.AccessConfig (Total Keys: 3) - schemas.Instance.properties.satisfiesPzi (Total Keys: 2) - schemas.Instance.properties.satisfiesPzs (Total Keys: 2) - schemas.NetworkInterface.properties.accessConfigs (Total Keys: 2)
1 parent 6a3bf3d commit a045dba

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

docs/dyn/notebooks_v2.projects.locations.instances.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ <h3>Method Details</h3>
215215
},
216216
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces for the VM. Supports only one interface.
217217
{ # The definition of a network interface resource attached to a VM.
218+
&quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
219+
{ # An access configuration attached to an instance&#x27;s network interface.
220+
&quot;externalIp&quot;: &quot;A String&quot;, # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
221+
},
222+
],
218223
&quot;network&quot;: &quot;A String&quot;, # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
219224
&quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
220225
&quot;subnet&quot;: &quot;A String&quot;, # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -255,6 +260,8 @@ <h3>Method Details</h3>
255260
},
256261
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
257262
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
263+
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use for Zone Isolation.
264+
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use for Zone Separation.
258265
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of this instance.
259266
&quot;thirdPartyProxyUrl&quot;: &quot;A String&quot;, # Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.
260267
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Instance update time.
@@ -444,6 +451,11 @@ <h3>Method Details</h3>
444451
},
445452
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces for the VM. Supports only one interface.
446453
{ # The definition of a network interface resource attached to a VM.
454+
&quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
455+
{ # An access configuration attached to an instance&#x27;s network interface.
456+
&quot;externalIp&quot;: &quot;A String&quot;, # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
457+
},
458+
],
447459
&quot;network&quot;: &quot;A String&quot;, # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
448460
&quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
449461
&quot;subnet&quot;: &quot;A String&quot;, # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -484,6 +496,8 @@ <h3>Method Details</h3>
484496
},
485497
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
486498
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
499+
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use for Zone Isolation.
500+
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use for Zone Separation.
487501
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of this instance.
488502
&quot;thirdPartyProxyUrl&quot;: &quot;A String&quot;, # Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.
489503
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Instance update time.
@@ -634,6 +648,11 @@ <h3>Method Details</h3>
634648
},
635649
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces for the VM. Supports only one interface.
636650
{ # The definition of a network interface resource attached to a VM.
651+
&quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
652+
{ # An access configuration attached to an instance&#x27;s network interface.
653+
&quot;externalIp&quot;: &quot;A String&quot;, # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
654+
},
655+
],
637656
&quot;network&quot;: &quot;A String&quot;, # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
638657
&quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
639658
&quot;subnet&quot;: &quot;A String&quot;, # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -674,6 +693,8 @@ <h3>Method Details</h3>
674693
},
675694
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
676695
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
696+
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use for Zone Isolation.
697+
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use for Zone Separation.
677698
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of this instance.
678699
&quot;thirdPartyProxyUrl&quot;: &quot;A String&quot;, # Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.
679700
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Instance update time.
@@ -763,6 +784,11 @@ <h3>Method Details</h3>
763784
},
764785
&quot;networkInterfaces&quot;: [ # Optional. The network interfaces for the VM. Supports only one interface.
765786
{ # The definition of a network interface resource attached to a VM.
787+
&quot;accessConfigs&quot;: [ # Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
788+
{ # An access configuration attached to an instance&#x27;s network interface.
789+
&quot;externalIp&quot;: &quot;A String&quot;, # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
790+
},
791+
],
766792
&quot;network&quot;: &quot;A String&quot;, # Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
767793
&quot;nicType&quot;: &quot;A String&quot;, # Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
768794
&quot;subnet&quot;: &quot;A String&quot;, # Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
@@ -803,6 +829,8 @@ <h3>Method Details</h3>
803829
},
804830
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
805831
&quot;proxyUri&quot;: &quot;A String&quot;, # Output only. The proxy endpoint that is used to access the Jupyter notebook.
832+
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use for Zone Isolation.
833+
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use for Zone Separation.
806834
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of this instance.
807835
&quot;thirdPartyProxyUrl&quot;: &quot;A String&quot;, # Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.
808836
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Instance update time.

googleapiclient/discovery_cache/documents/notebooks.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@
20082008
}
20092009
}
20102010
},
2011-
"revision": "20240422",
2011+
"revision": "20240530",
20122012
"rootUrl": "https://notebooks.googleapis.com/",
20132013
"schemas": {
20142014
"AcceleratorConfig": {

googleapiclient/discovery_cache/documents/notebooks.v2.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@
876876
}
877877
}
878878
},
879-
"revision": "20240422",
879+
"revision": "20240530",
880880
"rootUrl": "https://notebooks.googleapis.com/",
881881
"schemas": {
882882
"AcceleratorConfig": {
@@ -921,6 +921,17 @@
921921
},
922922
"type": "object"
923923
},
924+
"AccessConfig": {
925+
"description": "An access configuration attached to an instance's network interface.",
926+
"id": "AccessConfig",
927+
"properties": {
928+
"externalIp": {
929+
"description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.",
930+
"type": "string"
931+
}
932+
},
933+
"type": "object"
934+
},
924935
"Binding": {
925936
"description": "Associates `members`, or principals, with a `role`.",
926937
"id": "Binding",
@@ -1423,6 +1434,16 @@
14231434
"readOnly": true,
14241435
"type": "string"
14251436
},
1437+
"satisfiesPzi": {
1438+
"description": "Output only. Reserved for future use for Zone Isolation.",
1439+
"readOnly": true,
1440+
"type": "boolean"
1441+
},
1442+
"satisfiesPzs": {
1443+
"description": "Output only. Reserved for future use for Zone Separation.",
1444+
"readOnly": true,
1445+
"type": "boolean"
1446+
},
14261447
"state": {
14271448
"description": "Output only. The state of this instance.",
14281449
"enum": [
@@ -1575,6 +1596,13 @@
15751596
"description": "The definition of a network interface resource attached to a VM.",
15761597
"id": "NetworkInterface",
15771598
"properties": {
1599+
"accessConfigs": {
1600+
"description": "Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.",
1601+
"items": {
1602+
"$ref": "AccessConfig"
1603+
},
1604+
"type": "array"
1605+
},
15781606
"network": {
15791607
"description": "Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`",
15801608
"type": "string"

0 commit comments

Comments
 (0)