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
Request type for the Sync
call.
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.
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_id ⇒ String
Required. Third-party user ID.
Corresponds to the JSON property agentUserId
548 549 550 |
# File 'generated/google/apis/homegraph_v1/classes.rb', line 548 def agent_user_id @agent_user_id end |
#request_id ⇒ String
Request ID used for debugging.
Corresponds to the JSON property requestId
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 |