Class: Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest

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 export the history of resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportResourcesHistoryRequest

Returns a new instance of ExportResourcesHistoryRequest.



2890
2891
2892
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2890

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

Instance Attribute Details

#_sinceString

If provided, only resources versions updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, 2015-02- 07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z. The time must be specified to the second and include a time zone. Corresponds to the JSON property _since

Returns:

  • (String)


2864
2865
2866
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2864

def _since
  @_since
end

#_typeString

String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported. Corresponds to the JSON property _type

Returns:

  • (String)


2870
2871
2872
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2870

def _type
  @_type
end

#bigquery_destinationGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination

The configuration for exporting to BigQuery. Corresponds to the JSON property bigqueryDestination



2875
2876
2877
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2875

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination

The configuration for exporting to Cloud Storage. Corresponds to the JSON property gcsDestination



2880
2881
2882
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2880

def gcs_destination
  @gcs_destination
end

#max_resource_versionsFixnum

If provided and non-zero, places a limit on the number of resource versions that are returned for a given resource. For example, if the limit is 100 and a resource has over 100 versions, only the 100 most recent versions will be returned. Must be positive. Corresponds to the JSON property maxResourceVersions

Returns:

  • (Fixnum)


2888
2889
2890
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2888

def max_resource_versions
  @max_resource_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2895
2896
2897
2898
2899
2900
2901
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2895

def update!(**args)
  @_since = args[:_since] if args.key?(:_since)
  @_type = args[:_type] if args.key?(:_type)
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
  @max_resource_versions = args[:max_resource_versions] if args.key?(:max_resource_versions)
end