Class: ProjectSpec
Represents a ProjectSpec.
Properties
description
description:
string
A description of the project.
displayName
displayName:
string
The display name of the project.
lifecycle?
optionallifecycle?:$Properties|null
The lifecycle configuration for the project.
Methods
toJSON()
toJSON():
object
Converts this ProjectSpec to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ProjectSpec&$Properties
Creates a new ProjectSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ProjectSpec & $Properties
ProjectSpec instance
Call Signature
staticcreate(properties?):ProjectSpec
Creates a new ProjectSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ProjectSpec
ProjectSpec instance
decode()
staticdecode(reader,length?):ProjectSpec&$Properties
Decodes a ProjectSpec 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
ProjectSpec & $Properties
ProjectSpec
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ProjectSpec&$Properties
Decodes a ProjectSpec message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
ProjectSpec & $Properties
ProjectSpec
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 ProjectSpec message. Does not implicitly temporal.api.cloud.project.v1.ProjectSpec.verify|verify messages.
Parameters
message
ProjectSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ProjectSpec message, length delimited. Does not implicitly temporal.api.cloud.project.v1.ProjectSpec.verify|verify messages.
Parameters
message
ProjectSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ProjectSpec
Creates a ProjectSpec message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
ProjectSpec
ProjectSpec
toObject()
statictoObject(message,options?):object
Creates a plain object from a ProjectSpec message. Also converts values to other types if specified.
Parameters
message
ProjectSpec
ProjectSpec
options?
IConversionOptions
Conversion options
Returns
object
Plain object