Access Context Manager V1 Client - Class CreateServicePerimeterRequest (0.4.5)

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

A request to create a ServicePerimeter.

Generated from protobuf message google.identity.accesscontextmanager.v1.CreateServicePerimeterRequest

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name for the access policy which owns this Service Perimeter. Format: accessPolicies/{policy_id}

↳ service_perimeter Google\Identity\AccessContextManager\V1\ServicePerimeter

Required. The [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] to create. Syntactic correctness of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] is a precondition for creation.

getParent

Required. Resource name for the access policy which owns this Service Perimeter.

Format: accessPolicies/{policy_id}

Returns
TypeDescription
string

setParent

Required. Resource name for the access policy which owns this Service Perimeter.

Format: accessPolicies/{policy_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServicePerimeter

Required. The Service Perimeter to create.

Syntactic correctness of the Service Perimeter is a precondition for creation.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\ServicePerimeter|null

hasServicePerimeter

clearServicePerimeter

setServicePerimeter

Required. The Service Perimeter to create.

Syntactic correctness of the Service Perimeter is a precondition for creation.

Parameter
NameDescription
var Google\Identity\AccessContextManager\V1\ServicePerimeter
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Resource name for the access policy which owns this Service Perimeter.

Format: accessPolicies/{policy_id} Please see Google\Identity\AccessContextManager\V1\AccessContextManagerClient::accessPolicyName() for help formatting this field.

servicePerimeter Google\Identity\AccessContextManager\V1\ServicePerimeter

Required. The Service Perimeter to create. Syntactic correctness of the Service Perimeter is a precondition for creation.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\CreateServicePerimeterRequest