Google Cloud Chronicle V1 Client - Class SemanticType (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SemanticType.

An enumeration of the possible types of a Feed.details field, where type implies both encoding and semantics. This is used in constructing a schema in order to construct a UI for creating well formed feeds.

Protobuf type google.cloud.chronicle.v1.SemanticType

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SEMANTIC_TYPE_UNSPECIFIED

Value: 0

No semantic type. All fields must specify a semantic type.

Generated from protobuf enum SEMANTIC_TYPE_UNSPECIFIED = 0;

BOOL

Value: 1

A boolean (with no special semantics).

Generated from protobuf enum BOOL = 1;

ENUM

Value: 2

An enum (with no special semantics).

Generated from protobuf enum ENUM = 2;

KEY_VALUE_LIST

Value: 3

A repeated field with a Message type where the Message contains two fields: key and value.

Generated from protobuf enum KEY_VALUE_LIST = 3;

MAP_STRING_STRING

Value: 4

A map<string, string> (with no special semantics).

Generated from protobuf enum MAP_STRING_STRING = 4;

STRING

Value: 5

A string (with no special semantics).

Generated from protobuf enum STRING = 5;

STRING_LIST

Value: 6

A repeated string (with no special semantics).

Generated from protobuf enum STRING_LIST = 6;

STRING_MULTILINE

Value: 7

A string that may contain any whitespace characters (with no special semantics).

Generated from protobuf enum STRING_MULTILINE = 7;

STRING_MULTILINE_SECRET

Value: 8

A string that may contain any whitespace characters and that encodes a secret.

Generated from protobuf enum STRING_MULTILINE_SECRET = 8;

STRING_SECRET

Value: 9

A string which encodes a secret.

Generated from protobuf enum STRING_SECRET = 9;

STRING_URI

Value: 10

A string which encodes a URI.

Generated from protobuf enum STRING_URI = 10;

STRING_URI_LIST

Value: 11

A repeated string which encodes URIs.

Generated from protobuf enum STRING_URI_LIST = 11;