Class: Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint

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

REST hook endpoint of FHIR Subscription.

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) ⇒ 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_payloadBoolean 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

Returns:

  • (Boolean)


2771
2772
2773
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2771

def allow_resource_payload
  @allow_resource_payload
end

#endpointString

Address of the REST hook endpoint. It must be a valid HTTPS URL with TLS certificate. Corresponds to the JSON property endpoint

Returns:

  • (String)


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