Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::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::V1alpha::OSPolicy::Resource::File::Gcs
-
(::Google::Cloud::OsConfig::V1alpha::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=
def gcs=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs
-
value (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::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
def local_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=
def local_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
def remote() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote
-
(::Google::Cloud::OsConfig::V1alpha::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=
def remote=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote
-
value (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::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.