Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Constraints.
Definition of the constraints of a field.
Generated from protobuf message google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints
Namespace
Google \ Cloud \ Dataplex \ V1 \ AspectType \ MetadataTemplateMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ required |
bool
Optional. Marks this field as optional or required. |
getRequired
Optional. Marks this field as optional or required.
Returns | |
---|---|
Type | Description |
bool |
setRequired
Optional. Marks this field as optional or required.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |