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

target.apidocs.com.google.api.services.cloudasset.v1.CloudAsset.SavedQueries.html Maven / Gradle / Ivy







CloudAsset.SavedQueries (Cloud Asset API v1-rev20241211-2.0.0)












com.google.api.services.cloudasset.v1

Class CloudAsset.SavedQueries

  • java.lang.Object
    • com.google.api.services.cloudasset.v1.CloudAsset.SavedQueries
  • Enclosing class:
    CloudAsset


    public class CloudAsset.SavedQueries
    extends Object
    The "savedQueries" collection of methods.
    • Constructor Detail

      • SavedQueries

        public SavedQueries()
    • Method Detail

      • create

        public CloudAsset.SavedQueries.Create create(String parent,
                                                     SavedQuery content)
                                              throws IOException
        Creates a saved query in a parent project/folder/organization. Create a request for the method "savedQueries.create". This request holds the parameters needed by the cloudasset server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
        content - the SavedQuery
        Returns:
        the request
        Throws:
        IOException
      • delete

        public CloudAsset.SavedQueries.Delete delete(String name)
                                              throws IOException
        Deletes a saved query. Create a request for the method "savedQueries.delete". This request holds the parameters needed by the cloudasset server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the saved query to delete. It must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudAsset.SavedQueries.Get get(String name)
                                        throws IOException
        Gets details about a saved query. Create a request for the method "savedQueries.get". This request holds the parameters needed by the cloudasset server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the saved query and it must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudAsset.SavedQueries.List list(String parent)
                                          throws IOException
        Lists all saved queries in a parent project/folder/organization. Create a request for the method "savedQueries.list". This request holds the parameters needed by the cloudasset server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent project/folder/organization whose savedQueries are to be listed. It can only be using project/folder/organization number (such as "folders/12345")", or a project ID (such as "projects/my-project-id").
        Returns:
        the request
        Throws:
        IOException
      • patch

        public CloudAsset.SavedQueries.Patch patch(String name,
                                                   SavedQuery content)
                                            throws IOException
        Updates a saved query. Create a request for the method "savedQueries.patch". This request holds the parameters needed by the cloudasset server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
        content - the SavedQuery
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy