Class GetSandboxProviderEnvironmentResponse
- Namespace
- Openshell.V1
- Assembly
- OpenShell.Sdk.dll
Polling projection of ProviderEnvironmentSnapshot. The parallel maps below are keyed by the same environment variable names. Removed with the polling RPCs; new provider environment fields belong on the snapshot first.
public sealed class GetSandboxProviderEnvironmentResponse : IMessage<GetSandboxProviderEnvironmentResponse>, IEquatable<GetSandboxProviderEnvironmentResponse>, IDeepCloneable<GetSandboxProviderEnvironmentResponse>, IBufferMessage, IMessage
- Inheritance
-
GetSandboxProviderEnvironmentResponse
- Implements
-
IMessage<GetSandboxProviderEnvironmentResponse>IDeepCloneable<GetSandboxProviderEnvironmentResponse>IBufferMessageIMessage
- Inherited Members
Constructors
GetSandboxProviderEnvironmentResponse()
public GetSandboxProviderEnvironmentResponse()
GetSandboxProviderEnvironmentResponse(GetSandboxProviderEnvironmentResponse)
public GetSandboxProviderEnvironmentResponse(GetSandboxProviderEnvironmentResponse other)
Parameters
Fields
CredentialExpirationTimesFieldNumber
Field number for the "credential_expiration_times" field.
public const int CredentialExpirationTimesFieldNumber = 103
Field Value
DynamicCredentialsFieldNumber
Field number for the "dynamic_credentials" field.
public const int DynamicCredentialsFieldNumber = 4
Field Value
EnvironmentFieldNumber
Field number for the "environment" field.
public const int EnvironmentFieldNumber = 1
Field Value
FilesFieldNumber
Field number for the "files" field.
public const int FilesFieldNumber = 10
Field Value
NonSecretEnvironmentKeysFieldNumber
Field number for the "non_secret_environment_keys" field.
public const int NonSecretEnvironmentKeysFieldNumber = 6
Field Value
PolicyHashFieldNumber
Field number for the "policy_hash" field.
public const int PolicyHashFieldNumber = 8
Field Value
ProviderAttachmentEpochFieldNumber
Field number for the "provider_attachment_epoch" field.
public const int ProviderAttachmentEpochFieldNumber = 7
Field Value
ProviderEnvRevisionFieldNumber
Field number for the "provider_env_revision" field.
public const int ProviderEnvRevisionFieldNumber = 2
Field Value
ReadinessReasonFieldNumber
Field number for the "readiness_reason" field.
public const int ReadinessReasonFieldNumber = 9
Field Value
StablePlaceholderEnvironmentKeysFieldNumber
Field number for the "stable_placeholder_environment_keys" field.
public const int StablePlaceholderEnvironmentKeysFieldNumber = 11
Field Value
StaticCredentialBindingsFieldNumber
Field number for the "static_credential_bindings" field.
public const int StaticCredentialBindingsFieldNumber = 5
Field Value
SupportsStablePlaceholderEnvironmentKeysFieldNumber
Field number for the "supports_stable_placeholder_environment_keys" field.
public const int SupportsStablePlaceholderEnvironmentKeysFieldNumber = 12
Field Value
Properties
CredentialExpirationTimes
Expiration timestamps for returned environment variables.
public MapField<string, Timestamp> CredentialExpirationTimes { get; }
Property Value
- MapField<string, Timestamp>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DynamicCredentials
Dynamic credentials that require token grants or other runtime injection. Maps endpoint-bound provider metadata to credential metadata. Supervisor uses this to inject Authorization headers for token grant credentials.
public MapField<string, ProviderProfileCredential> DynamicCredentials { get; }
Property Value
- MapField<string, ProviderProfileCredential>
Environment
Provider credential environment variables.
public MapField<string, string> Environment { get; }
Property Value
Files
Complete desired set of non-secret managed files, keyed by absolute path.
public MapField<string, string> Files { get; }
Property Value
NonSecretEnvironmentKeys
Environment variables that contain provider configuration rather than credentials and therefore do not require endpoint-scoped resolution.
public RepeatedField<string> NonSecretEnvironmentKeys { get; }
Property Value
- RepeatedField<string>
Parser
public static MessageParser<GetSandboxProviderEnvironmentResponse> Parser { get; }
Property Value
- MessageParser<GetSandboxProviderEnvironmentResponse>
PolicyHash
Effective policy identity used to derive this snapshot's endpoint bindings.
public string PolicyHash { get; set; }
Property Value
ProviderAttachmentEpoch
Attachment identity captured with the returned provider records.
public string ProviderAttachmentEpoch { get; set; }
Property Value
ProviderEnvRevision
Fingerprint for the provider credential inputs that produced environment.
public ulong ProviderEnvRevision { get; set; }
Property Value
ReadinessReason
Nonzero when material was withheld; installing an empty map is not readiness.
public ProviderReadinessReason ReadinessReason { get; set; }
Property Value
StablePlaceholderEnvironmentKeys
Credential environment variables whose opaque resolver handle remains stable across value-only provider revisions. These keys are still secrets; this metadata only selects the stable external-placeholder behavior.
public RepeatedField<string> StablePlaceholderEnvironmentKeys { get; }
Property Value
- RepeatedField<string>
StaticCredentialBindings
Endpoint allowlists for static credential environment variables. Metadata can be incomplete when a provider profile is invalid; capable supervisors reject all static material in that snapshot while preserving independently endpoint-bound dynamic credentials.
public MapField<string, StaticCredentialBinding> StaticCredentialBindings { get; }
Property Value
- MapField<string, StaticCredentialBinding>
SupportsStablePlaceholderEnvironmentKeys
Supporting gateways always acknowledge the stable-placeholder delivery contract, including responses without opted-in credentials. Supervisors require acknowledgment for declared or previously activated external stable credentials; ordinary legacy delivery does not require it.
public bool SupportsStablePlaceholderEnvironmentKeys { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public GetSandboxProviderEnvironmentResponse Clone()
Returns
- GetSandboxProviderEnvironmentResponse
A deep clone of this object.
Equals(GetSandboxProviderEnvironmentResponse)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GetSandboxProviderEnvironmentResponse other)
Parameters
otherGetSandboxProviderEnvironmentResponseAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(GetSandboxProviderEnvironmentResponse)
Merges the given message into this one.
public void MergeFrom(GetSandboxProviderEnvironmentResponse other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.