Skip to main content

Class: GoogleGroupSpec

identity.v1.GoogleGroupSpec

Represents a 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.

Methods

toJSON

toJSON(): Object

Converts this GoogleGroupSpec to JSON.

Returns

Object

JSON object


create

create(properties?): GoogleGroupSpec & $Properties

Creates a new GoogleGroupSpec instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

GoogleGroupSpec & $Properties

GoogleGroupSpec instance

create(properties?): GoogleGroupSpec

Parameters

NameType
properties?$Properties

Returns

GoogleGroupSpec


decode

decode(reader, length?): GoogleGroupSpec & $Properties

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 & $Properties

GoogleGroupSpec

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GoogleGroupSpec & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GoogleGroupSpec & $Properties

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
message$PropertiesGoogleGroupSpec 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
message$PropertiesGoogleGroupSpec 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


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