Google Cloud Dataform V1beta1 Client - Class SshAuthenticationConfig (0.3.0)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class SshAuthenticationConfig.

Configures fields for performing SSH authentication.

Generated from protobuf message google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ Repository \ GitRemoteSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ user_private_key_secret_version string

Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.

↳ host_public_key string

Required. Content of a public SSH key to verify an identity of a remote Git host.

getUserPrivateKeySecretVersion

Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations.

Must be in the format projects/*/secrets/*/versions/*.

Returns
TypeDescription
string

setUserPrivateKeySecretVersion

Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations.

Must be in the format projects/*/secrets/*/versions/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHostPublicKey

Required. Content of a public SSH key to verify an identity of a remote Git host.

Returns
TypeDescription
string

setHostPublicKey

Required. Content of a public SSH key to verify an identity of a remote Git host.

Parameter
NameDescription
var string
Returns
TypeDescription
$this