google-cloud-ftp-v1 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5a4416226618eaf406adc9db2aa23388ab861ed7873f715d4886f6f3d7dd149
|
|
4
|
+
data.tar.gz: e21527706c0e8bcf3a7f248e65e3951db7c2cfe93dc3b0dd4f26801c7e13207c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6258f68e89db041c06c1591115d3f3f5f136c1dda1bfb9ba72467a38db0d140c7a1328a9e34dfed99479451b434ddf5902caff97beb24a2b746e773ecdf66613
|
|
7
|
+
data.tar.gz: 7401425b3159f820bc523a01dc62b6bc60febb10839f28ddfcdd9c3029d97d60fb5e4f0178eab1df97ed66220d92a69da21d1eb09a75dc7b22dfca7382095462
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n!google/cloud/ftp/v1/service.proto\x12\x13google.cloud.ftp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Y\n\x14\x45xternalServerConfig\x12\x1f\n\nip_address\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12 \n\x13\x61llowed_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\x82\x06\n\x14InternalServerConfig\x12L\n\x12service_attachment\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12\\\n\x14\x63onsumer_accept_list\x18\x02 \x03(\x0b\x32\x39.google.cloud.ftp.v1.InternalServerConfig.AllowedConsumerB\x03\xe0\x41\x02\x12[\n\x14\x63onsumer_reject_list\x18\x03 \x03(\x0b\x32\x38.google.cloud.ftp.v1.InternalServerConfig.DeniedConsumerB\x03\xe0\x41\x01\x12Q\n\rpsc_endpoints\x18\x04 \x03(\x0b\x32\x35.google.cloud.ftp.v1.InternalServerConfig.PscEndpointB\x03\xe0\x41\x03\x1a\x86\x01\n\x0f\x41llowedConsumer\x12\x43\n\x07project\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/ProjectH\x00\x12\x1d\n\x10\x63onnection_limit\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x42\x0f\n\rconsumer_type\x1a\x66\n\x0e\x44\x65niedConsumer\x12\x43\n\x07project\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/ProjectH\x00\x42\x0f\n\rconsumer_type\x1a\x9c\x01\n\x0bPscEndpoint\x12?\n\x08\x65ndpoint\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x37\n\x07network\x18\x02 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x13\n\x06status\x18\x03 \x01(\tB\x03\xe0\x41\x03\"O\n\x10ServerCredential\x12\x18\n\x0b\x66ingerprint\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x61symmetric_algorithm\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xd4\x07\n\x06Server\x12\x44\n\x0f\x65xternal_config\x18\x07 \x01(\x0b\x32).google.cloud.ftp.v1.ExternalServerConfigH\x00\x12\x44\n\x0finternal_config\x18\x08 \x01(\x0b\x32).google.cloud.ftp.v1.InternalServerConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06labels\x18\x04 \x03(\x0b\x32\'.google.cloud.ftp.v1.Server.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0b\x61\x63\x63\x65ss_type\x18\x06 \x01(\x0e\x32&.google.cloud.ftp.v1.Server.AccessTypeB\x03\xe0\x41\x02\x12\x35\n\x05state\x18\t \x01(\x0e\x32!.google.cloud.ftp.v1.Server.StateB\x03\xe0\x41\x03\x12T\n google_managed_server_credential\x18\n \x01(\x0b\x32%.google.cloud.ftp.v1.ServerCredentialB\x03\xe0\x41\x03\x12\x1a\n\rservice_agent\x18\x0b \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0c\n\x08INTERNAL\x10\x02\"\x88\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08STARTING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\x12\x0c\n\x08UPDATING\x10\x08:i\xea\x41\x66\n\x19\x66tp.googleapis.com/Server\x12\x38projects/{project}/locations/{location}/servers/{server}*\x07servers2\x06serverB\x0f\n\raccess_config\"\xd8\x01\n\x12ListServersRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x66tp.googleapis.com/Server\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\x04view\x18\x06 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.ServerViewB\x03\xe0\x41\x01\"v\n\x13ListServersResponse\x12,\n\x07servers\x18\x01 \x03(\x0b\x32\x1b.google.cloud.ftp.v1.Server\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"w\n\x10GetServerRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.ServerViewB\x03\xe0\x41\x01\"\xb3\x01\n\x13\x43reateServerRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\x12\x19\x66tp.googleapis.com/Server\x12\x16\n\tserver_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x06server\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ftp.v1.ServerB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x9e\x01\n\x13UpdateServerRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x30\n\x06server\x18\x02 \x01(\x0b\x32\x1b.google.cloud.ftp.v1.ServerB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"F\n\x13\x44\x65leteServerRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"\xfd\x01\n\x17StorageDirectoryMapping\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rbucket_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdirectory\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12P\n\npermission\x18\x04 \x01(\x0e\x32\x37.google.cloud.ftp.v1.StorageDirectoryMapping.PermissionB\x03\xe0\x41\x02\"G\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xd1\x05\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.ftp.v1.User.LabelsEntryB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12%\n\x18\x63ustomer_service_account\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x05state\x18\x08 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.User.StateB\x03\xe0\x41\x03\x12\x42\n\x10user_credentials\x18\t \x03(\x0b\x32#.google.cloud.ftp.v1.UserCredentialB\x03\xe0\x41\x02\x12U\n\x1astorage_directory_mappings\x18\n \x03(\x0b\x32,.google.cloud.ftp.v1.StorageDirectoryMappingB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:p\xea\x41m\n\x17\x66tp.googleapis.com/User\x12\x45projects/{project}/locations/{location}/servers/{server}/users/{user}*\x05users2\x04user\"\xd2\x01\n\x10ListUsersRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17\x66tp.googleapis.com/User\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x04view\x18\x06 \x01(\x0e\x32\x1d.google.cloud.ftp.v1.UserViewB\x03\xe0\x41\x01\"p\n\x11ListUsersResponse\x12(\n\x05users\x18\x01 \x03(\x0b\x32\x19.google.cloud.ftp.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"q\n\x0eGetUserRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17\x66tp.googleapis.com/User\x12\x30\n\x04view\x18\x02 \x01(\x0e\x32\x1d.google.cloud.ftp.v1.UserViewB\x03\xe0\x41\x01\"\xa9\x01\n\x11\x43reateUserRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17\x66tp.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12,\n\x04user\x18\x03 \x01(\x0b\x32\x19.google.cloud.ftp.v1.UserB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"w\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12,\n\x04user\x18\x02 \x01(\x0b\x32\x19.google.cloud.ftp.v1.UserB\x03\xe0\x41\x02\"V\n\x11\x44\x65leteUserRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17\x66tp.googleapis.com/User\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"E\n\x12StartServerRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"D\n\x11StopServerRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"\xc6\x01\n\x0eUserCredential\x12\x1c\n\x0f\x63redential_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0f\x63redential_type\x18\x02 \x01(\x0e\x32(.google.cloud.ftp.v1.UserCredential.TypeB\x03\xe0\x41\x02\x12 \n\x13ssh_public_key_body\x18\x03 \x01(\tB\x03\xe0\x41\x01\",\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPUBLIC_KEY\x10\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03*V\n\nServerView\x12\x1b\n\x17SERVER_VIEW_UNSPECIFIED\x10\x00\x12\x15\n\x11SERVER_VIEW_BASIC\x10\x01\x12\x14\n\x10SERVER_VIEW_FULL\x10\x02*N\n\x08UserView\x12\x19\n\x15USER_VIEW_UNSPECIFIED\x10\x00\x12\x13\n\x0fUSER_VIEW_BASIC\x10\x01\x12\x12\n\x0eUSER_VIEW_FULL\x10\x02\x32\xe9\x11\n\x08\x43loudFtp\x12\x9e\x01\n\x0bListServers\x12\'.google.cloud.ftp.v1.ListServersRequest\x1a(.google.cloud.ftp.v1.ListServersResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/servers\x12\x8b\x01\n\tGetServer\x12%.google.cloud.ftp.v1.GetServerRequest\x1a\x1b.google.cloud.ftp.v1.Server\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/servers/*}\x12\xcc\x01\n\x0c\x43reateServer\x12(.google.cloud.ftp.v1.CreateServerRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x17parent,server,server_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/servers:\x06server\x12\xce\x01\n\x0cUpdateServer\x12(.google.cloud.ftp.v1.UpdateServerRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x12server,update_mask\x82\xd3\xe4\x93\x02<22/v1/{server.name=projects/*/locations/*/servers/*}:\x06server\x12\xc0\x01\n\x0c\x44\x65leteServer\x12(.google.cloud.ftp.v1.DeleteServerRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/servers/*}\x12\xa0\x01\n\tListUsers\x12%.google.cloud.ftp.v1.ListUsersRequest\x1a&.google.cloud.ftp.v1.ListUsersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/servers/*}/users\x12\x8d\x01\n\x07GetUser\x12#.google.cloud.ftp.v1.GetUserRequest\x1a\x19.google.cloud.ftp.v1.User\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/servers/*/users/*}\x12\xc8\x01\n\nCreateUser\x12&.google.cloud.ftp.v1.CreateUserRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x19\n\x04User\x12\x11OperationMetadata\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02;\"3/v1/{parent=projects/*/locations/*/servers/*}/users:\x04user\x12\xca\x01\n\nUpdateUser\x12&.google.cloud.ftp.v1.UpdateUserRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x19\n\x04User\x12\x11OperationMetadata\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02@28/v1/{user.name=projects/*/locations/*/servers/*/users/*}:\x04user\x12\xc4\x01\n\nDeleteUser\x12&.google.cloud.ftp.v1.DeleteUserRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/servers/*/users/*}\x12\xb8\x01\n\x0bStartServer\x12\'.google.cloud.ftp.v1.StartServerRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/servers/*}:start:\x01*\x12\xb5\x01\n\nStopServer\x12&.google.cloud.ftp.v1.StopServerRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/v1/{name=projects/*/locations/*/servers/*}:stop:\x01*\x1a\x46\xca\x41\x12\x66tp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x03\n\x17\x63om.google.cloud.ftp.v1B\x0cServiceProtoP\x01Z)cloud.google.com/go/ftp/apiv1/ftppb;ftppb\xaa\x02\x13Google.Cloud.Ftp.V1\xca\x02\x13Google\\Cloud\\Ftp\\V1\xea\x02\x16Google::Cloud::Ftp::V1\xea\x41n\n%compute.googleapis.com/ForwardingRule\x12\x45projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3"
|
|
18
|
+
descriptor_data = "\n!google/cloud/ftp/v1/service.proto\x12\x13google.cloud.ftp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"[\n\x14\x45xternalServerConfig\x12 \n\nip_address\x18\x01 \x01(\tB\x0c\xe2\x41\x01\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12!\n\x13\x61llowed_cidr_blocks\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\"\x8a\x06\n\x14InternalServerConfig\x12M\n\x12service_attachment\x18\x01 \x01(\tB1\xe2\x41\x01\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12]\n\x14\x63onsumer_accept_list\x18\x02 \x03(\x0b\x32\x39.google.cloud.ftp.v1.InternalServerConfig.AllowedConsumerB\x04\xe2\x41\x01\x02\x12\\\n\x14\x63onsumer_reject_list\x18\x03 \x03(\x0b\x32\x38.google.cloud.ftp.v1.InternalServerConfig.DeniedConsumerB\x04\xe2\x41\x01\x01\x12R\n\rpsc_endpoints\x18\x04 \x03(\x0b\x32\x35.google.cloud.ftp.v1.InternalServerConfig.PscEndpointB\x04\xe2\x41\x01\x03\x1a\x87\x01\n\x0f\x41llowedConsumer\x12\x43\n\x07project\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/ProjectH\x00\x12\x1e\n\x10\x63onnection_limit\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x02\x42\x0f\n\rconsumer_type\x1a\x66\n\x0e\x44\x65niedConsumer\x12\x43\n\x07project\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/ProjectH\x00\x42\x0f\n\rconsumer_type\x1a\x9f\x01\n\x0bPscEndpoint\x12@\n\x08\x65ndpoint\x18\x01 \x01(\tB.\xe2\x41\x01\x03\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x38\n\x07network\x18\x02 \x01(\tB\'\xe2\x41\x01\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x14\n\x06status\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\"Q\n\x10ServerCredential\x12\x19\n\x0b\x66ingerprint\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\"\n\x14\x61symmetric_algorithm\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xdd\x07\n\x06Server\x12\x44\n\x0f\x65xternal_config\x18\x07 \x01(\x0b\x32).google.cloud.ftp.v1.ExternalServerConfigH\x00\x12\x44\n\x0finternal_config\x18\x08 \x01(\x0b\x32).google.cloud.ftp.v1.InternalServerConfigH\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12=\n\x06labels\x18\x04 \x03(\x0b\x32\'.google.cloud.ftp.v1.Server.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x41\n\x0b\x61\x63\x63\x65ss_type\x18\x06 \x01(\x0e\x32&.google.cloud.ftp.v1.Server.AccessTypeB\x04\xe2\x41\x01\x02\x12\x36\n\x05state\x18\t \x01(\x0e\x32!.google.cloud.ftp.v1.Server.StateB\x04\xe2\x41\x01\x03\x12U\n google_managed_server_credential\x18\n \x01(\x0b\x32%.google.cloud.ftp.v1.ServerCredentialB\x04\xe2\x41\x01\x03\x12\x1b\n\rservice_agent\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0c\n\x08INTERNAL\x10\x02\"\x88\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08STARTING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\x12\x0c\n\x08UPDATING\x10\x08:i\xea\x41\x66\n\x19\x66tp.googleapis.com/Server\x12\x38projects/{project}/locations/{location}/servers/{server}*\x07servers2\x06serverB\x0f\n\raccess_config\"\xde\x01\n\x12ListServersRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\x12\x19\x66tp.googleapis.com/Server\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x33\n\x04view\x18\x06 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.ServerViewB\x04\xe2\x41\x01\x01\"w\n\x13ListServersResponse\x12,\n\x07servers\x18\x01 \x03(\x0b\x32\x1b.google.cloud.ftp.v1.Server\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x06\"y\n\x10GetServerRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\x12\x33\n\x04view\x18\x02 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.ServerViewB\x04\xe2\x41\x01\x01\"\xb7\x01\n\x13\x43reateServerRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\x12\x19\x66tp.googleapis.com/Server\x12\x17\n\tserver_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x31\n\x06server\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ftp.v1.ServerB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n\x13UpdateServerRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12\x31\n\x06server\x18\x02 \x01(\x0b\x32\x1b.google.cloud.ftp.v1.ServerB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x03 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"G\n\x13\x44\x65leteServerRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"\x81\x02\n\x17StorageDirectoryMapping\x12\x14\n\x06\x62ucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rbucket_prefix\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tdirectory\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\npermission\x18\x04 \x01(\x0e\x32\x37.google.cloud.ftp.v1.StorageDirectoryMapping.PermissionB\x04\xe2\x41\x01\x02\"G\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xda\x05\n\x04User\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12;\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.ftp.v1.User.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x16\n\x08username\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12&\n\x18\x63ustomer_service_account\x18\x07 \x01(\tB\x04\xe2\x41\x01\x02\x12\x34\n\x05state\x18\x08 \x01(\x0e\x32\x1f.google.cloud.ftp.v1.User.StateB\x04\xe2\x41\x01\x03\x12\x43\n\x10user_credentials\x18\t \x03(\x0b\x32#.google.cloud.ftp.v1.UserCredentialB\x04\xe2\x41\x01\x02\x12V\n\x1astorage_directory_mappings\x18\n \x03(\x0b\x32,.google.cloud.ftp.v1.StorageDirectoryMappingB\x04\xe2\x41\x01\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:p\xea\x41m\n\x17\x66tp.googleapis.com/User\x12\x45projects/{project}/locations/{location}/servers/{server}/users/{user}*\x05users2\x04user\"\xd8\x01\n\x10ListUsersRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\x12\x17\x66tp.googleapis.com/User\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x31\n\x04view\x18\x06 \x01(\x0e\x32\x1d.google.cloud.ftp.v1.UserViewB\x04\xe2\x41\x01\x01\"q\n\x11ListUsersResponse\x12(\n\x05users\x18\x01 \x03(\x0b\x32\x19.google.cloud.ftp.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x06\"s\n\x0eGetUserRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\n\x17\x66tp.googleapis.com/User\x12\x31\n\x04view\x18\x02 \x01(\x0e\x32\x1d.google.cloud.ftp.v1.UserViewB\x04\xe2\x41\x01\x01\"\xad\x01\n\x11\x43reateUserRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\x12\x17\x66tp.googleapis.com/User\x12\x15\n\x07user_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12-\n\x04user\x18\x03 \x01(\x0b\x32\x19.google.cloud.ftp.v1.UserB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"y\n\x11UpdateUserRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12-\n\x04user\x18\x02 \x01(\x0b\x32\x19.google.cloud.ftp.v1.UserB\x04\xe2\x41\x01\x02\"X\n\x11\x44\x65leteUserRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\n\x17\x66tp.googleapis.com/User\x12\x13\n\x05\x66orce\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"F\n\x12StartServerRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"E\n\x11StopServerRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x66tp.googleapis.com/Server\"\xc9\x01\n\x0eUserCredential\x12\x1d\n\x0f\x63redential_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12G\n\x0f\x63redential_type\x18\x02 \x01(\x0e\x32(.google.cloud.ftp.v1.UserCredential.TypeB\x04\xe2\x41\x01\x02\x12!\n\x13ssh_public_key_body\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\",\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPUBLIC_KEY\x10\x01\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03*V\n\nServerView\x12\x1b\n\x17SERVER_VIEW_UNSPECIFIED\x10\x00\x12\x15\n\x11SERVER_VIEW_BASIC\x10\x01\x12\x14\n\x10SERVER_VIEW_FULL\x10\x02*N\n\x08UserView\x12\x19\n\x15USER_VIEW_UNSPECIFIED\x10\x00\x12\x13\n\x0fUSER_VIEW_BASIC\x10\x01\x12\x12\n\x0eUSER_VIEW_FULL\x10\x02\x32\xe9\x11\n\x08\x43loudFtp\x12\x9e\x01\n\x0bListServers\x12\'.google.cloud.ftp.v1.ListServersRequest\x1a(.google.cloud.ftp.v1.ListServersResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/servers\x12\x8b\x01\n\tGetServer\x12%.google.cloud.ftp.v1.GetServerRequest\x1a\x1b.google.cloud.ftp.v1.Server\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/servers/*}\x12\xcc\x01\n\x0c\x43reateServer\x12(.google.cloud.ftp.v1.CreateServerRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x17parent,server,server_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/servers:\x06server\x12\xce\x01\n\x0cUpdateServer\x12(.google.cloud.ftp.v1.UpdateServerRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x12server,update_mask\x82\xd3\xe4\x93\x02<22/v1/{server.name=projects/*/locations/*/servers/*}:\x06server\x12\xc0\x01\n\x0c\x44\x65leteServer\x12(.google.cloud.ftp.v1.DeleteServerRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/servers/*}\x12\xa0\x01\n\tListUsers\x12%.google.cloud.ftp.v1.ListUsersRequest\x1a&.google.cloud.ftp.v1.ListUsersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/servers/*}/users\x12\x8d\x01\n\x07GetUser\x12#.google.cloud.ftp.v1.GetUserRequest\x1a\x19.google.cloud.ftp.v1.User\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/servers/*/users/*}\x12\xc8\x01\n\nCreateUser\x12&.google.cloud.ftp.v1.CreateUserRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x19\n\x04User\x12\x11OperationMetadata\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02;\"3/v1/{parent=projects/*/locations/*/servers/*}/users:\x04user\x12\xca\x01\n\nUpdateUser\x12&.google.cloud.ftp.v1.UpdateUserRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x19\n\x04User\x12\x11OperationMetadata\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02@28/v1/{user.name=projects/*/locations/*/servers/*/users/*}:\x04user\x12\xc4\x01\n\nDeleteUser\x12&.google.cloud.ftp.v1.DeleteUserRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/servers/*/users/*}\x12\xb8\x01\n\x0bStartServer\x12\'.google.cloud.ftp.v1.StartServerRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/servers/*}:start:\x01*\x12\xb5\x01\n\nStopServer\x12&.google.cloud.ftp.v1.StopServerRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1b\n\x06Server\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/v1/{name=projects/*/locations/*/servers/*}:stop:\x01*\x1a\x46\xca\x41\x12\x66tp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x03\n\x17\x63om.google.cloud.ftp.v1B\x0cServiceProtoP\x01Z)cloud.google.com/go/ftp/apiv1/ftppb;ftppb\xaa\x02\x13Google.Cloud.Ftp.V1\xca\x02\x13Google\\Cloud\\Ftp\\V1\xea\x02\x16Google::Cloud::Ftp::V1\xea\x41n\n%compute.googleapis.com/ForwardingRule\x12\x45projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-ftp-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -76,7 +76,6 @@ files:
|
|
|
76
76
|
- lib/google/cloud/ftp/v1/cloud_ftp/rest/service_stub.rb
|
|
77
77
|
- lib/google/cloud/ftp/v1/rest.rb
|
|
78
78
|
- lib/google/cloud/ftp/v1/service_pb.rb
|
|
79
|
-
- lib/google/cloud/ftp/v1/service_services_pb.rb
|
|
80
79
|
- lib/google/cloud/ftp/v1/version.rb
|
|
81
80
|
- proto_docs/README.md
|
|
82
81
|
- proto_docs/google/api/client.rb
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/ftp/v1/service.proto for package 'Google.Cloud.Ftp.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2026 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/ftp/v1/service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module Ftp
|
|
25
|
-
module V1
|
|
26
|
-
module CloudFtp
|
|
27
|
-
# Service describing handlers for resources
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.ftp.v1.CloudFtp'
|
|
35
|
-
|
|
36
|
-
# Lists Servers in a given project and location.
|
|
37
|
-
rpc :ListServers, ::Google::Cloud::Ftp::V1::ListServersRequest, ::Google::Cloud::Ftp::V1::ListServersResponse
|
|
38
|
-
# Gets details of a single Server.
|
|
39
|
-
rpc :GetServer, ::Google::Cloud::Ftp::V1::GetServerRequest, ::Google::Cloud::Ftp::V1::Server
|
|
40
|
-
# Creates a new Server in a given project and location.
|
|
41
|
-
rpc :CreateServer, ::Google::Cloud::Ftp::V1::CreateServerRequest, ::Google::Longrunning::Operation
|
|
42
|
-
# Updates the parameters of a single Server.
|
|
43
|
-
rpc :UpdateServer, ::Google::Cloud::Ftp::V1::UpdateServerRequest, ::Google::Longrunning::Operation
|
|
44
|
-
# Deletes a single Server.
|
|
45
|
-
rpc :DeleteServer, ::Google::Cloud::Ftp::V1::DeleteServerRequest, ::Google::Longrunning::Operation
|
|
46
|
-
# Lists Users in a given project and location.
|
|
47
|
-
rpc :ListUsers, ::Google::Cloud::Ftp::V1::ListUsersRequest, ::Google::Cloud::Ftp::V1::ListUsersResponse
|
|
48
|
-
# Gets details of a single User.
|
|
49
|
-
rpc :GetUser, ::Google::Cloud::Ftp::V1::GetUserRequest, ::Google::Cloud::Ftp::V1::User
|
|
50
|
-
# Creates a new User in a given project and location and Server.
|
|
51
|
-
rpc :CreateUser, ::Google::Cloud::Ftp::V1::CreateUserRequest, ::Google::Longrunning::Operation
|
|
52
|
-
# Updates the parameters of a single User.
|
|
53
|
-
rpc :UpdateUser, ::Google::Cloud::Ftp::V1::UpdateUserRequest, ::Google::Longrunning::Operation
|
|
54
|
-
# Deletes a single User.
|
|
55
|
-
rpc :DeleteUser, ::Google::Cloud::Ftp::V1::DeleteUserRequest, ::Google::Longrunning::Operation
|
|
56
|
-
# Starts a stopping/stopped Server.
|
|
57
|
-
rpc :StartServer, ::Google::Cloud::Ftp::V1::StartServerRequest, ::Google::Longrunning::Operation
|
|
58
|
-
# Stops an active Server.
|
|
59
|
-
rpc :StopServer, ::Google::Cloud::Ftp::V1::StopServerRequest, ::Google::Longrunning::Operation
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
Stub = Service.rpc_stub_class
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
end
|