Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File (v0.5.0)

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
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

#gcs=

def gcs=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs
Parameter

#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

#remote=

def remote=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote
Parameter