From 288299f7414e6910095d2d62871cd6ea1e9bbb69 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 10 Feb 2020 09:08:08 -0800 Subject: [PATCH 01/13] docs(regen): update sample code to set total timeout, add API client header test --- .../v1beta1/BudgetServiceSettings.java | 8 +- .../stub/BudgetServiceStubSettings.java | 8 +- .../v1beta1/BudgetServiceClientTest.java | 254 ++++++++++++++++++ synth.metadata | 14 +- 4 files changed, 273 insertions(+), 11 deletions(-) diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceSettings.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceSettings.java index e95a92d0..f04df3cc 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceSettings.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceSettings.java @@ -56,8 +56,12 @@ * * BudgetServiceSettings.Builder budgetServiceSettingsBuilder = * BudgetServiceSettings.newBuilder(); - * budgetServiceSettingsBuilder.createBudgetSettings().getRetrySettings().toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)); + * budgetServiceSettingsBuilder + * .createBudgetSettings() + * .setRetrySettings( + * budgetServiceSettingsBuilder.createBudgetSettings().getRetrySettings().toBuilder() + * .setTotalTimeout(Duration.ofSeconds(30)) + * .build()); * BudgetServiceSettings budgetServiceSettings = budgetServiceSettingsBuilder.build(); * * diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java index f7943d01..15e11524 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/BudgetServiceStubSettings.java @@ -78,8 +78,12 @@ * * BudgetServiceStubSettings.Builder budgetServiceSettingsBuilder = * BudgetServiceStubSettings.newBuilder(); - * budgetServiceSettingsBuilder.createBudgetSettings().getRetrySettings().toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)); + * budgetServiceSettingsBuilder + * .createBudgetSettings() + * .setRetrySettings( + * budgetServiceSettingsBuilder.createBudgetSettings().getRetrySettings().toBuilder() + * .setTotalTimeout(Duration.ofSeconds(30)) + * .build()); * BudgetServiceStubSettings budgetServiceSettings = budgetServiceSettingsBuilder.build(); * * diff --git a/google-cloud-billingbudgets/src/test/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClientTest.java b/google-cloud-billingbudgets/src/test/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClientTest.java index f55eddd6..3e27bb83 100644 --- a/google-cloud-billingbudgets/src/test/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClientTest.java +++ b/google-cloud-billingbudgets/src/test/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClientTest.java @@ -15,17 +15,30 @@ */ package com.google.cloud.billing.budgets.v1beta1; +import static com.google.cloud.billing.budgets.v1beta1.BudgetServiceClient.ListBudgetsPagedResponse; + import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.testing.LocalChannelProvider; import com.google.api.gax.grpc.testing.MockGrpcService; import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.Status; +import io.grpc.StatusRuntimeException; import java.io.IOException; import java.util.Arrays; +import java.util.List; import java.util.UUID; import org.junit.After; import org.junit.AfterClass; +import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Test; @javax.annotation.Generated("by GAPIC") public class BudgetServiceClientTest { @@ -64,4 +77,245 @@ public void setUp() throws IOException { public void tearDown() throws Exception { client.close(); } + + @Test + @SuppressWarnings("all") + public void createBudgetTest() { + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + String displayName = "displayName1615086568"; + String etag = "etag3123477"; + Budget expectedResponse = + Budget.newBuilder() + .setName(name.toString()) + .setDisplayName(displayName) + .setEtag(etag) + .build(); + mockBudgetService.addResponse(expectedResponse); + + BillingAccountName parent = BillingAccountName.of("[BILLING_ACCOUNT]"); + Budget budget = Budget.newBuilder().build(); + CreateBudgetRequest request = + CreateBudgetRequest.newBuilder().setParent(parent.toString()).setBudget(budget).build(); + + Budget actualResponse = client.createBudget(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBudgetService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBudgetRequest actualRequest = (CreateBudgetRequest) actualRequests.get(0); + + Assert.assertEquals(parent, BillingAccountName.parse(actualRequest.getParent())); + Assert.assertEquals(budget, actualRequest.getBudget()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void createBudgetExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockBudgetService.addException(exception); + + try { + BillingAccountName parent = BillingAccountName.of("[BILLING_ACCOUNT]"); + Budget budget = Budget.newBuilder().build(); + CreateBudgetRequest request = + CreateBudgetRequest.newBuilder().setParent(parent.toString()).setBudget(budget).build(); + + client.createBudget(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void updateBudgetTest() { + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + String displayName = "displayName1615086568"; + String etag = "etag3123477"; + Budget expectedResponse = + Budget.newBuilder() + .setName(name.toString()) + .setDisplayName(displayName) + .setEtag(etag) + .build(); + mockBudgetService.addResponse(expectedResponse); + + Budget budget = Budget.newBuilder().build(); + UpdateBudgetRequest request = UpdateBudgetRequest.newBuilder().setBudget(budget).build(); + + Budget actualResponse = client.updateBudget(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBudgetService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateBudgetRequest actualRequest = (UpdateBudgetRequest) actualRequests.get(0); + + Assert.assertEquals(budget, actualRequest.getBudget()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void updateBudgetExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockBudgetService.addException(exception); + + try { + Budget budget = Budget.newBuilder().build(); + UpdateBudgetRequest request = UpdateBudgetRequest.newBuilder().setBudget(budget).build(); + + client.updateBudget(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getBudgetTest() { + BudgetName name2 = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + String displayName = "displayName1615086568"; + String etag = "etag3123477"; + Budget expectedResponse = + Budget.newBuilder() + .setName(name2.toString()) + .setDisplayName(displayName) + .setEtag(etag) + .build(); + mockBudgetService.addResponse(expectedResponse); + + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + GetBudgetRequest request = GetBudgetRequest.newBuilder().setName(name.toString()).build(); + + Budget actualResponse = client.getBudget(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBudgetService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBudgetRequest actualRequest = (GetBudgetRequest) actualRequests.get(0); + + Assert.assertEquals(name, BudgetName.parse(actualRequest.getName())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getBudgetExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockBudgetService.addException(exception); + + try { + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + GetBudgetRequest request = GetBudgetRequest.newBuilder().setName(name.toString()).build(); + + client.getBudget(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void listBudgetsTest() { + String nextPageToken = ""; + Budget budgetsElement = Budget.newBuilder().build(); + List budgets = Arrays.asList(budgetsElement); + ListBudgetsResponse expectedResponse = + ListBudgetsResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllBudgets(budgets) + .build(); + mockBudgetService.addResponse(expectedResponse); + + BillingAccountName parent = BillingAccountName.of("[BILLING_ACCOUNT]"); + ListBudgetsRequest request = + ListBudgetsRequest.newBuilder().setParent(parent.toString()).build(); + + ListBudgetsPagedResponse pagedListResponse = client.listBudgets(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBudgetsList().get(0), resources.get(0)); + + List actualRequests = mockBudgetService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBudgetsRequest actualRequest = (ListBudgetsRequest) actualRequests.get(0); + + Assert.assertEquals(parent, BillingAccountName.parse(actualRequest.getParent())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listBudgetsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockBudgetService.addException(exception); + + try { + BillingAccountName parent = BillingAccountName.of("[BILLING_ACCOUNT]"); + ListBudgetsRequest request = + ListBudgetsRequest.newBuilder().setParent(parent.toString()).build(); + + client.listBudgets(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteBudgetTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockBudgetService.addResponse(expectedResponse); + + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + DeleteBudgetRequest request = DeleteBudgetRequest.newBuilder().setName(name.toString()).build(); + + client.deleteBudget(request); + + List actualRequests = mockBudgetService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBudgetRequest actualRequest = (DeleteBudgetRequest) actualRequests.get(0); + + Assert.assertEquals(name, BudgetName.parse(actualRequest.getName())); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteBudgetExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockBudgetService.addException(exception); + + try { + BudgetName name = BudgetName.of("[BILLING_ACCOUNT]", "[BUDGET]"); + DeleteBudgetRequest request = + DeleteBudgetRequest.newBuilder().setName(name.toString()).build(); + + client.deleteBudget(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } } diff --git a/synth.metadata b/synth.metadata index 3df35571..bf9d2021 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,27 @@ { - "updateTime": "2020-02-01T08:40:34.549212Z", + "updateTime": "2020-02-08T09:43:23.291071Z", "sources": [ { "generator": { "name": "artman", - "version": "0.44.4", - "dockerImage": "googleapis/artman@sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8" + "version": "0.45.0", + "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b5cbe4a4ba64ab19e6627573ff52057a1657773d", - "internalRef": "292647187", - "log": "b5cbe4a4ba64ab19e6627573ff52057a1657773d\nSecurityCenter v1p1beta1: move file-level option on top to workaround protobuf.js bug.\n\nPiperOrigin-RevId: 292647187\n\nb224b317bf20c6a4fbc5030b4a969c3147f27ad3\nAdds API definitions for bigqueryreservation v1beta1.\n\nPiperOrigin-RevId: 292634722\n\nc1468702f9b17e20dd59007c0804a089b83197d2\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 292626173\n\nffdfa4f55ab2f0afc11d0eb68f125ccbd5e404bd\nvision: v1p3beta1 publish annotations and retry config\n\nPiperOrigin-RevId: 292605599\n\n78f61482cd028fc1d9892aa5d89d768666a954cd\nvision: v1p1beta1 publish annotations and retry config\n\nPiperOrigin-RevId: 292605125\n\n60bb5a294a604fd1778c7ec87b265d13a7106171\nvision: v1p2beta1 publish annotations and retry config\n\nPiperOrigin-RevId: 292604980\n\n3bcf7aa79d45eb9ec29ab9036e9359ea325a7fc3\nvision: v1p4beta1 publish annotations and retry config\n\nPiperOrigin-RevId: 292604656\n\n2717b8a1c762b26911b45ecc2e4ee01d98401b28\nFix dataproc artman client library generation.\n\nPiperOrigin-RevId: 292555664\n\n" + "sha": "e7d8a694f4559201e6913f6610069cb08b39274e", + "internalRef": "293903652", + "log": "e7d8a694f4559201e6913f6610069cb08b39274e\nDepend on the latest gapic-generator and resource names plugin.\n\nThis fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087\n\nPiperOrigin-RevId: 293903652\n\n806b2854a966d55374ee26bb0cef4e30eda17b58\nfix: correct capitalization of Ruby namespaces in SecurityCenter V1p1beta1\n\nPiperOrigin-RevId: 293903613\n\n1b83c92462b14d67a7644e2980f723112472e03a\nPublish annotations and grpc service config for Logging API.\n\nPiperOrigin-RevId: 293893514\n\ne46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585\nGenerate the Bazel build file for recommendengine public api\n\nPiperOrigin-RevId: 293710856\n\n68477017c4173c98addac0373950c6aa9d7b375f\nMake `language_code` optional for UpdateIntentRequest and BatchUpdateIntentsRequest.\n\nThe comments and proto annotations describe this parameter as optional.\n\nPiperOrigin-RevId: 293703548\n\n16f823f578bca4e845a19b88bb9bc5870ea71ab2\nAdd BUILD.bazel files for managedidentities API\n\nPiperOrigin-RevId: 293698246\n\n2f53fd8178c9a9de4ad10fae8dd17a7ba36133f2\nAdd v1p1beta1 config file\n\nPiperOrigin-RevId: 293696729\n\n052b274138fce2be80f97b6dcb83ab343c7c8812\nAdd source field for user event and add field behavior annotations\n\nPiperOrigin-RevId: 293693115\n\n1e89732b2d69151b1b3418fff3d4cc0434f0dded\ndatacatalog: v1beta1 add three new RPCs to gapic v1beta1 config\n\nPiperOrigin-RevId: 293692823\n\n9c8bd09bbdc7c4160a44f1fbab279b73cd7a2337\nchange the name of AccessApproval service to AccessApprovalAdmin\n\nPiperOrigin-RevId: 293690934\n\n2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\na8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n29d40b78e3dc1579b0b209463fbcb76e5767f72a\nExpose managedidentities/v1beta1/ API for client library usage.\n\nPiperOrigin-RevId: 292979741\n\na22129a1fb6e18056d576dfb7717aef74b63734a\nExpose managedidentities/v1/ API for client library usage.\n\nPiperOrigin-RevId: 292968186\n\n" } }, { "template": { "name": "java_library", "origin": "synthtool.gcp", - "version": "2019.10.17" + "version": "2020.2.4" } } ], From 2ec111a50a50c14257e10496625b0cee747ad5f3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2020 10:46:25 -0800 Subject: [PATCH 02/13] chore: release 0.2.2-SNAPSHOT * updated versions.txt [ci skip] * updated google-cloud-billingbudgets-bom/pom.xml [ci skip] * updated google-cloud-billingbudgets/pom.xml [ci skip] * updated grpc-google-cloud-billingbudgets-v1beta1/pom.xml [ci skip] * updated pom.xml [ci skip] * updated proto-google-cloud-billingbudgets-v1beta1/pom.xml [ci skip] --- google-cloud-billingbudgets-bom/pom.xml | 8 ++++---- google-cloud-billingbudgets/pom.xml | 4 ++-- grpc-google-cloud-billingbudgets-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-billingbudgets-v1beta1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-billingbudgets-bom/pom.xml b/google-cloud-billingbudgets-bom/pom.xml index 122347bd..20289c8c 100644 --- a/google-cloud-billingbudgets-bom/pom.xml +++ b/google-cloud-billingbudgets-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets-bom - 0.2.1 + 0.2.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT com.google.cloud google-cloud-billingbudgets - 0.2.1 + 0.2.2-SNAPSHOT diff --git a/google-cloud-billingbudgets/pom.xml b/google-cloud-billingbudgets/pom.xml index 872a1a23..7dd10cf7 100644 --- a/google-cloud-billingbudgets/pom.xml +++ b/google-cloud-billingbudgets/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets - 0.2.1 + 0.2.2-SNAPSHOT jar Google Cloud billingbudgets https://github.com/googleapis/java-billingbudgets @@ -11,7 +11,7 @@ com.google.cloud google-cloud-billingbudgets-parent - 0.2.1 + 0.2.2-SNAPSHOT google-cloud-billingbudgets diff --git a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml index a33cbbb0..0e10e643 100644 --- a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT grpc-google-cloud-billingbudgets-v1beta1 GRPC library for grpc-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 0.2.1 + 0.2.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index ab13d9aa..2ad5503e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-billingbudgets-parent pom - 0.2.1 + 0.2.2-SNAPSHOT Google Cloud Billing Budgets Parent https://github.com/googleapis/java-billingbudgets @@ -82,17 +82,17 @@ com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT com.google.cloud google-cloud-billingbudgets - 0.2.1 + 0.2.2-SNAPSHOT diff --git a/proto-google-cloud-billingbudgets-v1beta1/pom.xml b/proto-google-cloud-billingbudgets-v1beta1/pom.xml index 51085530..d2a20385 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/proto-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.1 + 0.2.2-SNAPSHOT proto-google-cloud-billingbudgets-v1beta1 PROTO library for proto-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 0.2.1 + 0.2.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 3e4f1236..387ed10e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.1 -grpc-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.1 -google-cloud-billingbudgets:0.2.1:0.2.1 +proto-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.2-SNAPSHOT +grpc-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.2-SNAPSHOT +google-cloud-billingbudgets:0.2.1:0.2.2-SNAPSHOT From 62c339a8c3a57ed881807e6331208d79e90faa9d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 11 Feb 2020 20:24:27 +0100 Subject: [PATCH 03/13] deps: update core dependencies to v1.92.5 (#73) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2ad5503e..96825066 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-cloud-billingbudgets-parent - 1.92.4 + 1.92.5 1.8.1 1.17.0 1.53.1 From a73068668e48e78376739aa9123a364b28511cc8 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 11 Feb 2020 11:50:59 -0800 Subject: [PATCH 04/13] chore: only allow renovate-bot for trusted-contribution auto-labeling --- .github/trusted-contribution.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/trusted-contribution.yml diff --git a/.github/trusted-contribution.yml b/.github/trusted-contribution.yml new file mode 100644 index 00000000..f247d5c7 --- /dev/null +++ b/.github/trusted-contribution.yml @@ -0,0 +1,2 @@ +trustedContributors: +- renovate-bot \ No newline at end of file From 7cc2781b889f2a926f8e20a0791414e5d8727231 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Feb 2020 17:53:57 +0100 Subject: [PATCH 05/13] deps: update dependency com.google.protobuf:protobuf-java to v3.11.4 This PR contains the following updates: | Package | Update | Change | |---|---|---| | com.google.protobuf:protobuf-java | patch | `3.11.3` -> `3.11.4` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-billingbudgets). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 96825066..72a5ceb7 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 1.17.0 1.53.1 1.27.0 - 3.11.3 + 3.11.4 4.13 4.2 28.2-android From 42748f7481f478abc37b7cbaaebce8bf848542af Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Feb 2020 19:22:58 +0100 Subject: [PATCH 06/13] deps: update dependency io.grpc:grpc-bom to v1.27.1 This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.27.0` -> `1.27.1` | --- ### Release Notes
grpc/grpc-java ### [`v1.27.1`](https://togithub.com/grpc/grpc-java/releases/v1.27.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.27.0...v1.27.1) #### Bug Fixes - alts: Fix using the wrong way of checking if Conscrypt is available ([#​6672](https://togithub.com/grpc/grpc-java/issues/6672))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-billingbudgets). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 72a5ceb7..5e27531e 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.8.1 1.17.0 1.53.1 - 1.27.0 + 1.27.1 3.11.4 4.13 4.2 From ecfe2715852f55b7306ce5dac6f591a434ebe29d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 21 Feb 2020 15:41:12 -0800 Subject: [PATCH 07/13] chore: update common templates --- .kokoro/build.sh | 23 +++++++++++++++-------- renovate.json | 7 +++++++ synth.metadata | 22 ++++++++++++++++++---- 3 files changed, 40 insertions(+), 12 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index f1ae5840..d11958c5 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -62,14 +62,21 @@ integration) bash .kokoro/coerce_logs.sh ;; samples) - mvn -B \ - -Penable-samples \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - bash .kokoro/coerce_logs.sh + if [[ -f samples/pom.xml ]] + then + pushd samples + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + bash .kokoro/coerce_logs.sh + popd + else + echo "no sample pom.xml found - skipping sample tests" + fi ;; clirr) mvn -B -Denforcer.skip=true clirr:check diff --git a/renovate.json b/renovate.json index 268a4669..fc641270 100644 --- a/renovate.json +++ b/renovate.json @@ -54,6 +54,13 @@ "semanticCommitType": "build", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^com.google.cloud:libraries-bom" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" diff --git a/synth.metadata b/synth.metadata index bf9d2021..02a76a8d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-08T09:43:23.291071Z", + "updateTime": "2020-02-21T22:42:51.622099Z", "sources": [ { "generator": { @@ -8,13 +8,27 @@ "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" } }, + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-billingbudgets.git", + "sha": "42748f7481f478abc37b7cbaaebce8bf848542af" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e7d8a694f4559201e6913f6610069cb08b39274e", - "internalRef": "293903652", - "log": "e7d8a694f4559201e6913f6610069cb08b39274e\nDepend on the latest gapic-generator and resource names plugin.\n\nThis fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087\n\nPiperOrigin-RevId: 293903652\n\n806b2854a966d55374ee26bb0cef4e30eda17b58\nfix: correct capitalization of Ruby namespaces in SecurityCenter V1p1beta1\n\nPiperOrigin-RevId: 293903613\n\n1b83c92462b14d67a7644e2980f723112472e03a\nPublish annotations and grpc service config for Logging API.\n\nPiperOrigin-RevId: 293893514\n\ne46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585\nGenerate the Bazel build file for recommendengine public api\n\nPiperOrigin-RevId: 293710856\n\n68477017c4173c98addac0373950c6aa9d7b375f\nMake `language_code` optional for UpdateIntentRequest and BatchUpdateIntentsRequest.\n\nThe comments and proto annotations describe this parameter as optional.\n\nPiperOrigin-RevId: 293703548\n\n16f823f578bca4e845a19b88bb9bc5870ea71ab2\nAdd BUILD.bazel files for managedidentities API\n\nPiperOrigin-RevId: 293698246\n\n2f53fd8178c9a9de4ad10fae8dd17a7ba36133f2\nAdd v1p1beta1 config file\n\nPiperOrigin-RevId: 293696729\n\n052b274138fce2be80f97b6dcb83ab343c7c8812\nAdd source field for user event and add field behavior annotations\n\nPiperOrigin-RevId: 293693115\n\n1e89732b2d69151b1b3418fff3d4cc0434f0dded\ndatacatalog: v1beta1 add three new RPCs to gapic v1beta1 config\n\nPiperOrigin-RevId: 293692823\n\n9c8bd09bbdc7c4160a44f1fbab279b73cd7a2337\nchange the name of AccessApproval service to AccessApprovalAdmin\n\nPiperOrigin-RevId: 293690934\n\n2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\na8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n29d40b78e3dc1579b0b209463fbcb76e5767f72a\nExpose managedidentities/v1beta1/ API for client library usage.\n\nPiperOrigin-RevId: 292979741\n\na22129a1fb6e18056d576dfb7717aef74b63734a\nExpose managedidentities/v1/ API for client library usage.\n\nPiperOrigin-RevId: 292968186\n\n" + "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", + "internalRef": "296451205", + "log": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n3eaaaf8626ce5b0c0bc7eee05e143beffa373b01\nAdd BUILD.bazel for v1 secretmanager.googleapis.com\n\nPiperOrigin-RevId: 296274723\n\ne76149c3d992337f85eeb45643106aacae7ede82\nMove securitycenter v1 to use generate from annotations.\n\nPiperOrigin-RevId: 296266862\n\n203740c78ac69ee07c3bf6be7408048751f618f8\nAdd StackdriverLoggingConfig field to Cloud Tasks v2 API.\n\nPiperOrigin-RevId: 296256388\n\ne4117d5e9ed8bbca28da4a60a94947ca51cb2083\nCreate a Bazel BUILD file for the google.actions.type export.\n\nPiperOrigin-RevId: 296212567\n\na9639a0a9854fd6e1be08bba1ac3897f4f16cb2f\nAdd secretmanager.googleapis.com v1 protos\n\nPiperOrigin-RevId: 295983266\n\nce4f4c21d9dd2bfab18873a80449b9d9851efde8\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295861722\n\ncb61d6c2d070b589980c779b68ffca617f789116\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295855449\n\nab2685d8d3a0e191dc8aef83df36773c07cb3d06\nfix: Dataproc v1 - AutoscalingPolicy annotation\n\nThis adds the second resource name pattern to the\nAutoscalingPolicy resource.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 295738415\n\n8a1020bf6828f6e3c84c3014f2c51cb62b739140\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295286165\n\n5cfa105206e77670369e4b2225597386aba32985\nAdd service control related proto build rule.\n\nPiperOrigin-RevId: 295262088\n\nee4dddf805072004ab19ac94df2ce669046eec26\nmonitoring v3: Add prefix \"https://cloud.google.com/\" into the link for global access\ncl 295167522, get ride of synth.py hacks\n\nPiperOrigin-RevId: 295238095\n\nd9835e922ea79eed8497db270d2f9f85099a519c\nUpdate some minor docs changes about user event proto\n\nPiperOrigin-RevId: 295185610\n\n5f311e416e69c170243de722023b22f3df89ec1c\nfix: use correct PHP package name in gapic configuration\n\nPiperOrigin-RevId: 295161330\n\n6cdd74dcdb071694da6a6b5a206e3a320b62dd11\npubsub: v1 add client config annotations and retry config\n\nPiperOrigin-RevId: 295158776\n\n5169f46d9f792e2934d9fa25c36d0515b4fd0024\nAdded cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295026522\n\n56b55aa8818cd0a532a7d779f6ef337ba809ccbd\nFix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.\n\nPiperOrigin-RevId: 294931650\n\n0646bc775203077226c2c34d3e4d50cc4ec53660\nRemove unnecessary languages from bigquery-related artman configuration files.\n\nPiperOrigin-RevId: 294809380\n\n8b78aa04382e3d4147112ad6d344666771bb1909\nUpdate backend.proto for schemes and protocol\n\nPiperOrigin-RevId: 294788800\n\n80b8f8b3de2359831295e24e5238641a38d8488f\nAdds artman config files for bigquerystorage endpoints v1beta2, v1alpha2, v1\n\nPiperOrigin-RevId: 294763931\n\n2c17ac33b226194041155bb5340c3f34733f1b3a\nAdd parameter to sample generated for UpdateInstance. Related to https://github.com/googleapis/python-redis/issues/4\n\nPiperOrigin-RevId: 294734008\n\nd5e8a8953f2acdfe96fb15e85eb2f33739623957\nMove bigquery datatransfer to gapic v2.\n\nPiperOrigin-RevId: 294703703\n\nefd36705972cfcd7d00ab4c6dfa1135bafacd4ae\nfix: Add two annotations that we missed.\n\nPiperOrigin-RevId: 294664231\n\n8a36b928873ff9c05b43859b9d4ea14cd205df57\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1beta2).\n\nPiperOrigin-RevId: 294459768\n\nc7a3caa2c40c49f034a3c11079dd90eb24987047\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1).\n\nPiperOrigin-RevId: 294456889\n\n5006247aa157e59118833658084345ee59af7c09\nFix: Make deprecated fields optional\nFix: Deprecate SetLoggingServiceRequest.zone in line with the comments\nFeature: Add resource name method signatures where appropriate\n\nPiperOrigin-RevId: 294383128\n\neabba40dac05c5cbe0fca3a35761b17e372036c4\nFix: C# and PHP package/namespace capitalization for BigQuery Storage v1.\n\nPiperOrigin-RevId: 294382444\n\nf8d9a858a7a55eba8009a23aa3f5cc5fe5e88dde\nfix: artman configuration file for bigtable-admin\n\nPiperOrigin-RevId: 294322616\n\n0f29555d1cfcf96add5c0b16b089235afbe9b1a9\nAPI definition for (not-yet-launched) GCS gRPC.\n\nPiperOrigin-RevId: 294321472\n\nfcc86bee0e84dc11e9abbff8d7c3529c0626f390\nfix: Bigtable Admin v2\n\nChange LRO metadata from PartialUpdateInstanceMetadata\nto UpdateInstanceMetadata. (Otherwise, it will not build.)\n\nPiperOrigin-RevId: 294264582\n\n6d9361eae2ebb3f42d8c7ce5baf4bab966fee7c0\nrefactor: Add annotations to Bigtable Admin v2.\n\nPiperOrigin-RevId: 294243406\n\nad7616f3fc8e123451c8b3a7987bc91cea9e6913\nFix: Resource type in CreateLogMetricRequest should use logging.googleapis.com.\nFix: ListLogEntries should have a method signature for convenience of calling it.\n\nPiperOrigin-RevId: 294222165\n\n63796fcbb08712676069e20a3e455c9f7aa21026\nFix: Remove extraneous resource definition for cloudkms.googleapis.com/CryptoKey.\n\nPiperOrigin-RevId: 294176658\n\n" + } + }, + { + "git": { + "name": "synthtool", + "remote": "rpc://devrel/cloud/libraries/tools/autosynth", + "sha": "706a38c26db42299845396cdae55db635c38794a" } }, { From f3b053c38257a48c83905e24cb3ea35bfe7d3d74 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 24 Feb 2020 10:38:04 -0800 Subject: [PATCH 08/13] chore: update common templates --- .kokoro/build.sh | 24 +++++++++++++++++++++--- synth.metadata | 11 +++++------ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index d11958c5..926cf72b 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -37,19 +37,24 @@ if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTI export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) fi +RETURN_CODE=0 +set +e + case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true + RETURN_CODE=$? bash ${KOKORO_GFILE_DIR}/codecov.sh - bash .kokoro/coerce_logs.sh ;; lint) mvn \ -Penable-samples \ com.coveo:fmt-maven-plugin:check + RETURN_CODE=$? ;; javadoc) mvn javadoc:javadoc javadoc:test-javadoc + RETURN_CODE=$? ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ @@ -59,7 +64,7 @@ integration) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? ;; samples) if [[ -f samples/pom.xml ]] @@ -72,7 +77,7 @@ samples) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? popd else echo "no sample pom.xml found - skipping sample tests" @@ -80,7 +85,20 @@ samples) ;; clirr) mvn -B -Denforcer.skip=true clirr:check + RETURN_CODE=$? ;; *) ;; esac + +# fix output location of logs +bash .kokoro/coerce_logs.sh + +if [[ "${ENABLE_BUILD_COP}" == "true" ]] +then + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop + ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-billingbudgets +fi + +echo "exiting with ${RETURN_CODE}" +exit ${RETURN_CODE} \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 02a76a8d..02fcb0a4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2020-02-21T22:42:51.622099Z", + "updateTime": "2020-02-22T09:44:00.323497Z", "sources": [ { "generator": { "name": "artman", - "version": "0.45.0", - "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" + "version": "0.45.1", + "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" } }, { "git": { "name": ".", "remote": "https://github.com/googleapis/java-billingbudgets.git", - "sha": "42748f7481f478abc37b7cbaaebce8bf848542af" + "sha": "ecfe2715852f55b7306ce5dac6f591a434ebe29d" } }, { @@ -20,8 +20,7 @@ "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", - "internalRef": "296451205", - "log": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n3eaaaf8626ce5b0c0bc7eee05e143beffa373b01\nAdd BUILD.bazel for v1 secretmanager.googleapis.com\n\nPiperOrigin-RevId: 296274723\n\ne76149c3d992337f85eeb45643106aacae7ede82\nMove securitycenter v1 to use generate from annotations.\n\nPiperOrigin-RevId: 296266862\n\n203740c78ac69ee07c3bf6be7408048751f618f8\nAdd StackdriverLoggingConfig field to Cloud Tasks v2 API.\n\nPiperOrigin-RevId: 296256388\n\ne4117d5e9ed8bbca28da4a60a94947ca51cb2083\nCreate a Bazel BUILD file for the google.actions.type export.\n\nPiperOrigin-RevId: 296212567\n\na9639a0a9854fd6e1be08bba1ac3897f4f16cb2f\nAdd secretmanager.googleapis.com v1 protos\n\nPiperOrigin-RevId: 295983266\n\nce4f4c21d9dd2bfab18873a80449b9d9851efde8\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295861722\n\ncb61d6c2d070b589980c779b68ffca617f789116\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295855449\n\nab2685d8d3a0e191dc8aef83df36773c07cb3d06\nfix: Dataproc v1 - AutoscalingPolicy annotation\n\nThis adds the second resource name pattern to the\nAutoscalingPolicy resource.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 295738415\n\n8a1020bf6828f6e3c84c3014f2c51cb62b739140\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295286165\n\n5cfa105206e77670369e4b2225597386aba32985\nAdd service control related proto build rule.\n\nPiperOrigin-RevId: 295262088\n\nee4dddf805072004ab19ac94df2ce669046eec26\nmonitoring v3: Add prefix \"https://cloud.google.com/\" into the link for global access\ncl 295167522, get ride of synth.py hacks\n\nPiperOrigin-RevId: 295238095\n\nd9835e922ea79eed8497db270d2f9f85099a519c\nUpdate some minor docs changes about user event proto\n\nPiperOrigin-RevId: 295185610\n\n5f311e416e69c170243de722023b22f3df89ec1c\nfix: use correct PHP package name in gapic configuration\n\nPiperOrigin-RevId: 295161330\n\n6cdd74dcdb071694da6a6b5a206e3a320b62dd11\npubsub: v1 add client config annotations and retry config\n\nPiperOrigin-RevId: 295158776\n\n5169f46d9f792e2934d9fa25c36d0515b4fd0024\nAdded cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295026522\n\n56b55aa8818cd0a532a7d779f6ef337ba809ccbd\nFix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.\n\nPiperOrigin-RevId: 294931650\n\n0646bc775203077226c2c34d3e4d50cc4ec53660\nRemove unnecessary languages from bigquery-related artman configuration files.\n\nPiperOrigin-RevId: 294809380\n\n8b78aa04382e3d4147112ad6d344666771bb1909\nUpdate backend.proto for schemes and protocol\n\nPiperOrigin-RevId: 294788800\n\n80b8f8b3de2359831295e24e5238641a38d8488f\nAdds artman config files for bigquerystorage endpoints v1beta2, v1alpha2, v1\n\nPiperOrigin-RevId: 294763931\n\n2c17ac33b226194041155bb5340c3f34733f1b3a\nAdd parameter to sample generated for UpdateInstance. Related to https://github.com/googleapis/python-redis/issues/4\n\nPiperOrigin-RevId: 294734008\n\nd5e8a8953f2acdfe96fb15e85eb2f33739623957\nMove bigquery datatransfer to gapic v2.\n\nPiperOrigin-RevId: 294703703\n\nefd36705972cfcd7d00ab4c6dfa1135bafacd4ae\nfix: Add two annotations that we missed.\n\nPiperOrigin-RevId: 294664231\n\n8a36b928873ff9c05b43859b9d4ea14cd205df57\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1beta2).\n\nPiperOrigin-RevId: 294459768\n\nc7a3caa2c40c49f034a3c11079dd90eb24987047\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1).\n\nPiperOrigin-RevId: 294456889\n\n5006247aa157e59118833658084345ee59af7c09\nFix: Make deprecated fields optional\nFix: Deprecate SetLoggingServiceRequest.zone in line with the comments\nFeature: Add resource name method signatures where appropriate\n\nPiperOrigin-RevId: 294383128\n\neabba40dac05c5cbe0fca3a35761b17e372036c4\nFix: C# and PHP package/namespace capitalization for BigQuery Storage v1.\n\nPiperOrigin-RevId: 294382444\n\nf8d9a858a7a55eba8009a23aa3f5cc5fe5e88dde\nfix: artman configuration file for bigtable-admin\n\nPiperOrigin-RevId: 294322616\n\n0f29555d1cfcf96add5c0b16b089235afbe9b1a9\nAPI definition for (not-yet-launched) GCS gRPC.\n\nPiperOrigin-RevId: 294321472\n\nfcc86bee0e84dc11e9abbff8d7c3529c0626f390\nfix: Bigtable Admin v2\n\nChange LRO metadata from PartialUpdateInstanceMetadata\nto UpdateInstanceMetadata. (Otherwise, it will not build.)\n\nPiperOrigin-RevId: 294264582\n\n6d9361eae2ebb3f42d8c7ce5baf4bab966fee7c0\nrefactor: Add annotations to Bigtable Admin v2.\n\nPiperOrigin-RevId: 294243406\n\nad7616f3fc8e123451c8b3a7987bc91cea9e6913\nFix: Resource type in CreateLogMetricRequest should use logging.googleapis.com.\nFix: ListLogEntries should have a method signature for convenience of calling it.\n\nPiperOrigin-RevId: 294222165\n\n63796fcbb08712676069e20a3e455c9f7aa21026\nFix: Remove extraneous resource definition for cloudkms.googleapis.com/CryptoKey.\n\nPiperOrigin-RevId: 294176658\n\n" + "internalRef": "296451205" } }, { From 8b0f58e552dc51843a0484e5ceeec559d3b9b522 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 25 Feb 2020 10:21:44 -0800 Subject: [PATCH 09/13] chore: update common templates --- .kokoro/build.sh | 8 ++++++-- .kokoro/continuous/java8.cfg | 5 +++++ .kokoro/nightly/integration.cfg | 14 ++++++++++++++ .kokoro/nightly/java8.cfg | 5 +++++ .kokoro/nightly/samples.cfg | 21 +++++++++++++-------- .kokoro/presubmit/java8.cfg | 5 +++++ synth.metadata | 21 ++++----------------- 7 files changed, 52 insertions(+), 27 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 926cf72b..cab83470 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -44,7 +44,6 @@ case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? - bash ${KOKORO_GFILE_DIR}/codecov.sh ;; lint) mvn \ @@ -91,6 +90,11 @@ clirr) ;; esac +if [ "${REPORT_COVERAGE}" == "true" ] +then + bash ${KOKORO_GFILE_DIR}/codecov.sh +fi + # fix output location of logs bash .kokoro/coerce_logs.sh @@ -101,4 +105,4 @@ then fi echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} \ No newline at end of file +exit ${RETURN_CODE} diff --git a/.kokoro/continuous/java8.cfg b/.kokoro/continuous/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/continuous/java8.cfg +++ b/.kokoro/continuous/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 3b017fc8..8bf59c02 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -5,3 +5,17 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/.kokoro/nightly/java8.cfg b/.kokoro/nightly/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/nightly/java8.cfg +++ b/.kokoro/nightly/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index 9a910249..b4b051cd 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -2,23 +2,28 @@ # Configure the docker image for kokoro-trampoline. env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" } env_vars: { - key: "JOB_TYPE" - value: "samples" + key: "JOB_TYPE" + value: "samples" } env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } before_action { diff --git a/.kokoro/presubmit/java8.cfg b/.kokoro/presubmit/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/presubmit/java8.cfg +++ b/.kokoro/presubmit/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/synth.metadata b/synth.metadata index 02fcb0a4..a64e8db7 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-22T09:44:00.323497Z", + "updateTime": "2020-02-24T22:43:55.106413Z", "sources": [ { "generator": { @@ -8,26 +8,13 @@ "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" } }, - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-billingbudgets.git", - "sha": "ecfe2715852f55b7306ce5dac6f591a434ebe29d" - } - }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", - "internalRef": "296451205" - } - }, - { - "git": { - "name": "synthtool", - "remote": "rpc://devrel/cloud/libraries/tools/autosynth", - "sha": "706a38c26db42299845396cdae55db635c38794a" + "sha": "1e47e676cddbbd8d93f19ba0665af15b5532417e", + "internalRef": "296901854", + "log": "1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n" } }, { From 8c2bda6f342787a3c48ec833a8dec7cabe48277d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 25 Feb 2020 12:56:17 -0800 Subject: [PATCH 10/13] chore: generate README from templates (#83) --- .repo-metadata.json | 4 +++- README.md | 12 +++++++----- synth.py | 6 +----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index fda1b6b9..e633c275 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -10,5 +10,7 @@ "repo": "googleapis/java-billingbudgets", "repo_short": "java-billingbudgets", "distribution_name": "com.google.cloud:google-cloud-billingbudgets", - "api_id": "billingbudgets.googleapis.com" + "api_id": "billingbudgets.googleapis.com", + "transport": "grpc", + "requires_billing": true } diff --git a/README.md b/README.md index 480e09eb..9a681c42 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,12 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 3.4.0 + 4.1.1 pom import
- com.google.cloud @@ -66,7 +65,7 @@ See the [Authentication][authentication] section in the base directory's README. ### Prerequisites You will need a [Google Cloud Platform Console][developer-console] project with the Cloud Billing Budgets [API enabled][enable-api]. - +You will need to [enable billing][enable-billing] to use Google Cloud Billing Budgets. [Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by [installing the Google Cloud SDK][cloud-sdk] and running the following commands in command line: `gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`. @@ -87,6 +86,8 @@ use this Cloud Billing Budgets Client Library. + + ## Troubleshooting To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting]. @@ -156,6 +157,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] [contributing]: https://github.com/googleapis/java-billingbudgets/blob/master/CONTRIBUTING.md [code-of-conduct]: https://github.com/googleapis/java-billingbudgets/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct [license]: https://github.com/googleapis/java-billingbudgets/blob/master/LICENSE - +[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing [enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=billingbudgets.googleapis.com -[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM \ No newline at end of file +[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM +[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png diff --git a/synth.py b/synth.py index 97abd402..260792f1 100644 --- a/synth.py +++ b/synth.py @@ -33,8 +33,4 @@ gapic=gapic, ) -common_templates = gcp.CommonTemplates() -templates = common_templates.java_library() -s.copy(templates, excludes=[ - 'README.md', -]) \ No newline at end of file +java.common_templates() From 6d2c5fa4ef24ca8ab2017143b891f85860fabf28 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 2 Mar 2020 09:25:28 -0800 Subject: [PATCH 11/13] chore: update libraries-bom to 4.2.0 (#84) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/badf69d0-35e6-44bc-af51-7c1c8f83a086/targets --- README.md | 2 +- synth.metadata | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9a681c42..1ea4b0bf 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.1.1 + 4.2.0 pom import diff --git a/synth.metadata b/synth.metadata index a64e8db7..bf47fa2d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-02-24T22:43:55.106413Z", + "updateTime": "2020-02-28T20:01:33.810333Z", "sources": [ { "generator": { "name": "artman", - "version": "0.45.1", - "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" + "version": "0.46.0", + "dockerImage": "googleapis/artman@sha256:6248a21fba8f0d618c3b032669cec2618e684b66922bb70391fe08c41b05f6ee" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1e47e676cddbbd8d93f19ba0665af15b5532417e", - "internalRef": "296901854", - "log": "1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n" + "sha": "e9e90a787703ec5d388902e2cb796aaed3a385b4", + "internalRef": "297671458", + "log": "e9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n0aba1900ffef672ec5f0da677cf590ee5686e13b\ncluster: use square brace for cross-reference\n\nPiperOrigin-RevId: 297204568\n\n5dac2da18f6325cbaed54603c43f0667ecd50247\nRestore retry params in gapic config because securitycenter has non-standard default retry params.\nRestore a few retry codes for some idempotent methods.\n\nPiperOrigin-RevId: 297196720\n\n1eb61455530252bba8b2c8d4bc9832960e5a56f6\npubsub: v1 replace IAM HTTP rules\n\nPiperOrigin-RevId: 297188590\n\n80b2d25f8d43d9d47024ff06ead7f7166548a7ba\nDialogflow weekly v2/v2beta1 library update:\n - updates to mega agent api\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297187629\n\n0b1876b35e98f560f9c9ca9797955f020238a092\nUse an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.\n\nprotoc-docs-plugin >=0.4.0 (see commit https://github.com/googleapis/protoc-docs-plugin/commit/979f03ede6678c487337f3d7e88bae58df5207af) is incompatible with protobuf 3.9.1.\n\nPiperOrigin-RevId: 296986742\n\n" } }, { From 1f96e75bba041d3b8b8240be9543ddc5568328eb Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Tue, 3 Mar 2020 16:12:04 -0500 Subject: [PATCH 12/13] deps: update core dependencies (#85) --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 5e27531e..0a3049d9 100644 --- a/pom.xml +++ b/pom.xml @@ -63,11 +63,11 @@ UTF-8 github google-cloud-billingbudgets-parent - 1.92.5 + 1.93.0 1.8.1 1.17.0 - 1.53.1 - 1.27.1 + 1.54.0 + 1.27.2 3.11.4 4.13 4.2 From 8a99edd6491340d89b655e0050f46514e0691cd4 Mon Sep 17 00:00:00 2001 From: "gcf-merge-on-green[bot]" <60162190+gcf-merge-on-green[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2020 17:36:03 +0000 Subject: [PATCH 13/13] chore: release 0.2.2 (#80) :robot: I have created a release \*beep\* \*boop\* --- ### [0.2.2](https://www.github.com/googleapis/java-billingbudgets/compare/v0.2.1...v0.2.2) (2020-03-03) ### Dependencies * update core dependencies ([#85](https://www.github.com/googleapis/java-billingbudgets/issues/85)) ([1f96e75](https://www.github.com/googleapis/java-billingbudgets/commit/1f96e75bba041d3b8b8240be9543ddc5568328eb)) * update core dependencies to v1.92.5 ([#73](https://www.github.com/googleapis/java-billingbudgets/issues/73)) ([62c339a](https://www.github.com/googleapis/java-billingbudgets/commit/62c339a8c3a57ed881807e6331208d79e90faa9d)) * update dependency com.google.protobuf:protobuf-java to v3.11.4 ([7cc2781](https://www.github.com/googleapis/java-billingbudgets/commit/7cc2781b889f2a926f8e20a0791414e5d8727231)) * update dependency io.grpc:grpc-bom to v1.27.1 ([42748f7](https://www.github.com/googleapis/java-billingbudgets/commit/42748f7481f478abc37b7cbaaebce8bf848542af)) ### Documentation * **regen:** update sample code to set total timeout, add API client header test ([288299f](https://www.github.com/googleapis/java-billingbudgets/commit/288299f7414e6910095d2d62871cd6ea1e9bbb69)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 15 +++++++++++++++ README.md | 6 +++--- google-cloud-billingbudgets-bom/pom.xml | 8 ++++---- google-cloud-billingbudgets/pom.xml | 4 ++-- grpc-google-cloud-billingbudgets-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-billingbudgets-v1beta1/pom.xml | 4 ++-- versions.txt | 6 +++--- 8 files changed, 35 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b464781..7104fda0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +### [0.2.2](https://www.github.com/googleapis/java-billingbudgets/compare/v0.2.1...v0.2.2) (2020-03-03) + + +### Dependencies + +* update core dependencies ([#85](https://www.github.com/googleapis/java-billingbudgets/issues/85)) ([1f96e75](https://www.github.com/googleapis/java-billingbudgets/commit/1f96e75bba041d3b8b8240be9543ddc5568328eb)) +* update core dependencies to v1.92.5 ([#73](https://www.github.com/googleapis/java-billingbudgets/issues/73)) ([62c339a](https://www.github.com/googleapis/java-billingbudgets/commit/62c339a8c3a57ed881807e6331208d79e90faa9d)) +* update dependency com.google.protobuf:protobuf-java to v3.11.4 ([7cc2781](https://www.github.com/googleapis/java-billingbudgets/commit/7cc2781b889f2a926f8e20a0791414e5d8727231)) +* update dependency io.grpc:grpc-bom to v1.27.1 ([42748f7](https://www.github.com/googleapis/java-billingbudgets/commit/42748f7481f478abc37b7cbaaebce8bf848542af)) + + +### Documentation + +* **regen:** update sample code to set total timeout, add API client header test ([288299f](https://www.github.com/googleapis/java-billingbudgets/commit/288299f7414e6910095d2d62871cd6ea1e9bbb69)) + ### [0.2.1](https://www.github.com/googleapis/java-billingbudgets/compare/v0.2.0...v0.2.1) (2020-02-04) diff --git a/README.md b/README.md index 1ea4b0bf..53290efe 100644 --- a/README.md +++ b/README.md @@ -42,17 +42,17 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 0.2.1 + 0.2.2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-billingbudgets:0.2.1' +compile 'com.google.cloud:google-cloud-billingbudgets:0.2.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "0.2.1" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "0.2.2" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-billingbudgets-bom/pom.xml b/google-cloud-billingbudgets-bom/pom.xml index 20289c8c..c5a1af3d 100644 --- a/google-cloud-billingbudgets-bom/pom.xml +++ b/google-cloud-billingbudgets-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets-bom - 0.2.2-SNAPSHOT + 0.2.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 com.google.cloud google-cloud-billingbudgets - 0.2.2-SNAPSHOT + 0.2.2 diff --git a/google-cloud-billingbudgets/pom.xml b/google-cloud-billingbudgets/pom.xml index 7dd10cf7..0b910079 100644 --- a/google-cloud-billingbudgets/pom.xml +++ b/google-cloud-billingbudgets/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets - 0.2.2-SNAPSHOT + 0.2.2 jar Google Cloud billingbudgets https://github.com/googleapis/java-billingbudgets @@ -11,7 +11,7 @@ com.google.cloud google-cloud-billingbudgets-parent - 0.2.2-SNAPSHOT + 0.2.2 google-cloud-billingbudgets diff --git a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml index 0e10e643..77089285 100644 --- a/grpc-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/grpc-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 grpc-google-cloud-billingbudgets-v1beta1 GRPC library for grpc-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 0.2.2-SNAPSHOT + 0.2.2 diff --git a/pom.xml b/pom.xml index 0a3049d9..7bce80d0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-billingbudgets-parent pom - 0.2.2-SNAPSHOT + 0.2.2 Google Cloud Billing Budgets Parent https://github.com/googleapis/java-billingbudgets @@ -82,17 +82,17 @@ com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 com.google.cloud google-cloud-billingbudgets - 0.2.2-SNAPSHOT + 0.2.2 diff --git a/proto-google-cloud-billingbudgets-v1beta1/pom.xml b/proto-google-cloud-billingbudgets-v1beta1/pom.xml index d2a20385..6e8bd216 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/proto-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.2.2-SNAPSHOT + 0.2.2 proto-google-cloud-billingbudgets-v1beta1 PROTO library for proto-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 0.2.2-SNAPSHOT + 0.2.2 diff --git a/versions.txt b/versions.txt index 387ed10e..2054c5b4 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.2-SNAPSHOT -grpc-google-cloud-billingbudgets-v1beta1:0.2.1:0.2.2-SNAPSHOT -google-cloud-billingbudgets:0.2.1:0.2.2-SNAPSHOT +proto-google-cloud-billingbudgets-v1beta1:0.2.2:0.2.2 +grpc-google-cloud-billingbudgets-v1beta1:0.2.2:0.2.2 +google-cloud-billingbudgets:0.2.2:0.2.2