Class ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.CreateFromSourceRequest
Creates a volume in a volume pool from an existing data source (such as a Filestore backup).
Inheritance
ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.CreateFromSourceRequest
Inherited Members
Namespace: Google.Apis.CloudFilestore.v1beta1
Assembly: Google.Apis.CloudFilestore.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.CreateFromSourceRequest : CloudFilestoreBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateFromSourceRequest(IClientService, CreateFromSourceRequest, string)
Constructs a new CreateFromSource request.
Declaration
public CreateFromSourceRequest(IClientService service, CreateFromSourceRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CreateFromSourceRequest | 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 volume will be created. Format: projects/{project}/locations/{location}/volumePools/{volume_pool}
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 CreateFromSource parameter list.
Declaration
protected override void InitParameters()