Class: Google::Apis::HealthV4::WebhookNotificationCloudLog

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

Returns a new instance of WebhookNotificationCloudLog.



4373
4374
4375
# File 'lib/google/apis/health_v4/classes.rb', line 4373

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

Instance Attribute Details

#http_responseGoogle::Apis::HealthV4::HttpResponse

Represents an HTTP response. Corresponds to the JSON property httpResponse



4371
4372
4373
# File 'lib/google/apis/health_v4/classes.rb', line 4371

def http_response
  @http_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4378
4379
4380
# File 'lib/google/apis/health_v4/classes.rb', line 4378

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