Represents a RolloutKind.
Implements
Package
@google-cloud/saasservicemgmtConstructors
(constructor)(properties)
constructor(properties?: google.cloud.saasplatform.saasservicemgmt.v1beta1.IRolloutKind);Constructs a new RolloutKind.
| Parameter | |
|---|---|
| Name | Description |
properties |
IRolloutKind
Properties to set |
Properties
annotations
public annotations: { [k: string]: string };RolloutKind annotations.
createTime
public createTime?: (google.protobuf.ITimestamp|null);RolloutKind createTime.
errorBudget
public errorBudget?: (google.cloud.saasplatform.saasservicemgmt.v1beta1.IErrorBudget|null);RolloutKind errorBudget.
etag
public etag: string;RolloutKind etag.
labels
public labels: { [k: string]: string };RolloutKind labels.
name
public name: string;RolloutKind name.
rolloutOrchestrationStrategy
public rolloutOrchestrationStrategy: string;RolloutKind rolloutOrchestrationStrategy.
uid
public uid: string;RolloutKind uid.
unitFilter
public unitFilter: string;RolloutKind unitFilter.
unitKind
public unitKind: string;RolloutKind unitKind.
updateTime
public updateTime?: (google.protobuf.ITimestamp|null);RolloutKind updateTime.
updateUnitKindStrategy
public updateUnitKindStrategy: (google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy|keyof typeof google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy);RolloutKind updateUnitKindStrategy.
Methods
create(properties)
public static create(properties?: google.cloud.saasplatform.saasservicemgmt.v1beta1.IRolloutKind): google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind;Creates a new RolloutKind instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IRolloutKind
Properties to set |
| Returns | |
|---|---|
| Type | Description |
RolloutKind |
RolloutKind instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind;Decodes a RolloutKind message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
RolloutKind |
RolloutKind |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind;Decodes a RolloutKind message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
RolloutKind |
RolloutKind |
encode(message, writer)
public static encode(message: google.cloud.saasplatform.saasservicemgmt.v1beta1.IRolloutKind, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified RolloutKind message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IRolloutKind
RolloutKind message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.saasplatform.saasservicemgmt.v1beta1.IRolloutKind, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified RolloutKind message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IRolloutKind
RolloutKind message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind;Creates a RolloutKind message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
RolloutKind |
RolloutKind |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for RolloutKind
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this RolloutKind to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a RolloutKind message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
RolloutKind
RolloutKind |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a RolloutKind message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|