Class ProjectsResource.LocationsResource.DatasetsResource.CreateRequest
Creates a new health dataset. Results are returned through the Operation interface which returns
either an Operation.response
which contains a Dataset or Operation.error
. The metadata field
type is OperationMetadata.
Inheritance
ProjectsResource.LocationsResource.DatasetsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.CreateRequest : CloudHealthcareBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Dataset, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Dataset body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Dataset | body | |
string | parent |
Properties
DatasetId
Required. The ID of the dataset that is being created. The string must match the following
regex: [\p{L}\p{N}_\-\.]{1,256}
.
Declaration
[RequestParameter("datasetId", RequestParameterType.Query)]
public virtual string DatasetId { get; set; }
Property Value
Type | Description |
---|---|
string |
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 name of the project where the server creates the dataset. For example,
projects/{project_id}/locations/{location_id}
.
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 Create parameter list.
Declaration
protected override void InitParameters()