class Google::Apis::DatastreamV1alpha1::ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
Attributes
hostname[RW]
Required. Hostname for the SSH tunnel. Corresponds to the JSON property ‘hostname` @return [String]
password[RW]
Input only. SSH password. Corresponds to the JSON property ‘password` @return [String]
port[RW]
Port for the SSH tunnel, default value is 22. Corresponds to the JSON property ‘port` @return [Fixnum]
private_key[RW]
Input only. SSH private key. Corresponds to the JSON property ‘privateKey` @return [String]
username[RW]
Required. Username for the SSH tunnel. Corresponds to the JSON property ‘username` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 479 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 484 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @password = args[:password] if args.key?(:password) @port = args[:port] if args.key?(:port) @private_key = args[:private_key] if args.key?(:private_key) @username = args[:username] if args.key?(:username) end