Represents a ConnectionProfile.
Package
@google-cloud/datastreamConstructors
(constructor)(properties)
constructor(properties?: google.cloud.datastream.v1alpha1.IConnectionProfile);Constructs a new ConnectionProfile.
| Name | Description |
| properties |
IConnectionProfile
Properties to set |
Properties
connectivity
public connectivity?: ("noConnectivity"|"staticServiceIpConnectivity"|"forwardSshConnectivity"|"privateConnectivity");ConnectionProfile connectivity.
createTime
public createTime?: (google.protobuf.ITimestamp|null);ConnectionProfile createTime.
displayName
public displayName: string;ConnectionProfile displayName.
forwardSshConnectivity
public forwardSshConnectivity?: (google.cloud.datastream.v1alpha1.IForwardSshTunnelConnectivity|null);ConnectionProfile forwardSshConnectivity.
gcsProfile
public gcsProfile?: (google.cloud.datastream.v1alpha1.IGcsProfile|null);ConnectionProfile gcsProfile.
labels
public labels: { [k: string]: string };ConnectionProfile labels.
mysqlProfile
public mysqlProfile?: (google.cloud.datastream.v1alpha1.IMysqlProfile|null);ConnectionProfile mysqlProfile.
name
public name: string;ConnectionProfile name.
noConnectivity
public noConnectivity?: (google.cloud.datastream.v1alpha1.INoConnectivitySettings|null);ConnectionProfile noConnectivity.
oracleProfile
public oracleProfile?: (google.cloud.datastream.v1alpha1.IOracleProfile|null);ConnectionProfile oracleProfile.
privateConnectivity
public privateConnectivity?: (google.cloud.datastream.v1alpha1.IPrivateConnectivity|null);ConnectionProfile privateConnectivity.
profile
public profile?: ("oracleProfile"|"gcsProfile"|"mysqlProfile");ConnectionProfile profile.
staticServiceIpConnectivity
public staticServiceIpConnectivity?: (google.cloud.datastream.v1alpha1.IStaticServiceIpConnectivity|null);ConnectionProfile staticServiceIpConnectivity.
updateTime
public updateTime?: (google.protobuf.ITimestamp|null);ConnectionProfile updateTime.
Methods
create(properties)
public static create(properties?: google.cloud.datastream.v1alpha1.IConnectionProfile): google.cloud.datastream.v1alpha1.ConnectionProfile;Creates a new ConnectionProfile instance using the specified properties.
| Name | Description |
| properties |
IConnectionProfile
Properties to set |
| Type | Description |
| google.cloud.datastream.v1alpha1.ConnectionProfile | ConnectionProfile instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datastream.v1alpha1.ConnectionProfile;Decodes a ConnectionProfile message from the specified reader or buffer.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| length |
number
Message length if known beforehand |
| Type | Description |
| google.cloud.datastream.v1alpha1.ConnectionProfile | ConnectionProfile |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datastream.v1alpha1.ConnectionProfile;Decodes a ConnectionProfile message from the specified reader or buffer, length delimited.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
| google.cloud.datastream.v1alpha1.ConnectionProfile | ConnectionProfile |
encode(message, writer)
public static encode(message: google.cloud.datastream.v1alpha1.IConnectionProfile, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ConnectionProfile message. Does not implicitly messages.
| Name | Description |
| message |
IConnectionProfile
ConnectionProfile message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.datastream.v1alpha1.IConnectionProfile, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ConnectionProfile message, length delimited. Does not implicitly messages.
| Name | Description |
| message |
IConnectionProfile
ConnectionProfile message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.datastream.v1alpha1.ConnectionProfile;Creates a ConnectionProfile message from a plain object. Also converts values to their respective internal types.
| Name | Description |
| object |
{ [k: string]: any }
Plain object |
| Type | Description |
| google.cloud.datastream.v1alpha1.ConnectionProfile | ConnectionProfile |
toJSON()
public toJSON(): { [k: string]: any };Converts this ConnectionProfile to JSON.
| Type | Description |
| { [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.datastream.v1alpha1.ConnectionProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a ConnectionProfile message. Also converts values to other types if specified.
| Name | Description |
| message |
google.cloud.datastream.v1alpha1.ConnectionProfile
ConnectionProfile |
| options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
| { [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a ConnectionProfile message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|