Reference documentation and code samples for the Cloud FTP V1 API class Google::Cloud::Ftp::V1::CloudFtp::Rest::ServiceStub.
REST service stub for the CloudFtp service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_server
def create_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_server REST call
- request_pb (::Google::Cloud::Ftp::V1::CreateServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_user
def create_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_user REST call
- request_pb (::Google::Cloud::Ftp::V1::CreateUserRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_server
def delete_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_server REST call
- request_pb (::Google::Cloud::Ftp::V1::DeleteServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_user
def delete_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_user REST call
- request_pb (::Google::Cloud::Ftp::V1::DeleteUserRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_server
def get_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ftp::V1::ServerBaseline implementation for the get_server REST call
- request_pb (::Google::Cloud::Ftp::V1::GetServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ftp::V1::Server)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ftp::V1::Server) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_user
def get_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ftp::V1::UserBaseline implementation for the get_user REST call
- request_pb (::Google::Cloud::Ftp::V1::GetUserRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ftp::V1::User)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ftp::V1::User) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_servers
def list_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ftp::V1::ListServersResponseBaseline implementation for the list_servers REST call
- request_pb (::Google::Cloud::Ftp::V1::ListServersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ftp::V1::ListServersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ftp::V1::ListServersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_users
def list_users(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ftp::V1::ListUsersResponseBaseline implementation for the list_users REST call
- request_pb (::Google::Cloud::Ftp::V1::ListUsersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ftp::V1::ListUsersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ftp::V1::ListUsersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#start_server
def start_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the start_server REST call
- request_pb (::Google::Cloud::Ftp::V1::StartServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_server
def stop_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the stop_server REST call
- request_pb (::Google::Cloud::Ftp::V1::StopServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_server
def update_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_server REST call
- request_pb (::Google::Cloud::Ftp::V1::UpdateServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_user
def update_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_user REST call
- request_pb (::Google::Cloud::Ftp::V1::UpdateUserRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)