Class ProjectsResource.LocationsResource.CollectorsResource.RegisterRequest
Registers the given collector.
Inheritance
ProjectsResource.LocationsResource.CollectorsResource.RegisterRequest
Inherited Members
Namespace: Google.Apis.RapidMigrationAssessment.v1
Assembly: Google.Apis.RapidMigrationAssessment.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectorsResource.RegisterRequest : RapidMigrationAssessmentBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, RegisterCollectorRequest, string)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, RegisterCollectorRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RegisterCollectorRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RapidMigrationAssessment.v1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RapidMigrationAssessment.v1.Data.Operation>.MethodName
Name
Required. Name of the resource.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RapidMigrationAssessment.v1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RapidMigrationAssessment.v1.Data.Operation>.GetBody()
InitParameters()
Initializes Register parameter list.
Declaration
protected override void InitParameters()