VariableArgs class
The set of arguments for Variable. The set of arguments for Variable.
Constructors
-
VariableArgs({required Input<
String> configId, Input<String> ? name, Input<String> ? project, Input<String> ? requestId, Input<String> ? text, Input<String> ? value}) -
Creates a new VariableArgs.
configIdRequired.nameThe name of the variable resource, in the format: projects/PROJECT_ID/configs/CONFIG_NAME/variables/VARIABLE_NAMEThe[PROJECT_ID]must be a valid project ID,[CONFIG_NAME]must be a valid RuntimeConfig resource and[VARIABLE_NAME]follows Unix file system file path naming. The[VARIABLE_NAME]can contain ASCII letters, numbers, slashes and dashes. Slashes are used as path element separators and are not part of the[VARIABLE_NAME]itself, so[VARIABLE_NAME]must contain at least one non-slash character. Multiple slashes are coalesced into single slash character. Each path segment should match 0-9A-Za-z? regular expression. The length of a[VARIABLE_NAME]must be less than 256 characters. Once you create a variable, you cannot change the variable name.projectOptional.requestIdAn optional but recommended uniquerequest_id. If the server receives twocreate()requests with the samerequest_id, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_idfields are ignored. It is responsibility of the client to ensure uniqueness of therequest_idstrings.request_idstrings are limited to 64 characters.textThe string value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. For example,text: "my text value". The string must be valid UTF-8.valueThe binary value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. The value must be base64 encoded, and must comply with IETF RFC4648 (https://www.ietf.org/rfc/rfc4648.txt). Only one ofvalueortextcan be set.const -
VariableArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
configId
→ Input<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of the variable resource, in the format: projects/
PROJECT_ID/configs/CONFIG_NAME/variables/VARIABLE_NAMEThe[PROJECT_ID]must be a valid project ID,[CONFIG_NAME]must be a valid RuntimeConfig resource and[VARIABLE_NAME]follows Unix file system file path naming. The[VARIABLE_NAME]can contain ASCII letters, numbers, slashes and dashes. Slashes are used as path element separators and are not part of the[VARIABLE_NAME]itself, so[VARIABLE_NAME]must contain at least one non-slash character. Multiple slashes are coalesced into single slash character. Each path segment should match 0-9A-Za-z? regular expression. The length of a[VARIABLE_NAME]must be less than 256 characters. Once you create a variable, you cannot change the variable name.final -
project
→ Input<
String> ? -
final
-
requestId
→ Input<
String> ? -
An optional but recommended unique
request_id. If the server receives twocreate()requests with the samerequest_id, then the second request will be ignored and the first resource created and stored in the backend is returned. Emptyrequest_idfields are ignored. It is responsibility of the client to ensure uniqueness of therequest_idstrings.request_idstrings are limited to 64 characters.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
→ Input<
String> ? -
The string value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. For example,
text: "my text value". The string must be valid UTF-8.final -
value
→ Input<
String> ? -
The binary value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. The value must be base64 encoded, and must comply with IETF RFC4648 (https://www.ietf.org/rfc/rfc4648.txt). Only one of
valueortextcan be set.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited