Skip to content

Commit

Permalink
Add regional NEG to generated resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
asiawildboar committed May 30, 2024
1 parent cf4aded commit daf0cf7
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkg/cloud/meta/compute_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,45 @@ var ComputeServices = []*ServiceInfo{
"ListNetworkEndpoints",
},
},
{
Object: "NetworkEndpointGroup",
Service: "RegionNetworkEndpointGroups",
Resource: "networkEndpointGroups",
version: VersionAlpha,
keyType: Regional,
serviceType: reflect.TypeOf(&alpha.RegionNetworkEndpointGroupsService{}),
additionalMethods: []string{
"AttachNetworkEndpoints",
"DetachNetworkEndpoints",
"ListNetworkEndpoints",
},
},
{
Object: "NetworkEndpointGroup",
Service: "RegionNetworkEndpointGroups",
Resource: "networkEndpointGroups",
version: VersionBeta,
keyType: Regional,
serviceType: reflect.TypeOf(&beta.RegionNetworkEndpointGroupsService{}),
additionalMethods: []string{
"AttachNetworkEndpoints",
"DetachNetworkEndpoints",
"ListNetworkEndpoints",
},
},
{
Object: "NetworkEndpointGroup",
Service: "RegionNetworkEndpointGroups",
Resource: "networkEndpointGroups",
version: VersionGA,
keyType: Regional,
serviceType: reflect.TypeOf(&ga.RegionNetworkEndpointGroupsService{}),
additionalMethods: []string{
"AttachNetworkEndpoints",
"DetachNetworkEndpoints",
"ListNetworkEndpoints",
},
},
{
Object: "Project",
Service: "Projects",
Expand Down

0 comments on commit daf0cf7

Please sign in to comment.