Class: Google::Apis::HealthcareV1alpha2::SubscriptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::SubscriptionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
Configuration of FHIR Subscription: https://www.hl7.org/fhir/subscription.html.
Instance Attribute Summary collapse
-
#allowed_rest_hook_endpoints ⇒ Array<Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint>
REST hook endpoints that are allowed to receive subscription notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscriptionConfig
constructor
A new instance of SubscriptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriptionConfig
Returns a new instance of SubscriptionConfig
2742 2743 2744 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2742 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_rest_hook_endpoints ⇒ Array<Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint>
REST hook endpoints that are allowed to receive subscription notifications.
The create or update operation on a FHIR Subscription resource will fail if
the FHIR Subscription resource contains a REST hook endpoint that is not in
this list.
A subscription notification push will fail if the FHIR Subscription
resource contains a REST hook endpoint that is not in this list.
The REST hook endpoint in a subscription resource will be compared with the
endpoints in this list by exact matching.
Users must verify their ownership of the domain of an endpoint before
adding it to this list. To verify domain ownership, go to
https://search.google.com/search-console/welcome.
Corresponds to the JSON property allowedRestHookEndpoints
2740 2741 2742 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2740 def allowed_rest_hook_endpoints @allowed_rest_hook_endpoints end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2747 2748 2749 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2747 def update!(**args) @allowed_rest_hook_endpoints = args[:allowed_rest_hook_endpoints] if args.key?(:allowed_rest_hook_endpoints) end |