OSPolicyResourceFileResponse class
A remote or local file.
Constructors
-
OSPolicyResourceFileResponse({required Input<
bool> allowInsecure, required Input<OSPolicyResourceFileGcsResponse> gcs, required Input<String> localPath, required Input<OSPolicyResourceFileRemoteResponse> remote}) -
Creates a new OSPolicyResourceFileResponse.
allowInsecureDefaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.gcsA Cloud Storage object.localPathA local path within the VM to use.remoteA generic remote file.const -
OSPolicyResourceFileResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowInsecure
→ Input<
bool> -
Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
final
-
gcs
→ Input<
OSPolicyResourceFileGcsResponse> -
A Cloud Storage object.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localPath
→ Input<
String> -
A local path within the VM to use.
final
-
remote
→ Input<
OSPolicyResourceFileRemoteResponse> -
A generic remote file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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