Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ReceiveEventsRequest::SetupRequest (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ReceiveEventsRequest::SetupRequest.

SetupRequest is the first message sent to the service to setup the RPC connection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster

def cluster() -> ::String
Returns
  • (::String) — The cluster name.

#cluster=

def cluster=(value) -> ::String
Parameter
  • value (::String) — The cluster name.
Returns
  • (::String) — The cluster name.

#controlled_mode

def controlled_mode() -> ::Google::Cloud::VisionAI::V1::ControlledMode
Returns

#controlled_mode=

def controlled_mode=(value) -> ::Google::Cloud::VisionAI::V1::ControlledMode
Parameter
Returns

#heartbeat_interval

def heartbeat_interval() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — 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.

#heartbeat_interval=

def heartbeat_interval=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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.

Returns
  • (::Google::Protobuf::Duration) — 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.

#receiver

def receiver() -> ::String
Returns
  • (::String) — A name for the receiver to self-identify.

    This is used to keep track of a receiver's read progress.

#receiver=

def receiver=(value) -> ::String
Parameter
  • value (::String) — A name for the receiver to self-identify.

    This is used to keep track of a receiver's read progress.

Returns
  • (::String) — A name for the receiver to self-identify.

    This is used to keep track of a receiver's read progress.

#stream

def stream() -> ::String
Returns
  • (::String) — The stream name. The service will return the events for the given stream.

#stream=

def stream=(value) -> ::String
Parameter
  • value (::String) — The stream name. The service will return the events for the given stream.
Returns
  • (::String) — The stream name. The service will return the events for the given stream.

#writes_done_grace_period

def writes_done_grace_period() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — 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.

#writes_done_grace_period=

def writes_done_grace_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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.

Returns
  • (::Google::Protobuf::Duration) — 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.