diff --git a/packages/google-cloud-batch/protos/google/cloud/batch/v1/job.proto b/packages/google-cloud-batch/protos/google/cloud/batch/v1/job.proto index 0519f68f45d..be86dbf8cad 100644 --- a/packages/google-cloud-batch/protos/google/cloud/batch/v1/job.proto +++ b/packages/google-cloud-batch/protos/google/cloud/batch/v1/job.proto @@ -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 diff --git a/packages/google-cloud-batch/protos/google/cloud/batch/v1alpha/job.proto b/packages/google-cloud-batch/protos/google/cloud/batch/v1alpha/job.proto index 2271d33daf6..9cde8514acd 100644 --- a/packages/google-cloud-batch/protos/google/cloud/batch/v1alpha/job.proto +++ b/packages/google-cloud-batch/protos/google/cloud/batch/v1alpha/job.proto @@ -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