Skip to content

Commit 20f2b92

Browse files
yoshi-automationtseaver
authored andcommitted
Docstring changes via synth. (googleapis#6473)
1 parent 56da978 commit 20f2b92

10 files changed

Lines changed: 81 additions & 83 deletions

File tree

securitycenter/google/cloud/securitycenter_v1beta1/gapic/enums.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ class InclusionMode(enum.IntEnum):
5353
"""
5454
The mode of inclusion when running Asset Discovery. Asset discovery can
5555
be limited by explicitly identifying projects to be included or
56-
excluded. If INCLUDE\_ONLY is set then only those projects (within the
57-
organization) and their children are discovered during asset discovery.
58-
If EXCLUDE is set then projects not matching those projects are
59-
discovered during asset discovery. If neither are set then all projects
56+
excluded. If INCLUDE\_ONLY is set, then only those projects within the
57+
organization and their children are discovered during asset discovery.
58+
If EXCLUDE is set, then projects that don't match those projects are
59+
discovered during asset discovery. If neither are set, then all projects
6060
within the organization are discovered during asset discovery.
6161
6262
Attributes:

securitycenter/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ def group_assets(self,
569569
570570
The following fields are supported when compare\_duration is not set:
571571
572-
- security\_center\_properties.resource\_name
573572
- security\_center\_properties.resource\_project
574573
- security\_center\_properties.resource\_type
575574
- security\_center\_properties.resource\_parent
@@ -622,8 +621,8 @@ def group_assets(self,
622621
compare\_duration, but present at reference\_time.
623622
- "REMOVED": indicates that the asset was present at the start of
624623
compare\_duration, but not present at reference\_time.
625-
- "ACTIVE\_AT\_BOTH": indicates that the asset was present at both the
626-
start and the end of the time period defined by compare\_duration and
624+
- "ACTIVE": indicates that the asset was present at both the start and
625+
the end of the time period defined by compare\_duration and
627626
reference\_time.
628627
629628
This field is ignored if ``state`` is not a field in ``group_by``.
@@ -1030,7 +1029,7 @@ def list_findings(self,
10301029
timeout=google.api_core.gapic_v1.method.DEFAULT,
10311030
metadata=None):
10321031
"""
1033-
Lists an organization or source's assets.
1032+
Lists an organization or source's findings.
10341033
10351034
To list across all sources provide a ``-`` as the source id. Example:
10361035
/v1beta1/organizations/123/sources/-/findings

securitycenter/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def list_assets(self):
213213
def list_findings(self):
214214
"""Return the gRPC stub for {$apiMethod.name}.
215215
216-
Lists an organization or source's assets.
216+
Lists an organization or source's findings.
217217
218218
To list across all sources provide a ``-`` as the source id. Example:
219219
/v1beta1/organizations/123/sources/-/findings

securitycenter/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

securitycenter/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)