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
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.

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

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.

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

Parameter
Name Description
var string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.