Show / Hide Table of Contents

Class Principal

[Deprecated] All fields defined in a principal are ANDed.

Inheritance
System.Object
Principal
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class Principal : IDirectResponseSchema

Properties

Condition

An expression to specify custom condition.

Declaration
[JsonProperty("condition")]
public virtual string Condition { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Groups

The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.

Declaration
[JsonProperty("groups")]
public virtual IList<string> Groups { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Ips

IPv4 or IPv6 address or range (In CIDR format)

Declaration
[JsonProperty("ips")]
public virtual IList<string> Ips { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Namespaces

The namespaces. Exact match, prefix match, and suffix match are supported.

Declaration
[JsonProperty("namespaces")]
public virtual IList<string> Namespaces { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

NotGroups

Negate of groups. Specifies exclusions.

Declaration
[JsonProperty("notGroups")]
public virtual IList<string> NotGroups { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

NotIps

Negate of IPs. Specifies exclusions.

Declaration
[JsonProperty("notIps")]
public virtual IList<string> NotIps { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

NotNamespaces

Negate of namespaces. Specifies exclusions.

Declaration
[JsonProperty("notNamespaces")]
public virtual IList<string> NotNamespaces { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

NotUsers

Negate of users. Specifies exclusions.

Declaration
[JsonProperty("notUsers")]
public virtual IList<string> NotUsers { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Properties

A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, request.headers[version]: &quot;v1&quot;. The properties are ANDed together.

Declaration
[JsonProperty("properties")]
public virtual IDictionary<string, string> Properties { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

Users

The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.

Declaration
[JsonProperty("users")]
public virtual IList<string> Users { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Implements

IDirectResponseSchema
In This Article
Back to top