From 97e004fd6960aa5ab0d8b68c42f072d54b5ecb1b Mon Sep 17 00:00:00 2001 From: DPE bot Date: Tue, 6 Nov 2018 09:43:13 -0800 Subject: [PATCH] Regenerate logging client with test fixes (#3907) --- .../com/google/cloud/logging/v2/ConfigClientTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java index c6abbb374377..882dd5360741 100644 --- a/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java +++ b/google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.InvalidArgumentException; import com.google.api.resourcenames.ResourceName; import com.google.common.collect.Lists; +import com.google.logging.v2.BillingName; import com.google.logging.v2.CreateExclusionRequest; import com.google.logging.v2.CreateSinkRequest; import com.google.logging.v2.DeleteExclusionRequest; @@ -158,7 +159,7 @@ public void listSinksExceptionTest() throws Exception { @SuppressWarnings("all") public void getSinkTest() { String name = "name3373707"; - ResourceName destination = ProjectName.of("[PROJECT]"); + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); String filter = "filter-1274492040"; String writerIdentity = "writerIdentity775638794"; boolean includeChildren = true; @@ -208,7 +209,7 @@ public void getSinkExceptionTest() throws Exception { @SuppressWarnings("all") public void createSinkTest() { String name = "name3373707"; - ResourceName destination = ProjectName.of("[PROJECT]"); + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); String filter = "filter-1274492040"; String writerIdentity = "writerIdentity775638794"; boolean includeChildren = true; @@ -261,7 +262,7 @@ public void createSinkExceptionTest() throws Exception { @SuppressWarnings("all") public void updateSinkTest() { String name = "name3373707"; - ResourceName destination = ProjectName.of("[PROJECT]"); + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); String filter = "filter-1274492040"; String writerIdentity = "writerIdentity775638794"; boolean includeChildren = true; @@ -317,7 +318,7 @@ public void updateSinkExceptionTest() throws Exception { @SuppressWarnings("all") public void updateSinkTest2() { String name = "name3373707"; - ResourceName destination = ProjectName.of("[PROJECT]"); + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); String filter = "filter-1274492040"; String writerIdentity = "writerIdentity775638794"; boolean includeChildren = true;