Skip to content

Commit ee8357c

Browse files
chore: use gapic-generator-python 0.63.4 (#283)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
1 parent 709ee63 commit ee8357c

File tree

153 files changed

+720
-792
lines changed

Some content is hidden

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

153 files changed

+720
-792
lines changed

packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/services/security_center/async_client.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ async def bulk_mute_findings(
273273
the filter will be muted after the LRO is done.
274274
275275
276-
.. code-block::
276+
.. code-block:: python
277277
278278
from google.cloud import securitycenter_v1
279279
@@ -388,7 +388,7 @@ async def create_source(
388388
) -> gcs_source.Source:
389389
r"""Creates a source.
390390
391-
.. code-block::
391+
.. code-block:: python
392392
393393
from google.cloud import securitycenter_v1
394394
@@ -496,7 +496,7 @@ async def create_finding(
496496
exist for finding creation to succeed.
497497
498498
499-
.. code-block::
499+
.. code-block:: python
500500
501501
from google.cloud import securitycenter_v1
502502
@@ -619,7 +619,7 @@ async def create_mute_config(
619619
) -> gcs_mute_config.MuteConfig:
620620
r"""Creates a mute config.
621621
622-
.. code-block::
622+
.. code-block:: python
623623
624624
from google.cloud import securitycenter_v1
625625
@@ -742,7 +742,7 @@ async def create_notification_config(
742742
) -> gcs_notification_config.NotificationConfig:
743743
r"""Creates a notification config.
744744
745-
.. code-block::
745+
.. code-block:: python
746746
747747
from google.cloud import securitycenter_v1
748748
@@ -861,7 +861,7 @@ async def delete_mute_config(
861861
) -> None:
862862
r"""Deletes an existing mute config.
863863
864-
.. code-block::
864+
.. code-block:: python
865865
866866
from google.cloud import securitycenter_v1
867867
@@ -945,7 +945,7 @@ async def delete_notification_config(
945945
) -> None:
946946
r"""Deletes a notification config.
947947
948-
.. code-block::
948+
.. code-block:: python
949949
950950
from google.cloud import securitycenter_v1
951951
@@ -1028,7 +1028,7 @@ async def get_iam_policy(
10281028
Source.
10291029
10301030
1031-
.. code-block::
1031+
.. code-block:: python
10321032
10331033
from google.cloud import securitycenter_v1
10341034
@@ -1183,7 +1183,7 @@ async def get_mute_config(
11831183
) -> mute_config.MuteConfig:
11841184
r"""Gets a mute config.
11851185
1186-
.. code-block::
1186+
.. code-block:: python
11871187
11881188
from google.cloud import securitycenter_v1
11891189
@@ -1279,7 +1279,7 @@ async def get_notification_config(
12791279
) -> notification_config.NotificationConfig:
12801280
r"""Gets a notification config.
12811281
1282-
.. code-block::
1282+
.. code-block:: python
12831283
12841284
from google.cloud import securitycenter_v1
12851285
@@ -1386,7 +1386,7 @@ async def get_organization_settings(
13861386
) -> organization_settings.OrganizationSettings:
13871387
r"""Gets the settings for an organization.
13881388
1389-
.. code-block::
1389+
.. code-block:: python
13901390
13911391
from google.cloud import securitycenter_v1
13921392
@@ -1488,7 +1488,7 @@ async def get_source(
14881488
) -> source.Source:
14891489
r"""Gets a source.
14901490
1491-
.. code-block::
1491+
.. code-block:: python
14921492
14931493
from google.cloud import securitycenter_v1
14941494
@@ -1594,7 +1594,7 @@ async def group_assets(
15941594
their specified properties.
15951595
15961596
1597-
.. code-block::
1597+
.. code-block:: python
15981598
15991599
from google.cloud import securitycenter_v1
16001600
@@ -1692,7 +1692,7 @@ async def group_findings(
16921692
/v1/projects/{project_id}/sources/-/findings
16931693
16941694
1695-
.. code-block::
1695+
.. code-block:: python
16961696
16971697
from google.cloud import securitycenter_v1
16981698
@@ -1832,7 +1832,7 @@ async def list_assets(
18321832
) -> pagers.ListAssetsAsyncPager:
18331833
r"""Lists an organization's assets.
18341834
1835-
.. code-block::
1835+
.. code-block:: python
18361836
18371837
from google.cloud import securitycenter_v1
18381838
@@ -1922,7 +1922,7 @@ async def list_findings(
19221922
Example: /v1/organizations/{organization_id}/sources/-/findings
19231923
19241924
1925-
.. code-block::
1925+
.. code-block:: python
19261926
19271927
from google.cloud import securitycenter_v1
19281928
@@ -2011,7 +2011,7 @@ async def list_mute_configs(
20112011
) -> pagers.ListMuteConfigsAsyncPager:
20122012
r"""Lists mute configs.
20132013
2014-
.. code-block::
2014+
.. code-block:: python
20152015
20162016
from google.cloud import securitycenter_v1
20172017
@@ -2116,7 +2116,7 @@ async def list_notification_configs(
21162116
) -> pagers.ListNotificationConfigsAsyncPager:
21172117
r"""Lists notification configs.
21182118
2119-
.. code-block::
2119+
.. code-block:: python
21202120
21212121
from google.cloud import securitycenter_v1
21222122
@@ -2227,7 +2227,7 @@ async def list_sources(
22272227
) -> pagers.ListSourcesAsyncPager:
22282228
r"""Lists all sources belonging to an organization.
22292229
2230-
.. code-block::
2230+
.. code-block:: python
22312231
22322232
from google.cloud import securitycenter_v1
22332233
@@ -2343,7 +2343,7 @@ async def run_asset_discovery(
23432343
receive a TOO_MANY_REQUESTS error.
23442344
23452345
2346-
.. code-block::
2346+
.. code-block:: python
23472347
23482348
from google.cloud import securitycenter_v1
23492349
@@ -2451,7 +2451,7 @@ async def set_finding_state(
24512451
) -> finding.Finding:
24522452
r"""Updates the state of a finding.
24532453
2454-
.. code-block::
2454+
.. code-block:: python
24552455
24562456
from google.cloud import securitycenter_v1
24572457
@@ -2571,7 +2571,7 @@ async def set_mute(
25712571
) -> finding.Finding:
25722572
r"""Updates the mute state of a finding.
25732573
2574-
.. code-block::
2574+
.. code-block:: python
25752575
25762576
from google.cloud import securitycenter_v1
25772577
@@ -2685,7 +2685,7 @@ async def set_iam_policy(
26852685
Source.
26862686
26872687
2688-
.. code-block::
2688+
.. code-block:: python
26892689
26902690
from google.cloud import securitycenter_v1
26912691
@@ -2833,7 +2833,7 @@ async def test_iam_permissions(
28332833
specified source.
28342834
28352835
2836-
.. code-block::
2836+
.. code-block:: python
28372837
28382838
from google.cloud import securitycenter_v1
28392839
@@ -2946,7 +2946,7 @@ async def update_external_system(
29462946
) -> gcs_external_system.ExternalSystem:
29472947
r"""Updates external system. This is for a given finding.
29482948
2949-
.. code-block::
2949+
.. code-block:: python
29502950
29512951
from google.cloud import securitycenter_v1
29522952
@@ -3050,7 +3050,7 @@ async def update_finding(
30503050
source must exist for a finding creation to succeed.
30513051
30523052
3053-
.. code-block::
3053+
.. code-block:: python
30543054
30553055
from google.cloud import securitycenter_v1
30563056
@@ -3154,7 +3154,7 @@ async def update_mute_config(
31543154
) -> gcs_mute_config.MuteConfig:
31553155
r"""Updates a mute config.
31563156
3157-
.. code-block::
3157+
.. code-block:: python
31583158
31593159
from google.cloud import securitycenter_v1
31603160
@@ -3265,7 +3265,7 @@ async def update_notification_config(
32653265
allowed: description, pubsub_topic, streaming_config.filter
32663266
32673267
3268-
.. code-block::
3268+
.. code-block:: python
32693269
32703270
from google.cloud import securitycenter_v1
32713271
@@ -3373,7 +3373,7 @@ async def update_organization_settings(
33733373
) -> gcs_organization_settings.OrganizationSettings:
33743374
r"""Updates an organization's settings.
33753375
3376-
.. code-block::
3376+
.. code-block:: python
33773377
33783378
from google.cloud import securitycenter_v1
33793379
@@ -3465,7 +3465,7 @@ async def update_source(
34653465
) -> gcs_source.Source:
34663466
r"""Updates a source.
34673467
3468-
.. code-block::
3468+
.. code-block:: python
34693469
34703470
from google.cloud import securitycenter_v1
34713471
@@ -3560,7 +3560,7 @@ async def update_security_marks(
35603560
) -> gcs_security_marks.SecurityMarks:
35613561
r"""Updates security marks.
35623562
3563-
.. code-block::
3563+
.. code-block:: python
35643564
35653565
from google.cloud import securitycenter_v1
35663566

0 commit comments

Comments
 (0)