Skip to content

Commit d3a7c68

Browse files
docs: Update documentation for Security Command Center *.assets.list "parent" parameter (#425)
* docs: Update documentation for Security Command Center *.assets.list "parent" parameter PiperOrigin-RevId: 501630229 Source-Link: googleapis/googleapis@914dc31 Source-Link: googleapis/googleapis-gen@3bb94cc Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2JiOTRjY2E4NjI4Y2QzYzhlZjA5NGQ4NTFjZDcwYjQ1YTExOTMxOSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d032c79 commit d3a7c68

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,8 +2664,8 @@ async def sample_list_sources():
26642664
parent (:class:`str`):
26652665
Required. Resource name of the parent of sources to
26662666
list. Its format should be
2667-
"organizations/[organization_id], folders/[folder_id],
2668-
or projects/[project_id]".
2667+
"organizations/[organization_id]",
2668+
"folders/[folder_id]", or "projects/[project_id]".
26692669
26702670
This corresponds to the ``parent`` field
26712671
on the ``request`` instance; if ``request`` is provided, this

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2963,8 +2963,8 @@ def sample_list_sources():
29632963
parent (str):
29642964
Required. Resource name of the parent of sources to
29652965
list. Its format should be
2966-
"organizations/[organization_id], folders/[folder_id],
2967-
or projects/[project_id]".
2966+
"organizations/[organization_id]",
2967+
"folders/[folder_id]", or "projects/[project_id]".
29682968
29692969
This corresponds to the ``parent`` field
29702970
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/securitycenter_service.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ class GroupAssetsRequest(proto.Message):
401401
Attributes:
402402
parent (str):
403403
Required. The name of the parent to group the assets by. Its
404-
format is "organizations/[organization_id],
405-
folders/[folder_id], or projects/[project_id]".
404+
format is "organizations/[organization_id]",
405+
"folders/[folder_id]", or "projects/[project_id]".
406406
filter (str):
407407
Expression that defines the filter to apply across assets.
408408
The expression is a list of zero or more restrictions
@@ -1027,8 +1027,8 @@ class ListSourcesRequest(proto.Message):
10271027
Attributes:
10281028
parent (str):
10291029
Required. Resource name of the parent of sources to list.
1030-
Its format should be "organizations/[organization_id],
1031-
folders/[folder_id], or projects/[project_id]".
1030+
Its format should be "organizations/[organization_id]",
1031+
"folders/[folder_id]", or "projects/[project_id]".
10321032
page_token (str):
10331033
The value returned by the last ``ListSourcesResponse``;
10341034
indicates that this is a continuation of a prior
@@ -1085,9 +1085,11 @@ class ListAssetsRequest(proto.Message):
10851085
10861086
Attributes:
10871087
parent (str):
1088-
Required. The name of the parent that the listed assets
1089-
belong to. Its format is "organizations/[organization_id],
1090-
folders/[folder_id], or projects/[project_id]".
1088+
Required. The name of the parent resource that contains the
1089+
assets. The value that you can specify on parent depends on
1090+
the method in which you specify parent. You can specify one
1091+
of the following values: "organizations/[organization_id]",
1092+
"folders/[folder_id]", or "projects/[project_id]".
10911093
filter (str):
10921094
Expression that defines the filter to apply across assets.
10931095
The expression is a list of zero or more restrictions

packages/google-cloud-securitycenter/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.18.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-securitycenter/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.18.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-securitycenter/samples/generated_samples/snippet_metadata_google.cloud.securitycenter.v1p1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-securitycenter",
11-
"version": "1.18.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)