Represents a SecurityBulletinEvent.
Package
@google-cloud/containerConstructors
(constructor)(properties)
constructor(properties?: google.container.v1.ISecurityBulletinEvent);
Constructs a new SecurityBulletinEvent.
Name | Description |
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.
Name | Description |
properties |
ISecurityBulletinEvent
Properties to set |
Type | Description |
google.container.v1.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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.container.v1.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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.container.v1.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.
Name | Description |
message |
ISecurityBulletinEvent
SecurityBulletinEvent 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.container.v1.ISecurityBulletinEvent, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified SecurityBulletinEvent message, length delimited. Does not implicitly messages.
Name | Description |
message |
ISecurityBulletinEvent
SecurityBulletinEvent 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.container.v1.SecurityBulletinEvent;
Creates a SecurityBulletinEvent message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.container.v1.SecurityBulletinEvent | SecurityBulletinEvent |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for SecurityBulletinEvent
Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
Type | Description |
string | The default type url |
toJSON()
public toJSON(): { [k: string]: any };
Converts this SecurityBulletinEvent to JSON.
Type | Description |
{ [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.
Name | Description |
message |
google.container.v1.SecurityBulletinEvent
SecurityBulletinEvent |
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 SecurityBulletinEvent message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|