Show / Hide Table of Contents

Class NetworkEndpointGroup

Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.

Inheritance
object
NetworkEndpointGroup
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta.Data
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class NetworkEndpointGroup : IDirectResponseSchema

Properties

Annotations

Metadata defined as annotations on the network endpoint group.

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

AppEngine

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Declaration
[JsonProperty("appEngine")]
public virtual NetworkEndpointGroupAppEngine AppEngine { get; set; }
Property Value
Type Description
NetworkEndpointGroupAppEngine

CloudFunction

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Declaration
[JsonProperty("cloudFunction")]
public virtual NetworkEndpointGroupCloudFunction CloudFunction { get; set; }
Property Value
Type Description
NetworkEndpointGroupCloudFunction

CloudRun

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Declaration
[JsonProperty("cloudRun")]
public virtual NetworkEndpointGroupCloudRun CloudRun { get; set; }
Property Value
Type Description
NetworkEndpointGroupCloudRun

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
string

DefaultPort

The default port used if the port number is not specified in the network endpoint.

Declaration
[JsonProperty("defaultPort")]
public virtual int? DefaultPort { get; set; }
Property Value
Type Description
int?

Description

An optional description of this resource. Provide this property when you create the resource.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type Description
ulong?

Kind

[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LoadBalancer

This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated.

Declaration
[JsonProperty("loadBalancer")]
public virtual NetworkEndpointGroupLbNetworkEndpointGroup LoadBalancer { get; set; }
Property Value
Type Description
NetworkEndpointGroupLbNetworkEndpointGroup

Name

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Network

The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type Description
string

NetworkEndpointType

Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.

Declaration
[JsonProperty("networkEndpointType")]
public virtual string NetworkEndpointType { get; set; }
Property Value
Type Description
string

PscData

Declaration
[JsonProperty("pscData")]
public virtual NetworkEndpointGroupPscData PscData { get; set; }
Property Value
Type Description
NetworkEndpointGroupPscData

PscTargetService

The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"

Declaration
[JsonProperty("pscTargetService")]
public virtual string PscTargetService { get; set; }
Property Value
Type Description
string

Region

[Output Only] The URL of the region where the network endpoint group is located.

Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type Description
string

SelfLink

[Output Only] Server-defined URL for the resource.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

ServerlessDeployment

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.

Declaration
[JsonProperty("serverlessDeployment")]
public virtual NetworkEndpointGroupServerlessDeployment ServerlessDeployment { get; set; }
Property Value
Type Description
NetworkEndpointGroupServerlessDeployment

Size

[Output only] Number of network endpoints in the network endpoint group.

Declaration
[JsonProperty("size")]
public virtual int? Size { get; set; }
Property Value
Type Description
int?

Subnetwork

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

Declaration
[JsonProperty("subnetwork")]
public virtual string Subnetwork { get; set; }
Property Value
Type Description
string

Zone

[Output Only] The URL of the zone where the network endpoint group is located.

Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX