Class File (1.16.0rc0)

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

A remote or local file.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
remote google.cloud.osconfig_v1alpha.types.OSPolicy.Resource.File.Remote
A generic remote file. This field is a member of oneof_ type.
gcs google.cloud.osconfig_v1alpha.types.OSPolicy.Resource.File.Gcs
A Cloud Storage object. This field is a member of oneof_ type.
local_path str
A local path within the VM to use. This field is a member of oneof_ type.
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.