Access Approval v1 API - Class AccessApprovalServiceSettings (2.4.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccessApprovalServiceSettings

A deep clone of this AccessApprovalServiceSettings object.

GetDefault()

public static AccessApprovalServiceSettings GetDefault()

Get a new instance of the default AccessApprovalServiceSettings.

Returns
TypeDescription
AccessApprovalServiceSettings

A new instance of the default AccessApprovalServiceSettings.