public static class OsConfigService
Reference documentation and code samples for the Google Cloud OS Config v1 API class OsConfigService.
OS Config API
The OS Config service is a server-side component that you can use to manage package installations and patch jobs for virtual machine instances.
Namespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Methods
BindService(OsConfigService.OsConfigServiceBase)
public static ServerServiceDefinition BindService(OsConfigService.OsConfigServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | OsConfigService.OsConfigServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, OsConfigService.OsConfigServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, OsConfigService.OsConfigServiceBase 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 | OsConfigService.OsConfigServiceBase An object implementing the server-side handling logic. |