Class: Google::Apis::HealthcareV1::ExportMessagesRequest

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

Overview

Request to schedule an export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportMessagesRequest

Returns a new instance of ExportMessagesRequest.



1506
1507
1508
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1506

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

Instance Attribute Details

#end_timeString

The end of the range in send_time (MSH.7, https://www.hl7.org/documentcenter/ public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the time when the export is scheduled is used. This value has to come after the start_time defined below. Only messages whose send_time lies in the range start_time (inclusive) to end_time (exclusive) are exported. Corresponds to the JSON property endTime

Returns:

  • (String)


1487
1488
1489
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1487

def end_time
  @end_time
end

#gcs_destinationGoogle::Apis::HealthcareV1::GcsDestination

The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the roles/storage.objectAdmin Cloud IAM roles on the Cloud Storage location. Corresponds to the JSON property gcsDestination



1494
1495
1496
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1494

def gcs_destination
  @gcs_destination
end

#start_timeString

The start of the range in send_time (MSH.7, https://www.hl7.org/ documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH. htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is used. This value has to come before the end_time defined below. Only messages whose send_time lies in the range start_time (inclusive) to end_time (exclusive) are exported. Corresponds to the JSON property startTime

Returns:

  • (String)


1504
1505
1506
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1504

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1511
1512
1513
1514
1515
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1511

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