Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity.
Forward SSH Tunnel connectivity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hostname
def hostname() -> ::String
- (::String) — Required. Hostname for the SSH tunnel.
#hostname=
def hostname=(value) -> ::String
- value (::String) — Required. Hostname for the SSH tunnel.
- (::String) — Required. Hostname for the SSH tunnel.
#password
def password() -> ::String
-
(::String) — Input only. SSH password.
Note: The following fields are mutually exclusive:
password
,private_key
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#password=
def password=(value) -> ::String
-
value (::String) — Input only. SSH password.
Note: The following fields are mutually exclusive:
password
,private_key
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Input only. SSH password.
Note: The following fields are mutually exclusive:
password
,private_key
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#port
def port() -> ::Integer
- (::Integer) — Port for the SSH tunnel, default value is 22.
#port=
def port=(value) -> ::Integer
- value (::Integer) — Port for the SSH tunnel, default value is 22.
- (::Integer) — Port for the SSH tunnel, default value is 22.
#private_key
def private_key() -> ::String
-
(::String) — Input only. SSH private key.
Note: The following fields are mutually exclusive:
private_key
,password
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#private_key=
def private_key=(value) -> ::String
-
value (::String) — Input only. SSH private key.
Note: The following fields are mutually exclusive:
private_key
,password
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Input only. SSH private key.
Note: The following fields are mutually exclusive:
private_key
,password
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#username
def username() -> ::String
- (::String) — Required. Username for the SSH tunnel.
#username=
def username=(value) -> ::String
- value (::String) — Required. Username for the SSH tunnel.
- (::String) — Required. Username for the SSH tunnel.