public final class NetworkEndpointGroup
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NetworkEndpointGroup() |
Modifier and Type | Method and Description |
---|---|
NetworkEndpointGroup |
clone() |
Map<String,String> |
getAnnotations()
Metadata defined as annotations on the network endpoint group.
|
NetworkEndpointGroupAppEngine |
getAppEngine()
Only valid when networkEndpointType is SERVERLESS.
|
NetworkEndpointGroupCloudFunction |
getCloudFunction()
Only valid when networkEndpointType is SERVERLESS.
|
NetworkEndpointGroupCloudRun |
getCloudRun()
Only valid when networkEndpointType is SERVERLESS.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Integer |
getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getNetwork()
The URL of the network to which all network endpoints in the NEG belong.
|
String |
getNetworkEndpointType()
Type of network endpoints in this network endpoint group.
|
NetworkEndpointGroupPscData |
getPscData() |
String |
getPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC
Producer Service Attachment.
|
String |
getRegion()
[Output Only] The URL of the region where the network endpoint group is located.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Integer |
getSize()
[Output only] Number of network endpoints in the network endpoint group.
|
String |
getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
String |
getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
|
NetworkEndpointGroup |
set(String fieldName,
Object value) |
NetworkEndpointGroup |
setAnnotations(Map<String,String> annotations)
Metadata defined as annotations on the network endpoint group.
|
NetworkEndpointGroup |
setAppEngine(NetworkEndpointGroupAppEngine appEngine)
Only valid when networkEndpointType is SERVERLESS.
|
NetworkEndpointGroup |
setCloudFunction(NetworkEndpointGroupCloudFunction cloudFunction)
Only valid when networkEndpointType is SERVERLESS.
|
NetworkEndpointGroup |
setCloudRun(NetworkEndpointGroupCloudRun cloudRun)
Only valid when networkEndpointType is SERVERLESS.
|
NetworkEndpointGroup |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NetworkEndpointGroup |
setDefaultPort(Integer defaultPort)
The default port used if the port number is not specified in the network endpoint.
|
NetworkEndpointGroup |
setDescription(String description)
An optional description of this resource.
|
NetworkEndpointGroup |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
NetworkEndpointGroup |
setKind(String kind)
[Output Only] Type of the resource.
|
NetworkEndpointGroup |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
NetworkEndpointGroup |
setNetwork(String network)
The URL of the network to which all network endpoints in the NEG belong.
|
NetworkEndpointGroup |
setNetworkEndpointType(String networkEndpointType)
Type of network endpoints in this network endpoint group.
|
NetworkEndpointGroup |
setPscData(NetworkEndpointGroupPscData pscData) |
NetworkEndpointGroup |
setPscTargetService(String pscTargetService)
The target service url used to set up private service connection to a Google API or a PSC
Producer Service Attachment.
|
NetworkEndpointGroup |
setRegion(String region)
[Output Only] The URL of the region where the network endpoint group is located.
|
NetworkEndpointGroup |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
NetworkEndpointGroup |
setSize(Integer size)
[Output only] Number of network endpoints in the network endpoint group.
|
NetworkEndpointGroup |
setSubnetwork(String subnetwork)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
NetworkEndpointGroup |
setZone(String zone)
[Output Only] The URL of the zone where the network endpoint group is located.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Map<String,String> getAnnotations()
null
for nonepublic NetworkEndpointGroup setAnnotations(Map<String,String> annotations)
annotations
- annotations or null
for nonepublic NetworkEndpointGroupAppEngine getAppEngine()
null
for nonepublic NetworkEndpointGroup setAppEngine(NetworkEndpointGroupAppEngine appEngine)
appEngine
- appEngine or null
for nonepublic NetworkEndpointGroupCloudFunction getCloudFunction()
null
for nonepublic NetworkEndpointGroup setCloudFunction(NetworkEndpointGroupCloudFunction cloudFunction)
cloudFunction
- cloudFunction or null
for nonepublic NetworkEndpointGroupCloudRun getCloudRun()
null
for nonepublic NetworkEndpointGroup setCloudRun(NetworkEndpointGroupCloudRun cloudRun)
cloudRun
- cloudRun or null
for nonepublic String getCreationTimestamp()
null
for nonepublic NetworkEndpointGroup setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic Integer getDefaultPort()
null
for nonepublic NetworkEndpointGroup setDefaultPort(Integer defaultPort)
defaultPort
- defaultPort or null
for nonepublic String getDescription()
null
for nonepublic NetworkEndpointGroup setDescription(String description)
description
- description or null
for nonepublic BigInteger getId()
null
for nonepublic NetworkEndpointGroup setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic NetworkEndpointGroup setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic NetworkEndpointGroup setName(String name)
name
- name or null
for nonepublic String getNetwork()
null
for nonepublic NetworkEndpointGroup setNetwork(String network)
network
- network or null
for nonepublic String getNetworkEndpointType()
null
for nonepublic NetworkEndpointGroup setNetworkEndpointType(String networkEndpointType)
networkEndpointType
- networkEndpointType or null
for nonepublic NetworkEndpointGroupPscData getPscData()
null
for nonepublic NetworkEndpointGroup setPscData(NetworkEndpointGroupPscData pscData)
pscData
- pscData or null
for nonepublic String getPscTargetService()
null
for nonepublic NetworkEndpointGroup setPscTargetService(String pscTargetService)
pscTargetService
- pscTargetService or null
for nonepublic String getRegion()
null
for nonepublic NetworkEndpointGroup setRegion(String region)
region
- region or null
for nonepublic String getSelfLink()
null
for nonepublic NetworkEndpointGroup setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Integer getSize()
null
for nonepublic NetworkEndpointGroup setSize(Integer size)
size
- size or null
for nonepublic String getSubnetwork()
null
for nonepublic NetworkEndpointGroup setSubnetwork(String subnetwork)
subnetwork
- subnetwork or null
for nonepublic String getZone()
null
for nonepublic NetworkEndpointGroup setZone(String zone)
zone
- zone or null
for nonepublic NetworkEndpointGroup set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public NetworkEndpointGroup clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.