Class: Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint
- 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
REST hook endpoint of FHIR Subscription.
Instance Attribute Summary collapse
-
#allow_resource_payload ⇒ Boolean
(also: #allow_resource_payload?)
Whether this endpoint is allowed to receive full resource payloads.
-
#endpoint ⇒ String
Address of the REST hook endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscriptionRestHookEndpoint
constructor
A new instance of SubscriptionRestHookEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriptionRestHookEndpoint
Returns a new instance of SubscriptionRestHookEndpoint
2780 2781 2782 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2780 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_resource_payload ⇒ Boolean Also known as: allow_resource_payload?
Whether this endpoint is allowed to receive full resource payloads. If set
to false, the subscription notificiation sending to this endpoint with full
resource payload will be blocked.
Corresponds to the JSON property allowResourcePayload
2771 2772 2773 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2771 def allow_resource_payload @allow_resource_payload end |
#endpoint ⇒ String
Address of the REST hook endpoint. It must be a valid HTTPS URL with TLS
certificate.
Corresponds to the JSON property endpoint
2778 2779 2780 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2778 def endpoint @endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2785 2786 2787 2788 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2785 def update!(**args) @allow_resource_payload = args[:allow_resource_payload] if args.key?(:allow_resource_payload) @endpoint = args[:endpoint] if args.key?(:endpoint) end |