Package Classes (0.1.0)

Summary of entries of Classes for google-cloud-ftp.

Classes

CloudFtpClient

Service describing handlers for resources

ListServersPager

A pager for iterating through list_servers requests.

This class thinly wraps an initial ListServersResponse object, and provides an __iter__ method to iterate through its servers field.

If there are more pages, the __iter__ method will make additional ListServers requests and continue to iterate through the servers field on the corresponding responses.

All the usual ListServersResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListUsersPager

A pager for iterating through list_users requests.

This class thinly wraps an initial ListUsersResponse object, and provides an __iter__ method to iterate through its users field.

If there are more pages, the __iter__ method will make additional ListUsers requests and continue to iterate through the users field on the corresponding responses.

All the usual ListUsersResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

CreateServerRequest

Message for creating a Server

CreateUserRequest

Message for creating a User

DeleteServerRequest

Message for deleting a Server Note: Cascading delete is not supported. Any nested User resources under this Server must be deleted before the Server itself can be deleted. Attempting to delete a Server with active User resources will result in an error.

DeleteUserRequest

Message for deleting a User

ExternalServerConfig

Configuration for external server.

GetServerRequest

Message for getting a Server

GetUserRequest

Message for getting a User

InternalServerConfig

Configuration for private server accessible via PSC.

AllowedConsumer

A consumer project or network that is permitted to connect to the server via PSC.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DeniedConsumer

A consumer project or network that is denied to connect to the server via PSC.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

PscEndpoint

Details of PSC endpoint created by customer.

ListServersRequest

Message for requesting list of Servers

ListServersResponse

Message for response to listing Servers

ListUsersRequest

Message for requesting list of Users

ListUsersResponse

Message for response to listing Users

OperationMetadata

Represents the metadata of the long-running operation.

Server

Message describing Server object

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

AccessType

The access type of the Server.

LabelsEntry

The abstract base class for a message.

State

Tracks Server status.

ServerCredential

Represents credentials of an FTP Server.

ServerView

View for Server resource.

StartServerRequest

Request message for starting a Server.

StopServerRequest

Request message for stopping a Server.

StorageDirectoryMapping

Mapping of backing Cloud Storage path to the directory where the user lands in the SFTP server. If directory is not specified, it'll default to '/'.

Eg 1 - (bucket_name: bucket, bucket_prefix: path1/path2, directory: /abc/def/username)

The user will land at /abcd/def/username, and the view there will match that of /bucket/path1/path2. The user will not be aware of Cloud Storage prefix '/bucket/path1' and there will be no such directory in the view.

Eg 2 - (bucket_name: bucket, bucket_prefix: path1/path2, directory: '')

The user will land at '/', and the view there will match that of /bucket/path1/path2. The user will not be aware of Cloud Storage prefix '/bucket/path1/path2' and there will be no such directory in the view.

Permission

Tracks read/write access to the bucket.

UpdateServerRequest

Message for updating a Server

UpdateUserRequest

Message for updating a User

User

Message describing User object

LabelsEntry

The abstract base class for a message.

State

Tracks user creation.

UserCredential

Message describing UserCredential object

Type

Type of credential.

UserView

View for User resource.

Modules

pagers

API documentation for ftp_v1.services.cloud_ftp.pagers module.