Google Cloud Dataplex V1 Client - Class JsonOptions (1.0.1)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this