Class ProjectsResource.LocationsResource.TrialResource.SubscribeRequest
Subscribes to a trial for a project
Inheritance
ProjectsResource.LocationsResource.TrialResource.SubscribeRequest
Inherited Members
Namespace: Google.Apis.Backupdr.v1
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class ProjectsResource.LocationsResource.TrialResource.SubscribeRequest : BackupdrBaseServiceRequest<Trial>, IClientServiceRequest<Trial>, IClientServiceRequest
Constructors
SubscribeRequest(IClientService, SubscribeTrialRequest, string)
Constructs a new Subscribe request.
Declaration
public SubscribeRequest(IClientService service, SubscribeTrialRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| SubscribeTrialRequest | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Parent
Required. The project where this trial will be created. Format: projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Subscribe parameter list.
Declaration
protected override void InitParameters()