Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OSPolicy::Resource::File.
A remote or local file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_insecure
def allow_insecure() -> ::Boolean
-
(::Boolean) — 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.
#allow_insecure=
def allow_insecure=(value) -> ::Boolean
-
value (::Boolean) — 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.
-
(::Boolean) — 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.
#gcs
def gcs() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs
- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
#gcs=
def gcs=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs
- value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
#local_path
def local_path() -> ::String
- (::String) — A local path within the VM to use.
#local_path=
def local_path=(value) -> ::String
- value (::String) — A local path within the VM to use.
- (::String) — A local path within the VM to use.
#remote
def remote() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote
- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.
#remote=
def remote=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote
- value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.
- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.