public sealed class ProfilerServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Cloud Profiler v2 API class ProfilerServiceSettings.
Settings for ProfilerServiceClient instances.
Namespace
Google.Cloud.Profiler.V2Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
ProfilerServiceSettings | A deep clone of this ProfilerServiceSettings object. |
GetDefault()
public static ProfilerServiceSettings GetDefault()
Get a new instance of the default ProfilerServiceSettings.
Returns | |
---|---|
Type | Description |
ProfilerServiceSettings | A new instance of the default ProfilerServiceSettings. |