Class File (1.6.0)

File(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A remote or local file.

Attributes

NameDescription
remote google.cloud.osconfig_v1alpha.types.OSPolicy.Resource.File.Remote
A generic remote file.
gcs google.cloud.osconfig_v1alpha.types.OSPolicy.Resource.File.Gcs
A Cloud Storage object.
local_path str
A local path within the VM to use.
allow_insecure bool
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.

Classes

Gcs

Gcs(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies a file available as a Cloud Storage Object.

Remote

Remote(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies a file available via some URI.