Skip to content

Commit

Permalink
docs: [google-cloud-asset] Comments are clarified for certain fields …
Browse files Browse the repository at this point in the history
…in messages `QueryAssetsResponse` and `ResourceSearchResult` (#13076)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 673500457

Source-Link:
googleapis/googleapis@c27097e

Source-Link:
googleapis/googleapis-gen@dd6d5ed
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc2V0Ly5Pd2xCb3QueWFtbCIsImgiOiJkZDZkNWVkOGI1OTc2NDEwOWI5OTZiYTY4OTVkZDEwYmUxYzhiODY1In0=

---------

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] committed Sep 16, 2024
1 parent 5e3f4ae commit 35b2c45
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2780,9 +2780,11 @@ class QueryAssetsResponse(proto.Message):
valid ``response``.
If ``done`` == ``false`` and the query result is being saved
in a output, the output_config field will be set. If
in an output, the output_config field will be set. If
``done`` == ``true``, exactly one of ``error``,
``query_result`` or ``output_config`` will be set.
``query_result`` or ``output_config`` will be set. [done] is
unset unless the [QueryAssetsResponse] contains a
[QueryAssetsResponse.job_reference].
error (google.rpc.status_pb2.Status):
Error status.
Expand All @@ -2792,10 +2794,10 @@ class QueryAssetsResponse(proto.Message):
This field is a member of `oneof`_ ``response``.
output_config (google.cloud.asset_v1.types.QueryAssetsOutputConfig):
Output configuration which indicates instead
of being returned in API response on the fly,
the query result will be saved in a specific
output.
Output configuration, which indicates that
instead of being returned in an API response on
the fly, the query result will be saved in a
specific output.
This field is a member of `oneof`_ ``response``.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ class EffectiveTagDetails(proto.Message):

class ResourceSearchResult(proto.Message):
r"""A result of Resource Search, containing information of a
cloud resource. Next ID: 34
cloud resource.
Attributes:
name (str):
Expand Down Expand Up @@ -684,8 +684,8 @@ class ResourceSearchResult(proto.Message):
- Use a field query. Example: ``location:us-west*``
- Use a free text query. Example: ``us-west*``
labels (MutableMapping[str, str]):
Labels associated with this resource. See `Labelling and
grouping Google Cloud
User labels associated with this resource. See `Labelling
and grouping Google Cloud
resources <https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources>`__
for more information. This field is available only when the
resource's Protobuf contains it.
Expand Down

0 comments on commit 35b2c45

Please sign in to comment.