Class: Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest
- 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
-
#_since ⇒ String
If provided, only resources versions updated after this time are exported.
-
#_type ⇒ String
String of comma-delimited FHIR resource types.
-
#gcs_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination
The configuration for exporting to Cloud Storage.
-
#max_resource_versions ⇒ Fixnum
If provided and non-zero, places a limit on the number of resource versions that are returned for a given resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportResourcesHistoryRequest
constructor
A new instance of ExportResourcesHistoryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExportResourcesHistoryRequest
Returns a new instance of ExportResourcesHistoryRequest.
2885 2886 2887 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_since ⇒ String
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
2864 2865 2866 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2864 def _since @_since end |
#_type ⇒ String
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
2870 2871 2872 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2870 def _type @_type end |
#gcs_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination
The configuration for exporting to Cloud Storage.
Corresponds to the JSON property gcsDestination
2875 2876 2877 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2875 def gcs_destination @gcs_destination end |
#max_resource_versions ⇒ Fixnum
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
2883 2884 2885 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2883 def max_resource_versions @max_resource_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2890 2891 2892 2893 2894 2895 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2890 def update!(**args) @_since = args[:_since] if args.key?(:_since) @_type = args[:_type] if args.key?(:_type) @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) @max_resource_versions = args[:max_resource_versions] if args.key?(:max_resource_versions) end |