Class: Google::Apis::HealthcareV1alpha2::SearchResourcesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb

Overview

Request to search the resources in the specified FHIR store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchResourcesRequest

Returns a new instance of SearchResourcesRequest



2516
2517
2518
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2516

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_typeString

The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index. Corresponds to the JSON property resourceType

Returns:

  • (String)


2514
2515
2516
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2514

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2521
2522
2523
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2521

def update!(**args)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end