Access Context Manager V1 Client - Class EgressFrom (0.3.5)

Reference documentation and code samples for the Access Context Manager V1 Client class EgressFrom.

Defines the conditions under which an [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.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] [google.identity.accesscontextmanager.v1.ServicePerimeter], then that [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] must have an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] which allows access in order for this request to succeed.

Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ identities array

A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.

↳ identity_type int

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.

getIdentities

A list of identities that are allowed access through this [EgressPolicy].

Should be in the format of email address. The email address should represent individual user or service account only.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIdentities

A list of identities that are allowed access through this [EgressPolicy].

Should be in the format of email address. The email address should represent individual user or service account only.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getIdentityType

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.

Returns
TypeDescription
int

setIdentityType

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this