Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicy::Resource::File (v1.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
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
defallow_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=
defallow_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
defgcs()->::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
Note: The following fields are mutually exclusive:
gcs,remote,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs=
defgcs=(value)->::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
Note: The following fields are mutually exclusive:
gcs,remote,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs) — A Cloud Storage object.
Note: The following fields are mutually exclusive:
gcs,remote,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.
#local_path
deflocal_path()->::String-
(::String) — A local path within the VM to use.
Note: The following fields are mutually exclusive:
local_path,remote,gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.
#local_path=
deflocal_path=(value)->::String-
value (::String) — A local path within the VM to use.
Note: The following fields are mutually exclusive:
local_path,remote,gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — A local path within the VM to use.
Note: The following fields are mutually exclusive:
local_path,remote,gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.
#remote
defremote()->::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.
Note: The following fields are mutually exclusive:
remote,gcs,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.
#remote=
defremote=(value)->::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.
Note: The following fields are mutually exclusive:
remote,gcs,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote) — A generic remote file.
Note: The following fields are mutually exclusive:
remote,gcs,local_path. If a field in that set is populated, all other fields in the set will automatically be cleared.