Show / Hide Table of Contents

Class Permission

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

Inheritance
System.Object
Permission
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 Permission : IDirectResponseSchema

Properties

Constraints

Extra custom constraints. The constraints are ANDed together.

Declaration
[JsonProperty("constraints")]
public virtual IList<PermissionConstraint> Constraints { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PermissionConstraint>

ETag

The ETag of the item.

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

Hosts

Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.

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

Methods

HTTP method.

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

NotHosts

Negate of hosts. Specifies exclusions.

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

NotMethods

Negate of methods. Specifies exclusions.

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

NotPaths

Negate of paths. Specifies exclusions.

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

NotPorts

Negate of ports. Specifies exclusions.

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

Paths

HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.

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

Ports

Port names or numbers.

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

Implements

IDirectResponseSchema
In This Article
Back to top