Class: UserGroupSpec
Represents a UserGroupSpec.
Properties
access?
optionalaccess?:$Properties|null
The access assigned to the group.
cloudGroup?
optionalcloudGroup?:$Properties|null
The specification for a Cloud group. Cloud groups can manage members using the add and remove member APIs.
displayName
displayName:
string
The display name of the group.
googleGroup?
optionalgoogleGroup?:$Properties|null
The specification of the google group that this group is associated with.
groupType?
optionalgroupType?:"googleGroup"|"scimGroup"|"cloudGroup"
UserGroupSpec groupType.
scimGroup?
optionalscimGroup?:$Properties|null
The specification of the SCIM group that this group is associated with. SCIM groups cannot be created or deleted directly, but their access can be managed.
Methods
toJSON()
toJSON():
object
Converts this UserGroupSpec to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):UserGroupSpec&$Shape
Creates a new UserGroupSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UserGroupSpec & $Shape
UserGroupSpec instance
Call Signature
staticcreate(properties?):UserGroupSpec
Creates a new UserGroupSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UserGroupSpec
UserGroupSpec instance
decode()
staticdecode(reader,length?):UserGroupSpec&$Shape
Decodes a UserGroupSpec message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
UserGroupSpec & $Shape
UserGroupSpec
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):UserGroupSpec&$Shape
Decodes a UserGroupSpec message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
UserGroupSpec & $Shape
UserGroupSpec
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified UserGroupSpec message. Does not implicitly temporal.api.cloud.identity.v1.UserGroupSpec.verify|verify messages.
Parameters
message
UserGroupSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified UserGroupSpec message, length delimited. Does not implicitly temporal.api.cloud.identity.v1.UserGroupSpec.verify|verify messages.
Parameters
message
UserGroupSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):UserGroupSpec
Creates a UserGroupSpec message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
UserGroupSpec
UserGroupSpec
toObject()
statictoObject(message,options?):object
Creates a plain object from a UserGroupSpec message. Also converts values to other types if specified.
Parameters
message
UserGroupSpec
UserGroupSpec
options?
IConversionOptions
Conversion options
Returns
object
Plain object