Class: Google::Apis::HealthcareV1beta1::TimePartitioning
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::TimePartitioning
- 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 FHIR BigQuery time-partitioned tables.
Instance Attribute Summary collapse
-
#expiration_ms ⇒ Fixnum
Number of milliseconds for which to keep the storage for a partition.
-
#type ⇒ String
Type of partitioning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimePartitioning
constructor
A new instance of TimePartitioning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimePartitioning
Returns a new instance of TimePartitioning.
7251 7252 7253 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiration_ms ⇒ Fixnum
Number of milliseconds for which to keep the storage for a partition.
Corresponds to the JSON property expirationMs
7244 7245 7246 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7244 def expiration_ms @expiration_ms end |
#type ⇒ String
Type of partitioning.
Corresponds to the JSON property type
7249 7250 7251 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7249 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7256 7257 7258 7259 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7256 def update!(**args) @expiration_ms = args[:expiration_ms] if args.key?(:expiration_ms) @type = args[:type] if args.key?(:type) end |