Class CloudFunctionsServiceSettings (1.3.0)

public sealed class CloudFunctionsServiceSettings : ServiceSettingsBase

Settings for CloudFunctionsServiceClient instances.

Inheritance

Object > ServiceSettingsBase > CloudFunctionsServiceSettings

Namespace

Google.Cloud.Functions.V1

Assembly

Google.Cloud.Functions.V1.dll

Constructors

CloudFunctionsServiceSettings()

public CloudFunctionsServiceSettings()

Constructs a new CloudFunctionsServiceSettings object with default settings.

Properties

CallFunctionSettings

public CallSettings CallFunctionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudFunctionsServiceClient.CallFunction and CloudFunctionsServiceClient.CallFunctionAsync.

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

CreateFunctionOperationsSettings

public OperationsSettings CreateFunctionOperationsSettings { get; set; }

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

Property Value
TypeDescription
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 CloudFunctionsServiceClient.CreateFunction and CloudFunctionsServiceClient.CreateFunctionAsync .

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

DeleteFunctionOperationsSettings

public OperationsSettings DeleteFunctionOperationsSettings { get; set; }

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

Property Value
TypeDescription
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 CloudFunctionsServiceClient.DeleteFunction and CloudFunctionsServiceClient.DeleteFunctionAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

GenerateDownloadUrlSettings

public CallSettings GenerateDownloadUrlSettings { get; set; }

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

Property Value
TypeDescription
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 CloudFunctionsServiceClient.GenerateUploadUrl and CloudFunctionsServiceClient.GenerateUploadUrlAsync.

Property Value
TypeDescription
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 CloudFunctionsServiceClient.GetFunction and CloudFunctionsServiceClient.GetFunctionAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudFunctionsServiceClient.GetIamPolicy and CloudFunctionsServiceClient.GetIamPolicyAsync.

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

ListFunctionsSettings

public CallSettings ListFunctionsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudFunctionsServiceClient.SetIamPolicy and CloudFunctionsServiceClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CloudFunctionsServiceClient.TestIamPermissions and CloudFunctionsServiceClient.TestIamPermissionsAsync.

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

UpdateFunctionOperationsSettings

public OperationsSettings UpdateFunctionOperationsSettings { get; set; }

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

Property Value
TypeDescription
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 CloudFunctionsServiceClient.UpdateFunction and CloudFunctionsServiceClient.UpdateFunctionAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 600 seconds.

Methods

Clone()

public CloudFunctionsServiceSettings Clone()

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

Returns
TypeDescription
CloudFunctionsServiceSettings

A deep clone of this CloudFunctionsServiceSettings object.

GetDefault()

public static CloudFunctionsServiceSettings GetDefault()

Get a new instance of the default CloudFunctionsServiceSettings.

Returns
TypeDescription
CloudFunctionsServiceSettings

A new instance of the default CloudFunctionsServiceSettings.