public static class StorageControl
Reference documentation and code samples for the Cloud Storage v2 API class StorageControl.
StorageControl service includes selected control plane operations.
Namespace
Google.Cloud.Storage.Control.V2Assembly
Google.Cloud.Storage.Control.V2.dll
Methods
BindService(StorageControlBase)
public static ServerServiceDefinition BindService(StorageControl.StorageControlBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
StorageControlStorageControlBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, StorageControlBase)
public static void BindService(ServiceBinderBase serviceBinder, StorageControl.StorageControlBase 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 |
StorageControlStorageControlBase An object implementing the server-side handling logic. |