Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [SecurityCenter] Update documentation for Security Command Center *.assets.list "parent" parameter #5785

Merged
merged 2 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.