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

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

Message sent from the client to SqlDataService.

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

#continue_session

def continue_session() -> ::Google::Cloud::Sql::V1beta4::ContinueSession
Returns
  • (::Google::Cloud::Sql::V1beta4::ContinueSession) — Continues an existing session. When continuing an existing session, this is the first message the client sends.

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

#continue_session=

def continue_session=(value) -> ::Google::Cloud::Sql::V1beta4::ContinueSession
Parameter
  • value (::Google::Cloud::Sql::V1beta4::ContinueSession) — Continues an existing session. When continuing an existing session, this is the first message the client sends.

    Note: The following fields are mutually exclusive: continue_session, start_session, 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::ContinueSession) — Continues an existing session. When continuing an existing session, this is the first message the client sends.

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

#data

def data() -> ::Google::Cloud::Sql::V1beta4::DataPacket
Returns
  • (::Google::Cloud::Sql::V1beta4::DataPacket) — Database data.

    Note: The following fields are mutually exclusive: data, start_session, continue_session, 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) — Database data.

    Note: The following fields are mutually exclusive: data, start_session, continue_session, 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) — Database data.

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

#instance_id

def instance_id() -> ::String
Returns
  • (::String) — Optional. Deprecated: Use StartSession.instance_id or ContinueSession.instance_id instead. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

#instance_id=

def instance_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Deprecated: Use StartSession.instance_id or ContinueSession.instance_id instead. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance
Returns
  • (::String) — Optional. Deprecated: Use StartSession.instance_id or ContinueSession.instance_id instead. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance

#start_session

def start_session() -> ::Google::Cloud::Sql::V1beta4::StartSession
Returns
  • (::Google::Cloud::Sql::V1beta4::StartSession) — Starts a new session. When starting a new session, this is the first message the client sends.

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

#start_session=

def start_session=(value) -> ::Google::Cloud::Sql::V1beta4::StartSession
Parameter
  • value (::Google::Cloud::Sql::V1beta4::StartSession) — Starts a new session. When starting a new session, this is the first message the client sends.

    Note: The following fields are mutually exclusive: start_session, continue_session, 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::StartSession) — Starts a new session. When starting a new session, this is the first message the client sends.

    Note: The following fields are mutually exclusive: start_session, continue_session, 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 closes the connection to the database.

    Note: The following fields are mutually exclusive: terminate_session, start_session, continue_session, 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 closes the connection to the database.

    Note: The following fields are mutually exclusive: terminate_session, start_session, continue_session, 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 closes the connection to the database.

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