# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. defmodule GoogleApi.Datastream.V1.Model.ConnectionProfile do @moduledoc """ A set of reusable connection configurations to be used as a source or destination for a stream. ## Attributes * `bigqueryProfile` (*type:* `GoogleApi.Datastream.V1.Model.BigQueryProfile.t`, *default:* `nil`) - BigQuery Connection Profile configuration. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The create time of the resource. * `displayName` (*type:* `String.t`, *default:* `nil`) - Required. Display name. * `forwardSshConnectivity` (*type:* `GoogleApi.Datastream.V1.Model.ForwardSshTunnelConnectivity.t`, *default:* `nil`) - Forward SSH tunnel connectivity. * `gcsProfile` (*type:* `GoogleApi.Datastream.V1.Model.GcsProfile.t`, *default:* `nil`) - Cloud Storage ConnectionProfile configuration. * `labels` (*type:* `map()`, *default:* `nil`) - Labels. * `mysqlProfile` (*type:* `GoogleApi.Datastream.V1.Model.MysqlProfile.t`, *default:* `nil`) - MySQL ConnectionProfile configuration. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource's name. * `oracleProfile` (*type:* `GoogleApi.Datastream.V1.Model.OracleProfile.t`, *default:* `nil`) - Oracle ConnectionProfile configuration. * `postgresqlProfile` (*type:* `GoogleApi.Datastream.V1.Model.PostgresqlProfile.t`, *default:* `nil`) - PostgreSQL Connection Profile configuration. * `privateConnectivity` (*type:* `GoogleApi.Datastream.V1.Model.PrivateConnectivity.t`, *default:* `nil`) - Private connectivity. * `sqlServerProfile` (*type:* `GoogleApi.Datastream.V1.Model.SqlServerProfile.t`, *default:* `nil`) - SQLServer Connection Profile configuration. * `staticServiceIpConnectivity` (*type:* `GoogleApi.Datastream.V1.Model.StaticServiceIpConnectivity.t`, *default:* `nil`) - Static Service IP connectivity. * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The update time of the resource. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :bigqueryProfile => GoogleApi.Datastream.V1.Model.BigQueryProfile.t() | nil, :createTime => DateTime.t() | nil, :displayName => String.t() | nil, :forwardSshConnectivity => GoogleApi.Datastream.V1.Model.ForwardSshTunnelConnectivity.t() | nil, :gcsProfile => GoogleApi.Datastream.V1.Model.GcsProfile.t() | nil, :labels => map() | nil, :mysqlProfile => GoogleApi.Datastream.V1.Model.MysqlProfile.t() | nil, :name => String.t() | nil, :oracleProfile => GoogleApi.Datastream.V1.Model.OracleProfile.t() | nil, :postgresqlProfile => GoogleApi.Datastream.V1.Model.PostgresqlProfile.t() | nil, :privateConnectivity => GoogleApi.Datastream.V1.Model.PrivateConnectivity.t() | nil, :sqlServerProfile => GoogleApi.Datastream.V1.Model.SqlServerProfile.t() | nil, :staticServiceIpConnectivity => GoogleApi.Datastream.V1.Model.StaticServiceIpConnectivity.t() | nil, :updateTime => DateTime.t() | nil } field(:bigqueryProfile, as: GoogleApi.Datastream.V1.Model.BigQueryProfile) field(:createTime, as: DateTime) field(:displayName) field(:forwardSshConnectivity, as: GoogleApi.Datastream.V1.Model.ForwardSshTunnelConnectivity) field(:gcsProfile, as: GoogleApi.Datastream.V1.Model.GcsProfile) field(:labels, type: :map) field(:mysqlProfile, as: GoogleApi.Datastream.V1.Model.MysqlProfile) field(:name) field(:oracleProfile, as: GoogleApi.Datastream.V1.Model.OracleProfile) field(:postgresqlProfile, as: GoogleApi.Datastream.V1.Model.PostgresqlProfile) field(:privateConnectivity, as: GoogleApi.Datastream.V1.Model.PrivateConnectivity) field(:sqlServerProfile, as: GoogleApi.Datastream.V1.Model.SqlServerProfile) field(:staticServiceIpConnectivity, as: GoogleApi.Datastream.V1.Model.StaticServiceIpConnectivity ) field(:updateTime, as: DateTime) end defimpl Poison.Decoder, for: GoogleApi.Datastream.V1.Model.ConnectionProfile do def decode(value, options) do GoogleApi.Datastream.V1.Model.ConnectionProfile.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Datastream.V1.Model.ConnectionProfile do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end