Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 9335faa

Browse files
docs(regen): regenerate with proto annotations (#54)
Co-authored-by: Jeff Ching <chingor@google.com>
1 parent df1fb93 commit 9335faa

File tree

124 files changed

+5221
-3150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+5221
-3150
lines changed

google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public AlertPolicyServiceStub getStub() {
184184
* }
185185
* </code></pre>
186186
*
187-
* @param name The project whose alert policies are to be listed. The format is
187+
* @param name Required. The project whose alert policies are to be listed. The format is
188188
* <p>projects/[PROJECT_ID]
189189
* <p>Note that this field names the parent container in which the alerting policies to be
190190
* listed are stored. To retrieve a single alerting policy by name, use the
@@ -215,7 +215,7 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ProjectName name)
215215
* }
216216
* </code></pre>
217217
*
218-
* @param name The project whose alert policies are to be listed. The format is
218+
* @param name Required. The project whose alert policies are to be listed. The format is
219219
* <p>projects/[PROJECT_ID]
220220
* <p>Note that this field names the parent container in which the alerting policies to be
221221
* listed are stored. To retrieve a single alerting policy by name, use the
@@ -323,7 +323,7 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ListAlertPoliciesR
323323
* }
324324
* </code></pre>
325325
*
326-
* @param name The alerting policy to retrieve. The format is
326+
* @param name Required. The alerting policy to retrieve. The format is
327327
* <p>projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
328328
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
329329
*/
@@ -346,7 +346,7 @@ public final AlertPolicy getAlertPolicy(AlertPolicyName name) {
346346
* }
347347
* </code></pre>
348348
*
349-
* @param name The alerting policy to retrieve. The format is
349+
* @param name Required. The alerting policy to retrieve. The format is
350350
* <p>projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
351351
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
352352
*/
@@ -414,14 +414,14 @@ public final UnaryCallable<GetAlertPolicyRequest, AlertPolicy> getAlertPolicyCal
414414
* }
415415
* </code></pre>
416416
*
417-
* @param name The project in which to create the alerting policy. The format is
417+
* @param name Required. The project in which to create the alerting policy. The format is
418418
* `projects/[PROJECT_ID]`.
419419
* <p>Note that this field names the parent container in which the alerting policy will be
420420
* written, not the name of the created policy. The alerting policy that is returned will have
421421
* a name that contains a normalized representation of this name as a prefix but adds a suffix
422422
* of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
423-
* @param alertPolicy The requested alerting policy. You should omit the `name` field in this
424-
* policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
423+
* @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
424+
* this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
425425
* value.
426426
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
427427
*/
@@ -448,14 +448,14 @@ public final AlertPolicy createAlertPolicy(ProjectName name, AlertPolicy alertPo
448448
* }
449449
* </code></pre>
450450
*
451-
* @param name The project in which to create the alerting policy. The format is
451+
* @param name Required. The project in which to create the alerting policy. The format is
452452
* `projects/[PROJECT_ID]`.
453453
* <p>Note that this field names the parent container in which the alerting policy will be
454454
* written, not the name of the created policy. The alerting policy that is returned will have
455455
* a name that contains a normalized representation of this name as a prefix but adds a suffix
456456
* of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
457-
* @param alertPolicy The requested alerting policy. You should omit the `name` field in this
458-
* policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
457+
* @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
458+
* this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
459459
* value.
460460
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
461461
*/
@@ -527,7 +527,7 @@ public final UnaryCallable<CreateAlertPolicyRequest, AlertPolicy> createAlertPol
527527
* }
528528
* </code></pre>
529529
*
530-
* @param name The alerting policy to delete. The format is:
530+
* @param name Required. The alerting policy to delete. The format is:
531531
* <p>projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
532532
* <p>For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
533533
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -553,7 +553,7 @@ public final void deleteAlertPolicy(AlertPolicyName name) {
553553
* }
554554
* </code></pre>
555555
*
556-
* @param name The alerting policy to delete. The format is:
556+
* @param name Required. The alerting policy to delete. The format is:
557557
* <p>projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
558558
* <p>For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
559559
* @throws com.google.api.gax.rpc.ApiException if the remote call fails

google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java

+16-16
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public GroupServiceStub getStub() {
187187
* }
188188
* </code></pre>
189189
*
190-
* @param name The project whose groups are to be listed. The format is
190+
* @param name Required. The project whose groups are to be listed. The format is
191191
* `"projects/{project_id_or_number}"`.
192192
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
193193
*/
@@ -212,7 +212,7 @@ public final ListGroupsPagedResponse listGroups(ProjectName name) {
212212
* }
213213
* </code></pre>
214214
*
215-
* @param name The project whose groups are to be listed. The format is
215+
* @param name Required. The project whose groups are to be listed. The format is
216216
* `"projects/{project_id_or_number}"`.
217217
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
218218
*/
@@ -314,7 +314,7 @@ public final UnaryCallable<ListGroupsRequest, ListGroupsResponse> listGroupsCall
314314
* }
315315
* </code></pre>
316316
*
317-
* @param name The group to retrieve. The format is
317+
* @param name Required. The group to retrieve. The format is
318318
* `"projects/{project_id_or_number}/groups/{group_id}"`.
319319
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
320320
*/
@@ -337,7 +337,7 @@ public final Group getGroup(GroupName name) {
337337
* }
338338
* </code></pre>
339339
*
340-
* @param name The group to retrieve. The format is
340+
* @param name Required. The group to retrieve. The format is
341341
* `"projects/{project_id_or_number}/groups/{group_id}"`.
342342
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
343343
*/
@@ -405,10 +405,10 @@ public final UnaryCallable<GetGroupRequest, Group> getGroupCallable() {
405405
* }
406406
* </code></pre>
407407
*
408-
* @param name The project in which to create the group. The format is
408+
* @param name Required. The project in which to create the group. The format is
409409
* `"projects/{project_id_or_number}"`.
410-
* @param group A group definition. It is an error to define the `name` field because the system
411-
* assigns the name.
410+
* @param group Required. A group definition. It is an error to define the `name` field because
411+
* the system assigns the name.
412412
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
413413
*/
414414
public final Group createGroup(ProjectName name, Group group) {
@@ -434,10 +434,10 @@ public final Group createGroup(ProjectName name, Group group) {
434434
* }
435435
* </code></pre>
436436
*
437-
* @param name The project in which to create the group. The format is
437+
* @param name Required. The project in which to create the group. The format is
438438
* `"projects/{project_id_or_number}"`.
439-
* @param group A group definition. It is an error to define the `name` field because the system
440-
* assigns the name.
439+
* @param group Required. A group definition. It is an error to define the `name` field because
440+
* the system assigns the name.
441441
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
442442
*/
443443
public final Group createGroup(String name, Group group) {
@@ -508,8 +508,8 @@ public final UnaryCallable<CreateGroupRequest, Group> createGroupCallable() {
508508
* }
509509
* </code></pre>
510510
*
511-
* @param group The new definition of the group. All fields of the existing group, excepting
512-
* `name`, are replaced with the corresponding fields of this group.
511+
* @param group Required. The new definition of the group. All fields of the existing group,
512+
* excepting `name`, are replaced with the corresponding fields of this group.
513513
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
514514
*/
515515
public final Group updateGroup(Group group) {
@@ -575,7 +575,7 @@ public final UnaryCallable<UpdateGroupRequest, Group> updateGroupCallable() {
575575
* }
576576
* </code></pre>
577577
*
578-
* @param name The group to delete. The format is
578+
* @param name Required. The group to delete. The format is
579579
* `"projects/{project_id_or_number}/groups/{group_id}"`.
580580
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
581581
*/
@@ -598,7 +598,7 @@ public final void deleteGroup(GroupName name) {
598598
* }
599599
* </code></pre>
600600
*
601-
* @param name The group to delete. The format is
601+
* @param name Required. The group to delete. The format is
602602
* `"projects/{project_id_or_number}/groups/{group_id}"`.
603603
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
604604
*/
@@ -667,7 +667,7 @@ public final UnaryCallable<DeleteGroupRequest, Empty> deleteGroupCallable() {
667667
* }
668668
* </code></pre>
669669
*
670-
* @param name The group whose members are listed. The format is
670+
* @param name Required. The group whose members are listed. The format is
671671
* `"projects/{project_id_or_number}/groups/{group_id}"`.
672672
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
673673
*/
@@ -692,7 +692,7 @@ public final ListGroupMembersPagedResponse listGroupMembers(GroupName name) {
692692
* }
693693
* </code></pre>
694694
*
695-
* @param name The group whose members are listed. The format is
695+
* @param name Required. The group whose members are listed. The format is
696696
* `"projects/{project_id_or_number}/groups/{group_id}"`.
697697
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
698698
*/

0 commit comments

Comments
 (0)