GoogleFirebaseExtensionsV1betaExtensionSpecParameter class

Representation of a configurable parameter for an Extension.

These can be used to configure resources or referenced as environment variables in a Cloud Function.

Constructors

GoogleFirebaseExtensionsV1betaExtensionSpecParameter({String? default_, String? description, String? example, bool? immutable, String? label, List<GoogleFirebaseExtensionsV1betaParamSelectOption>? options, String? param, bool? required, GoogleFirebaseExtensionsV1betaResourceInfo? resourceInfo, String? type, String? validationErrorMessage, String? validationRegex})
GoogleFirebaseExtensionsV1betaExtensionSpecParameter.fromJson(Map _json)

Properties

default_ ↔ String?
Default value if an Extension consumer leaves the parameter value blank.
getter/setter pair
description ↔ String?
Additional description for the parameter.
getter/setter pair
example ↔ String?
Example of what this value might look like.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
immutable ↔ bool?
Whether or not the user should be prevented from updating the value of this parameter later.
getter/setter pair
label ↔ String?
Label for the parameter, shown to the Extension consumer when they are prompted for the parameter value.
getter/setter pair
options ↔ List<GoogleFirebaseExtensionsV1betaParamSelectOption>?
A list of values that the consumer can pick from, if the param.Type is select or multiSelect
getter/setter pair
param ↔ String?
Name of the parameter.
getter/setter pair
required ↔ bool?
Flag indicating if the parameter must be defined and not empty.
getter/setter pair
resourceInfo ↔ GoogleFirebaseExtensionsV1betaResourceInfo?
Additional resource information which must be specified when parameter type is RESOURCE.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
Type of input.
getter/setter pair
validationErrorMessage ↔ String?
Error message to display if regex validation fails.
getter/setter pair
validationRegex ↔ String?
Regex string for validation of the parameter value provided by the Extension consumer.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited