Class AutoscalingPolicyService (5.0.0)

public static class AutoscalingPolicyService

The API interface for managing autoscaling policies in the Dataproc API.

Inheritance

Object > AutoscalingPolicyService

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Methods

BindService(AutoscalingPolicyService.AutoscalingPolicyServiceBase)

public static ServerServiceDefinition BindService(AutoscalingPolicyService.AutoscalingPolicyServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplAutoscalingPolicyService.AutoscalingPolicyServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, AutoscalingPolicyService.AutoscalingPolicyServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, AutoscalingPolicyService.AutoscalingPolicyServiceBase 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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplAutoscalingPolicyService.AutoscalingPolicyServiceBase

An object implementing the server-side handling logic.