Class: Google::Apis::HealthcareV1alpha2::SubscriptionConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SubscriptionConfig

Returns a new instance of SubscriptionConfig



2752
2753
2754
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2752

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allowed_rest_hook_endpointsArray<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



2750
2751
2752
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2750

def allowed_rest_hook_endpoints
  @allowed_rest_hook_endpoints
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2757
2758
2759
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2757

def update!(**args)
  @allowed_rest_hook_endpoints = args[:allowed_rest_hook_endpoints] if args.key?(:allowed_rest_hook_endpoints)
end