public sealed class File : IMessage<OSPolicy.Types.Resource.Types.File>, IEquatable<OSPolicy.Types.Resource.Types.File>, IDeepCloneable<OSPolicy.Types.Resource.Types.File>, IBufferMessage, IMessage
A remote or local file.
Implements
IMessage<OSPolicy.Types.Resource.Types.File>, IEquatable<OSPolicy.Types.Resource.Types.File>, IDeepCloneable<OSPolicy.Types.Resource.Types.File>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
File()
public File()
File(OSPolicy.Types.Resource.Types.File)
public File(OSPolicy.Types.Resource.Types.File other)
Parameter | |
---|---|
Name | Description |
other | OSPolicy.Types.Resource.Types.File |
Properties
AllowInsecure
public bool AllowInsecure { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Boolean |
Gcs
public OSPolicy.Types.Resource.Types.File.Types.Gcs Gcs { get; set; }
A Cloud Storage object.
Property Value | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.File.Types.Gcs |
LocalPath
public string LocalPath { get; set; }
A local path within the VM to use.
Property Value | |
---|---|
Type | Description |
String |
Remote
public OSPolicy.Types.Resource.Types.File.Types.Remote Remote { get; set; }
A generic remote file.
Property Value | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.File.Types.Remote |
TypeCase
public OSPolicy.Types.Resource.Types.File.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.File.TypeOneofCase |