You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java
+52Lines changed: 52 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -556,6 +556,10 @@ public final UnaryCallable<GetAlertPolicyRequest, AlertPolicy> getAlertPolicyCal
556
556
/**
557
557
* Creates a new alerting policy.
558
558
*
559
+
* <p>Design your application to single-thread API calls that modify the state of alerting
560
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
561
+
* UpdateAlertPolicy.
562
+
*
559
563
* <p>Sample code:
560
564
*
561
565
* <pre>{@code
@@ -598,6 +602,10 @@ public final AlertPolicy createAlertPolicy(ResourceName name, AlertPolicy alertP
598
602
/**
599
603
* Creates a new alerting policy.
600
604
*
605
+
* <p>Design your application to single-thread API calls that modify the state of alerting
606
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
607
+
* UpdateAlertPolicy.
608
+
*
601
609
* <p>Sample code:
602
610
*
603
611
* <pre>{@code
@@ -640,6 +648,10 @@ public final AlertPolicy createAlertPolicy(OrganizationName name, AlertPolicy al
640
648
/**
641
649
* Creates a new alerting policy.
642
650
*
651
+
* <p>Design your application to single-thread API calls that modify the state of alerting
652
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
653
+
* UpdateAlertPolicy.
654
+
*
643
655
* <p>Sample code:
644
656
*
645
657
* <pre>{@code
@@ -682,6 +694,10 @@ public final AlertPolicy createAlertPolicy(ProjectName name, AlertPolicy alertPo
682
694
/**
683
695
* Creates a new alerting policy.
684
696
*
697
+
* <p>Design your application to single-thread API calls that modify the state of alerting
698
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
699
+
* UpdateAlertPolicy.
700
+
*
685
701
* <p>Sample code:
686
702
*
687
703
* <pre>{@code
@@ -721,6 +737,10 @@ public final AlertPolicy createAlertPolicy(String name, AlertPolicy alertPolicy)
721
737
/**
722
738
* Creates a new alerting policy.
723
739
*
740
+
* <p>Design your application to single-thread API calls that modify the state of alerting
741
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
742
+
* UpdateAlertPolicy.
743
+
*
724
744
* <p>Sample code:
725
745
*
726
746
* <pre>{@code
@@ -750,6 +770,10 @@ public final AlertPolicy createAlertPolicy(CreateAlertPolicyRequest request) {
750
770
/**
751
771
* Creates a new alerting policy.
752
772
*
773
+
* <p>Design your application to single-thread API calls that modify the state of alerting
774
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
775
+
* UpdateAlertPolicy.
776
+
*
753
777
* <p>Sample code:
754
778
*
755
779
* <pre>{@code
@@ -779,6 +803,10 @@ public final UnaryCallable<CreateAlertPolicyRequest, AlertPolicy> createAlertPol
779
803
/**
780
804
* Deletes an alerting policy.
781
805
*
806
+
* <p>Design your application to single-thread API calls that modify the state of alerting
807
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
808
+
* UpdateAlertPolicy.
809
+
*
782
810
* <p>Sample code:
783
811
*
784
812
* <pre>{@code
@@ -811,6 +839,10 @@ public final void deleteAlertPolicy(AlertPolicyName name) {
811
839
/**
812
840
* Deletes an alerting policy.
813
841
*
842
+
* <p>Design your application to single-thread API calls that modify the state of alerting
843
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
844
+
* UpdateAlertPolicy.
845
+
*
814
846
* <p>Sample code:
815
847
*
816
848
* <pre>{@code
@@ -840,6 +872,10 @@ public final void deleteAlertPolicy(String name) {
840
872
/**
841
873
* Deletes an alerting policy.
842
874
*
875
+
* <p>Design your application to single-thread API calls that modify the state of alerting
876
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
877
+
* UpdateAlertPolicy.
878
+
*
843
879
* <p>Sample code:
844
880
*
845
881
* <pre>{@code
@@ -870,6 +906,10 @@ public final void deleteAlertPolicy(DeleteAlertPolicyRequest request) {
870
906
/**
871
907
* Deletes an alerting policy.
872
908
*
909
+
* <p>Design your application to single-thread API calls that modify the state of alerting
910
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
911
+
* UpdateAlertPolicy.
912
+
*
873
913
* <p>Sample code:
874
914
*
875
915
* <pre>{@code
@@ -902,6 +942,10 @@ public final UnaryCallable<DeleteAlertPolicyRequest, Empty> deleteAlertPolicyCal
902
942
* only certain fields in the current alerting policy by specifying the fields to be updated via
903
943
* `updateMask`. Returns the updated alerting policy.
904
944
*
945
+
* <p>Design your application to single-thread API calls that modify the state of alerting
946
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
947
+
* UpdateAlertPolicy.
948
+
*
905
949
* <p>Sample code:
906
950
*
907
951
* <pre>{@code
@@ -952,6 +996,10 @@ public final AlertPolicy updateAlertPolicy(FieldMask updateMask, AlertPolicy ale
952
996
* only certain fields in the current alerting policy by specifying the fields to be updated via
953
997
* `updateMask`. Returns the updated alerting policy.
954
998
*
999
+
* <p>Design your application to single-thread API calls that modify the state of alerting
1000
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
1001
+
* UpdateAlertPolicy.
1002
+
*
955
1003
* <p>Sample code:
956
1004
*
957
1005
* <pre>{@code
@@ -983,6 +1031,10 @@ public final AlertPolicy updateAlertPolicy(UpdateAlertPolicyRequest request) {
983
1031
* only certain fields in the current alerting policy by specifying the fields to be updated via
984
1032
* `updateMask`. Returns the updated alerting policy.
985
1033
*
1034
+
* <p>Design your application to single-thread API calls that modify the state of alerting
1035
+
* policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and
Copy file name to clipboardExpand all lines: java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java
+66-7Lines changed: 66 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -620,7 +620,8 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor(
620
620
621
621
// AUTO-GENERATED DOCUMENTATION AND METHOD.
622
622
/**
623
-
* Lists the notification channels that have been created for the project.
623
+
* Lists the notification channels that have been created for the project. To list the types of
624
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
624
625
*
625
626
* <p>Sample code:
626
627
*
@@ -659,7 +660,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(Reso
659
660
660
661
// AUTO-GENERATED DOCUMENTATION AND METHOD.
661
662
/**
662
-
* Lists the notification channels that have been created for the project.
663
+
* Lists the notification channels that have been created for the project. To list the types of
664
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
663
665
*
664
666
* <p>Sample code:
665
667
*
@@ -699,7 +701,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(
699
701
700
702
// AUTO-GENERATED DOCUMENTATION AND METHOD.
701
703
/**
702
-
* Lists the notification channels that have been created for the project.
704
+
* Lists the notification channels that have been created for the project. To list the types of
705
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
703
706
*
704
707
* <p>Sample code:
705
708
*
@@ -738,7 +741,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(Proj
738
741
739
742
// AUTO-GENERATED DOCUMENTATION AND METHOD.
740
743
/**
741
-
* Lists the notification channels that have been created for the project.
744
+
* Lists the notification channels that have been created for the project. To list the types of
745
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
742
746
*
743
747
* <p>Sample code:
744
748
*
@@ -775,7 +779,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(Stri
775
779
776
780
// AUTO-GENERATED DOCUMENTATION AND METHOD.
777
781
/**
778
-
* Lists the notification channels that have been created for the project.
782
+
* Lists the notification channels that have been created for the project. To list the types of
783
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
779
784
*
780
785
* <p>Sample code:
781
786
*
@@ -812,7 +817,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(
812
817
813
818
// AUTO-GENERATED DOCUMENTATION AND METHOD.
814
819
/**
815
-
* Lists the notification channels that have been created for the project.
820
+
* Lists the notification channels that have been created for the project. To list the types of
821
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
816
822
*
817
823
* <p>Sample code:
818
824
*
@@ -850,7 +856,8 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(
850
856
851
857
// AUTO-GENERATED DOCUMENTATION AND METHOD.
852
858
/**
853
-
* Lists the notification channels that have been created for the project.
859
+
* Lists the notification channels that have been created for the project. To list the types of
860
+
* notification channels that are supported, use the `ListNotificationChannelDescriptors` method.
854
861
*
855
862
* <p>Sample code:
856
863
*
@@ -1039,6 +1046,10 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe
1039
1046
* Creates a new notification channel, representing a single notification endpoint such as an
1040
1047
* email address, SMS number, or PagerDuty service.
1041
1048
*
1049
+
* <p>Design your application to single-thread API calls that modify the state of notification
1050
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1051
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1052
+
*
1042
1053
* <p>Sample code:
1043
1054
*
1044
1055
* <pre>{@code
@@ -1081,6 +1092,10 @@ public final NotificationChannel createNotificationChannel(
1081
1092
* Creates a new notification channel, representing a single notification endpoint such as an
1082
1093
* email address, SMS number, or PagerDuty service.
1083
1094
*
1095
+
* <p>Design your application to single-thread API calls that modify the state of notification
1096
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1097
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1098
+
*
1084
1099
* <p>Sample code:
1085
1100
*
1086
1101
* <pre>{@code
@@ -1123,6 +1138,10 @@ public final NotificationChannel createNotificationChannel(
1123
1138
* Creates a new notification channel, representing a single notification endpoint such as an
1124
1139
* email address, SMS number, or PagerDuty service.
1125
1140
*
1141
+
* <p>Design your application to single-thread API calls that modify the state of notification
1142
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1143
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1144
+
*
1126
1145
* <p>Sample code:
1127
1146
*
1128
1147
* <pre>{@code
@@ -1165,6 +1184,10 @@ public final NotificationChannel createNotificationChannel(
1165
1184
* Creates a new notification channel, representing a single notification endpoint such as an
1166
1185
* email address, SMS number, or PagerDuty service.
1167
1186
*
1187
+
* <p>Design your application to single-thread API calls that modify the state of notification
1188
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1189
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1190
+
*
1168
1191
* <p>Sample code:
1169
1192
*
1170
1193
* <pre>{@code
@@ -1207,6 +1230,10 @@ public final NotificationChannel createNotificationChannel(
1207
1230
* Creates a new notification channel, representing a single notification endpoint such as an
1208
1231
* email address, SMS number, or PagerDuty service.
1209
1232
*
1233
+
* <p>Design your application to single-thread API calls that modify the state of notification
1234
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1235
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1236
+
*
1210
1237
* <p>Sample code:
1211
1238
*
1212
1239
* <pre>{@code
@@ -1240,6 +1267,10 @@ public final NotificationChannel createNotificationChannel(
1240
1267
* Creates a new notification channel, representing a single notification endpoint such as an
1241
1268
* email address, SMS number, or PagerDuty service.
1242
1269
*
1270
+
* <p>Design your application to single-thread API calls that modify the state of notification
1271
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1272
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1273
+
*
1243
1274
* <p>Sample code:
1244
1275
*
1245
1276
* <pre>{@code
@@ -1271,6 +1302,10 @@ public final NotificationChannel createNotificationChannel(
1271
1302
/**
1272
1303
* Updates a notification channel. Fields not specified in the field mask remain unchanged.
1273
1304
*
1305
+
* <p>Design your application to single-thread API calls that modify the state of notification
1306
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1307
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1308
+
*
1274
1309
* <p>Sample code:
1275
1310
*
1276
1311
* <pre>{@code
@@ -1309,6 +1344,10 @@ public final NotificationChannel updateNotificationChannel(
1309
1344
/**
1310
1345
* Updates a notification channel. Fields not specified in the field mask remain unchanged.
1311
1346
*
1347
+
* <p>Design your application to single-thread API calls that modify the state of notification
1348
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1349
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1350
+
*
1312
1351
* <p>Sample code:
1313
1352
*
1314
1353
* <pre>{@code
@@ -1341,6 +1380,10 @@ public final NotificationChannel updateNotificationChannel(
1341
1380
/**
1342
1381
* Updates a notification channel. Fields not specified in the field mask remain unchanged.
1343
1382
*
1383
+
* <p>Design your application to single-thread API calls that modify the state of notification
1384
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1385
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1386
+
*
1344
1387
* <p>Sample code:
1345
1388
*
1346
1389
* <pre>{@code
@@ -1372,6 +1415,10 @@ public final NotificationChannel updateNotificationChannel(
1372
1415
/**
1373
1416
* Deletes a notification channel.
1374
1417
*
1418
+
* <p>Design your application to single-thread API calls that modify the state of notification
1419
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1420
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1421
+
*
1375
1422
* <p>Sample code:
1376
1423
*
1377
1424
* <pre>{@code
@@ -1411,6 +1458,10 @@ public final void deleteNotificationChannel(NotificationChannelName name, boolea
1411
1458
/**
1412
1459
* Deletes a notification channel.
1413
1460
*
1461
+
* <p>Design your application to single-thread API calls that modify the state of notification
1462
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1463
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1464
+
*
1414
1465
* <p>Sample code:
1415
1466
*
1416
1467
* <pre>{@code
@@ -1448,6 +1499,10 @@ public final void deleteNotificationChannel(String name, boolean force) {
1448
1499
/**
1449
1500
* Deletes a notification channel.
1450
1501
*
1502
+
* <p>Design your application to single-thread API calls that modify the state of notification
1503
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1504
+
* DeleteNotificationChannel and UpdateNotificationChannel.
1505
+
*
1451
1506
* <p>Sample code:
1452
1507
*
1453
1508
* <pre>{@code
@@ -1481,6 +1536,10 @@ public final void deleteNotificationChannel(DeleteNotificationChannelRequest req
1481
1536
/**
1482
1537
* Deletes a notification channel.
1483
1538
*
1539
+
* <p>Design your application to single-thread API calls that modify the state of notification
1540
+
* channels in a single project. This includes calls to CreateNotificationChannel,
1541
+
* DeleteNotificationChannel and UpdateNotificationChannel.
0 commit comments