public sealed class DeployPolicyResourceSelector : IMessage<DeployPolicyResourceSelector>, IEquatable<DeployPolicyResourceSelector>, IDeepCloneable<DeployPolicyResourceSelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class DeployPolicyResourceSelector.
Contains information on the resources to select for a deploy policy.
Attributes provided must all match the resource in order for policy
restrictions to apply. For example, if delivery pipelines attributes given
are an id "prod" and labels "foo: bar", a delivery pipeline resource must
match both that id and have that label in order to be subject to the policy.
[[["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-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class within the Google Cloud Deploy v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class is used to define the criteria for selecting resources to which a deploy policy should apply, based on attributes like delivery pipeline ID and labels.\u003c/p\u003e\n"],["\u003cp\u003eIt is an implementation of \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, and includes properties to specify \u003ccode\u003eDeliveryPipeline\u003c/code\u003e and \u003ccode\u003eTarget\u003c/code\u003e attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is organized by version, ranging from version 1.0.0 to 3.4.0, with 3.4.0 being the latest, while version 3.2.0 is shown as the current in the page context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class has two constructors one empty, and the second to copy from another instance, and has properties related to the Target and Delivery Pipeline.\u003c/p\u003e\n"]]],[],null,[]]