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



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

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)


2761
2762
2763
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2761

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)


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