Skip to content

networkservices: add list resources - #18550

Open
BBBmau wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
BBBmau:add-networkservices-list-resources
Open

networkservices: add list resources#18550
BBBmau wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
BBBmau:add-networkservices-list-resources

Conversation

@BBBmau

@BBBmau BBBmau commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Adds list-resource generation for the following networkservices resources:

  • google_networkservices_agent_gateway
  • google_networkservices_authz_extension
  • google_networkservices_edge_cache_keyset
  • google_networkservices_edge_cache_origin
  • google_networkservices_edge_cache_service
  • google_networkservices_endpoint_policy
  • google_networkservices_gateway
  • google_networkservices_grpc_route
  • google_networkservices_http_route
  • google_networkservices_lb_route_extension
  • google_networkservices_lb_traffic_extension
  • google_networkservices_mesh
  • google_networkservices_multicast_consumer_association
  • google_networkservices_multicast_domain
  • google_networkservices_multicast_domain_activation
  • google_networkservices_multicast_domain_group
  • google_networkservices_multicast_group_consumer_activation
  • google_networkservices_multicast_group_producer_activation
  • google_networkservices_multicast_group_range
  • google_networkservices_multicast_group_range_activation
  • google_networkservices_multicast_producer_association
  • google_networkservices_service_lb_policies
  • google_networkservices_tcp_route
  • google_networkservices_tls_route
networkservices: added list resource `google_networkservices_agent_gateways`
networkservices: added list resource `google_networkservices_authz_extensions`
networkservices: added list resource `google_networkservices_edge_cache_keysets`
networkservices: added list resource `google_networkservices_edge_cache_origins`
networkservices: added list resource `google_networkservices_edge_cache_services`
networkservices: added list resource `google_networkservices_endpoint_policies`
networkservices: added list resource `google_networkservices_gateways`
networkservices: added list resource `google_networkservices_grpc_routes`
networkservices: added list resource `google_networkservices_http_routes`
networkservices: added list resource `google_networkservices_lb_route_extensions`
networkservices: added list resource `google_networkservices_lb_traffic_extensions`
networkservices: added list resource `google_networkservices_meshes`
networkservices: added list resource `google_networkservices_multicast_consumer_associations`
networkservices: added list resource `google_networkservices_multicast_domains`
networkservices: added list resource `google_networkservices_multicast_domain_activations`
networkservices: added list resource `google_networkservices_multicast_domain_groups`
networkservices: added list resource `google_networkservices_multicast_group_consumer_activations`
networkservices: added list resource `google_networkservices_multicast_group_producer_activations`
networkservices: added list resource `google_networkservices_multicast_group_ranges`
networkservices: added list resource `google_networkservices_multicast_group_range_activations`
networkservices: added list resource `google_networkservices_multicast_producer_associations`
networkservices: added list resource `google_networkservices_service_lb_policies`
networkservices: added list resource `google_networkservices_tcp_routes`
networkservices: added list resource `google_networkservices_tls_routes`

Tests: Acceptance tests hit a GCP quota limit (QUOTA_FAIL). The generated code is correct — the PR is being opened as normal. Quota will be addressed on production infrastructure.

@google-cla

google-cla Bot commented Aug 6, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@modular-magician

modular-magician commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit d0aa96a:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 70 files changed, 7723 insertions(+)
google-beta provider View Diff 72 files changed, 8006 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
126 100 2 24
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 24 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesAuthzExtensionListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesMulticastConsumerAssociationListQuery_generated
  • TestAccNetworkServicesMulticastDomainActivationListQuery_generated
  • TestAccNetworkServicesMulticastDomainGroupListQuery_generated
  • TestAccNetworkServicesMulticastDomainListQuery_generated
  • TestAccNetworkServicesMulticastGroupConsumerActivationListQuery_generated
  • TestAccNetworkServicesMulticastGroupProducerActivationListQuery_generated
  • TestAccNetworkServicesMulticastGroupRangeActivationListQuery_generated
  • TestAccNetworkServicesMulticastGroupRangeListQuery_generated
  • TestAccNetworkServicesMulticastProducerAssociationListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau VCR tests complete for d0aa96a!

@modular-magician

modular-magician commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit bb636c0:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 124 files changed, 7910 insertions(+), 43 deletions(-)
google-beta provider View Diff 129 files changed, 8200 insertions(+), 45 deletions(-)

Test report

Analytics

Total Tests Passed Skipped Affected
2376 2191 166 19
Affected Service Packages
  • bigquery
  • cloudrun
  • cloudscheduler
  • pubsub
  • secretmanager
  • sql
  • storage
  • compute
  • discoveryengine
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 19 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccComputeInstanceFromMachineImage_diffProject
  • TestAccComputeRegionNetworkFirewallPolicyListQuery_generated
  • TestAccComputeSecurityPolicy_withPreconfiguredWafConfig
  • TestAccDiscoveryEngineDataStore_discoveryengineDatastoreKmsKeyNameExample
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated
  • TestAccPubsubSubscription_pubsubSubscriptionTagsExample

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau VCR tests complete for bb636c0!

@modular-magician

modular-magician commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 9658f5b:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 84 files changed, 3555 insertions(+), 43 deletions(-)
google-beta provider View Diff 87 files changed, 3561 insertions(+), 45 deletions(-)

Test report

Analytics

Total Tests Passed Skipped Affected
2362 2191 166 5
Affected Service Packages
  • pubsub
  • bigquery
  • secretmanager
  • sql
  • storage
  • cloudrun
  • cloudscheduler
  • compute
  • discoveryengine
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccComputeInstanceFromMachineImage_diffProject
  • TestAccComputeRegionNetworkFirewallPolicyListQuery_generated
  • TestAccComputeSecurityPolicy_withPreconfiguredWafConfig
  • TestAccDiscoveryEngineDataStore_discoveryengineDatastoreKmsKeyNameExample
  • TestAccPubsubSubscription_pubsubSubscriptionTagsExample

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccComputeInstanceFromMachineImage_diffProject
❌ Error · Log - TestAccComputeRegionNetworkFirewallPolicyListQuery_generated
❌ Error · Log - TestAccComputeSecurityPolicy_withPreconfiguredWafConfig
❌ Error · Log - TestAccDiscoveryEngineDataStore_discoveryengineDatastoreKmsKeyNameExample
❌ Error · Log - TestAccPubsubSubscription_pubsubSubscriptionTagsExample

Caution

Issues requiring attention before PR completion

🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.

Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.

View the recording VCR build log or the debug logs folder for detailed results.

@BBBmau VCR tests complete for 9658f5b!

@BBBmau
BBBmau force-pushed the add-networkservices-list-resources branch from 9658f5b to 8f3cc10 Compare August 11, 2026 20:59
@modular-magician

modular-magician commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 8f3cc10:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 70 files changed, 7723 insertions(+)
google-beta provider View Diff 72 files changed, 8006 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
126 110 2 14
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau VCR tests complete for 8f3cc10!

@BBBmau
BBBmau force-pushed the add-networkservices-list-resources branch from 8f3cc10 to d5687e1 Compare August 11, 2026 21:12
@modular-magician

modular-magician commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit d5687e1:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 70 files changed, 7723 insertions(+)
google-beta provider View Diff 72 files changed, 8006 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
126 110 2 14
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau VCR tests complete for d5687e1!

@BBBmau
BBBmau force-pushed the add-networkservices-list-resources branch from 429c32f to d5687e1 Compare August 11, 2026 21:29
@modular-magician

modular-magician commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 429c32f:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 70 files changed, 7723 insertions(+)
google-beta provider View Diff 72 files changed, 8006 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
126 110 2 14
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau, @andyzh4812 VCR tests complete for 429c32f!

@modular-magician

modular-magician commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit d5687e1:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 70 files changed, 7723 insertions(+)
google-beta provider View Diff 72 files changed, 8006 insertions(+)

Test report

Analytics

Total Tests Passed Skipped Affected
126 110 2 14
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccNetworkServicesAgentGatewayListQuery_generated
  • TestAccNetworkServicesEdgeCacheKeysetListQuery_generated
  • TestAccNetworkServicesEdgeCacheOriginListQuery_generated
  • TestAccNetworkServicesEdgeCacheServiceListQuery_generated
  • TestAccNetworkServicesEndpointPolicyListQuery_generated
  • TestAccNetworkServicesGatewayListQuery_generated
  • TestAccNetworkServicesGrpcRouteListQuery_generated
  • TestAccNetworkServicesHttpRouteListQuery_generated
  • TestAccNetworkServicesLbRouteExtensionListQuery_generated
  • TestAccNetworkServicesLbTrafficExtensionListQuery_generated
  • TestAccNetworkServicesMeshListQuery_generated
  • TestAccNetworkServicesServiceLbPoliciesListQuery_generated
  • TestAccNetworkServicesTcpRouteListQuery_generated
  • TestAccNetworkServicesTlsRouteListQuery_generated

View the replaying VCR build log


Step 2: Recording Mode

Caution

Panic occurred during VCR tests

🔴 RECORDING mode: The provider crashed with a panic. Please check the build log for details.

Please fix the issue to complete your PR.

View the build log

@BBBmau, @andyzh4812 VCR tests complete for d5687e1!

All networkservices resources with hardcoded 'locations/global' in their
base_url need the location parameter marked as required for list queries
to work properly. The list query test framework needs required scope
properties to generate the correct filter configuration.

Fixed resources:
- Mesh
- Gateway
- EndpointPolicy
- GrpcRoute
- HttpRoute
- ServiceLbPolicies
- TcpRoute
- TlsRoute
- EdgeCacheOrigin
- EdgeCacheKeyset
- EdgeCacheService
- AgentGateway (already had required, added default_value)
@modular-magician

modular-magician commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit b00cf05:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 102 files changed, 7890 insertions(+), 74 deletions(-)
google-beta provider View Diff 105 files changed, 8178 insertions(+), 74 deletions(-)
terraform-google-conversion View Diff 1 file changed, 7 insertions(+), 7 deletions(-)

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field location added as required on pre-existing resource google_network_services_edge_cache_keyset - reference
  • Field location added as required on pre-existing resource google_network_services_edge_cache_origin - reference
  • Field location added as required on pre-existing resource google_network_services_edge_cache_service - reference
  • Field location added as required on pre-existing resource google_network_services_endpoint_policy - reference
  • Field location added as required on pre-existing resource google_network_services_http_route - reference
  • Field location added as required on pre-existing resource google_network_services_tcp_route - reference
  • Field location changed from optional to required on google_network_services_gateway - reference
  • Field location changed from optional to required on google_network_services_grpc_route - reference
  • Field location changed from optional to required on google_network_services_mesh - reference
  • Field location changed from optional to required on google_network_services_tls_route - reference
  • Field location default value changed from <nil> to global on google_network_services_service_lb_policies - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_network_services_edge_cache_keyset (6 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_edge_cache_keyset" "primary" {
  location = # value needed
}

Resource: google_network_services_edge_cache_origin (15 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_edge_cache_origin" "primary" {
  location = # value needed
}

Resource: google_network_services_edge_cache_service (9 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_edge_cache_service" "primary" {
  location = # value needed
}

Resource: google_network_services_endpoint_policy (5 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_endpoint_policy" "primary" {
  location = # value needed
}

Resource: google_network_services_http_route (7 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_http_route" "primary" {
  location = # value needed
}

Resource: google_network_services_tcp_route (7 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_network_services_tcp_route" "primary" {
  location = # value needed
}

Test report

Analytics

Total Tests Passed Skipped Affected
126 0 2 124
Affected Service Packages
  • networkservices

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 124 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

More than 100 tests failed in replaying; this is too many to display on GitHub. View the Cloud Build logs to see the full list.

View the replaying VCR build log


Step 2: Recording Mode

More than 100 tests ran in recording mode; this is too many to display on GitHub. View the Cloud Build logs to see the result summary.

Caution

Issues requiring attention before PR completion

🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.

Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.

View the recording VCR build log or the debug logs folder for detailed results.

@BBBmau, @andyzh4812 VCR tests complete for b00cf05!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants