Cloud Profiler v2 API - Class ProfilerService (2.6.0)

public static class ProfilerService

Reference documentation and code samples for the Cloud Profiler v2 API class ProfilerService.

Manage the collection of continuous profiling data provided by profiling agents running in the cloud or by an offline provider of profiling data.

The APIs listed in this service are intended for use within our profiler agents only.

Inheritance

object > ProfilerService

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Methods

BindService(ProfilerServiceBase)

public static ServerServiceDefinition BindService(ProfilerService.ProfilerServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl ProfilerServiceProfilerServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, ProfilerServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ProfilerService.ProfilerServiceBase 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 ProfilerServiceProfilerServiceBase

An object implementing the server-side handling logic.