Class: Google::Apis::HealthcareV1beta1::TimePartitioning

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 FHIR BigQuery time-partitioned tables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TimePartitioning

Returns a new instance of TimePartitioning.



7101
7102
7103
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7101

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

Instance Attribute Details

#expiration_msFixnum

Number of milliseconds for which to keep the storage for a partition. Corresponds to the JSON property expirationMs

Returns:

  • (Fixnum)


7094
7095
7096
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7094

def expiration_ms
  @expiration_ms
end

#typeString

Type of partitioning. Corresponds to the JSON property type

Returns:

  • (String)


7099
7100
7101
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7099

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7106
7107
7108
7109
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7106

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