API Reference
GoogleWorkspaceSessionOptions
Session-level options shared by Google Workspace exporters.
Inheritance
- Object
- GoogleWorkspaceSessionOptions
Usage
Explore 16 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
- Property GoogleWorkspaceRetryOptions.SessionOptions
- Property GoogleWorkspaceSession.Options
Accepted by parameters 14
- Constructor GoogleServiceAccountCredentialSource.GoogleServiceAccountCredentialSource
- Method GoogleServiceAccountCredentialSource.FromFile
- Method GoogleServiceAccountCredentialSource.FromJson
- Method GoogleWorkspaceDiagnosticsDispatcher.Add
- Method GoogleWorkspaceDiagnosticsDispatcher.AddUnique
- Method GoogleWorkspaceDiagnosticsDispatcher.Emit
- Method GoogleWorkspaceFailureDiagnostics.CreateAmbiguousMutationFailure
- Method GoogleWorkspaceFailureDiagnostics.CreateApiFailure
- Method GoogleWorkspaceFailureDiagnostics.CreateCanceledFailure
- Method GoogleWorkspaceFailureDiagnostics.CreateRequestTimeoutFailure
- Constructor GoogleWorkspaceHttpTransport.GoogleWorkspaceHttpTransport
- Constructor GoogleWorkspaceRetryOptions.GoogleWorkspaceRetryOptions
- Method GoogleWorkspaceRetryOptions.FromSessionOptions
- Constructor GoogleWorkspaceSession.GoogleWorkspaceSession
Constructors
public GoogleWorkspaceSessionOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String ApplicationName { get; set; } #Gets or sets the application name sent in Google API requests. The default is OfficeIMO.
public String? QuotaUser { get; set; } #Gets or sets the stable end-user identifier sent for provider-side quota accounting.
public String? QuotaProject { get; set; } #Gets or sets the requested Google Cloud consumer project sent for provider-side quota and billing evaluation.
public Func<String>? RequestIdFactory { get; set; } #Gets or sets a factory for correlation identifiers attached to outgoing operations.
public String? DefaultDriveId { get; set; } #Gets or sets the default shared-drive identifier used when an operation omits one.
public String? DefaultFolderId { get; set; } #Gets or sets the default parent-folder identifier used when an operation omits one.
public String? SubjectUser { get; set; } #Gets or sets the Workspace user requested for service-account impersonation.
public Boolean UseDomainWideDelegation { get; set; } #Gets or sets whether service-account credentials request domain-wide delegation.
public HttpClient? HttpClient { get; set; } #Gets or sets the HTTP client used for Google API requests. When absent, the transport owns a private client.
public TimeSpan RequestTimeout { get; set; } #Gets or sets the timeout applied to each request attempt. The default is 100 seconds.
public Int32 MaxRetryCount { get; set; } #Gets or sets the maximum number of retries after the initial request. The default is 3.
public TimeSpan RetryBaseDelay { get; set; } #Gets or sets the initial delay for exponential retry backoff. The default is 200 milliseconds.
public TimeSpan RetryMaxDelay { get; set; } #Gets or sets the upper bound for one retry delay. The default is 5 seconds.
public TimeSpan MaxRetryElapsedTime { get; set; } #Gets or sets the overall elapsed-time budget for one operation, including the initial attempt, retries, delays, and response processing. The default is 2 minutes.
public GoogleWorkspaceRateLimitPolicy RateLimitPolicy { get; set; } #Gets or sets how server rate-limit guidance influences retry delays.
public String? ExpectedAccount { get; set; } #Gets or sets the required provider-verified account identity for acquired credentials.
public Func<GoogleWorkspaceOperationContext, GoogleWorkspaceOperationPolicy>? OperationPolicyProvider { get; set; } #Gets or sets a callback that supplies safety, retry, and precondition policy for an operation.
public Action<GoogleWorkspaceOperationReceipt>? OperationReceiptSink { get; set; } #Gets or sets a sink that receives the final receipt for each mutation operation.
public Action<GoogleWorkspaceDiagnosticEntry>? DiagnosticSink { get; set; } #Gets or sets a sink for structured diagnostics emitted during Workspace operations.