Class protos.google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse (8.0.0)

Represents a ListEffectiveSecurityHealthAnalyticsCustomModulesResponse.

Package

@google-cloud/security-center

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesResponse);

Constructs a new ListEffectiveSecurityHealthAnalyticsCustomModulesResponse.

Parameter
NameDescription
properties IListEffectiveSecurityHealthAnalyticsCustomModulesResponse

Properties to set

Properties

effectiveSecurityHealthAnalyticsCustomModules

public effectiveSecurityHealthAnalyticsCustomModules: google.cloud.securitycenter.v1.IEffectiveSecurityHealthAnalyticsCustomModule[];

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse effectiveSecurityHealthAnalyticsCustomModules.

nextPageToken

public nextPageToken: string;

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse nextPageToken.

Methods

create(properties)

public static create(properties?: google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesResponse): google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse;

Creates a new ListEffectiveSecurityHealthAnalyticsCustomModulesResponse instance using the specified properties.

Parameter
NameDescription
properties IListEffectiveSecurityHealthAnalyticsCustomModulesResponse

Properties to set

Returns
TypeDescription
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse instance

decode(reader, length)

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

Decodes a ListEffectiveSecurityHealthAnalyticsCustomModulesResponse 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
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse;

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

encode(message, writer)

public static encode(message: google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ListEffectiveSecurityHealthAnalyticsCustomModulesResponse message. Does not implicitly messages.

Parameters
NameDescription
message IListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse 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.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse 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.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse;

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

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

Plain object

Returns
TypeDescription
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

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 ListEffectiveSecurityHealthAnalyticsCustomModulesResponse to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

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