Class TemporalCloudOperationsClientConnectOptions
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Options for ConnectAsync(TemporalCloudOperationsClientConnectOptions). Unlike
ConnectAsync(TemporalClientConnectOptions), this defaults TargetHost
to the known host
and Tls
to enabled.
public class TemporalCloudOperationsClientConnectOptions : TemporalConnectionOptions, ICloneable
- Inheritance
-
TemporalCloudOperationsClientConnectOptions
- Implements
- Inherited Members
Remarks
WARNING: Cloud Operations API and its client are experimental and APIs may change.
Constructors
TemporalCloudOperationsClientConnectOptions()
Initializes a new instance of the TemporalCloudOperationsClientConnectOptions class. Most users will at least need an API key and therefore should use the other constructor overload.
public TemporalCloudOperationsClientConnectOptions()
Remarks
WARNING: Cloud Operations API and its client are experimental and APIs may change.
TemporalCloudOperationsClientConnectOptions(string)
Initializes a new instance of the TemporalCloudOperationsClientConnectOptions class.
public TemporalCloudOperationsClientConnectOptions(string apiKey)
Parameters
apiKey
stringAPI key for the client.
Remarks
WARNING: Cloud Operations API and its client are experimental and APIs may change.
Properties
Version
Gets or sets the version header for safer mutation. Note, upon connect, this is actually
merged into the RPC metadata as the temporal-cloud-api-version
header and users
must retain that header if needed if/when RPC metadata is updated.
public string? Version { get; set; }