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
2770 2771 2772 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2770 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
2761 2762 2763 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2761 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
2768 2769 2770 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2768 def endpoint @endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2775 2776 2777 2778 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2775 def update!(**args) @allow_resource_payload = args[:allow_resource_payload] if args.key?(:allow_resource_payload) @endpoint = args[:endpoint] if args.key?(:endpoint) end |