target.apidocs.com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.DiscoveryClients.html Maven / Gradle / Ivy
MigrationCenterAPI.Projects.Locations.DiscoveryClients (Migration Center API v1-rev20240620-2.0.0)
com.google.api.services.migrationcenter.v1
Class MigrationCenterAPI.Projects.Locations.DiscoveryClients
- java.lang.Object
-
- com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.DiscoveryClients
-
- Enclosing class:
- MigrationCenterAPI.Projects.Locations
public class MigrationCenterAPI.Projects.Locations.DiscoveryClients
extends Object
The "discoveryClients" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Create
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Delete
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Get
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.List
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Patch
class
MigrationCenterAPI.Projects.Locations.DiscoveryClients.SendHeartbeat
-
Constructor Summary
Constructors
Constructor and Description
DiscoveryClients()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Create
create(String parent,
DiscoveryClient content)
Creates a new discovery client.
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Delete
delete(String name)
Deletes a discovery client.
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Get
get(String name)
Gets the details of a discovery client.
MigrationCenterAPI.Projects.Locations.DiscoveryClients.List
list(String parent)
Lists all the discovery clients in a given project and location.
MigrationCenterAPI.Projects.Locations.DiscoveryClients.Patch
patch(String name,
DiscoveryClient content)
Updates a discovery client.
MigrationCenterAPI.Projects.Locations.DiscoveryClients.SendHeartbeat
sendHeartbeat(String name,
SendDiscoveryClientHeartbeatRequest content)
Sends a discovery client heartbeat.
-
-
Method Detail
-
create
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.Create create(String parent,
DiscoveryClient content)
throws IOException
Creates a new discovery client.
Create a request for the method "discoveryClients.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. Parent resource.
content
- the DiscoveryClient
- Returns:
- the request
- Throws:
IOException
-
delete
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.Delete delete(String name)
throws IOException
Deletes a discovery client.
Create a request for the method "discoveryClients.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. The discovery client name.
- Returns:
- the request
- Throws:
IOException
-
get
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.Get get(String name)
throws IOException
Gets the details of a discovery client.
Create a request for the method "discoveryClients.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. The discovery client name.
- Returns:
- the request
- Throws:
IOException
-
list
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.List list(String parent)
throws IOException
Lists all the discovery clients in a given project and location.
Create a request for the method "discoveryClients.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 resource.
- Returns:
- the request
- Throws:
IOException
-
patch
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.Patch patch(String name,
DiscoveryClient content)
throws IOException
Updates a discovery client.
Create a request for the method "discoveryClients.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. Identifier. Full name of this discovery client.
content
- the DiscoveryClient
- Returns:
- the request
- Throws:
IOException
-
sendHeartbeat
public MigrationCenterAPI.Projects.Locations.DiscoveryClients.SendHeartbeat sendHeartbeat(String name,
SendDiscoveryClientHeartbeatRequest content)
throws IOException
Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly
(normally every few minutes).
Create a request for the method "discoveryClients.sendHeartbeat".
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. The discovery client name.
content
- the SendDiscoveryClientHeartbeatRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy