Class protos.google.container.v1.ClusterUpdate

Represents a ClusterUpdate.

Package

@google-cloud/container

Constructors

(constructor)(properties)

constructor(properties?: google.container.v1.IClusterUpdate);

Constructs a new ClusterUpdate.

Parameter
NameDescription
properties IClusterUpdate

Properties to set

Properties

desiredAddonsConfig

public desiredAddonsConfig?: (google.container.v1.IAddonsConfig|null);

ClusterUpdate desiredAddonsConfig.

desiredAuthenticatorGroupsConfig

public desiredAuthenticatorGroupsConfig?: (google.container.v1.IAuthenticatorGroupsConfig|null);

ClusterUpdate desiredAuthenticatorGroupsConfig.

desiredBinaryAuthorization

public desiredBinaryAuthorization?: (google.container.v1.IBinaryAuthorization|null);

ClusterUpdate desiredBinaryAuthorization.

desiredClusterAutoscaling

public desiredClusterAutoscaling?: (google.container.v1.IClusterAutoscaling|null);

ClusterUpdate desiredClusterAutoscaling.

desiredDatabaseEncryption

public desiredDatabaseEncryption?: (google.container.v1.IDatabaseEncryption|null);

ClusterUpdate desiredDatabaseEncryption.

desiredDefaultSnatStatus

public desiredDefaultSnatStatus?: (google.container.v1.IDefaultSnatStatus|null);

ClusterUpdate desiredDefaultSnatStatus.

desiredImageType

public desiredImageType: string;

ClusterUpdate desiredImageType.

desiredIntraNodeVisibilityConfig

public desiredIntraNodeVisibilityConfig?: (google.container.v1.IIntraNodeVisibilityConfig|null);

ClusterUpdate desiredIntraNodeVisibilityConfig.

desiredLocations

public desiredLocations: string[];

ClusterUpdate desiredLocations.

desiredLoggingService

public desiredLoggingService: string;

ClusterUpdate desiredLoggingService.

desiredMasterAuthorizedNetworksConfig

public desiredMasterAuthorizedNetworksConfig?: (google.container.v1.IMasterAuthorizedNetworksConfig|null);

ClusterUpdate desiredMasterAuthorizedNetworksConfig.

desiredMasterVersion

public desiredMasterVersion: string;

ClusterUpdate desiredMasterVersion.

desiredMonitoringService

public desiredMonitoringService: string;

ClusterUpdate desiredMonitoringService.

desiredNodePoolAutoscaling

public desiredNodePoolAutoscaling?: (google.container.v1.INodePoolAutoscaling|null);

ClusterUpdate desiredNodePoolAutoscaling.

desiredNodePoolId

public desiredNodePoolId: string;

ClusterUpdate desiredNodePoolId.

desiredNodeVersion

public desiredNodeVersion: string;

ClusterUpdate desiredNodeVersion.

desiredPrivateClusterConfig

public desiredPrivateClusterConfig?: (google.container.v1.IPrivateClusterConfig|null);

ClusterUpdate desiredPrivateClusterConfig.

desiredReleaseChannel

public desiredReleaseChannel?: (google.container.v1.IReleaseChannel|null);

ClusterUpdate desiredReleaseChannel.

desiredResourceUsageExportConfig

public desiredResourceUsageExportConfig?: (google.container.v1.IResourceUsageExportConfig|null);

ClusterUpdate desiredResourceUsageExportConfig.

desiredShieldedNodes

public desiredShieldedNodes?: (google.container.v1.IShieldedNodes|null);

ClusterUpdate desiredShieldedNodes.

desiredVerticalPodAutoscaling

public desiredVerticalPodAutoscaling?: (google.container.v1.IVerticalPodAutoscaling|null);

ClusterUpdate desiredVerticalPodAutoscaling.

desiredWorkloadIdentityConfig

public desiredWorkloadIdentityConfig?: (google.container.v1.IWorkloadIdentityConfig|null);

ClusterUpdate desiredWorkloadIdentityConfig.

Methods

create(properties)

public static create(properties?: google.container.v1.IClusterUpdate): google.container.v1.ClusterUpdate;

Creates a new ClusterUpdate instance using the specified properties.

Parameter
NameDescription
properties IClusterUpdate

Properties to set

Returns
TypeDescription
google.container.v1.ClusterUpdate

ClusterUpdate instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.container.v1.ClusterUpdate;

Decodes a ClusterUpdate message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.container.v1.ClusterUpdate

ClusterUpdate

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.container.v1.ClusterUpdate;

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

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.container.v1.ClusterUpdate

ClusterUpdate

encode(message, writer)

public static encode(message: google.container.v1.IClusterUpdate, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ClusterUpdate message. Does not implicitly messages.

Parameters
NameDescription
message IClusterUpdate

ClusterUpdate message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.container.v1.IClusterUpdate, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ClusterUpdate message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IClusterUpdate

ClusterUpdate message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.container.v1.ClusterUpdate;

Creates a ClusterUpdate message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.container.v1.ClusterUpdate

ClusterUpdate

toJSON()

public toJSON(): { [k: string]: any };

Converts this ClusterUpdate to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.container.v1.ClusterUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a ClusterUpdate message. Also converts values to other types if specified.

Parameters
NameDescription
message google.container.v1.ClusterUpdate

ClusterUpdate

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a ClusterUpdate message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not