Class: Google::Apis::HealthcareV1::ApplyAdminConsentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::ApplyAdminConsentsResponse
- 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 more...
Overview
Response when all admin Consent resources in scope were processed and all affected resources were reindexed successfully. This structure will be 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 consent access change.
-
#consent_apply_success ⇒ Fixnum
If
validate_only=false
in ApplyAdminConsentsRequest, this counter contains the number of Consent resources that were successfully applied. -
#failed_resources ⇒ Fixnum
The number of resources (including the Consent resources) that ApplyAdminConsents failed to re-index.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplyAdminConsentsResponse
constructor
A new instance of ApplyAdminConsentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplyAdminConsentsResponse
Returns a new instance of ApplyAdminConsentsResponse.
274 275 276 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_resources ⇒ Fixnum
The number of resources (including the Consent resources) that may have
consent access change.
Corresponds to the JSON property affectedResources
259 260 261 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 259 def affected_resources @affected_resources end |
#consent_apply_success ⇒ Fixnum
If validate_only=false
in ApplyAdminConsentsRequest, this counter contains
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
266 267 268 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 266 def @consent_apply_success end |
#failed_resources ⇒ Fixnum
The number of resources (including the Consent resources) that
ApplyAdminConsents failed to re-index.
Corresponds to the JSON property failedResources
272 273 274 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 272 def failed_resources @failed_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
279 280 281 282 283 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 279 def update!(**args) @affected_resources = args[:affected_resources] if args.key?(:affected_resources) @consent_apply_success = args[:consent_apply_success] if args.key?(:consent_apply_success) @failed_resources = args[:failed_resources] if args.key?(:failed_resources) end |