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. Attributes provided must match the
target resource in order for policy restrictions to apply. E.g. if id "prod"
and labels "foo: bar" are given the target resource must match both that id
and have that label in order to be selected.
[[["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's `TargetAttribute` class is 3.4.0, while the current page focuses on version 2.10.0."],["This documentation provides reference and code samples for the `TargetAttribute` class within the Google Cloud Deploy v1 API."],["The `TargetAttribute` class serves to select Targets by matching attributes like ID and labels, ensuring that resources adhere to specific criteria."],["The `TargetAttribute` class has various implementations and inherited members from base classes, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The available versions for the TargetAttribute Class span from 1.0.0 up to the latest version 3.4.0."]]],[]]