Skip to main content

Gcp/ftp

@swamp/gcp/ftpv2026.10.29.1· AGPL-3.0-or-later· 2d agoBEHAVIORS
01README

Google Cloud ftp infrastructure models

02Release Notes
  • Updated: servers
03Behaviors3
@swamp/gcp/ftp/locationsv2026.10.23.1locations.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
namestringThe resource that owns the locations collection, if applicable.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync(identifier?: string)
Sync locations state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific locations by name (e.g. one discovered by list)
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
pageSize?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/ftp/serversv2026.10.29.1servers.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
accessType?enumRequired. The access type of the Server.
displayName?stringOptional. Display name of the Server
externalConfig?objectConfiguration for external access.
internalConfig?objectConfiguration for internal access.
labels?recordOptional. Labels as key value pairs
name?stringIdentifier. name of resource
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
serverId?stringRequired. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Can't begin with the prefix `goog` or contain the string `google`, including close misspellings such as `g00gle`. Maximum length is 30 characters.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a servers
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a servers
ArgumentTypeDescription
identifierstringThe name of the servers
fn update(identifier?: string, waitForReady?: boolean)
Update servers attributes
ArgumentTypeDescription
identifier?stringTarget a specific servers by name (e.g. one discovered by list)
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the servers
ArgumentTypeDescription
identifierstringThe name of the servers
fn sync(identifier?: string)
Sync servers state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific servers by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, view?: string, maxPages?: number)
List servers resources
ArgumentTypeDescription
filter?stringOptional. Filtering results
orderBy?stringOptional. Hint for how to order the results
pageSize?numberOptional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
view?stringOptional. The view of the Server resource to return.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn start()
start
fn stop()
stop

Resources

state(infinite)— Message describing Server object
@swamp/gcp/ftp/servers-usersv2026.10.23.1servers_users.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
customerServiceAccount?stringRequired. Service account in customer project attached to this SFTP User.
labels?recordOptional. Labels as key value pairs
name?stringIdentifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user}
storageDirectoryMappings?arrayRequired. Mapping of Cloud Storage buckets to directories where the user will land in the SFTP server.
userCredentials?arrayRequired. User credential for the user. The maximum number of user credentials is 10.
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
userId?stringRequired. A unique user ID for the SFTP user. The user ID must start with a lowercase letter and can include lowercase letters, numbers, or hyphens.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a users
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a users
ArgumentTypeDescription
identifierstringThe name of the users
fn update(identifier?: string, waitForReady?: boolean)
Update users attributes
ArgumentTypeDescription
identifier?stringTarget a specific users by name (e.g. one discovered by list)
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the users
ArgumentTypeDescription
identifierstringThe name of the users
fn sync(identifier?: string)
Sync users state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific users by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, view?: string, maxPages?: number)
List users resources
ArgumentTypeDescription
filter?stringOptional. Filtering results
orderBy?stringOptional. Hint for how to order the results
pageSize?numberOptional. Requested page size. User may return fewer items than requested. The maximum value is 1000; The default value is 50 if the field is omitted (or set to 0).
view?stringOptional. The view of the User resource to return.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Message describing User object
04Previous Versions5
2026.10.23.1AGPL-3.0-or-later(was none)
  • Updated: locations, servers, servers_users
2026.10.13.1
  • Updated: locations, servers, servers_users
2026.08.25.1
  • Updated: servers
2026.08.12.2
  • Updated: locations, servers, servers_users
2026.08.05.1
  • Added: locations, servers, servers_users
05Stats
A
100 / 100
Downloads
35
Archive size
37.1 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels