GetNetworkEndpointGroupResult class
Result data returned by getNetworkEndpointGroup.
Constructors
-
GetNetworkEndpointGroupResult({required Map<
String, String> annotations, required NetworkEndpointGroupAppEngineResponse appEngine, required String clientPortMappingMode, required NetworkEndpointGroupCloudFunctionResponse cloudFunction, required NetworkEndpointGroupCloudRunResponse cloudRun, required String creationTimestamp, required int defaultPort, required String description, required String kind, required NetworkEndpointGroupLbNetworkEndpointGroupResponse loadBalancer, required String name, required String network, required String networkEndpointType, required NetworkEndpointGroupPscDataResponse pscData, required String pscTargetService, required String region, required String selfLink, required String selfLinkWithId, required NetworkEndpointGroupServerlessDeploymentResponse serverlessDeployment, required int size, required String subnetwork, required String type, required String zone}) -
Creates a new GetNetworkEndpointGroupResult.
annotationsMetadata defined as annotations on the network endpoint group.appEngineOnly valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.clientPortMappingModeOnly valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is regional.cloudFunctionOnly valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.cloudRunOnly valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.creationTimestampCreation timestamp in RFC3339 text format.defaultPortThe default port used if the port number is not specified in the network endpoint.descriptionAn optional description of this resource. Provide this property when you create the resource.kindType of the resource. Always compute#networkEndpointGroup for network endpoint group.loadBalancerThis field is only valid when the network endpoint group is used for load balancing. Deprecated This field is deprecated.nameName 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.networkThe URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.networkEndpointTypeType 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.pscDataRequired.pscTargetServiceThe 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"regionThe URL of the region where the network endpoint group is located.selfLinkServer-defined URL for the resource.selfLinkWithIdServer-defined URL for this resource with the resource id.serverlessDeploymentOnly valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set. sizeOutput onlyNumber of network endpoints in the network endpoint group.subnetworkOptional URL of the subnetwork to which all network endpoints in the NEG belong.typeSpecify the type of this network endpoint group. Only LOAD_BALANCING is valid for now.zoneThe URL of the zone where the network endpoint group is located.const -
GetNetworkEndpointGroupResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Map<
String, String> -
Metadata defined as annotations on the network endpoint group.
final
- appEngine → NetworkEndpointGroupAppEngineResponse
-
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
final
- clientPortMappingMode → String
-
Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is regional.
final
- cloudFunction → NetworkEndpointGroupCloudFunctionResponse
-
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
final
- cloudRun → NetworkEndpointGroupCloudRunResponse
-
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
final
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- defaultPort → int
-
The default port used if the port number is not specified in the network endpoint.
final
- description → String
-
An optional description of this resource. Provide this property when you create the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
final
- loadBalancer → NetworkEndpointGroupLbNetworkEndpointGroupResponse
-
This field is only valid when the network endpoint group is used for load balancing. Deprecated This field is deprecated.
final
- name → String
-
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.final - network → String
-
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
final
- networkEndpointType → String
-
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.
final
- pscData → NetworkEndpointGroupPscDataResponse
-
final
- pscTargetService → String
-
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"
final
- region → String
-
The URL of the region where the network endpoint group is located.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
Server-defined URL for the resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource with the resource id.
final
- serverlessDeployment → NetworkEndpointGroupServerlessDeploymentResponse
-
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
final
- size → int
-
Output onlyNumber of network endpoints in the network endpoint group.final - subnetwork → String
-
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
final
- type → String
-
Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now.
final
- zone → String
-
The URL of the zone where the network endpoint group is located.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited