Skip to content

Commit 35b2c45

Browse files
docs: [google-cloud-asset] Comments are clarified for certain fields in messages QueryAssetsResponse and ResourceSearchResult (googleapis#13076)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 673500457 Source-Link: googleapis/googleapis@c27097e Source-Link: https://github.com/googleapis/googleapis-gen/commit/dd6d5ed8b59764109b996ba6895dd10be1c8b865 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc2V0Ly5Pd2xCb3QueWFtbCIsImgiOiJkZDZkNWVkOGI1OTc2NDEwOWI5OTZiYTY4OTVkZDEwYmUxYzhiODY1In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 5e3f4ae commit 35b2c45

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

packages/google-cloud-asset/google/cloud/asset_v1/types/asset_service.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,9 +2780,11 @@ class QueryAssetsResponse(proto.Message):
27802780
valid ``response``.
27812781
27822782
If ``done`` == ``false`` and the query result is being saved
2783-
in a output, the output_config field will be set. If
2783+
in an output, the output_config field will be set. If
27842784
``done`` == ``true``, exactly one of ``error``,
2785-
``query_result`` or ``output_config`` will be set.
2785+
``query_result`` or ``output_config`` will be set. [done] is
2786+
unset unless the [QueryAssetsResponse] contains a
2787+
[QueryAssetsResponse.job_reference].
27862788
error (google.rpc.status_pb2.Status):
27872789
Error status.
27882790
@@ -2792,10 +2794,10 @@ class QueryAssetsResponse(proto.Message):
27922794
27932795
This field is a member of `oneof`_ ``response``.
27942796
output_config (google.cloud.asset_v1.types.QueryAssetsOutputConfig):
2795-
Output configuration which indicates instead
2796-
of being returned in API response on the fly,
2797-
the query result will be saved in a specific
2798-
output.
2797+
Output configuration, which indicates that
2798+
instead of being returned in an API response on
2799+
the fly, the query result will be saved in a
2800+
specific output.
27992801
28002802
This field is a member of `oneof`_ ``response``.
28012803
"""

packages/google-cloud-asset/google/cloud/asset_v1/types/assets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ class EffectiveTagDetails(proto.Message):
602602

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

0 commit comments

Comments
 (0)