Class ProjectsResource.LocationsResource.RestoreVerificationPlansResource.AssociationsResource.CreateRequest
Creates a new RestoreVerificationPlanAssociation in a given RestoreVerificationPlan.
Inheritance
Inherited Members
Namespace: Google.Apis.Backupdr.v1beta
Assembly: Google.Apis.Backupdr.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.RestoreVerificationPlansResource.AssociationsResource.CreateRequest : BackupdrBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, RestoreVerificationPlanAssociation, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, RestoreVerificationPlanAssociation body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RestoreVerificationPlanAssociation | 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 parent resource where this association will be created. Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know that the server has already received the duplicate request and can avoid responding with an error. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestoreVerificationPlanAssociationId
Required. The ID to use for the association, which will become the final component of the association's resource name. This value should be 1-63 characters, and valid characters are /[a-z0-9_-]/.
Declaration
[RequestParameter("restoreVerificationPlanAssociationId", RequestParameterType.Query)]
public virtual string RestoreVerificationPlanAssociationId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()