| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ce7cb09 commit ab60afa
34 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,7 +37,7 @@ jobs: | |||
| 37 | 37 | with: | |
| 38 | 38 | fetch-depth: 0 | |
| 39 | 39 | token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} | |
| 40 | - - uses: googleapis/sdk-platform-java/.github/scripts@v2.62.3 | ||
| 40 | + - uses: googleapis/sdk-platform-java/.github/scripts@v2.63.0 | ||
| 41 | 41 | if: env.SHOULD_RUN == 'true' | |
| 42 | 42 | with: | |
| 43 | 43 | base_ref: ${{ github.base_ref }} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # Configure the docker image for kokoro-trampoline. | |
| 4 | 4 | env_vars: { | |
| 5 | 5 | key: "TRAMPOLINE_IMAGE" | |
| 6 | - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.52.3" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 6 | + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 7 | 7 | } | |
| 8 | 8 | ||
| 9 | 9 | env_vars: { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # Configure the docker image for kokoro-trampoline. | |
| 4 | 4 | env_vars: { | |
| 5 | 5 | key: "TRAMPOLINE_IMAGE" | |
| 6 | - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.52.3" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 6 | + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 7 | 7 | } | |
| 8 | 8 | ||
| 9 | 9 | env_vars: { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # Configure the docker image for kokoro-trampoline. | |
| 4 | 4 | env_vars: { | |
| 5 | 5 | key: "TRAMPOLINE_IMAGE" | |
| 6 | - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.52.3" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 6 | + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} | ||
| 7 | 7 | } | |
| 8 | 8 | ||
| 9 | 9 | env_vars: { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: | |||
| 51 | 51 | If you are using Gradle 5.x or later, add this to your dependencies: | |
| 52 | 52 | ||
| 53 | 53 | ```Groovy | |
| 54 | - implementation platform('com.google.cloud:libraries-bom:26.69.0') | ||
| 54 | + implementation platform('com.google.cloud:libraries-bom:26.70.0') | ||
| 55 | 55 | ||
| 56 | 56 | implementation 'com.google.cloud:google-cloud-pubsub' | |
| 57 | 57 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | - gapic_generator_version: 2.62.3 | ||
| 2 | - googleapis_commitish: 6e79e73204aed17b11e724beebb9cf11f36ea57d | ||
| 3 | - libraries_bom_version: 26.69.0 | ||
| 1 | + gapic_generator_version: 2.63.0 | ||
| 2 | + googleapis_commitish: c288189b43c016dd3cf1ec73ce3cadee8b732f07 | ||
| 3 | + libraries_bom_version: 26.70.0 | ||
| 4 | 4 | libraries: | |
| 5 | 5 | - api_shortname: pubsub | |
| 6 | 6 | name_pretty: Cloud Pub/Sub | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -881,6 +881,7 @@ public final Subscription createSubscription( | |||
| 881 | 881 | * .setAnalyticsHubSubscriptionInfo( | |
| 882 | 882 | * Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 883 | 883 | * .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 884 | + * .putAllTags(new HashMap<String, String>()) | ||
| 884 | 885 | * .build(); | |
| 885 | 886 | * Subscription response = subscriptionAdminClient.createSubscription(request); | |
| 886 | 887 | * } | |
@@ -1147,6 +1148,7 @@ public final Subscription createSubscription( | |||
| 1147 | 1148 | * .setAnalyticsHubSubscriptionInfo( | |
| 1148 | 1149 | * Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 1149 | 1150 | * .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 1151 | + * .putAllTags(new HashMap<String, String>()) | ||
| 1150 | 1152 | * .build(); | |
| 1151 | 1153 | * ApiFuture<Subscription> future = | |
| 1152 | 1154 | * subscriptionAdminClient.createSubscriptionCallable().futureCall(request); | |
@@ -3181,6 +3183,7 @@ public final Snapshot createSnapshot(String name, String subscription) { | |||
| 3181 | 3183 | * .setName(SnapshotName.of("[PROJECT]", "[SNAPSHOT]").toString()) | |
| 3182 | 3184 | * .setSubscription(SubscriptionName.of("[PROJECT]", "[SUBSCRIPTION]").toString()) | |
| 3183 | 3185 | * .putAllLabels(new HashMap<String, String>()) | |
| 3186 | + * .putAllTags(new HashMap<String, String>()) | ||
| 3184 | 3187 | * .build(); | |
| 3185 | 3188 | * Snapshot response = subscriptionAdminClient.createSnapshot(request); | |
| 3186 | 3189 | * } | |
@@ -3373,6 +3376,7 @@ public final Snapshot createSnapshot(ProjectSnapshotName name, String subscripti | |||
| 3373 | 3376 | * .setName(SnapshotName.of("[PROJECT]", "[SNAPSHOT]").toString()) | |
| 3374 | 3377 | * .setSubscription(SubscriptionName.of("[PROJECT]", "[SUBSCRIPTION]").toString()) | |
| 3375 | 3378 | * .putAllLabels(new HashMap<String, String>()) | |
| 3379 | + * .putAllTags(new HashMap<String, String>()) | ||
| 3376 | 3380 | * .build(); | |
| 3377 | 3381 | * ApiFuture<Snapshot> future = | |
| 3378 | 3382 | * subscriptionAdminClient.createSnapshotCallable().futureCall(request); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -511,12 +511,15 @@ public final Topic createTopic(ProjectTopicName name) { | |||
| 511 | 511 | * .setName(TopicName.ofProjectTopicName("[PROJECT]", "[TOPIC]").toString()) | |
| 512 | 512 | * .putAllLabels(new HashMap<String, String>()) | |
| 513 | 513 | * .setMessageStoragePolicy(MessageStoragePolicy.newBuilder().build()) | |
| 514 | - * .setKmsKeyName("kmsKeyName412586233") | ||
| 514 | + * .setKmsKeyName( | ||
| 515 | + * CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") | ||
| 516 | + * .toString()) | ||
| 515 | 517 | * .setSchemaSettings(SchemaSettings.newBuilder().build()) | |
| 516 | 518 | * .setSatisfiesPzs(true) | |
| 517 | 519 | * .setMessageRetentionDuration(Duration.newBuilder().build()) | |
| 518 | 520 | * .setIngestionDataSourceSettings(IngestionDataSourceSettings.newBuilder().build()) | |
| 519 | 521 | * .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 522 | + * .putAllTags(new HashMap<String, String>()) | ||
| 520 | 523 | * .build(); | |
| 521 | 524 | * Topic response = topicAdminClient.createTopic(request); | |
| 522 | 525 | * } | |
@@ -548,12 +551,15 @@ public final Topic createTopic(Topic request) { | |||
| 548 | 551 | * .setName(TopicName.ofProjectTopicName("[PROJECT]", "[TOPIC]").toString()) | |
| 549 | 552 | * .putAllLabels(new HashMap<String, String>()) | |
| 550 | 553 | * .setMessageStoragePolicy(MessageStoragePolicy.newBuilder().build()) | |
| 551 | - * .setKmsKeyName("kmsKeyName412586233") | ||
| 554 | + * .setKmsKeyName( | ||
| 555 | + * CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") | ||
| 556 | + * .toString()) | ||
| 552 | 557 | * .setSchemaSettings(SchemaSettings.newBuilder().build()) | |
| 553 | 558 | * .setSatisfiesPzs(true) | |
| 554 | 559 | * .setMessageRetentionDuration(Duration.newBuilder().build()) | |
| 555 | 560 | * .setIngestionDataSourceSettings(IngestionDataSourceSettings.newBuilder().build()) | |
| 556 | 561 | * .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 562 | + * .putAllTags(new HashMap<String, String>()) | ||
| 557 | 563 | * .build(); | |
| 558 | 564 | * ApiFuture<Topic> future = topicAdminClient.createTopicCallable().futureCall(request); | |
| 559 | 565 | * // Do something. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -135,6 +135,7 @@ public void createSubscriptionTest() throws Exception { | |||
| 135 | 135 | .setAnalyticsHubSubscriptionInfo( | |
| 136 | 136 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 137 | 137 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 138 | + .putAllTags(new HashMap<String, String>()) | ||
| 138 | 139 | .build(); | |
| 139 | 140 | mockService.addResponse(expectedResponse); | |
| 140 | 141 | ||
@@ -205,6 +206,7 @@ public void createSubscriptionTest2() throws Exception { | |||
| 205 | 206 | .setAnalyticsHubSubscriptionInfo( | |
| 206 | 207 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 207 | 208 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 209 | + .putAllTags(new HashMap<String, String>()) | ||
| 208 | 210 | .build(); | |
| 209 | 211 | mockService.addResponse(expectedResponse); | |
| 210 | 212 | ||
@@ -275,6 +277,7 @@ public void createSubscriptionTest3() throws Exception { | |||
| 275 | 277 | .setAnalyticsHubSubscriptionInfo( | |
| 276 | 278 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 277 | 279 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 280 | + .putAllTags(new HashMap<String, String>()) | ||
| 278 | 281 | .build(); | |
| 279 | 282 | mockService.addResponse(expectedResponse); | |
| 280 | 283 | ||
@@ -345,6 +348,7 @@ public void createSubscriptionTest4() throws Exception { | |||
| 345 | 348 | .setAnalyticsHubSubscriptionInfo( | |
| 346 | 349 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 347 | 350 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 351 | + .putAllTags(new HashMap<String, String>()) | ||
| 348 | 352 | .build(); | |
| 349 | 353 | mockService.addResponse(expectedResponse); | |
| 350 | 354 | ||
@@ -415,6 +419,7 @@ public void getSubscriptionTest() throws Exception { | |||
| 415 | 419 | .setAnalyticsHubSubscriptionInfo( | |
| 416 | 420 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 417 | 421 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 422 | + .putAllTags(new HashMap<String, String>()) | ||
| 418 | 423 | .build(); | |
| 419 | 424 | mockService.addResponse(expectedResponse); | |
| 420 | 425 | ||
@@ -478,6 +483,7 @@ public void getSubscriptionTest2() throws Exception { | |||
| 478 | 483 | .setAnalyticsHubSubscriptionInfo( | |
| 479 | 484 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 480 | 485 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 486 | + .putAllTags(new HashMap<String, String>()) | ||
| 481 | 487 | .build(); | |
| 482 | 488 | mockService.addResponse(expectedResponse); | |
| 483 | 489 | ||
@@ -541,6 +547,7 @@ public void updateSubscriptionTest() throws Exception { | |||
| 541 | 547 | .setAnalyticsHubSubscriptionInfo( | |
| 542 | 548 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 543 | 549 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 550 | + .putAllTags(new HashMap<String, String>()) | ||
| 544 | 551 | .build(); | |
| 545 | 552 | mockService.addResponse(expectedResponse); | |
| 546 | 553 | ||
@@ -566,6 +573,7 @@ public void updateSubscriptionTest() throws Exception { | |||
| 566 | 573 | .setAnalyticsHubSubscriptionInfo( | |
| 567 | 574 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 568 | 575 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 576 | + .putAllTags(new HashMap<String, String>()) | ||
| 569 | 577 | .build(); | |
| 570 | 578 | FieldMask updateMask = FieldMask.newBuilder().build(); | |
| 571 | 579 | ||
@@ -617,6 +625,7 @@ public void updateSubscriptionExceptionTest() throws Exception { | |||
| 617 | 625 | .setAnalyticsHubSubscriptionInfo( | |
| 618 | 626 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 619 | 627 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 628 | + .putAllTags(new HashMap<String, String>()) | ||
| 620 | 629 | .build(); | |
| 621 | 630 | FieldMask updateMask = FieldMask.newBuilder().build(); | |
| 622 | 631 | client.updateSubscription(subscription, updateMask); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -161,6 +161,7 @@ public void createSubscriptionTest() throws Exception { | |||
| 161 | 161 | .setAnalyticsHubSubscriptionInfo( | |
| 162 | 162 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 163 | 163 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 164 | + .putAllTags(new HashMap<String, String>()) | ||
| 164 | 165 | .build(); | |
| 165 | 166 | mockSubscriber.addResponse(expectedResponse); | |
| 166 | 167 | ||
@@ -228,6 +229,7 @@ public void createSubscriptionTest2() throws Exception { | |||
| 228 | 229 | .setAnalyticsHubSubscriptionInfo( | |
| 229 | 230 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 230 | 231 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 232 | + .putAllTags(new HashMap<String, String>()) | ||
| 231 | 233 | .build(); | |
| 232 | 234 | mockSubscriber.addResponse(expectedResponse); | |
| 233 | 235 | ||
@@ -295,6 +297,7 @@ public void createSubscriptionTest3() throws Exception { | |||
| 295 | 297 | .setAnalyticsHubSubscriptionInfo( | |
| 296 | 298 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 297 | 299 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 300 | + .putAllTags(new HashMap<String, String>()) | ||
| 298 | 301 | .build(); | |
| 299 | 302 | mockSubscriber.addResponse(expectedResponse); | |
| 300 | 303 | ||
@@ -362,6 +365,7 @@ public void createSubscriptionTest4() throws Exception { | |||
| 362 | 365 | .setAnalyticsHubSubscriptionInfo( | |
| 363 | 366 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 364 | 367 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 368 | + .putAllTags(new HashMap<String, String>()) | ||
| 365 | 369 | .build(); | |
| 366 | 370 | mockSubscriber.addResponse(expectedResponse); | |
| 367 | 371 | ||
@@ -429,6 +433,7 @@ public void getSubscriptionTest() throws Exception { | |||
| 429 | 433 | .setAnalyticsHubSubscriptionInfo( | |
| 430 | 434 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 431 | 435 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 436 | + .putAllTags(new HashMap<String, String>()) | ||
| 432 | 437 | .build(); | |
| 433 | 438 | mockSubscriber.addResponse(expectedResponse); | |
| 434 | 439 | ||
@@ -486,6 +491,7 @@ public void getSubscriptionTest2() throws Exception { | |||
| 486 | 491 | .setAnalyticsHubSubscriptionInfo( | |
| 487 | 492 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 488 | 493 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 494 | + .putAllTags(new HashMap<String, String>()) | ||
| 489 | 495 | .build(); | |
| 490 | 496 | mockSubscriber.addResponse(expectedResponse); | |
| 491 | 497 | ||
@@ -543,6 +549,7 @@ public void updateSubscriptionTest() throws Exception { | |||
| 543 | 549 | .setAnalyticsHubSubscriptionInfo( | |
| 544 | 550 | Subscription.AnalyticsHubSubscriptionInfo.newBuilder().build()) | |
| 545 | 551 | .addAllMessageTransforms(new ArrayList<MessageTransform>()) | |
| 552 | + .putAllTags(new HashMap<String, String>()) | ||
| 546 | 553 | .build(); | |
| 547 | 554 | mockSubscriber.addResponse(expectedResponse); | |
| 548 | 555 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments