Cloud Functions v2beta API - Class FunctionServiceSettings (1.0.0-beta07)

public sealed class FunctionServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Functions v2beta API class FunctionServiceSettings.

Settings for FunctionServiceClient instances.

Inheritance

object > ServiceSettingsBase > FunctionServiceSettings

Namespace

Google.Cloud.Functions.V2Beta

Assembly

Google.Cloud.Functions.V2Beta.dll

Constructors

FunctionServiceSettings()

public FunctionServiceSettings()

Constructs a new FunctionServiceSettings object with default settings.

Properties

CreateFunctionOperationsSettings

public OperationsSettings CreateFunctionOperationsSettings { get; set; }

Long Running Operation settings for calls to FunctionServiceClient.CreateFunction and FunctionServiceClient.CreateFunctionAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateFunctionSettings

public CallSettings CreateFunctionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.CreateFunction and FunctionServiceClient.CreateFunctionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteFunctionOperationsSettings

public OperationsSettings DeleteFunctionOperationsSettings { get; set; }

Long Running Operation settings for calls to FunctionServiceClient.DeleteFunction and FunctionServiceClient.DeleteFunctionAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteFunctionSettings

public CallSettings DeleteFunctionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.DeleteFunction and FunctionServiceClient.DeleteFunctionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GenerateDownloadUrlSettings

public CallSettings GenerateDownloadUrlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.GenerateDownloadUrl and FunctionServiceClient.GenerateDownloadUrlAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GenerateUploadUrlSettings

public CallSettings GenerateUploadUrlSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.GenerateUploadUrl and FunctionServiceClient.GenerateUploadUrlAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetFunctionSettings

public CallSettings GetFunctionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.GetFunction and FunctionServiceClient.GetFunctionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListFunctionsSettings

public CallSettings ListFunctionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.ListFunctions and FunctionServiceClient.ListFunctionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListRuntimesSettings

public CallSettings ListRuntimesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.ListRuntimes and FunctionServiceClient.ListRuntimesAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateFunctionOperationsSettings

public OperationsSettings UpdateFunctionOperationsSettings { get; set; }

Long Running Operation settings for calls to FunctionServiceClient.UpdateFunction and FunctionServiceClient.UpdateFunctionAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateFunctionSettings

public CallSettings UpdateFunctionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FunctionServiceClient.UpdateFunction and FunctionServiceClient.UpdateFunctionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public FunctionServiceSettings Clone()

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

Returns
Type Description
FunctionServiceSettings

A deep clone of this FunctionServiceSettings object.

GetDefault()

public static FunctionServiceSettings GetDefault()

Get a new instance of the default FunctionServiceSettings.

Returns
Type Description
FunctionServiceSettings

A new instance of the default FunctionServiceSettings.