Class: Google::Apis::HomegraphV1::SyncRequest
- Inherits:
-
Object
- Object
- Google::Apis::HomegraphV1::SyncRequest
- 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
Instance Attribute Summary collapse
-
#agent_user_id ⇒ String
Required.
-
#request_id ⇒ String
Request ID used for debugging.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SyncRequest
constructor
A new instance of SyncRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SyncRequest
Returns a new instance of SyncRequest.
608 609 610 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 608 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_user_id ⇒ String
Required. Third-party user ID.
Corresponds to the JSON property agentUserId
601 602 603 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 601 def agent_user_id @agent_user_id end |
#request_id ⇒ String
Request ID used for debugging.
Corresponds to the JSON property requestId
606 607 608 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 606 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
613 614 615 616 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 613 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 |