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: [google-cloud-asset] Comments are clarified for certain fields in messages QueryAssetsResponse and ResourceSearchResult #13076

Merged
merged 2 commits into from
Sep 16, 2024
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 @@ -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
Loading