Class EgressFrom
Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.
Implements
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1.Data
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class EgressFrom : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Identities
A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user,
service account, Google group, or third-party identity. For third-party identity, only single identities are
supported and other identity types are not supported. The v1
identities that have the prefix user
,
group
, serviceAccount
, and principal
in https://cloud.google.com/iam/docs/principal-identifiers#v1 are
supported.
Declaration
[JsonProperty("identities")]
public virtual IList<string> Identities { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
IdentityType
Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then
members of identities
field will be allowed access.
Declaration
[JsonProperty("identityType")]
public virtual string IdentityType { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceRestriction
Whether to enforce traffic restrictions based on sources
field. If the sources
fields is non-empty, then
this field must be set to SOURCE_RESTRICTION_ENABLED
.
Declaration
[JsonProperty("sourceRestriction")]
public virtual string SourceRestriction { get; set; }
Property Value
Type | Description |
---|---|
string |
Sources
Sources that this EgressPolicy authorizes access from. If this field is not empty, then source_restriction
must be set to SOURCE_RESTRICTION_ENABLED
.
Declaration
[JsonProperty("sources")]
public virtual IList<EgressSource> Sources { get; set; }
Property Value
Type | Description |
---|---|
IList<EgressSource> |