Class: Google::Cloud::VisionAI::V1::ReceiveEventsRequest::SetupRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::ReceiveEventsRequest::SetupRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/streaming_service.rb
Overview
SetupRequest is the first message sent to the service to setup the RPC connection.
Instance Attribute Summary collapse
-
#cluster ⇒ ::String
The cluster name.
-
#controlled_mode ⇒ ::Google::Cloud::VisionAI::V1::ControlledMode
Controller mode configuration for receiving events from the server.
-
#heartbeat_interval ⇒ ::Google::Protobuf::Duration
The maximum duration of server silence before the client determines the server unreachable.
-
#receiver ⇒ ::String
A name for the receiver to self-identify.
-
#stream ⇒ ::String
The stream name.
-
#writes_done_grace_period ⇒ ::Google::Protobuf::Duration
The grace period after which a
writes_done_request
is issued, that aWritesDone
is expected from the client.
Instance Attribute Details
#cluster ⇒ ::String
Returns The cluster name.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#controlled_mode ⇒ ::Google::Cloud::VisionAI::V1::ControlledMode
Returns Controller mode configuration for receiving events from the server.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#heartbeat_interval ⇒ ::Google::Protobuf::Duration
Returns The maximum duration of server silence before the client determines the server unreachable.
The client must either receive an Event
update or a heart beat message
before this duration expires; otherwise, the client will automatically
cancel the current connection and retry.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#receiver ⇒ ::String
Returns A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#stream ⇒ ::String
Returns The stream name. The service will return the events for the given stream.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#writes_done_grace_period ⇒ ::Google::Protobuf::Duration
Returns The grace period after which a writes_done_request
is issued, that a
WritesDone
is expected from the client.
The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
67 68 69 70 |
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 67 class SetupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |