Google Cloud Chronicle V1 Client - Class CreateDataAccessScopeRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class CreateDataAccessScopeRequest.

Request message for CreateDataAccessScope.

Generated from protobuf message google.cloud.chronicle.v1.CreateDataAccessScopeRequest

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this Data Access Scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

↳ data_access_scope DataAccessScope

Required. Data access scope to create.

↳ data_access_scope_id string

Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122

getParent

Required. The parent resource where this Data Access Scope will be created.

Format: projects/{project}/locations/{location}/instances/{instance}

Returns
Type Description
string

setParent

Required. The parent resource where this Data Access Scope will be created.

Format: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getDataAccessScope

Required. Data access scope to create.

Returns
Type Description
DataAccessScope|null

hasDataAccessScope

clearDataAccessScope

setDataAccessScope

Required. Data access scope to create.

Parameter
Name Description
var DataAccessScope
Returns
Type Description
$this

getDataAccessScopeId

Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122

Returns
Type Description
string

setDataAccessScopeId

Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this Data Access Scope will be created. Format: projects/{project}/locations/{location}/instances/{instance} Please see DataAccessControlServiceClient::instanceName() for help formatting this field.

dataAccessScope DataAccessScope

Required. Data access scope to create.

dataAccessScopeId string

Required. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122

Returns
Type Description
CreateDataAccessScopeRequest