Skip to content

Commit

Permalink
docs: Update formatting for Purpose class documentation (#6171)
Browse files Browse the repository at this point in the history
docs: Add documentation for additional acceptable formats for `namespaced_tag_key` and `namespaced_tag_value`in `EffectiveTag`, `parent` in `ListTagKeysRequest`, `parent` in `TagKey`, and `namespaced_name` in `TagValue`
PiperOrigin-RevId: 529262150
Source-Link: googleapis/googleapis@e6c8485
Source-Link: googleapis/googleapis-gen@e3b832f
Copy-Tag: eyJwIjoiUmVzb3VyY2VNYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJlM2I4MzJmYzkxZTBmYjgzMDhiMTNmZDcyM2ZlODJjZGM4MjZlYjQzIn0=
  • Loading branch information
gcf-owl-bot[bot] authored May 4, 2023
1 parent 34979ae commit c042b89
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 70 deletions.
5 changes: 3 additions & 2 deletions ResourceManager/samples/V3/TagKeysClient/list_tag_keys.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
/**
* Lists all TagKeys for a parent resource.
*
* @param string $parent The resource name of the new TagKey's parent.
* Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.
* @param string $parent The resource name of the TagKey's parent.
* Must be of the form `organizations/{org_id}` or `projects/{project_id}` or
* `projects/{project_number}`
*/
function list_tag_keys_sample(string $parent): void
{
Expand Down
68 changes: 40 additions & 28 deletions ResourceManager/src/V3/EffectiveTag.php

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

5 changes: 3 additions & 2 deletions ResourceManager/src/V3/Gapic/TagKeysGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,9 @@ public function getTagKey($name, array $optionalArgs = [])
* }
* ```
*
* @param string $parent Required. The resource name of the new TagKey's parent.
* Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.
* @param string $parent Required. The resource name of the TagKey's parent.
* Must be of the form `organizations/{org_id}` or `projects/{project_id}` or
* `projects/{project_number}`
* @param array $optionalArgs {
* Optional.
*
Expand Down
20 changes: 12 additions & 8 deletions ResourceManager/src/V3/ListTagKeysRequest.php

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

14 changes: 8 additions & 6 deletions ResourceManager/src/V3/Purpose.php

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

28 changes: 20 additions & 8 deletions ResourceManager/src/V3/TagKey.php

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

32 changes: 16 additions & 16 deletions ResourceManager/src/V3/TagValue.php

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

0 comments on commit c042b89

Please sign in to comment.