Class: Google::Apis::HealthcareV1beta1::SchemaConfig

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

Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SchemaConfig

Returns a new instance of SchemaConfig.



6465
6466
6467
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6465

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

Instance Attribute Details

#last_updated_partition_configGoogle::Apis::HealthcareV1beta1::TimePartitioning

Configuration for FHIR BigQuery time-partitioned tables. Corresponds to the JSON property lastUpdatedPartitionConfig



6449
6450
6451
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6449

def last_updated_partition_config
  @last_updated_partition_config
end

#recursive_structure_depthFixnum

The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called concept. concept but not concept.concept.concept. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5. Corresponds to the JSON property recursiveStructureDepth

Returns:

  • (Fixnum)


6458
6459
6460
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6458

def recursive_structure_depth
  @recursive_structure_depth
end

#schema_typeString

Specifies the output schema type. Schema type is required. Corresponds to the JSON property schemaType

Returns:

  • (String)


6463
6464
6465
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6463

def schema_type
  @schema_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6470
6471
6472
6473
6474
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6470

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