Google Cloud Net App V1 Client - Class CreateActiveDirectoryRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class CreateActiveDirectoryRequest.

CreateActiveDirectoryRequest for creating an active directory.

Generated from protobuf message google.cloud.netapp.v1.CreateActiveDirectoryRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Value for parent.

↳ active_directory Google\Cloud\NetApp\V1\ActiveDirectory

Required. Fields of the to be created active directory.

↳ active_directory_id string

Required. ID of the active directory to create.

getParent

Required. Value for parent.

Returns
TypeDescription
string

setParent

Required. Value for parent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getActiveDirectory

Required. Fields of the to be created active directory.

Returns
TypeDescription
Google\Cloud\NetApp\V1\ActiveDirectory|null

hasActiveDirectory

clearActiveDirectory

setActiveDirectory

Required. Fields of the to be created active directory.

Parameter
NameDescription
var Google\Cloud\NetApp\V1\ActiveDirectory
Returns
TypeDescription
$this

getActiveDirectoryId

Required. ID of the active directory to create.

Returns
TypeDescription
string

setActiveDirectoryId

Required. ID of the active directory to create.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Value for parent. Please see Google\Cloud\NetApp\V1\NetAppClient::locationName() for help formatting this field.

activeDirectory Google\Cloud\NetApp\V1\ActiveDirectory

Required. Fields of the to be created active directory.

activeDirectoryId string

Required. ID of the active directory to create.

Returns
TypeDescription
Google\Cloud\NetApp\V1\CreateActiveDirectoryRequest