Skip to main content

Class: GoogleGroupSpec

identity.v1.GoogleGroupSpec

Represents a GoogleGroupSpec.

Implements

Constructors

constructor

new GoogleGroupSpec(properties?): GoogleGroupSpec

Constructs a new GoogleGroupSpec.

Parameters

NameTypeDescription
properties?IGoogleGroupSpecProperties to set

Returns

GoogleGroupSpec

Properties

emailAddress

emailAddress: string

The email address of the Google group. The email address is immutable. Once set during creation, it cannot be changed.

Implementation of

IGoogleGroupSpec.emailAddress

Methods

toJSON

toJSON(): Object

Converts this GoogleGroupSpec to JSON.

Returns

Object

JSON object


create

create(properties?): GoogleGroupSpec

Creates a new GoogleGroupSpec instance using the specified properties.

Parameters

NameTypeDescription
properties?IGoogleGroupSpecProperties to set

Returns

GoogleGroupSpec

GoogleGroupSpec instance


decode

decode(reader, length?): GoogleGroupSpec

Decodes a GoogleGroupSpec message from the specified reader or buffer.

Parameters

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

Returns

GoogleGroupSpec

GoogleGroupSpec

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GoogleGroupSpec

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GoogleGroupSpec

GoogleGroupSpec

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 GoogleGroupSpec message. Does not implicitly temporal.api.cloud.identity.v1.GoogleGroupSpec.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): GoogleGroupSpec

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GoogleGroupSpec

GoogleGroupSpec


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for GoogleGroupSpec

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 a GoogleGroupSpec message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageGoogleGroupSpecGoogleGroupSpec
options?IConversionOptionsConversion options

Returns

Object

Plain object