google-apis-healthcare_v1 0.63.0 → 0.64.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 002bcb64f51503ac32149319dc53acd0fed2d4935314148e0db1900cf57f6dfd
4
- data.tar.gz: d2cc2121cdcae9d2b31a20ae6740fe63908d6199efb1727ae7cc732f0370feda
3
+ metadata.gz: f5dca70629a744a880127b897cfbd76b4565f41318958214ca52f5ad574bfc0b
4
+ data.tar.gz: a84fd634414e2a83446e9253ad0d50b35d28b605eb66a9a4f673393eb06d4564
5
5
  SHA512:
6
- metadata.gz: 252168ce79d7f09d5a3f3630c5de383eda5ea16ec17ccbc8700e1af4993986955a88cea1524d431ea2b46d2e77eefff40c02d18d8e1409db14aee9fd917f9ff6
7
- data.tar.gz: 1f5e7ff8380399cf83a43d31cea4f5b2019f32d38bc7905015fa4b393564065e32ae3bcfc3008d1667c2adfe1efacedd0a8d8a389bdf0f3fe3a9978eab10e6f8
6
+ metadata.gz: 9b11edc2bf7e9585167c5ed4a8a8c7c4d8125e37a90e4f13c68c859707ee619a24c2dbcfea4b3340cdebe3ace794227f208e31ace9446bf76ebf35e1a1d18376
7
+ data.tar.gz: d7a9ea5dcdb400fd2d7d5e94a9e810f9cc4a6430cb943c9d8220391290b5feac4b71cb6dcc0795d001c9d4076cebabd5f32c513c41a1fd665632bad535876613
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.64.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240731
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.63.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240718
@@ -4454,6 +4454,105 @@ module Google
4454
4454
  end
4455
4455
  end
4456
4456
 
4457
+ # Filtering fields for an HL7 rollback. Currently only supports a list of
4458
+ # operation ids to roll back.
4459
+ class RollbackHl7MessagesFilteringFields
4460
+ include Google::Apis::Core::Hashable
4461
+
4462
+ # Optional. A list of operation IDs to roll back.
4463
+ # Corresponds to the JSON property `operationIds`
4464
+ # @return [Array<Fixnum>]
4465
+ attr_accessor :operation_ids
4466
+
4467
+ def initialize(**args)
4468
+ update!(**args)
4469
+ end
4470
+
4471
+ # Update properties of this object
4472
+ def update!(**args)
4473
+ @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
4474
+ end
4475
+ end
4476
+
4477
+ # Point in time recovery rollback request.
4478
+ class RollbackHl7V2MessagesRequest
4479
+ include Google::Apis::Core::Hashable
4480
+
4481
+ # Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
4482
+ # Corresponds to the JSON property `changeType`
4483
+ # @return [String]
4484
+ attr_accessor :change_type
4485
+
4486
+ # Optional. Specifies whether to exclude earlier rollbacks.
4487
+ # Corresponds to the JSON property `excludeRollbacks`
4488
+ # @return [Boolean]
4489
+ attr_accessor :exclude_rollbacks
4490
+ alias_method :exclude_rollbacks?, :exclude_rollbacks
4491
+
4492
+ # Filtering fields for an HL7 rollback. Currently only supports a list of
4493
+ # operation ids to roll back.
4494
+ # Corresponds to the JSON property `filteringFields`
4495
+ # @return [Google::Apis::HealthcareV1::RollbackHl7MessagesFilteringFields]
4496
+ attr_accessor :filtering_fields
4497
+
4498
+ # Optional. When enabled, changes will be reverted without explicit confirmation.
4499
+ # Corresponds to the JSON property `force`
4500
+ # @return [Boolean]
4501
+ attr_accessor :force
4502
+ alias_method :force?, :force
4503
+
4504
+ # Optional. Cloud storage object containing list of `resourceId` lines,
4505
+ # identifying resources to be reverted
4506
+ # Corresponds to the JSON property `inputGcsObject`
4507
+ # @return [String]
4508
+ attr_accessor :input_gcs_object
4509
+
4510
+ # Required. Bucket to deposit result
4511
+ # Corresponds to the JSON property `resultGcsBucket`
4512
+ # @return [String]
4513
+ attr_accessor :result_gcs_bucket
4514
+
4515
+ # Required. Times point to rollback to.
4516
+ # Corresponds to the JSON property `rollbackTime`
4517
+ # @return [String]
4518
+ attr_accessor :rollback_time
4519
+
4520
+ def initialize(**args)
4521
+ update!(**args)
4522
+ end
4523
+
4524
+ # Update properties of this object
4525
+ def update!(**args)
4526
+ @change_type = args[:change_type] if args.key?(:change_type)
4527
+ @exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks)
4528
+ @filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields)
4529
+ @force = args[:force] if args.key?(:force)
4530
+ @input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object)
4531
+ @result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket)
4532
+ @rollback_time = args[:rollback_time] if args.key?(:rollback_time)
4533
+ end
4534
+ end
4535
+
4536
+ # Final response of rollback HL7v2 messages request.
4537
+ class RollbackHl7V2MessagesResponse
4538
+ include Google::Apis::Core::Hashable
4539
+
4540
+ # The name of the HL7 store to rollback, in the format of "projects/`project_id`/
4541
+ # locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`hl7v2_store_id`".
4542
+ # Corresponds to the JSON property `hl7v2Store`
4543
+ # @return [String]
4544
+ attr_accessor :hl7v2_store
4545
+
4546
+ def initialize(**args)
4547
+ update!(**args)
4548
+ end
4549
+
4550
+ # Update properties of this object
4551
+ def update!(**args)
4552
+ @hl7v2_store = args[:hl7v2_store] if args.key?(:hl7v2_store)
4553
+ end
4554
+ end
4555
+
4457
4556
  # Configuration for the FHIR BigQuery schema. Determines how the server
4458
4557
  # generates the schema.
4459
4558
  class SchemaConfig
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1
18
18
  # Version of the google-apis-healthcare_v1 gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240718"
25
+ REVISION = "20240731"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,24 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class RollbackHl7MessagesFilteringFields
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class RollbackHl7V2MessagesRequest
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class RollbackHl7V2MessagesResponse
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
775
793
  class SchemaConfig
776
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
795
 
@@ -2077,6 +2095,34 @@ module Google
2077
2095
  end
2078
2096
  end
2079
2097
 
2098
+ class RollbackHl7MessagesFilteringFields
2099
+ # @private
2100
+ class Representation < Google::Apis::Core::JsonRepresentation
2101
+ collection :operation_ids, as: 'operationIds'
2102
+ end
2103
+ end
2104
+
2105
+ class RollbackHl7V2MessagesRequest
2106
+ # @private
2107
+ class Representation < Google::Apis::Core::JsonRepresentation
2108
+ property :change_type, as: 'changeType'
2109
+ property :exclude_rollbacks, as: 'excludeRollbacks'
2110
+ property :filtering_fields, as: 'filteringFields', class: Google::Apis::HealthcareV1::RollbackHl7MessagesFilteringFields, decorator: Google::Apis::HealthcareV1::RollbackHl7MessagesFilteringFields::Representation
2111
+
2112
+ property :force, as: 'force'
2113
+ property :input_gcs_object, as: 'inputGcsObject'
2114
+ property :result_gcs_bucket, as: 'resultGcsBucket'
2115
+ property :rollback_time, as: 'rollbackTime'
2116
+ end
2117
+ end
2118
+
2119
+ class RollbackHl7V2MessagesResponse
2120
+ # @private
2121
+ class Representation < Google::Apis::Core::JsonRepresentation
2122
+ property :hl7v2_store, as: 'hl7v2Store'
2123
+ end
2124
+ end
2125
+
2080
2126
  class SchemaConfig
2081
2127
  # @private
2082
2128
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5373,6 +5373,48 @@ module Google
5373
5373
  execute_or_queue_command(command, &block)
5374
5374
  end
5375
5375
 
5376
+ # Rolls back messages from the HL7 store to the specified time. This method
5377
+ # returns an Operation that can be used to track the status of the rollback by
5378
+ # calling GetOperation. Immediate fatal errors appear in the error field, errors
5379
+ # are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](
5380
+ # https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when
5381
+ # the operation finishes, a detailed response of type
5382
+ # RollbackHl7V2MessagesResponse is returned in the response field. The metadata
5383
+ # field type for this operation is OperationMetadata.
5384
+ # @param [String] name
5385
+ # Required. The name of the HL7v2 store to rollback, in the format of "projects/`
5386
+ # project_id`/locations/`location_id`/datasets/`dataset_id` /hl7V2Stores/`
5387
+ # hl7v2_store_id`".
5388
+ # @param [Google::Apis::HealthcareV1::RollbackHl7V2MessagesRequest] rollback_hl7_v2_messages_request_object
5389
+ # @param [String] fields
5390
+ # Selector specifying which fields to include in a partial response.
5391
+ # @param [String] quota_user
5392
+ # Available to use for quota purposes for server-side applications. Can be any
5393
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5394
+ # @param [Google::Apis::RequestOptions] options
5395
+ # Request-specific options
5396
+ #
5397
+ # @yield [result, err] Result & error if block supplied
5398
+ # @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
5399
+ # @yieldparam err [StandardError] error object if request failed
5400
+ #
5401
+ # @return [Google::Apis::HealthcareV1::Operation]
5402
+ #
5403
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5404
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5405
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5406
+ def rollback_hl7_v2_store_hl7_v2_messages(name, rollback_hl7_v2_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5407
+ command = make_simple_command(:post, 'v1/{+name}:rollback', options)
5408
+ command.request_representation = Google::Apis::HealthcareV1::RollbackHl7V2MessagesRequest::Representation
5409
+ command.request_object = rollback_hl7_v2_messages_request_object
5410
+ command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
5411
+ command.response_class = Google::Apis::HealthcareV1::Operation
5412
+ command.params['name'] = name unless name.nil?
5413
+ command.query['fields'] = fields unless fields.nil?
5414
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5415
+ execute_or_queue_command(command, &block)
5416
+ end
5417
+
5376
5418
  # Sets the access control policy on the specified resource. Replaces any
5377
5419
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
5378
5420
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.64.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
63
63
  post_install_message:
64
64
  rdoc_options: []