Google Cloud Dataplex V1 Client - Class JsonOptions (0.1.6)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class JsonOptions.

Describes JSON data format.

Generated from protobuf message google.cloud.dataplex.v1.StorageFormat.JsonOptions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ encoding string

Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified.

getEncoding

Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified.

Generated from protobuf field string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setEncoding

Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified.

Generated from protobuf field string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this