Class protos.google.container.v1.SecurityBulletinEvent (5.8.0)

Represents a SecurityBulletinEvent.

Package

@google-cloud/container

Constructors

(constructor)(properties)

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

Constructs a new SecurityBulletinEvent.

Parameter
NameDescription
properties ISecurityBulletinEvent

Properties to set

Properties

affectedSupportedMinors

public affectedSupportedMinors: string[];

SecurityBulletinEvent affectedSupportedMinors.

briefDescription

public briefDescription: string;

SecurityBulletinEvent briefDescription.

bulletinId

public bulletinId: string;

SecurityBulletinEvent bulletinId.

bulletinUri

public bulletinUri: string;

SecurityBulletinEvent bulletinUri.

cveIds

public cveIds: string[];

SecurityBulletinEvent cveIds.

manualStepsRequired

public manualStepsRequired: boolean;

SecurityBulletinEvent manualStepsRequired.

patchedVersions

public patchedVersions: string[];

SecurityBulletinEvent patchedVersions.

resourceTypeAffected

public resourceTypeAffected: string;

SecurityBulletinEvent resourceTypeAffected.

severity

public severity: string;

SecurityBulletinEvent severity.

suggestedUpgradeTarget

public suggestedUpgradeTarget: string;

SecurityBulletinEvent suggestedUpgradeTarget.

Methods

create(properties)

public static create(properties?: google.container.v1.ISecurityBulletinEvent): google.container.v1.SecurityBulletinEvent;

Creates a new SecurityBulletinEvent instance using the specified properties.

Parameter
NameDescription
properties ISecurityBulletinEvent

Properties to set

Returns
TypeDescription
SecurityBulletinEvent

SecurityBulletinEvent instance

decode(reader, length)

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

Decodes a SecurityBulletinEvent message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
SecurityBulletinEvent

SecurityBulletinEvent

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
SecurityBulletinEvent

SecurityBulletinEvent

encode(message, writer)

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

Encodes the specified SecurityBulletinEvent message. Does not implicitly messages.

Parameters
NameDescription
message ISecurityBulletinEvent

SecurityBulletinEvent 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.ISecurityBulletinEvent, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message ISecurityBulletinEvent

SecurityBulletinEvent 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.SecurityBulletinEvent;

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

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

Plain object

Returns
TypeDescription
SecurityBulletinEvent

SecurityBulletinEvent

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for SecurityBulletinEvent

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

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

Converts this SecurityBulletinEvent to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message SecurityBulletinEvent

SecurityBulletinEvent

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 SecurityBulletinEvent 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