File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ def group_assets(organization_id):
160
160
def group_filtered_assets (organization_id ):
161
161
"""Demonstrates grouping assets by type with a filter. """
162
162
i = 0
163
- # [START group_all_assets ]
163
+ # [START group_all_assets_with_filter ]
164
164
from google .cloud import securitycenter
165
165
166
166
client = securitycenter .SecurityCenterClient ()
@@ -179,13 +179,13 @@ def group_filtered_assets(organization_id):
179
179
)
180
180
for i , result in enumerate (result_iterator ):
181
181
print ((i + 1 ), result )
182
- # [END group_all_assets ]
182
+ # [END group_all_assets_with_filter ]
183
183
# only one asset type is a project
184
184
return i
185
185
186
186
187
187
def group_assets_by_changes (organization_id ):
188
- """Demonstrates grouping assets by there changes over a period of time."""
188
+ """Demonstrates grouping assets by their changes over a period of time."""
189
189
i = 0
190
190
# [START group_all_assets_by_change]
191
191
from datetime import timedelta
You can’t perform that action at this time.
0 commit comments