Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ReadRequest
Gets the contents of a FHIR resource. Implements the FHIR standard read interaction
(DSTU2,
STU3,
R4). Also supports the FHIR
standard conditional read interaction
(DSTU2,
STU3,
R4) specified by supplying an
If-Modified-Since
header with a date/time value or an If-None-Match
header with an ETag
value. On success, the response body contains a JSON-encoded representation of the resource.
Errors generated by the FHIR store contain a JSON-encoded OperationOutcome
resource
describing the reason for the error. If the request cannot be mapped to a valid API method
on a FHIR store, a generic GCP error might be returned instead. For samples that show how to
call read
, see Getting a FHIR
resource.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ReadRequest : CloudHealthcareBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest
Constructors
ReadRequest(IClientService, string)
Constructs a new Read request.
Declaration
public ReadRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
Required. The name of the resource to retrieve.
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
Methods
InitParameters()
Initializes Read parameter list.
Declaration
protected override void InitParameters()