@@ -156,6 +156,13 @@ async def get_occurrence(
156
156
157
157
.. code-block:: python
158
158
159
+ # This snippet has been automatically generated and should be regarded as a
160
+ # code template only.
161
+ # It will require modifications to work:
162
+ # - It may require correct/in-range values for request initialization.
163
+ # - It may require specifying regional endpoints when creating the service
164
+ # client as shown in:
165
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
159
166
from grafeas import grafeas_v1
160
167
161
168
async def sample_get_occurrence():
@@ -261,6 +268,13 @@ async def list_occurrences(
261
268
262
269
.. code-block:: python
263
270
271
+ # This snippet has been automatically generated and should be regarded as a
272
+ # code template only.
273
+ # It will require modifications to work:
274
+ # - It may require correct/in-range values for request initialization.
275
+ # - It may require specifying regional endpoints when creating the service
276
+ # client as shown in:
277
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
264
278
from grafeas import grafeas_v1
265
279
266
280
async def sample_list_occurrences():
@@ -386,6 +400,13 @@ async def delete_occurrence(
386
400
387
401
.. code-block:: python
388
402
403
+ # This snippet has been automatically generated and should be regarded as a
404
+ # code template only.
405
+ # It will require modifications to work:
406
+ # - It may require correct/in-range values for request initialization.
407
+ # - It may require specifying regional endpoints when creating the service
408
+ # client as shown in:
409
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
389
410
from grafeas import grafeas_v1
390
411
391
412
async def sample_delete_occurrence():
@@ -479,6 +500,13 @@ async def create_occurrence(
479
500
480
501
.. code-block:: python
481
502
503
+ # This snippet has been automatically generated and should be regarded as a
504
+ # code template only.
505
+ # It will require modifications to work:
506
+ # - It may require correct/in-range values for request initialization.
507
+ # - It may require specifying regional endpoints when creating the service
508
+ # client as shown in:
509
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
482
510
from grafeas import grafeas_v1
483
511
484
512
async def sample_create_occurrence():
@@ -582,6 +610,13 @@ async def batch_create_occurrences(
582
610
583
611
.. code-block:: python
584
612
613
+ # This snippet has been automatically generated and should be regarded as a
614
+ # code template only.
615
+ # It will require modifications to work:
616
+ # - It may require correct/in-range values for request initialization.
617
+ # - It may require specifying regional endpoints when creating the service
618
+ # client as shown in:
619
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
585
620
from grafeas import grafeas_v1
586
621
587
622
async def sample_batch_create_occurrences():
@@ -689,6 +724,13 @@ async def update_occurrence(
689
724
690
725
.. code-block:: python
691
726
727
+ # This snippet has been automatically generated and should be regarded as a
728
+ # code template only.
729
+ # It will require modifications to work:
730
+ # - It may require correct/in-range values for request initialization.
731
+ # - It may require specifying regional endpoints when creating the service
732
+ # client as shown in:
733
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
692
734
from grafeas import grafeas_v1
693
735
694
736
async def sample_update_occurrence():
@@ -799,6 +841,13 @@ async def get_occurrence_note(
799
841
800
842
.. code-block:: python
801
843
844
+ # This snippet has been automatically generated and should be regarded as a
845
+ # code template only.
846
+ # It will require modifications to work:
847
+ # - It may require correct/in-range values for request initialization.
848
+ # - It may require specifying regional endpoints when creating the service
849
+ # client as shown in:
850
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
802
851
from grafeas import grafeas_v1
803
852
804
853
async def sample_get_occurrence_note():
@@ -904,6 +953,13 @@ async def get_note(
904
953
905
954
.. code-block:: python
906
955
956
+ # This snippet has been automatically generated and should be regarded as a
957
+ # code template only.
958
+ # It will require modifications to work:
959
+ # - It may require correct/in-range values for request initialization.
960
+ # - It may require specifying regional endpoints when creating the service
961
+ # client as shown in:
962
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
907
963
from grafeas import grafeas_v1
908
964
909
965
async def sample_get_note():
@@ -1009,6 +1065,13 @@ async def list_notes(
1009
1065
1010
1066
.. code-block:: python
1011
1067
1068
+ # This snippet has been automatically generated and should be regarded as a
1069
+ # code template only.
1070
+ # It will require modifications to work:
1071
+ # - It may require correct/in-range values for request initialization.
1072
+ # - It may require specifying regional endpoints when creating the service
1073
+ # client as shown in:
1074
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1012
1075
from grafeas import grafeas_v1
1013
1076
1014
1077
async def sample_list_notes():
@@ -1132,6 +1195,13 @@ async def delete_note(
1132
1195
1133
1196
.. code-block:: python
1134
1197
1198
+ # This snippet has been automatically generated and should be regarded as a
1199
+ # code template only.
1200
+ # It will require modifications to work:
1201
+ # - It may require correct/in-range values for request initialization.
1202
+ # - It may require specifying regional endpoints when creating the service
1203
+ # client as shown in:
1204
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1135
1205
from grafeas import grafeas_v1
1136
1206
1137
1207
async def sample_delete_note():
@@ -1226,6 +1296,13 @@ async def create_note(
1226
1296
1227
1297
.. code-block:: python
1228
1298
1299
+ # This snippet has been automatically generated and should be regarded as a
1300
+ # code template only.
1301
+ # It will require modifications to work:
1302
+ # - It may require correct/in-range values for request initialization.
1303
+ # - It may require specifying regional endpoints when creating the service
1304
+ # client as shown in:
1305
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1229
1306
from grafeas import grafeas_v1
1230
1307
1231
1308
async def sample_create_note():
@@ -1337,6 +1414,13 @@ async def batch_create_notes(
1337
1414
1338
1415
.. code-block:: python
1339
1416
1417
+ # This snippet has been automatically generated and should be regarded as a
1418
+ # code template only.
1419
+ # It will require modifications to work:
1420
+ # - It may require correct/in-range values for request initialization.
1421
+ # - It may require specifying regional endpoints when creating the service
1422
+ # client as shown in:
1423
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1340
1424
from grafeas import grafeas_v1
1341
1425
1342
1426
async def sample_batch_create_notes():
@@ -1442,6 +1526,13 @@ async def update_note(
1442
1526
1443
1527
.. code-block:: python
1444
1528
1529
+ # This snippet has been automatically generated and should be regarded as a
1530
+ # code template only.
1531
+ # It will require modifications to work:
1532
+ # - It may require correct/in-range values for request initialization.
1533
+ # - It may require specifying regional endpoints when creating the service
1534
+ # client as shown in:
1535
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1445
1536
from grafeas import grafeas_v1
1446
1537
1447
1538
async def sample_update_note():
@@ -1554,6 +1645,13 @@ async def list_note_occurrences(
1554
1645
1555
1646
.. code-block:: python
1556
1647
1648
+ # This snippet has been automatically generated and should be regarded as a
1649
+ # code template only.
1650
+ # It will require modifications to work:
1651
+ # - It may require correct/in-range values for request initialization.
1652
+ # - It may require specifying regional endpoints when creating the service
1653
+ # client as shown in:
1654
+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
1557
1655
from grafeas import grafeas_v1
1558
1656
1559
1657
async def sample_list_note_occurrences():
0 commit comments