Send feedback
Class NetworkInterface (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.16.0 keyboard_arrow_down
NetworkInterface(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Attributes Name Description network
str
The URL of an existing network resource.
You can specify the network as a full or partial
URL.
For example, the following are all valid URLs:
https://www.googleapis.com/compute/v1/projects/project /global/networks/network
projects/project /global/networks/network
global/networks/network
subnetwork
str
The URL of an existing subnetwork resource in
the network. You can specify the subnetwork as a
full or partial URL.
For example, the following are all valid URLs:
https://www.googleapis.com/compute/v1/projects/project /regions/region /subnetworks/subnetwork
projects/project /regions/region /subnetworks/subnetwork
regions/region /subnetworks/subnetwork
no_external_ip_address
bool
Default is false (with an external IP
address). Required if no external public IP
address is attached to the VM. If no external
public IP address, additional configuration is
required to allow the VM to access Google
Services. See
https://cloud.google.com/vpc/docs/configure-private-google-access
and
https://cloud.google.com/nat/docs/gce-example#create-nat
for more information.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?