Class: Google::Apis::DatastreamV1::ConnectionProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::ConnectionProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
A set of reusable connection configurations to be used as a source or destination for a stream.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#forward_ssh_connectivity ⇒ Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
-
#gcs_profile ⇒ Google::Apis::DatastreamV1::GcsProfile
Cloud Storage bucket profile.
-
#labels ⇒ Hash<String,String>
Labels.
-
#mysql_profile ⇒ Google::Apis::DatastreamV1::MysqlProfile
MySQL database profile.
-
#name ⇒ String
Output only.
-
#oracle_profile ⇒ Google::Apis::DatastreamV1::OracleProfile
Oracle database profile.
-
#private_connectivity ⇒ Google::Apis::DatastreamV1::PrivateConnectivity
Private Connectivity Corresponds to the JSON property
privateConnectivity. -
#static_service_ip_connectivity ⇒ Google::Apis::DatastreamV1::StaticServiceIpConnectivity
Static IP address connectivity.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionProfile
constructor
A new instance of ConnectionProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionProfile
Returns a new instance of ConnectionProfile.
193 194 195 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time of the resource.
Corresponds to the JSON property createTime
141 142 143 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 141 def create_time @create_time end |
#display_name ⇒ String
Required. Display name.
Corresponds to the JSON property displayName
146 147 148 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 146 def display_name @display_name end |
#forward_ssh_connectivity ⇒ Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
Corresponds to the JSON property forwardSshConnectivity
151 152 153 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 151 def forward_ssh_connectivity @forward_ssh_connectivity end |
#gcs_profile ⇒ Google::Apis::DatastreamV1::GcsProfile
Cloud Storage bucket profile.
Corresponds to the JSON property gcsProfile
156 157 158 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 156 def gcs_profile @gcs_profile end |
#labels ⇒ Hash<String,String>
Labels.
Corresponds to the JSON property labels
161 162 163 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 161 def labels @labels end |
#mysql_profile ⇒ Google::Apis::DatastreamV1::MysqlProfile
MySQL database profile.
Corresponds to the JSON property mysqlProfile
166 167 168 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 166 def mysql_profile @mysql_profile end |
#name ⇒ String
Output only. The resource's name.
Corresponds to the JSON property name
171 172 173 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 171 def name @name end |
#oracle_profile ⇒ Google::Apis::DatastreamV1::OracleProfile
Oracle database profile.
Corresponds to the JSON property oracleProfile
176 177 178 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 176 def oracle_profile @oracle_profile end |
#private_connectivity ⇒ Google::Apis::DatastreamV1::PrivateConnectivity
Private Connectivity
Corresponds to the JSON property privateConnectivity
181 182 183 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 181 def private_connectivity @private_connectivity end |
#static_service_ip_connectivity ⇒ Google::Apis::DatastreamV1::StaticServiceIpConnectivity
Static IP address connectivity.
Corresponds to the JSON property staticServiceIpConnectivity
186 187 188 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 186 def static_service_ip_connectivity @static_service_ip_connectivity end |
#update_time ⇒ String
Output only. The update time of the resource.
Corresponds to the JSON property updateTime
191 192 193 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 191 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 198 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity) @gcs_profile = args[:gcs_profile] if args.key?(:gcs_profile) @labels = args[:labels] if args.key?(:labels) @mysql_profile = args[:mysql_profile] if args.key?(:mysql_profile) @name = args[:name] if args.key?(:name) @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile) @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity) @static_service_ip_connectivity = args[:static_service_ip_connectivity] if args.key?(:static_service_ip_connectivity) @update_time = args[:update_time] if args.key?(:update_time) end |