Class protos.google.cloud.networksecurity.v1.MirroringDeploymentGroup (3.6.0)

Represents a MirroringDeploymentGroup.

Implements

Package

@google-cloud/network-security

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.networksecurity.v1.IMirroringDeploymentGroup);

Constructs a new MirroringDeploymentGroup.

Parameter
Name Description
properties IMirroringDeploymentGroup

Properties to set

Properties

connectedEndpointGroups

public connectedEndpointGroups: google.cloud.networksecurity.v1.MirroringDeploymentGroup.IConnectedEndpointGroup[];

MirroringDeploymentGroup connectedEndpointGroups.

createTime

public createTime?: (google.protobuf.ITimestamp|null);

MirroringDeploymentGroup createTime.

description

public description: string;

MirroringDeploymentGroup description.

labels

public labels: { [k: string]: string };

MirroringDeploymentGroup labels.

locations

public locations: google.cloud.networksecurity.v1.IMirroringLocation[];

MirroringDeploymentGroup locations.

name

public name: string;

MirroringDeploymentGroup name.

nestedDeployments

public nestedDeployments: google.cloud.networksecurity.v1.MirroringDeploymentGroup.IDeployment[];

MirroringDeploymentGroup nestedDeployments.

network

public network: string;

MirroringDeploymentGroup network.

reconciling

public reconciling: boolean;

MirroringDeploymentGroup reconciling.

state

public state: (google.cloud.networksecurity.v1.MirroringDeploymentGroup.State|keyof typeof google.cloud.networksecurity.v1.MirroringDeploymentGroup.State);

MirroringDeploymentGroup state.

updateTime

public updateTime?: (google.protobuf.ITimestamp|null);

MirroringDeploymentGroup updateTime.

Methods

create(properties)

public static create(properties?: google.cloud.networksecurity.v1.IMirroringDeploymentGroup): google.cloud.networksecurity.v1.MirroringDeploymentGroup;

Creates a new MirroringDeploymentGroup instance using the specified properties.

Parameter
Name Description
properties IMirroringDeploymentGroup

Properties to set

Returns
Type Description
MirroringDeploymentGroup

MirroringDeploymentGroup instance

decode(reader, length)

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

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

MirroringDeploymentGroup

decodeDelimited(reader)

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

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
MirroringDeploymentGroup

MirroringDeploymentGroup

encode(message, writer)

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

Encodes the specified MirroringDeploymentGroup message. Does not implicitly messages.

Parameters
Name Description
message IMirroringDeploymentGroup

MirroringDeploymentGroup 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.networksecurity.v1.IMirroringDeploymentGroup, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IMirroringDeploymentGroup

MirroringDeploymentGroup 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.networksecurity.v1.MirroringDeploymentGroup;

Creates a MirroringDeploymentGroup 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
MirroringDeploymentGroup

MirroringDeploymentGroup

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for MirroringDeploymentGroup

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

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message MirroringDeploymentGroup

MirroringDeploymentGroup

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 MirroringDeploymentGroup message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not