public static class StorageTransferService
Reference documentation and code samples for the Storage Transfer v1 API class StorageTransferService.
Storage Transfer Service and its protos. Transfers data between between Google Cloud Storage buckets or from a data source external to Google to a Cloud Storage bucket.
Namespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Methods
BindService(StorageTransferServiceBase)
public static ServerServiceDefinition BindService(StorageTransferService.StorageTransferServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | StorageTransferServiceStorageTransferServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, StorageTransferServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, StorageTransferService.StorageTransferServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | StorageTransferServiceStorageTransferServiceBase An object implementing the server-side handling logic. |