Access Approval v1 API - Class AccessApprovalServiceSettings (2.5.0)

public sealed class AccessApprovalServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Access Approval v1 API class AccessApprovalServiceSettings.

Settings for AccessApprovalServiceClient instances.

Inheritance

object > ServiceSettingsBase > AccessApprovalServiceSettings

Namespace

Google.Cloud.AccessApproval.V1

Assembly

Google.Cloud.AccessApproval.V1.dll

Constructors

AccessApprovalServiceSettings()

public AccessApprovalServiceSettings()

Constructs a new AccessApprovalServiceSettings object with default settings.

Properties

ApproveApprovalRequestSettings

public CallSettings ApproveApprovalRequestSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.ApproveApprovalRequest and AccessApprovalServiceClient.ApproveApprovalRequestAsync.

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

DeleteAccessApprovalSettingsSettings

public CallSettings DeleteAccessApprovalSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.DeleteAccessApprovalSettings and AccessApprovalServiceClient.DeleteAccessApprovalSettingsAsync.

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

DismissApprovalRequestSettings

public CallSettings DismissApprovalRequestSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.DismissApprovalRequest and AccessApprovalServiceClient.DismissApprovalRequestAsync.

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

GetAccessApprovalServiceAccountSettings

public CallSettings GetAccessApprovalServiceAccountSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.GetAccessApprovalServiceAccount and AccessApprovalServiceClient.GetAccessApprovalServiceAccountAsync.

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

GetAccessApprovalSettingsSettings

public CallSettings GetAccessApprovalSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.GetAccessApprovalSettings and AccessApprovalServiceClient.GetAccessApprovalSettingsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 600 seconds.

GetApprovalRequestSettings

public CallSettings GetApprovalRequestSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.GetApprovalRequest and AccessApprovalServiceClient.GetApprovalRequestAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 600 seconds.

InvalidateApprovalRequestSettings

public CallSettings InvalidateApprovalRequestSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.InvalidateApprovalRequest and AccessApprovalServiceClient.InvalidateApprovalRequestAsync.

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

ListApprovalRequestsSettings

public CallSettings ListApprovalRequestsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.ListApprovalRequests and AccessApprovalServiceClient.ListApprovalRequestsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 600 seconds.

UpdateAccessApprovalSettingsSettings

public CallSettings UpdateAccessApprovalSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AccessApprovalServiceClient.UpdateAccessApprovalSettings and AccessApprovalServiceClient.UpdateAccessApprovalSettingsAsync.

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

Methods

Clone()

public AccessApprovalServiceSettings Clone()

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

Returns
Type Description
AccessApprovalServiceSettings

A deep clone of this AccessApprovalServiceSettings object.

GetDefault()

public static AccessApprovalServiceSettings GetDefault()

Get a new instance of the default AccessApprovalServiceSettings.

Returns
Type Description
AccessApprovalServiceSettings

A new instance of the default AccessApprovalServiceSettings.