Represents a Release.
Package
@google-cloud/deployConstructors
(constructor)(properties)
constructor(properties?: google.cloud.deploy.v1.IRelease);
Constructs a new Release.
Name | Description |
properties |
IRelease
Properties to set |
Properties
annotations
public annotations: { [k: string]: string };
Release annotations.
buildArtifacts
public buildArtifacts: google.cloud.deploy.v1.IBuildArtifact[];
Release buildArtifacts.
createTime
public createTime?: (google.protobuf.ITimestamp|null);
Release createTime.
deliveryPipelineSnapshot
public deliveryPipelineSnapshot?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
Release deliveryPipelineSnapshot.
description
public description: string;
Release description.
etag
public etag: string;
Release etag.
labels
public labels: { [k: string]: string };
Release labels.
name
public name: string;
Release name.
renderEndTime
public renderEndTime?: (google.protobuf.ITimestamp|null);
Release renderEndTime.
renderStartTime
public renderStartTime?: (google.protobuf.ITimestamp|null);
Release renderStartTime.
renderState
public renderState: (google.cloud.deploy.v1.Release.RenderState|keyof typeof google.cloud.deploy.v1.Release.RenderState);
Release renderState.
skaffoldConfigPath
public skaffoldConfigPath: string;
Release skaffoldConfigPath.
skaffoldConfigUri
public skaffoldConfigUri: string;
Release skaffoldConfigUri.
skaffoldVersion
public skaffoldVersion: string;
Release skaffoldVersion.
targetArtifacts
public targetArtifacts: { [k: string]: google.cloud.deploy.v1.ITargetArtifact };
Release targetArtifacts.
targetRenders
public targetRenders: { [k: string]: google.cloud.deploy.v1.Release.ITargetRender };
Release targetRenders.
targetSnapshots
public targetSnapshots: google.cloud.deploy.v1.ITarget[];
Release targetSnapshots.
uid
public uid: string;
Release uid.
Methods
create(properties)
public static create(properties?: google.cloud.deploy.v1.IRelease): google.cloud.deploy.v1.Release;
Creates a new Release instance using the specified properties.
Name | Description |
properties |
IRelease
Properties to set |
Type | Description |
google.cloud.deploy.v1.Release | Release instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.deploy.v1.Release;
Decodes a Release message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.deploy.v1.Release | Release |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.deploy.v1.Release;
Decodes a Release message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.deploy.v1.Release | Release |
encode(message, writer)
public static encode(message: google.cloud.deploy.v1.IRelease, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Release message. Does not implicitly messages.
Name | Description |
message |
IRelease
Release message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.deploy.v1.IRelease, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Release message, length delimited. Does not implicitly messages.
Name | Description |
message |
IRelease
Release message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Release;
Creates a Release message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.deploy.v1.Release | Release |
toJSON()
public toJSON(): { [k: string]: any };
Converts this Release to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.deploy.v1.Release, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a Release message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.deploy.v1.Release
Release |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a Release message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|