Skip to content

Commit

Permalink
docs: updated comments (#7038)
Browse files Browse the repository at this point in the history
chore: update copyright year
PiperOrigin-RevId: 604682846
Source-Link: googleapis/googleapis@e3b2f14
Source-Link: googleapis/googleapis-gen@fc7aaf1
Copy-Tag: eyJwIjoiQXNzZXQvLk93bEJvdC55YW1sIiwiaCI6ImZjN2FhZjFkYjcwMTkzZjlmMzg2MDk3Zjg3MjBkZDY5OTkwYmE3MGIifQ==
  • Loading branch information
gcf-owl-bot[bot] authored Feb 9, 2024
1 parent c111403 commit a7fcb4c
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
* * compute.requireOsLogin
* * compute.disableNestedVirtualization
*
* This RPC only returns either resources of types supported by [searchable
* asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
* This RPC only returns either resources of types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* or IAM policies.
*
* @param string $scope The organization to scope the request. Only organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
* ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
* @param string $namesElement The names refer to the [full_resource_names]
* (https://cloud.google.com/asset-inventory/docs/resource-name-format)
* of [searchable asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* of the asset types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* A maximum of 20 resources' effective policies can be retrieved in a batch.
*/
function batch_get_effective_iam_policies_sample(string $scope, string $namesElement): void
Expand Down
16 changes: 8 additions & 8 deletions Asset/src/V1/BatchGetEffectiveIamPoliciesRequest.php

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

5 changes: 2 additions & 3 deletions Asset/src/V1/Client/AssetServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,8 @@ public function analyzeOrgPolicies(AnalyzeOrgPoliciesRequest $request, array $ca
* * compute.requireOsLogin
* * compute.disableNestedVirtualization
*
* This RPC only returns either resources of types supported by [searchable
* asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
* This RPC only returns either resources of types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* or IAM policies.
*
* The async variant is
Expand Down
19 changes: 9 additions & 10 deletions Asset/src/V1/Gapic/AssetServiceGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1056,9 +1056,8 @@ public function analyzeOrgPolicies(
* * compute.requireOsLogin
* * compute.disableNestedVirtualization
*
* This RPC only returns either resources of types supported by [searchable
* asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types),
* This RPC only returns either resources of types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
* or IAM policies.
*
* Sample code:
Expand Down Expand Up @@ -1421,8 +1420,8 @@ public function batchGetAssetsHistory(
* ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
* @param string[] $names Required. The names refer to the [full_resource_names]
* (https://cloud.google.com/asset-inventory/docs/resource-name-format)
* of [searchable asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* of the asset types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* A maximum of 20 resources' effective policies can be retrieved in a batch.
* @param array $optionalArgs {
* Optional.
Expand Down Expand Up @@ -2483,9 +2482,9 @@ public function queryAssets($parent, array $optionalArgs = [])
* been generated by a previous call to the API.
* @type string[] $assetTypes
* Optional. A list of asset types that the IAM policies are attached to. If
* empty, it will search the IAM policies that are attached to all the
* [searchable asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* empty, it will search the IAM policies that are attached to all the asset
* types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
*
* Regular expressions are also supported. For example:
*
Expand Down Expand Up @@ -2687,8 +2686,8 @@ public function searchAllIamPolicies($scope, array $optionalArgs = [])
* location.
* @type string[] $assetTypes
* Optional. A list of asset types that this request searches for. If empty,
* it will search all the [searchable asset
* types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
* it will search all the asset types [supported by search
* APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
*
* Regular expressions are also supported. For example:
*
Expand Down
24 changes: 12 additions & 12 deletions Asset/src/V1/SearchAllIamPoliciesRequest.php

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

20 changes: 10 additions & 10 deletions Asset/src/V1/SearchAllResourcesRequest.php

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

0 comments on commit a7fcb4c

Please sign in to comment.