Represents an ActiveDirectory.
Package
@google-cloud/netappConstructors
(constructor)(properties)
constructor(properties?: google.cloud.netapp.v1.IActiveDirectory);Constructs a new ActiveDirectory.
| Parameter | |
|---|---|
| Name | Description |
properties |
IActiveDirectory
Properties to set |
Properties
administrators
public administrators: string[];ActiveDirectory administrators.
aesEncryption
public aesEncryption: boolean;ActiveDirectory aesEncryption.
backupOperators
public backupOperators: string[];ActiveDirectory backupOperators.
createTime
public createTime?: (google.protobuf.ITimestamp|null);ActiveDirectory createTime.
description
public description: string;ActiveDirectory description.
dns
public dns: string;ActiveDirectory dns.
domain
public domain: string;ActiveDirectory domain.
encryptDcConnections
public encryptDcConnections: boolean;ActiveDirectory encryptDcConnections.
kdcHostname
public kdcHostname: string;ActiveDirectory kdcHostname.
kdcIp
public kdcIp: string;ActiveDirectory kdcIp.
labels
public labels: { [k: string]: string };ActiveDirectory labels.
ldapSigning
public ldapSigning: boolean;ActiveDirectory ldapSigning.
name
public name: string;ActiveDirectory name.
netBiosPrefix
public netBiosPrefix: string;ActiveDirectory netBiosPrefix.
nfsUsersWithLdap
public nfsUsersWithLdap: boolean;ActiveDirectory nfsUsersWithLdap.
organizationalUnit
public organizationalUnit: string;ActiveDirectory organizationalUnit.
password
public password: string;ActiveDirectory password.
securityOperators
public securityOperators: string[];ActiveDirectory securityOperators.
site
public site: string;ActiveDirectory site.
state
public state: (google.cloud.netapp.v1.ActiveDirectory.State|keyof typeof google.cloud.netapp.v1.ActiveDirectory.State);ActiveDirectory state.
stateDetails
public stateDetails: string;ActiveDirectory stateDetails.
username
public username: string;ActiveDirectory username.
Methods
create(properties)
public static create(properties?: google.cloud.netapp.v1.IActiveDirectory): google.cloud.netapp.v1.ActiveDirectory;Creates a new ActiveDirectory instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IActiveDirectory
Properties to set |
| Returns | |
|---|---|
| Type | Description |
ActiveDirectory |
ActiveDirectory instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.netapp.v1.ActiveDirectory;Decodes an ActiveDirectory message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
ActiveDirectory |
ActiveDirectory |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.netapp.v1.ActiveDirectory;Decodes an ActiveDirectory message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
ActiveDirectory |
ActiveDirectory |
encode(message, writer)
public static encode(message: google.cloud.netapp.v1.IActiveDirectory, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ActiveDirectory message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IActiveDirectory
ActiveDirectory message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.netapp.v1.IActiveDirectory, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ActiveDirectory message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IActiveDirectory
ActiveDirectory message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.netapp.v1.ActiveDirectory;Creates an ActiveDirectory message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
ActiveDirectory |
ActiveDirectory |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for ActiveDirectory
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this ActiveDirectory to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.netapp.v1.ActiveDirectory, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from an ActiveDirectory message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
ActiveDirectory
ActiveDirectory |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies an ActiveDirectory message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|