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

target.apidocs.com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.Sources.html Maven / Gradle / Ivy

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






MigrationCenterAPI.Projects.Locations.Sources (Migration Center API v1-rev20240620-2.0.0)












com.google.api.services.migrationcenter.v1

Class MigrationCenterAPI.Projects.Locations.Sources

  • java.lang.Object
    • com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.Sources
    • Constructor Detail

      • Sources

        public Sources()
    • Method Detail

      • create

        public MigrationCenterAPI.Projects.Locations.Sources.Create create(String parent,
                                                                           Source content)
                                                                    throws IOException
        Creates a new source in a given project and location. Create a request for the method "sources.create". This request holds the parameters needed by the migrationcenter server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. Value for parent.
        content - the Source
        Returns:
        the request
        Throws:
        IOException
      • delete

        public MigrationCenterAPI.Projects.Locations.Sources.Delete delete(String name)
                                                                    throws IOException
        Deletes a source. Create a request for the method "sources.delete". This request holds the parameters needed by the migrationcenter server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the resource.
        Returns:
        the request
        Throws:
        IOException
      • get

        public MigrationCenterAPI.Projects.Locations.Sources.Get get(String name)
                                                              throws IOException
        Gets the details of a source. Create a request for the method "sources.get". This request holds the parameters needed by the migrationcenter server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the resource.
        Returns:
        the request
        Throws:
        IOException
      • list

        public MigrationCenterAPI.Projects.Locations.Sources.List list(String parent)
                                                                throws IOException
        Lists all the sources in a given project and location. Create a request for the method "sources.list". This request holds the parameters needed by the migrationcenter server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. Parent value for `ListSourcesRequest`.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public MigrationCenterAPI.Projects.Locations.Sources.Patch patch(String name,
                                                                         Source content)
                                                                  throws IOException
        Updates the parameters of a source. Create a request for the method "sources.patch". This request holds the parameters needed by the migrationcenter server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Output only. The full name of the source.
        content - the Source
        Returns:
        the request
        Throws:
        IOException
      • errorFrames

        public MigrationCenterAPI.Projects.Locations.Sources.ErrorFrames errorFrames()
        An accessor for creating requests from the ErrorFrames collection.

        The typical use is:

            MigrationCenterAPI migrationcenter = new MigrationCenterAPI(...);
            MigrationCenterAPI.ErrorFrames.List request = migrationcenter.errorFrames().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy