Constructor
new NetworkEndpointGroup(propertiesopt)
Constructs a new NetworkEndpointGroup.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.INetworkEndpointGroup |
<optional> |
Properties to set |
- Implements:
-
- INetworkEndpointGroup
Members
_appEngine
NetworkEndpointGroup _appEngine.
_cloudFunction
NetworkEndpointGroup _cloudFunction.
_cloudRun
NetworkEndpointGroup _cloudRun.
_creationTimestamp
NetworkEndpointGroup _creationTimestamp.
_defaultPort
NetworkEndpointGroup _defaultPort.
_description
NetworkEndpointGroup _description.
_id
NetworkEndpointGroup _id.
_kind
NetworkEndpointGroup _kind.
_name
NetworkEndpointGroup _name.
_network
NetworkEndpointGroup _network.
_networkEndpointType
NetworkEndpointGroup _networkEndpointType.
_pscData
NetworkEndpointGroup _pscData.
_pscTargetService
NetworkEndpointGroup _pscTargetService.
_region
NetworkEndpointGroup _region.
_selfLink
NetworkEndpointGroup _selfLink.
_size
NetworkEndpointGroup _size.
_subnetwork
NetworkEndpointGroup _subnetwork.
_zone
NetworkEndpointGroup _zone.
annotations
NetworkEndpointGroup annotations.
appEngine
NetworkEndpointGroup appEngine.
cloudFunction
NetworkEndpointGroup cloudFunction.
cloudRun
NetworkEndpointGroup cloudRun.
creationTimestamp
NetworkEndpointGroup creationTimestamp.
defaultPort
NetworkEndpointGroup defaultPort.
description
NetworkEndpointGroup description.
id
NetworkEndpointGroup id.
kind
NetworkEndpointGroup kind.
name
NetworkEndpointGroup name.
network
NetworkEndpointGroup network.
networkEndpointType
NetworkEndpointGroup networkEndpointType.
pscData
NetworkEndpointGroup pscData.
pscTargetService
NetworkEndpointGroup pscTargetService.
region
NetworkEndpointGroup region.
selfLink
NetworkEndpointGroup selfLink.
size
NetworkEndpointGroup size.
subnetwork
NetworkEndpointGroup subnetwork.
zone
NetworkEndpointGroup zone.
NetworkEndpointType
NetworkEndpointType enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_NETWORK_ENDPOINT_TYPE |
number |
UNDEFINED_NETWORK_ENDPOINT_TYPE value |
GCE_VM_IP |
number |
GCE_VM_IP value |
GCE_VM_IP_PORT |
number |
GCE_VM_IP_PORT value |
INTERNET_FQDN_PORT |
number |
INTERNET_FQDN_PORT value |
INTERNET_IP_PORT |
number |
INTERNET_IP_PORT value |
NON_GCP_PRIVATE_IP_PORT |
number |
NON_GCP_PRIVATE_IP_PORT value |
PRIVATE_SERVICE_CONNECT |
number |
PRIVATE_SERVICE_CONNECT value |
SERVERLESS |
number |
SERVERLESS value |
Methods
toJSON() → {Object.<string, *>}
Converts this NetworkEndpointGroup to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.compute.v1.NetworkEndpointGroup}
Creates a new NetworkEndpointGroup instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.INetworkEndpointGroup |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.NetworkEndpointGroup |
NetworkEndpointGroup instance |
(static) decode(reader, lengthopt) → {google.cloud.compute.v1.NetworkEndpointGroup}
Decodes a NetworkEndpointGroup 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.NetworkEndpointGroup |
NetworkEndpointGroup |
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.NetworkEndpointGroup}
Decodes a NetworkEndpointGroup 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.NetworkEndpointGroup |
NetworkEndpointGroup |
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 NetworkEndpointGroup message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.INetworkEndpointGroup |
NetworkEndpointGroup 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 NetworkEndpointGroup message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.INetworkEndpointGroup |
NetworkEndpointGroup 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.NetworkEndpointGroup}
Creates a NetworkEndpointGroup 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.NetworkEndpointGroup |
NetworkEndpointGroup |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for NetworkEndpointGroup
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 NetworkEndpointGroup message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.NetworkEndpointGroup |
NetworkEndpointGroup |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies a NetworkEndpointGroup message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|