| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e9eafe4 commit 52991fe
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,3 +27,6 @@ before_action { | |||
| 27 | 27 | } | |
| 28 | 28 | } | |
| 29 | 29 | } | |
| 30 | + | ||
| 31 | + # Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/<doclet name> | ||
| 32 | + gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -417,6 +417,7 @@ public final Subscription createSubscription(Subscription request) { | |||
| 417 | 417 | * @deprecated Use {@link #createSubscription(ProjectSubscriptionName, TopicName, PushConfig, | |
| 418 | 418 | * int)} instead. | |
| 419 | 419 | */ | |
| 420 | + @Deprecated | ||
| 420 | 421 | public final Subscription createSubscription( | |
| 421 | 422 | ProjectSubscriptionName name, | |
| 422 | 423 | ProjectTopicName topic, | |
@@ -2118,10 +2119,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { | |||
| 2118 | 2119 | * <p>Sample code: | |
| 2119 | 2120 | * | |
| 2120 | 2121 | * <pre><code> | |
| 2121 | - * try (SubscriptionAdminClient topicAdminClient = SubscriptionAdminClient.create()) { | ||
| 2122 | + * try (SubscriptionAdminClient subscriptionAdminClient = SubscriptionAdminClient.create()) { | ||
| 2122 | 2123 | * String formattedResource = ProjectTopicName.format("[PROJECT]", "[TOPIC]"); | |
| 2123 | 2124 | * Policy policy = Policy.newBuilder().build(); | |
| 2124 | - * Policy response = topicAdminClient.setIamPolicy(formattedResource, policy); | ||
| 2125 | + * Policy response = subscriptionAdminClient.setIamPolicy(formattedResource, policy); | ||
| 2125 | 2126 | * } | |
| 2126 | 2127 | * </code></pre> | |
| 2127 | 2128 | * | |
@@ -2133,6 +2134,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { | |||
| 2133 | 2134 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 2134 | 2135 | * @deprecated Use {@link #setIamPolicy(SetIamPolicyRequest)} instead. | |
| 2135 | 2136 | */ | |
| 2137 | + @Deprecated | ||
| 2136 | 2138 | public final Policy setIamPolicy(String resource, Policy policy) { | |
| 2137 | 2139 | SetIamPolicyRequest request = | |
| 2138 | 2140 | SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); | |
@@ -2197,9 +2199,9 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { | |||
| 2197 | 2199 | * <p>Sample code: | |
| 2198 | 2200 | * | |
| 2199 | 2201 | * <pre><code> | |
| 2200 | - * try (SubscriptionAdminClient topicAdminClient = SubscriptionAdminClient.create()) { | ||
| 2202 | + * try (SubscriptionAdminClient subscriptionAdminClient = SubscriptionAdminClient.create()) { | ||
| 2201 | 2203 | * String formattedResource = ProjectTopicName.format("[PROJECT]", "[TOPIC]"); | |
| 2202 | - * Policy response = topicAdminClient.getIamPolicy(formattedResource); | ||
| 2204 | + * Policy response = subscriptionAdminClient.getIamPolicy(formattedResource); | ||
| 2203 | 2205 | * } | |
| 2204 | 2206 | * </code></pre> | |
| 2205 | 2207 | * | |
@@ -2208,6 +2210,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { | |||
| 2208 | 2210 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 2209 | 2211 | * @deprecated Use {@link #getIamPolicy(GetIamPolicyRequest)} instead. | |
| 2210 | 2212 | */ | |
| 2213 | + @Deprecated | ||
| 2211 | 2214 | public final Policy getIamPolicy(String resource) { | |
| 2212 | 2215 | GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); | |
| 2213 | 2216 | return getIamPolicy(request); | |
@@ -2278,10 +2281,10 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq | |||
| 2278 | 2281 | * <p>Sample code: | |
| 2279 | 2282 | * | |
| 2280 | 2283 | * <pre><code> | |
| 2281 | - * try (SubscriptionAdminClient topicAdminClient = SubscriptionAdminClient.create()) { | ||
| 2284 | + * try (SubscriptionAdminClient subscriptionAdminClient = SubscriptionAdminClient.create()) { | ||
| 2282 | 2285 | * String formattedResource = ProjectTopicName.format("[PROJECT]", "[TOPIC]"); | |
| 2283 | 2286 | * List<String> permissions = new ArrayList<>(); | |
| 2284 | - * TestIamPermissionsResponse response = topicAdminClient.testIamPermissions(formattedResource, permissions); | ||
| 2287 | + * TestIamPermissionsResponse response = subscriptionAdminClient.testIamPermissions(formattedResource, permissions); | ||
| 2285 | 2288 | * } | |
| 2286 | 2289 | * </code></pre> | |
| 2287 | 2290 | * | |
@@ -2293,6 +2296,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq | |||
| 2293 | 2296 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 2294 | 2297 | * @deprecated Use {@link #testIamPermissions(TestIamPermissionsRequest)} instead. | |
| 2295 | 2298 | */ | |
| 2299 | + @Deprecated | ||
| 2296 | 2300 | public final TestIamPermissionsResponse testIamPermissions( | |
| 2297 | 2301 | String resource, List<String> permissions) { | |
| 2298 | 2302 | TestIamPermissionsRequest request = | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -255,6 +255,7 @@ public final Topic createTopic(String name) { | |||
| 255 | 255 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 256 | 256 | * @deprecated Use {@link #createTopic(TopicName)} instead. | |
| 257 | 257 | */ | |
| 258 | + @Deprecated | ||
| 258 | 259 | public final Topic createTopic(ProjectTopicName name) { | |
| 259 | 260 | Topic request = Topic.newBuilder().setName(name == null ? null : name.toString()).build(); | |
| 260 | 261 | return createTopic(request); | |
@@ -538,6 +539,7 @@ public final Topic getTopic(String topic) { | |||
| 538 | 539 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 539 | 540 | * @deprecated Use {@link #getTopic(TopicName)} instead. | |
| 540 | 541 | */ | |
| 542 | + @Deprecated | ||
| 541 | 543 | public final Topic getTopic(ProjectTopicName topic) { | |
| 542 | 544 | GetTopicRequest request = | |
| 543 | 545 | GetTopicRequest.newBuilder().setTopic(topic == null ? null : topic.toString()).build(); | |
@@ -792,6 +794,7 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(String t | |||
| 792 | 794 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 793 | 795 | * @deprecated Use {@link #listTopicSubscriptions(TopicName)} instead. | |
| 794 | 796 | */ | |
| 797 | + @Deprecated | ||
| 795 | 798 | public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(ProjectTopicName topic) { | |
| 796 | 799 | ListTopicSubscriptionsRequest request = | |
| 797 | 800 | ListTopicSubscriptionsRequest.newBuilder() | |
@@ -1106,6 +1109,7 @@ public final void deleteTopic(String topic) { | |||
| 1106 | 1109 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 1107 | 1110 | * @deprecated Use {@link #deleteTopic(TopicName)} instead. | |
| 1108 | 1111 | */ | |
| 1112 | + @Deprecated | ||
| 1109 | 1113 | public final void deleteTopic(ProjectTopicName topic) { | |
| 1110 | 1114 | DeleteTopicRequest request = | |
| 1111 | 1115 | DeleteTopicRequest.newBuilder().setTopic(topic == null ? null : topic.toString()).build(); | |
@@ -1214,6 +1218,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { | |||
| 1214 | 1218 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 1215 | 1219 | * @deprecated Use {@link #setIamPolicy(SetIamPolicyRequest)} instead. | |
| 1216 | 1220 | */ | |
| 1221 | + @Deprecated | ||
| 1217 | 1222 | public final Policy setIamPolicy(String resource, Policy policy) { | |
| 1218 | 1223 | SetIamPolicyRequest request = | |
| 1219 | 1224 | SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); | |
@@ -1289,6 +1294,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { | |||
| 1289 | 1294 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 1290 | 1295 | * @deprecated Use {@link #getIamPolicy(GetIamPolicyRequest)} instead. | |
| 1291 | 1296 | */ | |
| 1297 | + @Deprecated | ||
| 1292 | 1298 | public final Policy getIamPolicy(String resource) { | |
| 1293 | 1299 | GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); | |
| 1294 | 1300 | return getIamPolicy(request); | |
@@ -1374,6 +1380,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq | |||
| 1374 | 1380 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails | |
| 1375 | 1381 | * @deprecated Use {@link #testIamPermissions(TestIamPermissionsRequest)} instead. | |
| 1376 | 1382 | */ | |
| 1383 | + @Deprecated | ||
| 1377 | 1384 | public final TestIamPermissionsResponse testIamPermissions( | |
| 1378 | 1385 | String resource, List<String> permissions) { | |
| 1379 | 1386 | TestIamPermissionsRequest request = | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ | |||
| 4 | 4 | "git": { | |
| 5 | 5 | "name": ".", | |
| 6 | 6 | "remote": "https://github.com/googleapis/java-pubsub.git", | |
| 7 | - "sha": "ad3b82d029f2ef4098f2f1fa9fd2878e969e50fb" | ||
| 7 | + "sha": "d30c26c008a1f642d89985b5cc42377547a782a9" | ||
| 8 | 8 | } | |
| 9 | 9 | }, | |
| 10 | 10 | { | |
@@ -19,7 +19,7 @@ | |||
| 19 | 19 | "git": { | |
| 20 | 20 | "name": "synthtool", | |
| 21 | 21 | "remote": "https://github.com/googleapis/synthtool.git", | |
| 22 | - "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" | ||
| 22 | + "sha": "3816b080296d4d52975079fd26c110dd26ba25af" | ||
| 23 | 23 | } | |
| 24 | 24 | } | |
| 25 | 25 | ], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments