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."],[[["The latest version available for the Google Cloud Deploy v1 API class TargetAttribute is 3.4.0, with previous versions ranging down to 1.0.0."],["The `TargetAttribute` class, found within the `Google.Cloud.Deploy.V1` namespace, is used to define criteria for selecting Targets in Deploy Policies or Automations."],["This `TargetAttribute` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class provides properties such as `Id` for specifying target identifiers and `Labels` for assigning labels to targets."],["There are two constructors available, a default one, and another which takes a `TargetAttribute` as a parameter to create a copy."]]],[]]