Cloud SQL Admin V1BETA4 API - Class Google::Cloud::Sql::V1beta4::StreamSqlDataResponse (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::StreamSqlDataResponse.

Message sent from SqlDataService back to the client.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ack

def ack() -> ::Google::Cloud::Sql::V1beta4::Ack
Returns

#ack=

def ack=(value) -> ::Google::Cloud::Sql::V1beta4::Ack
Parameter
Returns

#data

def data() -> ::Google::Cloud::Sql::V1beta4::DataPacket
Returns
  • (::Google::Cloud::Sql::V1beta4::DataPacket) — Data from the database.

    Note: The following fields are mutually exclusive: data, session_metadata, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#data=

def data=(value) -> ::Google::Cloud::Sql::V1beta4::DataPacket
Parameter
  • value (::Google::Cloud::Sql::V1beta4::DataPacket) — Data from the database.

    Note: The following fields are mutually exclusive: data, session_metadata, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Sql::V1beta4::DataPacket) — Data from the database.

    Note: The following fields are mutually exclusive: data, session_metadata, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#session_metadata

def session_metadata() -> ::Google::Cloud::Sql::V1beta4::SessionMetadata
Returns
  • (::Google::Cloud::Sql::V1beta4::SessionMetadata) — The first message from the server to the client, containing metadata about this session.

    Note: The following fields are mutually exclusive: session_metadata, data, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#session_metadata=

def session_metadata=(value) -> ::Google::Cloud::Sql::V1beta4::SessionMetadata
Parameter
  • value (::Google::Cloud::Sql::V1beta4::SessionMetadata) — The first message from the server to the client, containing metadata about this session.

    Note: The following fields are mutually exclusive: session_metadata, data, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Sql::V1beta4::SessionMetadata) — The first message from the server to the client, containing metadata about this session.

    Note: The following fields are mutually exclusive: session_metadata, data, terminate_session. If a field in that set is populated, all other fields in the set will automatically be cleared.

#terminate_session

def terminate_session() -> ::Google::Cloud::Sql::V1beta4::TerminateSession
Returns
  • (::Google::Cloud::Sql::V1beta4::TerminateSession) — Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.

    Note: The following fields are mutually exclusive: terminate_session, session_metadata, data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#terminate_session=

def terminate_session=(value) -> ::Google::Cloud::Sql::V1beta4::TerminateSession
Parameter
  • value (::Google::Cloud::Sql::V1beta4::TerminateSession) — Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.

    Note: The following fields are mutually exclusive: terminate_session, session_metadata, data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Sql::V1beta4::TerminateSession) — Terminates the session. This indicates that the database connection is closed. When the client receives this message, it should not attempt to reconnect.

    Note: The following fields are mutually exclusive: terminate_session, session_metadata, data. If a field in that set is populated, all other fields in the set will automatically be cleared.