public sealed class SandboxTemplate : IMessage<SandboxTemplate>, IEquatable<SandboxTemplate>, IDeepCloneable<SandboxTemplate>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Run Admin v2 API class SandboxTemplate.
Template for a single sandbox.
Implements
IMessageSandboxTemplate, IEquatableSandboxTemplate, IDeepCloneableSandboxTemplate, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
SandboxTemplate()
public SandboxTemplate()SandboxTemplate(SandboxTemplate)
public SandboxTemplate(SandboxTemplate other)| Parameter | |
|---|---|
| Name | Description |
other |
SandboxTemplate |
Properties
Args
public RepeatedField<string> Args { get; }Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Command
public RepeatedField<string> Command { get; }Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Env
public RepeatedField<EnvVar> Env { get; }Optional. List of environment variables to set in the sandbox.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEnvVar |
|
Image
public string Image { get; set; }Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
| Property Value | |
|---|---|
| Type | Description |
string |
|
VolumeMounts
public RepeatedField<VolumeMount> VolumeMounts { get; }Optional. Volume to mount into the container's filesystem.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldVolumeMount |
|
WorkingDir
public string WorkingDir { get; set; }Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
| Property Value | |
|---|---|
| Type | Description |
string |
|