Cloud Profiler v2 API - Class ProfilerServiceSettings (2.1.0)

public sealed class ProfilerServiceSettings : ServiceSettingsBase

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

Settings for ProfilerServiceClient instances.

Inheritance

Object > ServiceSettingsBase > ProfilerServiceSettings

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Constructors

ProfilerServiceSettings()

public ProfilerServiceSettings()

Constructs a new ProfilerServiceSettings object with default settings.

Properties

CreateOfflineProfileSettings

public CallSettings CreateOfflineProfileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProfilerServiceClient.CreateOfflineProfile and ProfilerServiceClient.CreateOfflineProfileAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateProfileSettings

public CallSettings CreateProfileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProfilerServiceClient.CreateProfile and ProfilerServiceClient.CreateProfileAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 3600 seconds.

UpdateProfileSettings

public CallSettings UpdateProfileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProfilerServiceClient.UpdateProfile and ProfilerServiceClient.UpdateProfileAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

Methods

Clone()

public ProfilerServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
ProfilerServiceSettings

A deep clone of this ProfilerServiceSettings object.

GetDefault()

public static ProfilerServiceSettings GetDefault()

Get a new instance of the default ProfilerServiceSettings.

Returns
TypeDescription
ProfilerServiceSettings

A new instance of the default ProfilerServiceSettings.