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 |
|
---|---|
Name | Description |
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.