Class Flag
Represents a single Flag.
Implements
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1.Data
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class Flag : IDirectResponseSchema
Properties
Annotations
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when the resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. Description of the flag. Max length: 500 bytes.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EvaluationSpec
Optional. Specification of how the flag value should be evaluated. If a bool flag is created without an evaluation_spec specified, two default variants, "Enabled" (with bool_value = true) and "Disabled" (with bool_value = false), are created by default, and "Disabled" is set as the default_target.
Declaration
[JsonProperty("evaluationSpec")]
public virtual EvaluationSpec EvaluationSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| EvaluationSpec |
FlagSet
Optional. Flag set this flag belongs to.
Declaration
[JsonProperty("flagSet")]
public virtual string FlagSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagValueType
Optional. Immutable. Flag value type.
Declaration
[JsonProperty("flagValueType")]
public virtual string FlagValueType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Key
Required. Immutable. Flag key used in runtime evaluation APIs (OpenFeature). Max length: 256 bytes.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/flags/{flag_id}"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Optional. Current state of the flag.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uid
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UnitKind
Required. Immutable. UnitKind that can consume this flag.
Declaration
[JsonProperty("unitKind")]
public virtual string UnitKind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValueType
Optional. Immutable. Deprecated: Use flag_value_type instead. Flag value type.
Declaration
[JsonProperty("valueType")]
public virtual string ValueType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Variants
Optional. A list of variants.
Declaration
[JsonProperty("variants")]
public virtual IList<FlagVariant> Variants { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<FlagVariant> |