public sealed class OSPolicy.Types.Resource.Types.File : IMessage<OSPolicy.Types.Resource.Types.File>, IEquatable<OSPolicy.Types.Resource.Types.File>, IDeepCloneable<OSPolicy.Types.Resource.Types.File>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class OSPolicy.Types.Resource.Types.File.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eOSPolicy.Types.Resource.Types.File\u003c/code\u003e class within the Google Cloud OS Config v1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOSPolicy.Types.Resource.Types.File\u003c/code\u003e class represents a remote or local file and is part of a hierarchy that includes \u003ccode\u003eOSPolicy\u003c/code\u003e, \u003ccode\u003eTypes\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, with inheritance from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFile\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which suggests it supports message operations, comparison, deep cloning, and buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFile\u003c/code\u003e class supports three different types of file sources : \u003ccode\u003eLocalPath\u003c/code\u003e, \u003ccode\u003eGcs\u003c/code\u003e, and \u003ccode\u003eRemote\u003c/code\u003e, each serving a different purpose for file retrieval, such as having a file on the VM, through cloud storage, and remote, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for the \u003ccode\u003eOSPolicy.Types.Resource.Types.File\u003c/code\u003e class, including versions 2.4.0 (latest), 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.8.0, 1.7.0, 1.6.0, 1.5.0, 1.4.0, and 1.3.0.\u003c/p\u003e\n"]]],[],null,[]]