Class protos.google.cloud.netapp.v1.SimpleExportPolicyRule (0.2.0)

Represents a SimpleExportPolicyRule.

Package

@google-cloud/netapp

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.netapp.v1.ISimpleExportPolicyRule);

Constructs a new SimpleExportPolicyRule.

Parameter
NameDescription
properties ISimpleExportPolicyRule

Properties to set

Properties

_accessType

public _accessType?: "accessType";

SimpleExportPolicyRule _accessType.

_allowedClients

public _allowedClients?: "allowedClients";

SimpleExportPolicyRule _allowedClients.

_hasRootAccess

public _hasRootAccess?: "hasRootAccess";

SimpleExportPolicyRule _hasRootAccess.

_kerberos_5iReadOnly

public _kerberos_5iReadOnly?: "kerberos_5iReadOnly";

SimpleExportPolicyRule _kerberos_5iReadOnly.

_kerberos_5iReadWrite

public _kerberos_5iReadWrite?: "kerberos_5iReadWrite";

SimpleExportPolicyRule _kerberos_5iReadWrite.

_kerberos_5pReadOnly

public _kerberos_5pReadOnly?: "kerberos_5pReadOnly";

SimpleExportPolicyRule _kerberos_5pReadOnly.

_kerberos_5pReadWrite

public _kerberos_5pReadWrite?: "kerberos_5pReadWrite";

SimpleExportPolicyRule _kerberos_5pReadWrite.

_kerberos_5ReadOnly

public _kerberos_5ReadOnly?: "kerberos_5ReadOnly";

SimpleExportPolicyRule _kerberos_5ReadOnly.

_kerberos_5ReadWrite

public _kerberos_5ReadWrite?: "kerberos_5ReadWrite";

SimpleExportPolicyRule _kerberos_5ReadWrite.

_nfsv3

public _nfsv3?: "nfsv3";

SimpleExportPolicyRule _nfsv3.

_nfsv4

public _nfsv4?: "nfsv4";

SimpleExportPolicyRule _nfsv4.

accessType

public accessType?: (google.cloud.netapp.v1.AccessType|keyof typeof google.cloud.netapp.v1.AccessType|null);

SimpleExportPolicyRule accessType.

allowedClients

public allowedClients?: (string|null);

SimpleExportPolicyRule allowedClients.

hasRootAccess

public hasRootAccess?: (string|null);

SimpleExportPolicyRule hasRootAccess.

kerberos_5iReadOnly

public kerberos_5iReadOnly?: (boolean|null);

SimpleExportPolicyRule kerberos_5iReadOnly.

kerberos_5iReadWrite

public kerberos_5iReadWrite?: (boolean|null);

SimpleExportPolicyRule kerberos_5iReadWrite.

kerberos_5pReadOnly

public kerberos_5pReadOnly?: (boolean|null);

SimpleExportPolicyRule kerberos_5pReadOnly.

kerberos_5pReadWrite

public kerberos_5pReadWrite?: (boolean|null);

SimpleExportPolicyRule kerberos_5pReadWrite.

kerberos_5ReadOnly

public kerberos_5ReadOnly?: (boolean|null);

SimpleExportPolicyRule kerberos_5ReadOnly.

kerberos_5ReadWrite

public kerberos_5ReadWrite?: (boolean|null);

SimpleExportPolicyRule kerberos_5ReadWrite.

nfsv3

public nfsv3?: (boolean|null);

SimpleExportPolicyRule nfsv3.

nfsv4

public nfsv4?: (boolean|null);

SimpleExportPolicyRule nfsv4.

Methods

create(properties)

public static create(properties?: google.cloud.netapp.v1.ISimpleExportPolicyRule): google.cloud.netapp.v1.SimpleExportPolicyRule;

Creates a new SimpleExportPolicyRule instance using the specified properties.

Parameter
NameDescription
properties ISimpleExportPolicyRule

Properties to set

Returns
TypeDescription
SimpleExportPolicyRule

SimpleExportPolicyRule instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.netapp.v1.SimpleExportPolicyRule;

Decodes a SimpleExportPolicyRule message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
SimpleExportPolicyRule

SimpleExportPolicyRule

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.netapp.v1.SimpleExportPolicyRule;

Decodes a SimpleExportPolicyRule message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
SimpleExportPolicyRule

SimpleExportPolicyRule

encode(message, writer)

public static encode(message: google.cloud.netapp.v1.ISimpleExportPolicyRule, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified SimpleExportPolicyRule message. Does not implicitly messages.

Parameters
NameDescription
message ISimpleExportPolicyRule

SimpleExportPolicyRule message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.netapp.v1.ISimpleExportPolicyRule, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified SimpleExportPolicyRule message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message ISimpleExportPolicyRule

SimpleExportPolicyRule message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.netapp.v1.SimpleExportPolicyRule;

Creates a SimpleExportPolicyRule message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
SimpleExportPolicyRule

SimpleExportPolicyRule

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for SimpleExportPolicyRule

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this SimpleExportPolicyRule to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.netapp.v1.SimpleExportPolicyRule, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a SimpleExportPolicyRule message. Also converts values to other types if specified.

Parameters
NameDescription
message SimpleExportPolicyRule

SimpleExportPolicyRule

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a SimpleExportPolicyRule message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not