Represents a SimpleExportPolicyRule.
Package
@google-cloud/netappConstructors
(constructor)(properties)
constructor(properties?: google.cloud.netapp.v1.ISimpleExportPolicyRule);
Constructs a new SimpleExportPolicyRule.
Parameter | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
properties |
ISimpleExportPolicyRule
Properties to set |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
message |
ISimpleExportPolicyRule
SimpleExportPolicyRule 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.ISimpleExportPolicyRule, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified SimpleExportPolicyRule message, length delimited. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
ISimpleExportPolicyRule
SimpleExportPolicyRule 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.SimpleExportPolicyRule;
Creates a SimpleExportPolicyRule 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 |
SimpleExportPolicyRule | SimpleExportPolicyRule |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for SimpleExportPolicyRule
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 SimpleExportPolicyRule to JSON.
Returns | |
---|---|
Type | Description |
{ [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 | |
---|---|
Name | Description |
message |
SimpleExportPolicyRule
SimpleExportPolicyRule |
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 a SimpleExportPolicyRule message.
Parameter | |
---|---|
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Returns | |
---|---|
Type | Description |
(string|null) |
|