Show / Hide Table of Contents

Class Permission

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

Inheritance
object
Permission
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
IList<PermissionConstraint>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
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
IList<string>

Methods

HTTP method.

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

NotHosts

Negate of hosts. Specifies exclusions.

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

NotMethods

Negate of methods. Specifies exclusions.

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

NotPaths

Negate of paths. Specifies exclusions.

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

NotPorts

Negate of ports. Specifies exclusions.

Declaration
[JsonProperty("notPorts")]
public virtual IList<string> NotPorts { get; set; }
Property Value
Type Description
IList<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
IList<string>

Ports

Port names or numbers.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX