Google Cloud App Hub V1 Client - Class ExtendedMetadataSchema (0.6.0)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class ExtendedMetadataSchema.

ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.

Generated from protobuf message google.cloud.apphub.v1.ExtendedMetadataSchema

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Resource name of the schema. Format: projects/

↳ json_schema string

Output only. The JSON schema as a string.

↳ schema_version int|string

Output only. The version of the schema. New versions are required to be backwards compatible.

getName

Identifier. Resource name of the schema.

Format: projects/

Returns
Type Description
string

setName

Identifier. Resource name of the schema.

Format: projects/

Parameter
Name Description
var string
Returns
Type Description
$this

getJsonSchema

Output only. The JSON schema as a string.

Returns
Type Description
string

setJsonSchema

Output only. The JSON schema as a string.

Parameter
Name Description
var string
Returns
Type Description
$this

getSchemaVersion

Output only. The version of the schema. New versions are required to be backwards compatible.

Returns
Type Description
int|string

setSchemaVersion

Output only. The version of the schema. New versions are required to be backwards compatible.

Parameter
Name Description
var int|string
Returns
Type Description
$this