Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleWorkspaceOperationPolicy

Namespace OfficeIMO.GoogleWorkspace
Assembly OfficeIMO.GoogleWorkspace
Modifiers sealed

Explicit account, scope, revision, retry, rate, and loss contract for one cloud mutation.

Inheritance

  • Object
  • GoogleWorkspaceOperationPolicy

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public GoogleWorkspaceOperationPolicy(String account, IEnumerable<String> scopes, String target, String expectedRevision, Int32 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 System.String requiredposition: 0
Provider-verified account expected to perform the mutation.
scopes System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
OAuth scopes that must be bound to the credential.
target System.String requiredposition: 2
Logical resource identifier the mutation is allowed to affect.
expectedRevision System.String requiredposition: 3
Required revision, create marker, or value returned by String).
maxRetryCount System.Int32 requiredposition: 4
Maximum number of retries after the initial request.
maxRetryElapsedTime System.TimeSpan requiredposition: 5
Overall elapsed-time budget for the initial attempt, retries, delays, and response processing.
rateLimitPolicy OfficeIMO.GoogleWorkspace.GoogleWorkspaceRateLimitPolicy requiredposition: 6
Behavior for retryable quota responses.
dataLossDecision OfficeIMO.GoogleWorkspace.GoogleWorkspaceDataLossDecision requiredposition: 7
Decision for potential data loss.
acceptedLoss System.String = null optionalposition: 8
Specific loss accepted by the caller when acceptance is selected.

Methods

public static String ExplicitlyUnversionedRevision(String reason) #
Returns: String

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 System.String requiredposition: 0

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 Int32 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.

Value: resource-absent-for-create