Class GoogleCloudApihubV1AllowedValue
The value that can be assigned to the attribute when the data type is enum.
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1.Data
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class GoogleCloudApihubV1AllowedValue : IDirectResponseSchema
Properties
Description
Optional. The detailed description of the allowed value.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The display name of the allowed value.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Immutable
Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
Declaration
[JsonProperty("immutable")]
public virtual bool? Immutable { get; set; }
Property Value
Type | Description |
---|---|
bool? |