public sealed class Kubernetes.Types.Binding : IMessage<Kubernetes.Types.Binding>, IEquatable<Kubernetes.Types.Binding>, IDeepCloneable<Kubernetes.Types.Binding>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.Binding.
Represents a Kubernetes RoleBinding or ClusterRoleBinding.
Implements
IMessageKubernetesTypesBinding, IEquatableKubernetesTypesBinding, IDeepCloneableKubernetesTypesBinding, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
Binding()
public Binding()
Binding(Binding)
public Binding(Kubernetes.Types.Binding other)
Parameter | |
---|---|
Name | Description |
other |
KubernetesTypesBinding |
Properties
Name
public string Name { get; set; }
Name for the binding.
Property Value | |
---|---|
Type | Description |
string |
Ns
public string Ns { get; set; }
Namespace for the binding.
Property Value | |
---|---|
Type | Description |
string |
Role
public Kubernetes.Types.Role Role { get; set; }
The Role or ClusterRole referenced by the binding.
Property Value | |
---|---|
Type | Description |
KubernetesTypesRole |
Subjects
public RepeatedField<Kubernetes.Types.Subject> Subjects { get; }
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
Property Value | |
---|---|
Type | Description |
RepeatedFieldKubernetesTypesSubject |