Skip to main content

Class: Access

identity.v1.Access

Represents an Access.

Implements

Constructors

constructor

new Access(properties?): Access

Constructs a new Access.

Parameters

NameTypeDescription
properties?IAccessProperties to set

Returns

Access

Properties

accountAccess

Optional accountAccess: null | IAccountAccess

The account access

Implementation of

IAccess.accountAccess


namespaceAccesses

namespaceAccesses: Object

The map of namespace accesses The key is the namespace name and the value is the access to the namespace

Index signature

▪ [k: string]: INamespaceAccess

Implementation of

IAccess.namespaceAccesses

Methods

toJSON

toJSON(): Object

Converts this Access to JSON.

Returns

Object

JSON object


create

create(properties?): Access

Creates a new Access instance using the specified properties.

Parameters

NameTypeDescription
properties?IAccessProperties to set

Returns

Access

Access instance


decode

decode(reader, length?): Access

Decodes an Access message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

Access

Access

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): Access

Decodes an Access message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

Access

Access

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified Access message. Does not implicitly temporal.api.cloud.identity.v1.Access.verify|verify messages.

Parameters

NameTypeDescription
messageIAccessAccess message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified Access message, length delimited. Does not implicitly temporal.api.cloud.identity.v1.Access.verify|verify messages.

Parameters

NameTypeDescription
messageIAccessAccess message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): Access

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

Access

Access


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for Access

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageAccessAccess
options?IConversionOptionsConversion options

Returns

Object

Plain object