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.
Implements
IMessageTargetAttribute, IEquatableTargetAttribute, IDeepCloneableTargetAttribute, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
Google.Cloud.Deploy.V1.dll
Constructors
TargetAttribute()
public TargetAttribute()
TargetAttribute(TargetAttribute)
public TargetAttribute(TargetAttribute other)
Parameter | |
---|---|
Name | Description |
other |
TargetAttribute |
Properties
Id
public string Id { get; set; }
ID of the Target
. The value of this field could be one of the
following:
- The last segment of a target name
- "*", all targets in a location
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Target labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |