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.



1900
1901
1902
# File 'lib/google/apis/health_v4/classes.rb', line 1900

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

Instance Attribute Details

#http_responseGoogle::Apis::HealthV4::HttpResponse

Represents an HTTP response. Corresponds to the JSON property httpResponse



1898
1899
1900
# File 'lib/google/apis/health_v4/classes.rb', line 1898

def http_response
  @http_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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