Constructor
new PacketMirroring(propertiesopt)
Constructs a new PacketMirroring.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IPacketMirroring |
<optional> |
Properties to set |
- Implements:
-
- IPacketMirroring
Members
_collectorIlb
PacketMirroring _collectorIlb.
_creationTimestamp
PacketMirroring _creationTimestamp.
_description
PacketMirroring _description.
_enable
PacketMirroring _enable.
_filter
PacketMirroring _filter.
_id
PacketMirroring _id.
_kind
PacketMirroring _kind.
_mirroredResources
PacketMirroring _mirroredResources.
_name
PacketMirroring _name.
_network
PacketMirroring _network.
_priority
PacketMirroring _priority.
_region
PacketMirroring _region.
_selfLink
PacketMirroring _selfLink.
collectorIlb
PacketMirroring collectorIlb.
creationTimestamp
PacketMirroring creationTimestamp.
description
PacketMirroring description.
enable
PacketMirroring enable.
filter
PacketMirroring filter.
id
PacketMirroring id.
kind
PacketMirroring kind.
mirroredResources
PacketMirroring mirroredResources.
name
PacketMirroring name.
network
PacketMirroring network.
priority
PacketMirroring priority.
region
PacketMirroring region.
selfLink
PacketMirroring selfLink.
Enable
Enable enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_ENABLE |
number |
UNDEFINED_ENABLE value |
FALSE |
number |
FALSE value |
TRUE |
number |
TRUE value |
Methods
toJSON() → {Object.<string, *>}
Converts this PacketMirroring to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.compute.v1.PacketMirroring}
Creates a new PacketMirroring instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IPacketMirroring |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.PacketMirroring |
PacketMirroring instance |
(static) decode(reader, lengthopt) → {google.cloud.compute.v1.PacketMirroring}
Decodes a PacketMirroring message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.PacketMirroring |
PacketMirroring |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.cloud.compute.v1.PacketMirroring}
Decodes a PacketMirroring message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.PacketMirroring |
PacketMirroring |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified PacketMirroring message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IPacketMirroring |
PacketMirroring message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified PacketMirroring message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IPacketMirroring |
PacketMirroring message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.cloud.compute.v1.PacketMirroring}
Creates a PacketMirroring message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.PacketMirroring |
PacketMirroring |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for PacketMirroring
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a PacketMirroring message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.PacketMirroring |
PacketMirroring |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies a PacketMirroring message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|