Google Cloud Dataproc V1 Client - Class ValueValidation (3.2.2)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ValueValidation.

Validation based on a list of allowed values.

Generated from protobuf message google.cloud.dataproc.v1.ValueValidation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ values array

Required. List of allowed values for the parameter.

getValues

Required. List of allowed values for the parameter.

Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

Required. List of allowed values for the parameter.

Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this