GetGlobalNetworkEndpointGroupResult constructor

const GetGlobalNetworkEndpointGroupResult({
  1. required Map<String, String> annotations,
  2. required NetworkEndpointGroupAppEngineResponse appEngine,
  3. required String clientPortMappingMode,
  4. required NetworkEndpointGroupCloudFunctionResponse cloudFunction,
  5. required NetworkEndpointGroupCloudRunResponse cloudRun,
  6. required String creationTimestamp,
  7. required int defaultPort,
  8. required String description,
  9. required String kind,
  10. required NetworkEndpointGroupLbNetworkEndpointGroupResponse loadBalancer,
  11. required String name,
  12. required String network,
  13. required String networkEndpointType,
  14. required NetworkEndpointGroupPscDataResponse pscData,
  15. required String pscTargetService,
  16. required String region,
  17. required String selfLink,
  18. required String selfLinkWithId,
  19. required NetworkEndpointGroupServerlessDeploymentResponse serverlessDeployment,
  20. required int size,
  21. required String subnetwork,
  22. required String type,
  23. required String zone,
})

Creates a new GetGlobalNetworkEndpointGroupResult. annotations Metadata defined as annotations on the network endpoint group. appEngine Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. clientPortMappingMode Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is regional. cloudFunction Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. cloudRun Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. creationTimestamp Creation timestamp in RFC3339 text format. defaultPort The default port used if the port number is not specified in the network endpoint. description An optional description of this resource. Provide this property when you create the resource. kind Type of the resource. Always compute#networkEndpointGroup for network endpoint group. loadBalancer This field is only valid when the network endpoint group is used for load balancing. Deprecated This field is deprecated. 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. network The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. 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. pscData Required. 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" region The URL of the region where the network endpoint group is located. selfLink Server-defined URL for the resource. selfLinkWithId Server-defined URL for this resource with the resource id. serverlessDeployment Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set. size Output only Number of network endpoints in the network endpoint group. subnetwork Optional URL of the subnetwork to which all network endpoints in the NEG belong. type Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. zone The URL of the zone where the network endpoint group is located.

Implementation

const GetGlobalNetworkEndpointGroupResult({
  required this.annotations,
  required this.appEngine,
  required this.clientPortMappingMode,
  required this.cloudFunction,
  required this.cloudRun,
  required this.creationTimestamp,
  required this.defaultPort,
  required this.description,
  required this.kind,
  required this.loadBalancer,
  required this.name,
  required this.network,
  required this.networkEndpointType,
  required this.pscData,
  required this.pscTargetService,
  required this.region,
  required this.selfLink,
  required this.selfLinkWithId,
  required this.serverlessDeployment,
  required this.size,
  required this.subnetwork,
  required this.type,
  required this.zone,
});