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 latest version of the \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class in the Google Cloud Deploy v1 API is version 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class, which helps define resource selection criteria for deploy policies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeployPolicyResourceSelector\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Deploy.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.Deploy.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for comprehensive usage.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eDeliveryPipeline\u003c/code\u003e and \u003ccode\u003eTarget\u003c/code\u003e, to provide optional attributes relating to a delivery pipeline or a target respectively.\u003c/p\u003e\n"]]],[],null,[]]