Skip to content

Commit

Permalink
docs: [SecurityCenter] Update documentation for Security Command Cent…
Browse files Browse the repository at this point in the history
…er *.assets.list "parent" parameter (#5785)

* 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: eyJwIjoiU2VjdXJpdHlDZW50ZXIvLk93bEJvdC55YW1sIiwiaCI6IjNiYjk0Y2NhODYyOGNkM2M4ZWYwOTRkODUxY2Q3MGI0NWExMTkzMTkifQ==

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 17, 2023
1 parent c029871 commit 390dfa4
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
* properties.
*
* @param string $formattedParent The name of the parent to group the assets by. Its format is
* "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]". Please see
* "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]". Please see
* {@see SecurityCenterClient::projectName()} for help formatting this field.
* @param string $groupBy Expression that defines what assets fields to use for grouping.
* The string value should follow SQL syntax: comma separated list of fields.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
/**
* Lists an organization's assets.
*
* @param string $formattedParent The name of the parent that the listed assets belong to. Its
* format is "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]". Please see
* @param string $formattedParent The name of the parent resource that contains the assets. The
* value that you can specify on parent depends on the method in which you
* specify parent. You can specify one of the following values:
* "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]". Please see
* {@see SecurityCenterClient::projectName()} for help formatting this field.
*/
function list_assets_sample(string $formattedParent): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* Lists all sources belonging to an organization.
*
* @param string $formattedParent Resource name of the parent of sources to list. Its format should
* be "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]". Please see
* be "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]". Please see
* {@see SecurityCenterClient::projectName()} for help formatting this field.
*/
function list_sources_sample(string $formattedParent): void
Expand Down
16 changes: 9 additions & 7 deletions SecurityCenter/src/V1/Gapic/SecurityCenterGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2178,8 +2178,8 @@ public function getSource($name, array $optionalArgs = [])
* ```
*
* @param string $parent Required. The name of the parent to group the assets by. Its format is
* "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]".
* "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]".
* @param string $groupBy Required. Expression that defines what assets fields to use for grouping.
* The string value should follow SQL syntax: comma separated list of fields.
* For example:
Expand Down Expand Up @@ -2581,9 +2581,11 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = [])
* }
* ```
*
* @param string $parent Required. The name of the parent that the listed assets belong to. Its
* format is "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]".
* @param string $parent Required. The name of the parent resource that contains the assets. The
* value that you can specify on parent depends on the method in which you
* specify parent. You can specify one of the following values:
* "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]".
* @param array $optionalArgs {
* Optional.
*
Expand Down Expand Up @@ -3222,8 +3224,8 @@ public function listNotificationConfigs($parent, array $optionalArgs = [])
* ```
*
* @param string $parent Required. Resource name of the parent of sources to list. Its format should
* be "organizations/[organization_id], folders/[folder_id], or
* projects/[project_id]".
* be "organizations/[organization_id]", "folders/[folder_id]", or
* "projects/[project_id]".
* @param array $optionalArgs {
* Optional.
*
Expand Down
16 changes: 8 additions & 8 deletions SecurityCenter/src/V1/GroupAssetsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 20 additions & 12 deletions SecurityCenter/src/V1/ListAssetsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions SecurityCenter/src/V1/ListSourcesRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 390dfa4

Please sign in to comment.