Class: Google::Apis::HomegraphV1::ReportStateAndNotificationResponse

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

Overview

Response type for the ReportStateAndNotification call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportStateAndNotificationResponse

Returns a new instance of ReportStateAndNotificationResponse.



611
612
613
# File 'lib/google/apis/homegraph_v1/classes.rb', line 611

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

Instance Attribute Details

#request_idString

Request ID copied from ReportStateAndNotificationRequest. Corresponds to the JSON property requestId

Returns:

  • (String)


609
610
611
# File 'lib/google/apis/homegraph_v1/classes.rb', line 609

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
# File 'lib/google/apis/homegraph_v1/classes.rb', line 616

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