Class: Google::Apis::HealthcareV1beta1::ConfigureSearchRequest

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

Overview

Request to configure the search parameters for the specified FHIR store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigureSearchRequest

Returns a new instance of ConfigureSearchRequest.



1144
1145
1146
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1144

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

Instance Attribute Details

#canonical_urlsArray<String>

The canonical URLs of the search parameters that are intended to be used for the FHIR store. See https://www.hl7.org/fhir/references.html#canonical for explanation on FHIR canonical urls Corresponds to the JSON property canonicalUrls

Returns:

  • (Array<String>)


1134
1135
1136
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1134

def canonical_urls
  @canonical_urls
end

#validate_onlyBoolean Also known as: validate_only?

If validate_only is set to true, the method will compile all the search parameters without actually setting the search config for the store and triggering the reindex. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


1141
1142
1143
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1141

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1149
1150
1151
1152
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1149

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