@@ -259,6 +259,13 @@ async def create_certificate( |
259 | 259 |
|
260 | 260 | .. code-block:: python |
261 | 261 |
|
| 262 | + # This snippet has been automatically generated and should be regarded as a |
| 263 | + # code template only. |
| 264 | + # It will require modifications to work: |
| 265 | + # - It may require correct/in-range values for request initialization. |
| 266 | + # - It may require specifying regional endpoints when creating the service |
| 267 | + # client as shown in: |
| 268 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
262 | 269 | from google.cloud.security import privateca_v1beta1 |
263 | 270 |
|
264 | 271 | async def sample_create_certificate(): |
@@ -387,6 +394,13 @@ async def get_certificate( |
387 | 394 |
|
388 | 395 | .. code-block:: python |
389 | 396 |
|
| 397 | + # This snippet has been automatically generated and should be regarded as a |
| 398 | + # code template only. |
| 399 | + # It will require modifications to work: |
| 400 | + # - It may require correct/in-range values for request initialization. |
| 401 | + # - It may require specifying regional endpoints when creating the service |
| 402 | + # client as shown in: |
| 403 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
390 | 404 | from google.cloud.security import privateca_v1beta1 |
391 | 405 |
|
392 | 406 | async def sample_get_certificate(): |
@@ -486,6 +500,13 @@ async def list_certificates( |
486 | 500 |
|
487 | 501 | .. code-block:: python |
488 | 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 |
489 | 510 | from google.cloud.security import privateca_v1beta1 |
490 | 511 |
|
491 | 512 | async def sample_list_certificates(): |
@@ -598,6 +619,13 @@ async def revoke_certificate( |
598 | 619 |
|
599 | 620 | .. code-block:: python |
600 | 621 |
|
| 622 | + # This snippet has been automatically generated and should be regarded as a |
| 623 | + # code template only. |
| 624 | + # It will require modifications to work: |
| 625 | + # - It may require correct/in-range values for request initialization. |
| 626 | + # - It may require specifying regional endpoints when creating the service |
| 627 | + # client as shown in: |
| 628 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
601 | 629 | from google.cloud.security import privateca_v1beta1 |
602 | 630 |
|
603 | 631 | async def sample_revoke_certificate(): |
@@ -701,6 +729,13 @@ async def update_certificate( |
701 | 729 |
|
702 | 730 | .. code-block:: python |
703 | 731 |
|
| 732 | + # This snippet has been automatically generated and should be regarded as a |
| 733 | + # code template only. |
| 734 | + # It will require modifications to work: |
| 735 | + # - It may require correct/in-range values for request initialization. |
| 736 | + # - It may require specifying regional endpoints when creating the service |
| 737 | + # client as shown in: |
| 738 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
704 | 739 | from google.cloud.security import privateca_v1beta1 |
705 | 740 |
|
706 | 741 | async def sample_update_certificate(): |
@@ -820,6 +855,13 @@ async def activate_certificate_authority( |
820 | 855 |
|
821 | 856 | .. code-block:: python |
822 | 857 |
|
| 858 | + # This snippet has been automatically generated and should be regarded as a |
| 859 | + # code template only. |
| 860 | + # It will require modifications to work: |
| 861 | + # - It may require correct/in-range values for request initialization. |
| 862 | + # - It may require specifying regional endpoints when creating the service |
| 863 | + # client as shown in: |
| 864 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
823 | 865 | from google.cloud.security import privateca_v1beta1 |
824 | 866 |
|
825 | 867 | async def sample_activate_certificate_authority(): |
@@ -943,6 +985,13 @@ async def create_certificate_authority( |
943 | 985 |
|
944 | 986 | .. code-block:: python |
945 | 987 |
|
| 988 | + # This snippet has been automatically generated and should be regarded as a |
| 989 | + # code template only. |
| 990 | + # It will require modifications to work: |
| 991 | + # - It may require correct/in-range values for request initialization. |
| 992 | + # - It may require specifying regional endpoints when creating the service |
| 993 | + # client as shown in: |
| 994 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
946 | 995 | from google.cloud.security import privateca_v1beta1 |
947 | 996 |
|
948 | 997 | async def sample_create_certificate_authority(): |
@@ -1087,6 +1136,13 @@ async def disable_certificate_authority( |
1087 | 1136 |
|
1088 | 1137 | .. code-block:: python |
1089 | 1138 |
|
| 1139 | + # This snippet has been automatically generated and should be regarded as a |
| 1140 | + # code template only. |
| 1141 | + # It will require modifications to work: |
| 1142 | + # - It may require correct/in-range values for request initialization. |
| 1143 | + # - It may require specifying regional endpoints when creating the service |
| 1144 | + # client as shown in: |
| 1145 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1090 | 1146 | from google.cloud.security import privateca_v1beta1 |
1091 | 1147 |
|
1092 | 1148 | async def sample_disable_certificate_authority(): |
@@ -1202,6 +1258,13 @@ async def enable_certificate_authority( |
1202 | 1258 |
|
1203 | 1259 | .. code-block:: python |
1204 | 1260 |
|
| 1261 | + # This snippet has been automatically generated and should be regarded as a |
| 1262 | + # code template only. |
| 1263 | + # It will require modifications to work: |
| 1264 | + # - It may require correct/in-range values for request initialization. |
| 1265 | + # - It may require specifying regional endpoints when creating the service |
| 1266 | + # client as shown in: |
| 1267 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1205 | 1268 | from google.cloud.security import privateca_v1beta1 |
1206 | 1269 |
|
1207 | 1270 | async def sample_enable_certificate_authority(): |
@@ -1326,6 +1389,13 @@ async def fetch_certificate_authority_csr( |
1326 | 1389 |
|
1327 | 1390 | .. code-block:: python |
1328 | 1391 |
|
| 1392 | + # This snippet has been automatically generated and should be regarded as a |
| 1393 | + # code template only. |
| 1394 | + # It will require modifications to work: |
| 1395 | + # - It may require correct/in-range values for request initialization. |
| 1396 | + # - It may require specifying regional endpoints when creating the service |
| 1397 | + # client as shown in: |
| 1398 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1329 | 1399 | from google.cloud.security import privateca_v1beta1 |
1330 | 1400 |
|
1331 | 1401 | async def sample_fetch_certificate_authority_csr(): |
@@ -1424,6 +1494,13 @@ async def get_certificate_authority( |
1424 | 1494 |
|
1425 | 1495 | .. code-block:: python |
1426 | 1496 |
|
| 1497 | + # This snippet has been automatically generated and should be regarded as a |
| 1498 | + # code template only. |
| 1499 | + # It will require modifications to work: |
| 1500 | + # - It may require correct/in-range values for request initialization. |
| 1501 | + # - It may require specifying regional endpoints when creating the service |
| 1502 | + # client as shown in: |
| 1503 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1427 | 1504 | from google.cloud.security import privateca_v1beta1 |
1428 | 1505 |
|
1429 | 1506 | async def sample_get_certificate_authority(): |
@@ -1526,6 +1603,13 @@ async def list_certificate_authorities( |
1526 | 1603 |
|
1527 | 1604 | .. code-block:: python |
1528 | 1605 |
|
| 1606 | + # This snippet has been automatically generated and should be regarded as a |
| 1607 | + # code template only. |
| 1608 | + # It will require modifications to work: |
| 1609 | + # - It may require correct/in-range values for request initialization. |
| 1610 | + # - It may require specifying regional endpoints when creating the service |
| 1611 | + # client as shown in: |
| 1612 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1529 | 1613 | from google.cloud.security import privateca_v1beta1 |
1530 | 1614 |
|
1531 | 1615 | async def sample_list_certificate_authorities(): |
@@ -1638,6 +1722,13 @@ async def restore_certificate_authority( |
1638 | 1722 |
|
1639 | 1723 | .. code-block:: python |
1640 | 1724 |
|
| 1725 | + # This snippet has been automatically generated and should be regarded as a |
| 1726 | + # code template only. |
| 1727 | + # It will require modifications to work: |
| 1728 | + # - It may require correct/in-range values for request initialization. |
| 1729 | + # - It may require specifying regional endpoints when creating the service |
| 1730 | + # client as shown in: |
| 1731 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1641 | 1732 | from google.cloud.security import privateca_v1beta1 |
1642 | 1733 |
|
1643 | 1734 | async def sample_restore_certificate_authority(): |
@@ -1754,6 +1845,13 @@ async def schedule_delete_certificate_authority( |
1754 | 1845 |
|
1755 | 1846 | .. code-block:: python |
1756 | 1847 |
|
| 1848 | + # This snippet has been automatically generated and should be regarded as a |
| 1849 | + # code template only. |
| 1850 | + # It will require modifications to work: |
| 1851 | + # - It may require correct/in-range values for request initialization. |
| 1852 | + # - It may require specifying regional endpoints when creating the service |
| 1853 | + # client as shown in: |
| 1854 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1757 | 1855 | from google.cloud.security import privateca_v1beta1 |
1758 | 1856 |
|
1759 | 1857 | async def sample_schedule_delete_certificate_authority(): |
@@ -1870,6 +1968,13 @@ async def update_certificate_authority( |
1870 | 1968 |
|
1871 | 1969 | .. code-block:: python |
1872 | 1970 |
|
| 1971 | + # This snippet has been automatically generated and should be regarded as a |
| 1972 | + # code template only. |
| 1973 | + # It will require modifications to work: |
| 1974 | + # - It may require correct/in-range values for request initialization. |
| 1975 | + # - It may require specifying regional endpoints when creating the service |
| 1976 | + # client as shown in: |
| 1977 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
1873 | 1978 | from google.cloud.security import privateca_v1beta1 |
1874 | 1979 |
|
1875 | 1980 | async def sample_update_certificate_authority(): |
@@ -2001,6 +2106,13 @@ async def get_certificate_revocation_list( |
2001 | 2106 |
|
2002 | 2107 | .. code-block:: python |
2003 | 2108 |
|
| 2109 | + # This snippet has been automatically generated and should be regarded as a |
| 2110 | + # code template only. |
| 2111 | + # It will require modifications to work: |
| 2112 | + # - It may require correct/in-range values for request initialization. |
| 2113 | + # - It may require specifying regional endpoints when creating the service |
| 2114 | + # client as shown in: |
| 2115 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
2004 | 2116 | from google.cloud.security import privateca_v1beta1 |
2005 | 2117 |
|
2006 | 2118 | async def sample_get_certificate_revocation_list(): |
@@ -2102,6 +2214,13 @@ async def list_certificate_revocation_lists( |
2102 | 2214 |
|
2103 | 2215 | .. code-block:: python |
2104 | 2216 |
|
| 2217 | + # This snippet has been automatically generated and should be regarded as a |
| 2218 | + # code template only. |
| 2219 | + # It will require modifications to work: |
| 2220 | + # - It may require correct/in-range values for request initialization. |
| 2221 | + # - It may require specifying regional endpoints when creating the service |
| 2222 | + # client as shown in: |
| 2223 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
2105 | 2224 | from google.cloud.security import privateca_v1beta1 |
2106 | 2225 |
|
2107 | 2226 | async def sample_list_certificate_revocation_lists(): |
@@ -2215,6 +2334,13 @@ async def update_certificate_revocation_list( |
2215 | 2334 |
|
2216 | 2335 | .. code-block:: python |
2217 | 2336 |
|
| 2337 | + # This snippet has been automatically generated and should be regarded as a |
| 2338 | + # code template only. |
| 2339 | + # It will require modifications to work: |
| 2340 | + # - It may require correct/in-range values for request initialization. |
| 2341 | + # - It may require specifying regional endpoints when creating the service |
| 2342 | + # client as shown in: |
| 2343 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
2218 | 2344 | from google.cloud.security import privateca_v1beta1 |
2219 | 2345 |
|
2220 | 2346 | async def sample_update_certificate_revocation_list(): |
@@ -2343,6 +2469,13 @@ async def get_reusable_config( |
2343 | 2469 |
|
2344 | 2470 | .. code-block:: python |
2345 | 2471 |
|
| 2472 | + # This snippet has been automatically generated and should be regarded as a |
| 2473 | + # code template only. |
| 2474 | + # It will require modifications to work: |
| 2475 | + # - It may require correct/in-range values for request initialization. |
| 2476 | + # - It may require specifying regional endpoints when creating the service |
| 2477 | + # client as shown in: |
| 2478 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
2346 | 2479 | from google.cloud.security import privateca_v1beta1 |
2347 | 2480 |
|
2348 | 2481 | async def sample_get_reusable_config(): |
@@ -2442,6 +2575,13 @@ async def list_reusable_configs( |
2442 | 2575 |
|
2443 | 2576 | .. code-block:: python |
2444 | 2577 |
|
| 2578 | + # This snippet has been automatically generated and should be regarded as a |
| 2579 | + # code template only. |
| 2580 | + # It will require modifications to work: |
| 2581 | + # - It may require correct/in-range values for request initialization. |
| 2582 | + # - It may require specifying regional endpoints when creating the service |
| 2583 | + # client as shown in: |
| 2584 | + # https://googleapis.dev/python/google-api-core/latest/client_options.html |
2445 | 2585 | from google.cloud.security import privateca_v1beta1 |
2446 | 2586 |
|
2447 | 2587 | async def sample_list_reusable_configs(): |
|