public sealed class OSPolicy.Types.Resource.Types.PackageResource.Types.APT : IMessage<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IEquatable<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IDeepCloneable<OSPolicy.Types.Resource.Types.PackageResource.Types.APT>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class OSPolicy.Types.Resource.Types.PackageResource.Types.APT.
A package managed by APT.
- install:
apt-get update && apt-get -y install [name]
- remove:
apt-get -y remove [name]
Implements
IMessageOSPolicyTypesResourceTypesPackageResourceTypesAPT, IEquatableOSPolicyTypesResourceTypesPackageResourceTypesAPT, IDeepCloneableOSPolicyTypesResourceTypesPackageResourceTypesAPT, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
APT()
public APT()
APT(APT)
public APT(OSPolicy.Types.Resource.Types.PackageResource.Types.APT other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyTypesResourceTypesPackageResourceTypesAPT |
Properties
Name
public string Name { get; set; }
Required. Package name.
Property Value | |
---|---|
Type | Description |
string |