|
27 | 27 | import com.google.api.gax.rpc.InvalidArgumentException; |
28 | 28 | import com.google.api.resourcenames.ResourceName; |
29 | 29 | import com.google.common.collect.Lists; |
| 30 | +import com.google.logging.v2.BillingName; |
30 | 31 | import com.google.logging.v2.CreateExclusionRequest; |
31 | 32 | import com.google.logging.v2.CreateSinkRequest; |
32 | 33 | import com.google.logging.v2.DeleteExclusionRequest; |
@@ -158,7 +159,7 @@ public void listSinksExceptionTest() throws Exception { |
158 | 159 | @SuppressWarnings("all") |
159 | 160 | public void getSinkTest() { |
160 | 161 | String name = "name3373707"; |
161 | | - ResourceName destination = ProjectName.of("[PROJECT]"); |
| 162 | + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); |
162 | 163 | String filter = "filter-1274492040"; |
163 | 164 | String writerIdentity = "writerIdentity775638794"; |
164 | 165 | boolean includeChildren = true; |
@@ -208,7 +209,7 @@ public void getSinkExceptionTest() throws Exception { |
208 | 209 | @SuppressWarnings("all") |
209 | 210 | public void createSinkTest() { |
210 | 211 | String name = "name3373707"; |
211 | | - ResourceName destination = ProjectName.of("[PROJECT]"); |
| 212 | + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); |
212 | 213 | String filter = "filter-1274492040"; |
213 | 214 | String writerIdentity = "writerIdentity775638794"; |
214 | 215 | boolean includeChildren = true; |
@@ -261,7 +262,7 @@ public void createSinkExceptionTest() throws Exception { |
261 | 262 | @SuppressWarnings("all") |
262 | 263 | public void updateSinkTest() { |
263 | 264 | String name = "name3373707"; |
264 | | - ResourceName destination = ProjectName.of("[PROJECT]"); |
| 265 | + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); |
265 | 266 | String filter = "filter-1274492040"; |
266 | 267 | String writerIdentity = "writerIdentity775638794"; |
267 | 268 | boolean includeChildren = true; |
@@ -317,7 +318,7 @@ public void updateSinkExceptionTest() throws Exception { |
317 | 318 | @SuppressWarnings("all") |
318 | 319 | public void updateSinkTest2() { |
319 | 320 | String name = "name3373707"; |
320 | | - ResourceName destination = ProjectName.of("[PROJECT]"); |
| 321 | + ResourceName destination = BillingName.of("[BILLING_ACCOUNT]"); |
321 | 322 | String filter = "filter-1274492040"; |
322 | 323 | String writerIdentity = "writerIdentity775638794"; |
323 | 324 | boolean includeChildren = true; |
|
0 commit comments