SDK reference / Models / Transfer

SftpUser

Kind: class

Namespace: Egulu.Sdk.Models.Transfer

A login of a platform-managed user: public keys only, locked into one bucket prefix, reaching the bucket through a short-lived grant (never a long-lived key).

Properties

NameTypeJSON nameDescription
AccessModels.Transfer.SftpUser_access?accessREAD_ONLY or READ_WRITE (default READ_ONLY).
AllowedSourcesList<string>?allowedSourcesCIDR ranges the user may log in from (at most 16); empty means anywhere.
AnnotationsModels.Transfer.SftpUser_annotations?annotationsAt most 256 KiB in all; never policy input.
Bucketstring?bucketThe bucket of this project the user is locked into.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Disabledbool?disabledA disabled user cannot log in; sessions already open end at their next grant renewal (15 minutes at most).
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
ExpireTimeDateTimeOffset?expireTimeAfter this time the user can no longer log in.
FingerprintsList<string>?fingerprintsThe fingerprints of the keys, as the server compares them.
LabelsModels.Transfer.SftpUser_labels?labelsAt most 64.
LastLoginTimeDateTimeOffset?lastLoginTimeThe lastLoginTime property
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Prefixstring?prefixThe prefix inside the bucket; the user sees it as the root and can reach nothing outside it. Empty means the whole bucket.
PublicKeysList<string>?publicKeysOne to five public keys (ssh-ed25519, ecdsa-sha2-nistp256/384/521, ssh-rsa of at least 3072 bits), one per entry, no authorized_keys options.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property