Class: Google::Apis::DatastreamV1alpha1::ConnectionProfile

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionProfile

Returns a new instance of ConnectionProfile.



197
198
199
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 197

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. The create time of the resource. Corresponds to the JSON property createTime

Returns:

  • (String)


140
141
142
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 140

def create_time
  @create_time
end

#display_nameString

Required. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


145
146
147
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 145

def display_name
  @display_name
end

#forward_ssh_connectivityGoogle::Apis::DatastreamV1alpha1::ForwardSshTunnelConnectivity

Forward SSH Tunnel connectivity. Corresponds to the JSON property forwardSshConnectivity



150
151
152
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 150

def forward_ssh_connectivity
  @forward_ssh_connectivity
end

#gcs_profileGoogle::Apis::DatastreamV1alpha1::GcsProfile

Cloud Storage bucket profile. Corresponds to the JSON property gcsProfile



155
156
157
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 155

def gcs_profile
  @gcs_profile
end

#labelsHash<String,String>

Labels. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


160
161
162
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 160

def labels
  @labels
end

#mysql_profileGoogle::Apis::DatastreamV1alpha1::MysqlProfile

MySQL database profile. Corresponds to the JSON property mysqlProfile



165
166
167
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 165

def mysql_profile
  @mysql_profile
end

#nameString

Output only. The resource's name. Corresponds to the JSON property name

Returns:

  • (String)


170
171
172
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 170

def name
  @name
end

#no_connectivityGoogle::Apis::DatastreamV1alpha1::NoConnectivitySettings

No connectivity settings. Corresponds to the JSON property noConnectivity



175
176
177
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 175

def no_connectivity
  @no_connectivity
end

#oracle_profileGoogle::Apis::DatastreamV1alpha1::OracleProfile

Oracle database profile. Corresponds to the JSON property oracleProfile



180
181
182
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 180

def oracle_profile
  @oracle_profile
end

#private_connectivityGoogle::Apis::DatastreamV1alpha1::PrivateConnectivity

Private Connectivity Corresponds to the JSON property privateConnectivity



185
186
187
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 185

def private_connectivity
  @private_connectivity
end

#static_service_ip_connectivityGoogle::Apis::DatastreamV1alpha1::StaticServiceIpConnectivity

Static IP address connectivity. Corresponds to the JSON property staticServiceIpConnectivity



190
191
192
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 190

def static_service_ip_connectivity
  @static_service_ip_connectivity
end

#update_timeString

Output only. The update time of the resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


195
196
197
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 195

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



202
203
204
205
206
207
208
209
210
211
212
213
214
215
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 202

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)
  @no_connectivity = args[:no_connectivity] if args.key?(:no_connectivity)
  @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