From 84302c45ebd7d5bf21f6224642631a5464627e15 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 21 Dec 2022 11:30:52 -0800 Subject: [PATCH] docs: updated documentation for message NetworkInterface (#3792) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: updated documentation for message NetworkInterface chore: published new fields in service YAML PiperOrigin-RevId: 496547510 Source-Link: https://github.com/googleapis/googleapis/commit/de57a4d09ece64bc03d12cdefc8d03278021b5be Source-Link: https://github.com/googleapis/googleapis-gen/commit/b0b063a41cdd4748befc970f5b6405fdaf1d0470 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiJiMGIwNjNhNDFjZGQ0NzQ4YmVmYzk3MGY1YjY0MDVmZGFmMWQwNDcwIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: updated documentation for message NetworkInterface chore: published new fields in service YAML PiperOrigin-RevId: 496547521 Source-Link: https://github.com/googleapis/googleapis/commit/cffce7313aadd3856058ef9c7b174165a387337e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b35f4a31b293eace07aeed2a3fcf1d29db77e948 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiJiMzVmNGEzMWIyOTNlYWNlMDdhZWVkMmEzZmNmMWQyOWRiNzdlOTQ4In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com> --- .../protos/google/cloud/batch/v1/job.proto | 14 ++++++++++++-- .../protos/google/cloud/batch/v1alpha/job.proto | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) 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