Represents a PacketMirroring.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.IPacketMirroring);
Constructs a new PacketMirroring.
Name | Description |
properties |
IPacketMirroring
Properties to set |
Properties
_collectorIlb
public _collectorIlb?: "collectorIlb";
PacketMirroring _collectorIlb.
_creationTimestamp
public _creationTimestamp?: "creationTimestamp";
PacketMirroring _creationTimestamp.
_description
public _description?: "description";
PacketMirroring _description.
_enable
public _enable?: "enable";
PacketMirroring _enable.
_filter
public _filter?: "filter";
PacketMirroring _filter.
_id
public _id?: "id";
PacketMirroring _id.
_kind
public _kind?: "kind";
PacketMirroring _kind.
_mirroredResources
public _mirroredResources?: "mirroredResources";
PacketMirroring _mirroredResources.
_name
public _name?: "name";
PacketMirroring _name.
_network
public _network?: "network";
PacketMirroring _network.
_priority
public _priority?: "priority";
PacketMirroring _priority.
_region
public _region?: "region";
PacketMirroring _region.
_selfLink
public _selfLink?: "selfLink";
PacketMirroring _selfLink.
collectorIlb
public collectorIlb?: (google.cloud.compute.v1.IPacketMirroringForwardingRuleInfo|null);
PacketMirroring collectorIlb.
creationTimestamp
public creationTimestamp?: (string|null);
PacketMirroring creationTimestamp.
description
public description?: (string|null);
PacketMirroring description.
enable
public enable?: (string|null);
PacketMirroring enable.
filter
public filter?: (google.cloud.compute.v1.IPacketMirroringFilter|null);
PacketMirroring filter.
id
public id?: (number|Long|string|null);
PacketMirroring id.
kind
public kind?: (string|null);
PacketMirroring kind.
mirroredResources
public mirroredResources?: (google.cloud.compute.v1.IPacketMirroringMirroredResourceInfo|null);
PacketMirroring mirroredResources.
name
public name?: (string|null);
PacketMirroring name.
network
public network?: (google.cloud.compute.v1.IPacketMirroringNetworkInfo|null);
PacketMirroring network.
priority
public priority?: (number|null);
PacketMirroring priority.
region
public region?: (string|null);
PacketMirroring region.
selfLink
public selfLink?: (string|null);
PacketMirroring selfLink.
Methods
create(properties)
public static create(properties?: google.cloud.compute.v1.IPacketMirroring): google.cloud.compute.v1.PacketMirroring;
Creates a new PacketMirroring instance using the specified properties.
Name | Description |
properties |
IPacketMirroring
Properties to set |
Type | Description |
google.cloud.compute.v1.PacketMirroring | PacketMirroring instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.PacketMirroring;
Decodes a PacketMirroring 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.cloud.compute.v1.PacketMirroring | PacketMirroring |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.PacketMirroring;
Decodes a PacketMirroring message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.compute.v1.PacketMirroring | PacketMirroring |
encode(message, writer)
public static encode(message: google.cloud.compute.v1.IPacketMirroring, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified PacketMirroring message. Does not implicitly messages.
Name | Description |
message |
IPacketMirroring
PacketMirroring 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.cloud.compute.v1.IPacketMirroring, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified PacketMirroring message, length delimited. Does not implicitly messages.
Name | Description |
message |
IPacketMirroring
PacketMirroring 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.cloud.compute.v1.PacketMirroring;
Creates a PacketMirroring message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.compute.v1.PacketMirroring | PacketMirroring |
toJSON()
public toJSON(): { [k: string]: any };
Converts this PacketMirroring to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.compute.v1.PacketMirroring, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a PacketMirroring message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.compute.v1.PacketMirroring
PacketMirroring |
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 PacketMirroring message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|