All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.securitycenter.v1.SecurityCommandCenter.Projects.Assets.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version






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
    • Constructor Detail

      • Assets

        public Assets()
    • 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