GoogleWorkspaceOperationPolicy
OfficeIMO.GoogleWorkspace
Explicit account, scope, revision, retry, rate, and loss contract for one cloud mutation.
Inheritance
- object
- GoogleWorkspaceOperationPolicy
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 1
Constructors
public GoogleWorkspaceOperationPolicy(string account, IEnumerable<string> scopes, string target, string expectedRevision, int maxRetryCount, TimeSpan maxRetryElapsedTime, GoogleWorkspaceRateLimitPolicy rateLimitPolicy, GoogleWorkspaceDataLossDecision dataLossDecision, string? acceptedLoss = null) #Creates the caller-approved identity, scope, revision, retry, and data-loss contract for one mutation.
Parameters
- account string
- Provider-verified account expected to perform the mutation.
- scopes System.Collections.Generic.IEnumerable<string>
- OAuth scopes that must be bound to the credential.
- target string
- Logical resource identifier the mutation is allowed to affect.
- expectedRevision string
- Required revision, create marker, or value returned by GoogleWorkspaceOperationPolicy.ExplicitlyUnversionedRevision.
- maxRetryCount int
- Maximum number of retries after the initial request.
- maxRetryElapsedTime System.TimeSpan
- Overall elapsed-time budget for the initial attempt, retries, delays, and response processing.
- rateLimitPolicy OfficeIMO.GoogleWorkspace.GoogleWorkspaceRateLimitPolicy
- Behavior for retryable quota responses.
- dataLossDecision OfficeIMO.GoogleWorkspace.GoogleWorkspaceDataLossDecision
- Decision for potential data loss.
- acceptedLoss string? = null
- Specific loss accepted by the caller when acceptance is selected.
Methods
public static string ExplicitlyUnversionedRevision(string reason) #Records that the caller deliberately accepted a mutation for which the Google API exposes no usable conditional revision precondition. The named reason is retained in the operation receipt.
Parameters
- reason string
Returns
stringInherited Methods
Properties
public string Account { get; } #Gets the provider-verified account approved for the mutation.
public IReadOnlyList<string> Scopes { get; } #Gets the OAuth scopes required by the mutation.
public string Target { get; } #Gets the logical resource identifier the mutation may affect.
public string ExpectedRevision { get; } #Gets the required revision decision.
public int MaxRetryCount { get; } #Gets the maximum number of retries after the initial request.
public TimeSpan MaxRetryElapsedTime { get; } #Gets the overall elapsed-time budget for the initial attempt, retries, delays, and response processing.
public GoogleWorkspaceRateLimitPolicy RateLimitPolicy { get; } #Gets the behavior for retryable quota responses.
public GoogleWorkspaceDataLossDecision DataLossDecision { get; } #Gets the caller's decision for potential data loss.
public string? AcceptedLoss { get; } #Gets the specific loss accepted by the caller, when acceptance was selected.
Fields
public const string ResourceAbsentForCreateRevision #Revision decision used for create operations whose target resource must not already exist.
resource-absent-for-create