Class ProjectsResource.LocationsResource.CollectorsResource
The "collectors" collection of methods.
Inherited Members
Namespace: Google.Apis.RapidMigrationAssessment.v1
Assembly: Google.Apis.RapidMigrationAssessment.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectorsResource
Constructors
CollectorsResource(IClientService)
Constructs a new resource.
Declaration
public CollectorsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Collector, string)
Create a Collector to manage the on-prem appliance which collects information about Customer assets.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.CreateRequest Create(Collector body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Collector | body | The body of the request. |
string | parent | Required. Name of the parent (project+location). |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.CreateRequest |
Delete(string)
Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion thorugh producer api.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.DeleteRequest |
Get(string)
Gets details of a single Collector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.GetRequest |
List(string)
Lists Collectors in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListCollectorsRequest. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.ListRequest |
Patch(Collector, string)
Updates the parameters of a single Collector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.PatchRequest Patch(Collector body, string name)
Parameters
Type | Name | Description |
---|---|---|
Collector | body | The body of the request. |
string | name | name of resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.PatchRequest |
Pause(PauseCollectorRequest, string)
Pauses the given collector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.PauseRequest Pause(PauseCollectorRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
PauseCollectorRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.PauseRequest |
Register(RegisterCollectorRequest, string)
Registers the given collector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.RegisterRequest Register(RegisterCollectorRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RegisterCollectorRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.RegisterRequest |
Resume(ResumeCollectorRequest, string)
Resumes the given collector.
Declaration
public virtual ProjectsResource.LocationsResource.CollectorsResource.ResumeRequest Resume(ResumeCollectorRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResumeCollectorRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectorsResource.ResumeRequest |