Class: Google::Apis::HomegraphV1::SyncRequest

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

Request type for the Sync call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SyncRequest

Returns a new instance of SyncRequest.



555
556
557
# File 'generated/google/apis/homegraph_v1/classes.rb', line 555

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

Instance Attribute Details

#agent_user_idString

Required. Third-party user ID. Corresponds to the JSON property agentUserId

Returns:

  • (String)


548
549
550
# File 'generated/google/apis/homegraph_v1/classes.rb', line 548

def agent_user_id
  @agent_user_id
end

#request_idString

Request ID used for debugging. Corresponds to the JSON property requestId

Returns:

  • (String)


553
554
555
# File 'generated/google/apis/homegraph_v1/classes.rb', line 553

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



560
561
562
563
# File 'generated/google/apis/homegraph_v1/classes.rb', line 560

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