Required. Fields of the to be created active directory.
↳ active_directory_id
string
Required. ID of the active directory to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter , the last a letter or a number, and a 63 character maximum.
getParent
Required. Value for parent.
Returns
Type
Description
string
setParent
Required. Value for parent.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getActiveDirectory
Required. Fields of the to be created active directory.
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
Returns
Type
Description
string
setActiveDirectoryId
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. Value for parent. Please seeNetAppClient::locationName()for help formatting this field.
Required. Fields of the to be created active directory.
activeDirectoryId
string
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Net App V1 Client - Class CreateActiveDirectoryRequest (1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/php/docs/reference/cloud-netapp/latest/V1.CreateActiveDirectoryRequest)\n- [1.6.0](/php/docs/reference/cloud-netapp/1.6.0/V1.CreateActiveDirectoryRequest)\n- [1.4.0](/php/docs/reference/cloud-netapp/1.4.0/V1.CreateActiveDirectoryRequest)\n- [1.3.1](/php/docs/reference/cloud-netapp/1.3.1/V1.CreateActiveDirectoryRequest)\n- [1.2.1](/php/docs/reference/cloud-netapp/1.2.1/V1.CreateActiveDirectoryRequest)\n- [1.1.1](/php/docs/reference/cloud-netapp/1.1.1/V1.CreateActiveDirectoryRequest)\n- [1.0.1](/php/docs/reference/cloud-netapp/1.0.1/V1.CreateActiveDirectoryRequest)\n- [0.3.1](/php/docs/reference/cloud-netapp/0.3.1/V1.CreateActiveDirectoryRequest)\n- [0.2.6](/php/docs/reference/cloud-netapp/0.2.6/V1.CreateActiveDirectoryRequest)\n- [0.1.1](/php/docs/reference/cloud-netapp/0.1.1/V1.CreateActiveDirectoryRequest) \nReference documentation and code samples for the Google Cloud Net App V1 Client class CreateActiveDirectoryRequest.\n\nCreateActiveDirectoryRequest for creating an active directory.\n\nGenerated from protobuf message `google.cloud.netapp.v1.CreateActiveDirectoryRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetApp \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Value for parent.\n\n### setParent\n\nRequired. Value for parent.\n\n### getActiveDirectory\n\nRequired. Fields of the to be created active directory.\n\n### hasActiveDirectory\n\n### clearActiveDirectory\n\n### setActiveDirectory\n\nRequired. Fields of the to be created active directory.\n\n### getActiveDirectoryId\n\nRequired. ID of the active directory to create. Must be unique within the\nparent resource. Must contain only letters, numbers and hyphen, with the\nfirst character a letter , the last a letter or a number, and a 63\ncharacter maximum.\n\n### setActiveDirectoryId\n\nRequired. ID of the active directory to create. Must be unique within the\nparent resource. Must contain only letters, numbers and hyphen, with the\nfirst character a letter , the last a letter or a number, and a 63\ncharacter maximum.\n\n### static::build"]]