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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/homegraph_v1/classes.rb,
generated/google/apis/homegraph_v1/representations.rb,
generated/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.



467
468
469
# File 'generated/google/apis/homegraph_v1/classes.rb', line 467

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

Instance Attribute Details

#request_idString

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

Returns:

  • (String)


465
466
467
# File 'generated/google/apis/homegraph_v1/classes.rb', line 465

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



472
473
474
# File 'generated/google/apis/homegraph_v1/classes.rb', line 472

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