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

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







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












com.google.api.services.cloudasset.v1

Class CloudAsset.Feeds

  • Enclosing class:
    CloudAsset


    public class CloudAsset.Feeds
    extends Object
    The "feeds" collection of methods.
    • Constructor Detail

      • Feeds

        public Feeds()
    • Method Detail

      • create

        public CloudAsset.Feeds.Create create(String parent,
                                              CreateFeedRequest content)
                                       throws IOException
        Creates a feed in a parent project/folder/organization to listen to its asset updates. Create a request for the method "feeds.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 feed 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 CreateFeedRequest
        Returns:
        the request
        Throws:
        IOException
      • delete

        public CloudAsset.Feeds.Delete delete(String name)
                                       throws IOException
        Deletes an asset feed. Create a request for the method "feeds.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 feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudAsset.Feeds.Get get(String name)
                                 throws IOException
        Gets details about an asset feed. Create a request for the method "feeds.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 Feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudAsset.Feeds.List list(String parent)
                                   throws IOException
        Lists all asset feeds in a parent project/folder/organization. Create a request for the method "feeds.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 feeds 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.Feeds.Patch patch(String name,
                                            UpdateFeedRequest content)
                                     throws IOException
        Updates an asset feed configuration. Create a request for the method "feeds.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 - Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client- assigned feed identifier must be unique within the parent project/folder/organization.
        content - the UpdateFeedRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy