Access Context Manager V1 Client - Class CreateServicePerimeterRequest (1.1.1)

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 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
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 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 AccessContextManagerClient::accessPolicyName() for help formatting this field.

servicePerimeter ServicePerimeter

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

Returns
Type Description
CreateServicePerimeterRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.