Class ProjectsResource.LocationsResource.DiscoveryClientsResource
The "discoveryClients" collection of methods.
Inherited Members
Namespace: Google.Apis.MigrationCenterAPI.v1alpha1
Assembly: Google.Apis.MigrationCenterAPI.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.DiscoveryClientsResource
Constructors
DiscoveryClientsResource(IClientService)
Constructs a new resource.
Declaration
public DiscoveryClientsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(DiscoveryClient, string)
Creates a new discovery client.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.CreateRequest Create(DiscoveryClient body, string parent)
Parameters
Type | Name | Description |
---|---|---|
DiscoveryClient | body | The body of the request. |
string | parent | Required. Parent resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.CreateRequest |
Delete(string)
Deletes a discovery client.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The discovery client name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.DeleteRequest |
Get(string)
Gets the details of a discovery client.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The discovery client name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.GetRequest |
List(string)
Lists all the discovery clients in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.ListRequest |
Patch(DiscoveryClient, string)
Updates a discovery client.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.PatchRequest Patch(DiscoveryClient body, string name)
Parameters
Type | Name | Description |
---|---|---|
DiscoveryClient | body | The body of the request. |
string | name | Output only. Identifier. Full name of this discovery client. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.PatchRequest |
SendHeartbeat(SendDiscoveryClientHeartbeatRequest, string)
Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryClientsResource.SendHeartbeatRequest SendHeartbeat(SendDiscoveryClientHeartbeatRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SendDiscoveryClientHeartbeatRequest | body | The body of the request. |
string | name | Required. The discovery client name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryClientsResource.SendHeartbeatRequest |