Class: Google::Apis::HealthV4::GoogleDevicesandservicesHealthV4WebhookNotificationCloudLog

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb

Overview

Log message for a webhook notification sent by the Google Health API to a subscriber's endpoint. Includes the HTTP response received from the endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevicesandservicesHealthV4WebhookNotificationCloudLog

Returns a new instance of GoogleDevicesandservicesHealthV4WebhookNotificationCloudLog.



1906
1907
1908
# File 'lib/google/apis/health_v4/classes.rb', line 1906

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

Instance Attribute Details

#http_responseGoogle::Apis::HealthV4::HttpResponse

Represents an HTTP response. Corresponds to the JSON property httpResponse



1904
1905
1906
# File 'lib/google/apis/health_v4/classes.rb', line 1904

def http_response
  @http_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1911
1912
1913
# File 'lib/google/apis/health_v4/classes.rb', line 1911

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