Access Context Manager V1 Client - Class CreateServicePerimeterRequest (0.5.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
Name Description
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
Type Description
string

setParent

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

Format: accessPolicies/{policy_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getServicePerimeter

Required. The Service Perimeter to create.

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

Returns
Type Description
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
Name Description
var Google\Identity\AccessContextManager\V1\ServicePerimeter
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Identity\AccessContextManager\V1\CreateServicePerimeterRequest