target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.Assets.html Maven / Gradle / Ivy
SecurityCommandCenter.Projects.Assets (Security Command Center API v1-rev20240926-2.0.0)
com.google.api.services.securitycenter.v1
Class SecurityCommandCenter.Projects.Assets
- java.lang.Object
-
- com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.Assets
-
- Enclosing class:
- SecurityCommandCenter.Projects
public class SecurityCommandCenter.Projects.Assets
extends Object
The "assets" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecurityCommandCenter.Projects.Assets.Group
class
SecurityCommandCenter.Projects.Assets.List
class
SecurityCommandCenter.Projects.Assets.UpdateSecurityMarks
-
Constructor Summary
Constructors
Constructor and Description
Assets()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecurityCommandCenter.Projects.Assets.Group
group(String parent,
GroupAssetsRequest content)
Filters an organization's assets and groups them by their specified properties.
SecurityCommandCenter.Projects.Assets.List
list(String parent)
Lists an organization's assets.
SecurityCommandCenter.Projects.Assets.UpdateSecurityMarks
updateSecurityMarks(String name,
SecurityMarks content)
Updates security marks.
-
-
Method Detail
-
group
public SecurityCommandCenter.Projects.Assets.Group group(String parent,
GroupAssetsRequest content)
throws IOException
Filters an organization's assets and groups them by their specified properties.
Create a request for the method "assets.group".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The name of the parent to group the assets by. Its format is
`organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.
content
- the GroupAssetsRequest
- Returns:
- the request
- Throws:
IOException
-
list
public SecurityCommandCenter.Projects.Assets.List list(String parent)
throws IOException
Lists an organization's assets.
Create a request for the method "assets.list".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The name of the parent resource that contains the assets. The value that you can specify
on parent depends on the method in which you specify parent. You can specify one of the
following values: `organizations/[organization_id]`, `folders/[folder_id]`, or
`projects/[project_id]`.
- Returns:
- the request
- Throws:
IOException
-
updateSecurityMarks
public SecurityCommandCenter.Projects.Assets.UpdateSecurityMarks updateSecurityMarks(String name,
SecurityMarks content)
throws IOException
Updates security marks.
Create a request for the method "assets.updateSecurityMarks".
This request holds the parameters needed by the securitycenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- The relative resource name of the SecurityMarks. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples:
"organizations/{organization_id}/assets/{asset_id}/securityMarks"
"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".
content
- the SecurityMarks
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy