public sealed class ParameterSpec : IMessage<ParameterSpec>, IEquatable<ParameterSpec>, IDeepCloneable<ParameterSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Security Compliance v1 API class ParameterSpec.
A parameter spec of the cloud control.
Implements
IMessageParameterSpec, IEquatableParameterSpec, IDeepCloneableParameterSpec, IBufferMessage, IMessageNamespace
Google.Cloud.CloudSecurityCompliance.V1Assembly
Google.Cloud.CloudSecurityCompliance.V1.dll
Constructors
ParameterSpec()
public ParameterSpec()
ParameterSpec(ParameterSpec)
public ParameterSpec(ParameterSpec other)
Parameter | |
---|---|
Name | Description |
other |
ParameterSpec |
Properties
DefaultValue
public ParamValue DefaultValue { get; set; }
Optional. The default value of the parameter.
Property Value | |
---|---|
Type | Description |
ParamValue |
Description
public string Description { get; set; }
Optional. The description of the parameter. The maximum length is 2000 characters.
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
Optional. The display name of the parameter. The maximum length is 200 characters.
Property Value | |
---|---|
Type | Description |
string |
IsRequired
public bool IsRequired { get; set; }
Required. if the parameter is required
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Required. The name of the parameter.
Property Value | |
---|---|
Type | Description |
string |
SubParameters
public RepeatedField<ParameterSpec> SubParameters { get; }
Optional. ParameterSpec for oneof attributes.
Property Value | |
---|---|
Type | Description |
RepeatedFieldParameterSpec |
SubstitutionRules
public RepeatedField<ParameterSubstitutionRule> SubstitutionRules { get; }
Optional. List of parameter substitutions.
Property Value | |
---|---|
Type | Description |
RepeatedFieldParameterSubstitutionRule |
Validation
public Validation Validation { get; set; }
Optional. The allowed set of values for the parameter.
Property Value | |
---|---|
Type | Description |
Validation |
ValueType
public ParameterSpec.Types.ValueType ValueType { get; set; }
Required. Parameter value type.
Property Value | |
---|---|
Type | Description |
ParameterSpecTypesValueType |