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

target.apidocs.com.google.api.services.containeranalysis.v1.ContainerAnalysis.Projects.Locations.Occurrences.html Maven / Gradle / Ivy

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






ContainerAnalysis.Projects.Locations.Occurrences (Container Analysis API v1-rev20240614-2.0.0)












com.google.api.services.containeranalysis.v1

Class ContainerAnalysis.Projects.Locations.Occurrences

  • java.lang.Object
    • com.google.api.services.containeranalysis.v1.ContainerAnalysis.Projects.Locations.Occurrences
    • Constructor Detail

      • Occurrences

        public Occurrences()
    • Method Detail

      • get

        public ContainerAnalysis.Projects.Locations.Occurrences.Get get(String name)
                                                                 throws IOException
        Gets the specified occurrence. Create a request for the method "occurrences.get". This request holds the parameters needed by the containeranalysis server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
        Returns:
        the request
        Throws:
        IOException
      • getNotes

        public ContainerAnalysis.Projects.Locations.Occurrences.GetNotes getNotes(String name)
                                                                           throws IOException
        Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. Create a request for the method "occurrences.getNotes". This request holds the parameters needed by the containeranalysis server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
        Returns:
        the request
        Throws:
        IOException
      • getVulnerabilitySummary

        public ContainerAnalysis.Projects.Locations.Occurrences.GetVulnerabilitySummary getVulnerabilitySummary(String parent)
                                                                                                         throws IOException
        Gets a summary of the number and severity of occurrences. Create a request for the method "occurrences.getVulnerabilitySummary". This request holds the parameters needed by the containeranalysis server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.
        Returns:
        the request
        Throws:
        IOException
      • list

        public ContainerAnalysis.Projects.Locations.Occurrences.List list(String parent)
                                                                   throws IOException
        Lists occurrences for the specified project. Create a request for the method "occurrences.list". This request holds the parameters needed by the containeranalysis server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy