Google Cloud Dataplex V1 Client - Class JsonOptions (0.13.0)

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

Namespace

Google \ Cloud \ Dataplex \ V1 \ StorageFormat

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this