Google Cloud Dataform V1beta1 Client - Class SshAuthenticationConfig (0.4.7)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getHostPublicKey

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

Returns
Type Description
string

setHostPublicKey

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

Parameter
Name Description
var string
Returns
Type Description
$this