ScriptArgs class
The set of arguments for Script. The set of arguments for Script.
Constructors
-
ScriptArgs({Input<
String?> ? name, Input<String?> ? region, Input<ScriptStorageLocation?> ? storageLocation, Input<Map< ? tags, Input<String, String> ?>String?> ? version, Input<String?> ? zipFile}) -
Creates a new ScriptArgs.
nameName of the scriptregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.storageLocationInformation indicating where your game script files are stored. See below.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.versionVersion that is associated with this script.zipFileA data object containing your Realtime scripts and dependencies as a zip file. The zip file can have one or multiple files. Maximum size of a zip file is 5 MB.const -
ScriptArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the script
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageLocation
→ Input<
ScriptStorageLocation?> ? -
Information indicating where your game script files are stored. See below.
final
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
version
→ Input<
String?> ? -
Version that is associated with this script.
final
-
zipFile
→ Input<
String?> ? -
A data object containing your Realtime scripts and dependencies as a zip file. The zip file can have one or multiple files. Maximum size of a zip file is 5 MB.
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