@@ -190,7 +190,7 @@ public PublisherStub getStub() {
190
190
* }
191
191
* </code></pre>
192
192
*
193
- * @param name The name of the topic. It must have the format
193
+ * @param name Required. The name of the topic. It must have the format
194
194
* `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only
195
195
* letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
196
196
* tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
@@ -217,7 +217,7 @@ public final Topic createTopic(ProjectTopicName name) {
217
217
* }
218
218
* </code></pre>
219
219
*
220
- * @param name The name of the topic. It must have the format
220
+ * @param name Required. The name of the topic. It must have the format
221
221
* `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only
222
222
* letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
223
223
* tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
@@ -345,9 +345,9 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
345
345
* }
346
346
* </code></pre>
347
347
*
348
- * @param topic The messages in the request will be published on this topic. Format is
348
+ * @param topic Required. The messages in the request will be published on this topic. Format is
349
349
* `projects/{project}/topics/{topic}`.
350
- * @param messages The messages to publish.
350
+ * @param messages Required. The messages to publish.
351
351
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
352
352
*/
353
353
/* package-private */ final PublishResponse publish (
@@ -378,9 +378,9 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
378
378
* }
379
379
* </code></pre>
380
380
*
381
- * @param topic The messages in the request will be published on this topic. Format is
381
+ * @param topic Required. The messages in the request will be published on this topic. Format is
382
382
* `projects/{project}/topics/{topic}`.
383
- * @param messages The messages to publish.
383
+ * @param messages Required. The messages to publish.
384
384
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
385
385
*/
386
386
/* package-private */ final PublishResponse publish (String topic , List <PubsubMessage > messages ) {
@@ -459,7 +459,8 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
459
459
* }
460
460
* </code></pre>
461
461
*
462
- * @param topic The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
462
+ * @param topic Required. The name of the topic to get. Format is
463
+ * `projects/{project}/topics/{topic}`.
463
464
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
464
465
*/
465
466
public final Topic getTopic (ProjectTopicName topic ) {
@@ -481,7 +482,8 @@ public final Topic getTopic(ProjectTopicName topic) {
481
482
* }
482
483
* </code></pre>
483
484
*
484
- * @param topic The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
485
+ * @param topic Required. The name of the topic to get. Format is
486
+ * `projects/{project}/topics/{topic}`.
485
487
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
486
488
*/
487
489
public final Topic getTopic (String topic ) {
@@ -549,7 +551,7 @@ public final UnaryCallable<GetTopicRequest, Topic> getTopicCallable() {
549
551
* }
550
552
* </code></pre>
551
553
*
552
- * @param project The name of the project in which to list topics. Format is
554
+ * @param project Required. The name of the project in which to list topics. Format is
553
555
* `projects/{project-id}`.
554
556
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
555
557
*/
@@ -576,7 +578,7 @@ public final ListTopicsPagedResponse listTopics(ProjectName project) {
576
578
* }
577
579
* </code></pre>
578
580
*
579
- * @param project The name of the project in which to list topics. Format is
581
+ * @param project Required. The name of the project in which to list topics. Format is
580
582
* `projects/{project-id}`.
581
583
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
582
584
*/
@@ -680,7 +682,7 @@ public final UnaryCallable<ListTopicsRequest, ListTopicsResponse> listTopicsCall
680
682
* }
681
683
* </code></pre>
682
684
*
683
- * @param topic The name of the topic that subscriptions are attached to. Format is
685
+ * @param topic Required. The name of the topic that subscriptions are attached to. Format is
684
686
* `projects/{project}/topics/{topic}`.
685
687
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
686
688
*/
@@ -707,7 +709,7 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(ProjectT
707
709
* }
708
710
* </code></pre>
709
711
*
710
- * @param topic The name of the topic that subscriptions are attached to. Format is
712
+ * @param topic Required. The name of the topic that subscriptions are attached to. Format is
711
713
* `projects/{project}/topics/{topic}`.
712
714
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
713
715
*/
@@ -816,7 +818,8 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(
816
818
* }
817
819
* </code></pre>
818
820
*
819
- * @param topic Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
821
+ * @param topic Required. Name of the topic to delete. Format is
822
+ * `projects/{project}/topics/{topic}`.
820
823
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
821
824
*/
822
825
public final void deleteTopic (ProjectTopicName topic ) {
@@ -841,7 +844,8 @@ public final void deleteTopic(ProjectTopicName topic) {
841
844
* }
842
845
* </code></pre>
843
846
*
844
- * @param topic Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
847
+ * @param topic Required. Name of the topic to delete. Format is
848
+ * `projects/{project}/topics/{topic}`.
845
849
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
846
850
*/
847
851
public final void deleteTopic (String topic ) {
@@ -904,6 +908,8 @@ public final UnaryCallable<DeleteTopicRequest, Empty> deleteTopicCallable() {
904
908
/**
905
909
* Sets the access control policy on the specified resource. Replaces any existing policy.
906
910
*
911
+ * <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
912
+ *
907
913
* <p>Sample code:
908
914
*
909
915
* <pre><code>
@@ -931,6 +937,8 @@ public final Policy setIamPolicy(String resource, Policy policy) {
931
937
/**
932
938
* Sets the access control policy on the specified resource. Replaces any existing policy.
933
939
*
940
+ * <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
941
+ *
934
942
* <p>Sample code:
935
943
*
936
944
* <pre><code>
@@ -956,6 +964,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
956
964
/**
957
965
* Sets the access control policy on the specified resource. Replaces any existing policy.
958
966
*
967
+ * <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
968
+ *
959
969
* <p>Sample code:
960
970
*
961
971
* <pre><code>
0 commit comments