Cloud Storage v2 API - Class StorageControl (1.1.0)

public static class StorageControl

Reference documentation and code samples for the Cloud Storage v2 API class StorageControl.

StorageControl service includes selected control plane operations.

Inheritance

object > StorageControl

Namespace

Google.Cloud.Storage.Control.V2

Assembly

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 AddMethod on this object.

serviceImpl StorageControlStorageControlBase

An object implementing the server-side handling logic.