Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class ParameterMetadata.
Metadata for a specific parameter.
Generated from protobuf message google.dataflow.v1beta3.ParameterMetadata
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the parameter.
↳ label
string
Required. The label to display for the parameter.
↳ help_text
string
Required. The help text to display for the parameter.
↳ is_optional
bool
Optional. Whether the parameter is optional. Defaults to false.
↳ regexes
array
Optional. Regexes that the parameter must match.
↳ param_type
int
Optional. The type of the parameter. Used for selecting input picker.
↳ custom_metadata
array| Google\Protobuf\Internal\MapField
Optional. Additional metadata for describing this parameter.
↳ group_name
string
Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
↳ parent_name
string
Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
↳ parent_trigger_values
array
Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
↳ enum_options
array< ParameterMetadataEnumOption
>
Optional. The options shown when ENUM ParameterType is specified.
↳ default_value
string
Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
↳ hidden_ui
bool
Optional. Whether the parameter should be hidden in the UI.
getName
Required. The name of the parameter.
string
setName
Required. The name of the parameter.
var
string
$this
getLabel
Required. The label to display for the parameter.
string
setLabel
Required. The label to display for the parameter.
var
string
$this
getHelpText
Required. The help text to display for the parameter.
string
setHelpText
Required. The help text to display for the parameter.
var
string
$this
getIsOptional
Optional. Whether the parameter is optional. Defaults to false.
bool
setIsOptional
Optional. Whether the parameter is optional. Defaults to false.
var
bool
$this
getRegexes
Optional. Regexes that the parameter must match.
setRegexes
Optional. Regexes that the parameter must match.
var
string[]
$this
getParamType
Optional. The type of the parameter.
Used for selecting input picker.
int
setParamType
Optional. The type of the parameter.
Used for selecting input picker.
var
int
$this
getCustomMetadata
Optional. Additional metadata for describing this parameter.
setCustomMetadata
Optional. Additional metadata for describing this parameter.
$this
getGroupName
Optional. Specifies a group name for this parameter to be rendered under.
Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
string
setGroupName
Optional. Specifies a group name for this parameter to be rendered under.
Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
var
string
$this
getParentName
Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
string
setParentName
Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
var
string
$this
getParentTriggerValues
Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
setParentTriggerValues
Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
var
string[]
$this
getEnumOptions
Optional. The options shown when ENUM ParameterType is specified.
setEnumOptions
Optional. The options shown when ENUM ParameterType is specified.
$this
getDefaultValue
Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
string
setDefaultValue
Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
var
string
$this
getHiddenUi
Optional. Whether the parameter should be hidden in the UI.
bool
setHiddenUi
Optional. Whether the parameter should be hidden in the UI.
var
bool
$this