Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: updated documentation for message NetworkInterface #3792

Merged
merged 8 commits into from
Dec 21, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,20 @@ message AllocationPolicy {

// A network interface.
message NetworkInterface {
// The URL of the network resource.
// 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}
string network = 1;

// The URL of the Subnetwork resource.
// 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}
string subnetwork = 2;

// Default is false (with an external IP address). Required if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,20 @@ message AllocationPolicy {

// A network interface.
message NetworkInterface {
// The URL of the network resource.
// 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}
string network = 1;

// The URL of the Subnetwork resource.
// 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}
string subnetwork = 2;

// Default is false (with an external IP address). Required if
Expand Down