target.apidocs.com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.Sources.html Maven / Gradle / Ivy
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
-
- Enclosing class:
- MigrationCenterAPI.Projects.Locations
public class MigrationCenterAPI.Projects.Locations.Sources
extends Object
The "sources" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
MigrationCenterAPI.Projects.Locations.Sources.Create
class
MigrationCenterAPI.Projects.Locations.Sources.Delete
class
MigrationCenterAPI.Projects.Locations.Sources.ErrorFrames
The "errorFrames" collection of methods.
class
MigrationCenterAPI.Projects.Locations.Sources.Get
class
MigrationCenterAPI.Projects.Locations.Sources.List
class
MigrationCenterAPI.Projects.Locations.Sources.Patch
-
Constructor Summary
Constructors
Constructor and Description
Sources()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MigrationCenterAPI.Projects.Locations.Sources.Create
create(String parent,
Source content)
Creates a new source in a given project and location.
MigrationCenterAPI.Projects.Locations.Sources.Delete
delete(String name)
Deletes a source.
MigrationCenterAPI.Projects.Locations.Sources.ErrorFrames
errorFrames()
An accessor for creating requests from the ErrorFrames collection.
MigrationCenterAPI.Projects.Locations.Sources.Get
get(String name)
Gets the details of a source.
MigrationCenterAPI.Projects.Locations.Sources.List
list(String parent)
Lists all the sources in a given project and location.
MigrationCenterAPI.Projects.Locations.Sources.Patch
patch(String name,
Source content)
Updates the parameters of a source.
-
-
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