A remote or local file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_insecure
def allow_insecure() -> ::Boolean
Returns
-
(::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
Parameter
-
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.
Returns
-
(::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::V1alpha::OSPolicy::Resource::File::Gcs
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
#gcs=
def gcs=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
#local_path
def local_path() -> ::String
Returns
- (::String) — A local path within the VM to use.
#local_path=
def local_path=(value) -> ::String
Parameter
- value (::String) — A local path within the VM to use.
Returns
- (::String) — A local path within the VM to use.
#remote
def remote() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote) — A generic remote file.
#remote=
def remote=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote) — A generic remote file.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote) — A generic remote file.