Class: Google::Apis::HealthcareV1beta1::ApplyConsentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ApplyConsentsResponse
- 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
Response when all Consent resources in scope were processed and all affected resources were reindexed successfully. This structure is included in the response when the operation finishes successfully.
Instance Attribute Summary collapse
-
#affected_resources ⇒ Fixnum
The number of resources (including the Consent resources) that may have consensual access change.
-
#consent_apply_failure ⇒ Fixnum
If
validate_only = false
in ApplyConsentsRequest, this counter is the number of Consent resources that were failed to apply. -
#consent_apply_success ⇒ Fixnum
If
validate_only = false
in ApplyConsentsRequest, this counter is the number of Consent resources that were successfully applied. -
#failed_resources ⇒ Fixnum
The number of resources (including the Consent resources) that ApplyConsents failed to re-index.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplyConsentsResponse
constructor
A new instance of ApplyConsentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplyConsentsResponse
Returns a new instance of ApplyConsentsResponse.
544 545 546 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_resources ⇒ Fixnum
The number of resources (including the Consent resources) that may have
consensual access change.
Corresponds to the JSON property affectedResources
522 523 524 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 522 def affected_resources @affected_resources end |
#consent_apply_failure ⇒ Fixnum
If validate_only = false
in ApplyConsentsRequest, this counter is the number
of Consent resources that were failed to apply. Otherwise, it is the number of
Consent resources that are not supported or invalid.
Corresponds to the JSON property consentApplyFailure
529 530 531 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 529 def @consent_apply_failure end |
#consent_apply_success ⇒ Fixnum
If validate_only = false
in ApplyConsentsRequest, this counter is the number
of Consent resources that were successfully applied. Otherwise, it is the
number of Consent resources that are supported.
Corresponds to the JSON property consentApplySuccess
536 537 538 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 536 def @consent_apply_success end |
#failed_resources ⇒ Fixnum
The number of resources (including the Consent resources) that ApplyConsents
failed to re-index.
Corresponds to the JSON property failedResources
542 543 544 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 542 def failed_resources @failed_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
549 550 551 552 553 554 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 549 def update!(**args) @affected_resources = args[:affected_resources] if args.key?(:affected_resources) @consent_apply_failure = args[:consent_apply_failure] if args.key?(:consent_apply_failure) @consent_apply_success = args[:consent_apply_success] if args.key?(:consent_apply_success) @failed_resources = args[:failed_resources] if args.key?(:failed_resources) end |