Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::ContinueSession.
Reconnects to an existing session. The client must send this as the first message to the server to reconnect to an existing session. The client may immediately send Data messages without waiting for a reply from the server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_id
def instance_id() -> ::String
Returns
- (::String) — Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance
#instance_id=
def instance_id=(value) -> ::String
Parameter
- value (::String) — Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance
Returns
- (::String) — Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance
#location_id
def location_id() -> ::String
Returns
-
(::String) — Required.
location_idis used to route the request to a specific region. Use the same region which was used to create the instance. Use the formatlocations/{location}, for example:locations/us-central1.
#location_id=
def location_id=(value) -> ::String
Parameter
-
value (::String) — Required.
location_idis used to route the request to a specific region. Use the same region which was used to create the instance. Use the formatlocations/{location}, for example:locations/us-central1.
Returns
-
(::String) — Required.
location_idis used to route the request to a specific region. Use the same region which was used to create the instance. Use the formatlocations/{location}, for example:locations/us-central1.
#session_id
def session_id() -> ::String
Returns
- (::String) — Required. The id of the session to reconnect.
#session_id=
def session_id=(value) -> ::String
Parameter
- value (::String) — Required. The id of the session to reconnect.
Returns
- (::String) — Required. The id of the session to reconnect.