public sealed class TargetAttribute : IMessage<TargetAttribute>, IEquatable<TargetAttribute>, IDeepCloneable<TargetAttribute>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class TargetAttribute.
Contains criteria for selecting Targets. This could be used to select targets
for a Deploy Policy or for an Automation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `TargetAttribute` class within the Google Cloud Deploy v1 API, specifically for .NET developers."],["The latest version of `TargetAttribute` is 3.4.0, and the documentation includes versions ranging from 1.0.0 up to the latest release, with direct links for each version."],["`TargetAttribute` is designed for selecting deployment targets, enabling the specification of criteria for selecting targets, which is useful for deploying policies or automations."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class, inheriting some members from said base class."],["The `TargetAttribute` class contains properties for `Id`, which is the identifier of the target, and `Labels`, which allows one to assign labels to the targets, with the label properties being of the type string and MapField, respectively."]]],[]]