diff --git a/mockgcp/mockredis/cluster.go b/mockgcp/mockredis/cluster.go index 9b200d9438..ff13cd47b2 100644 --- a/mockgcp/mockredis/cluster.go +++ b/mockgcp/mockredis/cluster.go @@ -213,9 +213,11 @@ func (r *clusterServer) UpdateCluster(ctx context.Context, req *pb.UpdateCluster obj.SizeGb = req.Cluster.SizeGb case "replicaCount": obj.ReplicaCount = req.Cluster.ReplicaCount + case "shardCount": + obj.ShardCount = req.Cluster.ShardCount default: - return nil, status.Errorf(codes.InvalidArgument, "update_mask path %q not valid", path) + return nil, status.Errorf(codes.InvalidArgument, "update_mask path %q not supported by mockgcp", path) } } diff --git a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_generated_object_basicrediscluster.golden.yaml b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_generated_object_basicrediscluster.golden.yaml index 077732898f..4d331ca6d5 100644 --- a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_generated_object_basicrediscluster.golden.yaml +++ b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_generated_object_basicrediscluster.golden.yaml @@ -15,7 +15,7 @@ spec: external: ${projectId} pscConfigs: - networkRef: - external: projects/${projectId}/global/networks/computenetwork-${uniqueId} + external: projects/${projectId}/global/networks/${networkID} shardCount: 10 status: conditions: @@ -32,19 +32,19 @@ status: port: 6379 pscConfig: networkRef: - external: projects/${projectId}/global/networks/computenetwork-${uniqueId} - preciseSizeGb: 130 + external: projects/${projectId}/global/networks/${networkID} + preciseSizeGb: 39 pscConnections: - - address: 10.128.0.3 - forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143 - network: projects/${projectId}/global/networks/computenetwork-${uniqueId} - projectID: ${projectId} - pscConnectionID: "7500705292091395" - address: 10.128.0.2 - forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a - network: projects/${projectId}/global/networks/computenetwork-${uniqueId} + forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID} + network: projects/${projectId}/global/networks/${networkID} + projectID: ${projectId} + pscConnectionID: ${pscConnectionID} + - address: 10.128.0.3 + forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID} + network: projects/${projectId}/global/networks/${networkID} projectID: ${projectId} - pscConnectionID: "7500705292091394" - sizeGb: 130 + pscConnectionID: ${pscConnectionID} + sizeGb: 39 state: ACTIVE - uid: 68a3a69a-9675-44ad-a944-25dd89505b7c + uid: 0123456789abcdef diff --git a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_http.log b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_http.log index 158fb5581f..89dbdf2b0f 100644 --- a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_http.log +++ b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/basicrediscluster/_http.log @@ -123,10 +123,6 @@ X-Xss-Protection: 0 "kind": "compute#network", "name": "computenetwork-${uniqueId}", "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" } @@ -196,7 +192,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "insert", "progress": 0, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "RUNNING", @@ -229,7 +225,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "insert", "progress": 100, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "DONE", @@ -256,11 +252,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "allowSubnetCidrRoutesOverlap": false, "creationTimestamp": "2024-04-01T12:34:56.123456Z", "enableFlowLogs": false, "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", + "gatewayAddress": "10.2.0.1", "id": "000000000000000000000", "ipCidrRange": "10.128.0.0/20", "kind": "compute#subnetwork", @@ -268,11 +263,11 @@ X-Xss-Protection: 0 "enable": false }, "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", + "network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "privateIpGoogleAccess": false, "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", "stackType": "IPV4_ONLY" } @@ -330,12 +325,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "create" }, @@ -365,7 +358,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "create" }, @@ -440,12 +432,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "update" }, @@ -475,7 +465,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "update" }, @@ -573,12 +562,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "create" }, @@ -587,133 +574,6 @@ X-Xss-Protection: 0 --- -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", - "subnetworks": [ - "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "allowSubnetCidrRoutesOverlap": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "enableFlowLogs": false, - "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", - "id": "000000000000000000000", - "ipCidrRange": "10.128.0.0/20", - "kind": "compute#subnetwork", - "logConfig": { - "enable": false - }, - "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "privateIpGoogleAccess": false, - "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", - "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "stackType": "IPV4_ONLY" -} - ---- - -GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "createTime": "2024-04-01T12:34:56.123456Z", - "description": "Service Connection Policy for redis", - "etag": "abcdef0123A=", - "infrastructure": "PSC", - "name": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "pscConfig": { - "subnetworks": [ - "projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] - }, - "pscConnections": [ - { - "consumerAddress": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/addresses/sca-auto-addr-e1399951-c5a0-45df-89ad-fa0383bcb27e", - "consumerForwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143", - "consumerTargetProject": "${projectId}", - "gceOperation": "operation-1723598833669-61f9aa0375587-1c5ec764-306c2c86", - "pscConnectionId": "7500705292091395", - "selectedSubnetwork": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "state": "ACTIVE" - }, - { - "consumerAddress": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/addresses/sca-auto-addr-62832ba8-82d3-4ccc-bc86-8bf117732f30", - "consumerForwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a", - "consumerTargetProject": "${projectId}", - "gceOperation": "operation-1723598833775-61f9aa038f2be-b9cd99d0-645edfd0", - "pscConnectionId": "7500705292091394", - "selectedSubnetwork": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "state": "ACTIVE" - } - ], - "serviceClass": "gcp-memorystore-redis", - "updateTime": "2024-04-01T12:34:56.123456Z" -} - ---- - GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} @@ -736,7 +596,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "create" }, @@ -744,7 +603,6 @@ X-Xss-Protection: 0 "response": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.Cluster", "authorizationMode": "AUTH_MODE_DISABLED", - "clusterMode": "ENABLED", "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ @@ -762,23 +620,27 @@ X-Xss-Protection: 0 "mode": "DISABLED" }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { - "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143", + "address": "10.128.0.2", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091395" + "pscConnectionId": "${pscConnectionID}" }, { - "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a", + "address": "10.128.0.3", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091394" + "pscConnectionId": "${pscConnectionID}" } ], - "replicaCount": 0, "shardCount": 3, "sizeGb": 39, "state": "ACTIVE", @@ -809,7 +671,6 @@ X-Xss-Protection: 0 { "authorizationMode": 2, - "clusterMode": 1, "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ @@ -827,23 +688,27 @@ X-Xss-Protection: 0 "mode": 1 }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { - "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143", + "address": "10.128.0.2", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091395" + "pscConnectionId": "${pscConnectionID}" }, { - "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a", + "address": "10.128.0.3", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091394" + "pscConnectionId": "${pscConnectionID}" } ], - "replicaCount": 0, "shardCount": 3, "sizeGb": 39, "state": 2, @@ -882,59 +747,21 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "update" }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", - "subnetworks": [ - "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] + "name": "v1/projects/${projectId}/locations/us-central1/operations/${operationID}" } --- -GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} +GET https://redis.googleapis.com/v1/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} +x-goog-request-params: name=v1%2Fprojects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} 200 OK Cache-Control: private @@ -954,15 +781,13 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "update" }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}", + "name": "v1/projects/${projectId}/locations/us-central1/operations/${operationID}", "response": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.Cluster", "authorizationMode": "AUTH_MODE_DISABLED", - "clusterMode": "ENABLED", "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ @@ -979,26 +804,30 @@ X-Xss-Protection: 0 "persistenceConfig": { "mode": "DISABLED" }, - "preciseSizeGb": 130, + "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { - "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143", + "address": "10.128.0.2", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091395" + "pscConnectionId": "${pscConnectionID}" }, { - "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a", + "address": "10.128.0.3", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091394" + "pscConnectionId": "${pscConnectionID}" } ], - "replicaCount": 0, "shardCount": 10, - "sizeGb": 130, + "sizeGb": 39, "state": "ACTIVE", "transitEncryptionMode": "TRANSIT_ENCRYPTION_MODE_DISABLED", "uid": "111111111111111111111", @@ -1027,7 +856,6 @@ X-Xss-Protection: 0 { "authorizationMode": 2, - "clusterMode": 1, "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ @@ -1044,26 +872,30 @@ X-Xss-Protection: 0 "persistenceConfig": { "mode": 1 }, - "preciseSizeGb": 130, + "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { - "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-c1b4ae0f-bca3-40e3-9816-d1479c568143", + "address": "10.128.0.2", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091395" + "pscConnectionId": "${pscConnectionID}" }, { - "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-ee088ecf-fe3e-47b1-bf2e-bcc5a6cd074a", + "address": "10.128.0.3", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "7500705292091394" + "pscConnectionId": "${pscConnectionID}" } ], - "replicaCount": 0, "shardCount": 10, - "sizeGb": 130, + "sizeGb": 39, "state": 2, "transitEncryptionMode": 1, "uid": "111111111111111111111", @@ -1090,12 +922,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "delete" }, @@ -1104,9 +934,9 @@ X-Xss-Protection: 0 --- -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json +GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager +x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} 200 OK Cache-Control: private @@ -1120,25 +950,19 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "allowSubnetCidrRoutesOverlap": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "enableFlowLogs": false, - "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", - "id": "000000000000000000000", - "ipCidrRange": "10.128.0.0/20", - "kind": "compute#subnetwork", - "logConfig": { - "enable": false + "done": true, + "metadata": { + "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", + "apiVersion": "v1", + "createTime": "2024-04-01T12:34:56.123456Z", + "endTime": "2024-04-01T12:34:56.123456Z", + "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", + "verb": "delete" }, - "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "privateIpGoogleAccess": false, - "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", - "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "stackType": "IPV4_ONLY" + "name": "projects/${projectId}/locations/us-central1/operations/${operationID}", + "response": { + "@type": "type.googleapis.com/google.protobuf.Empty" + } } --- @@ -1175,9 +999,8 @@ X-Xss-Protection: 0 --- -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager +DELETE https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false +User-Agent: kcc/controller-manager 200 OK Cache-Control: private @@ -1191,29 +1014,20 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" + "metadata": { + "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", + "apiVersion": "v1", + "createTime": "2024-04-01T12:34:56.123456Z", + "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", + "verb": "delete" }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", - "subnetworks": [ - "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] + "name": "projects/${projectId}/locations/us-central1/operations/${operationID}" } --- -GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} -Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} +GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}?alt=json&prettyPrint=false +User-Agent: kcc/controller-manager 200 OK Cache-Control: private @@ -1229,12 +1043,11 @@ X-Xss-Protection: 0 { "done": true, "metadata": { - "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", + "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, - "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", + "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "delete" }, "name": "projects/${projectId}/locations/us-central1/operations/${operationID}", @@ -1245,11 +1058,11 @@ X-Xss-Protection: 0 --- -GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}?%24alt=json%3Benum-encoding%3Dint +GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Fclusters%2Frediscluster-${uniqueId} +User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager -404 Not Found +200 OK Cache-Control: private Content-Type: application/json; charset=UTF-8 Server: ESF @@ -1261,155 +1074,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "error": { - "code": 404, - "message": "Resource 'projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}' was not found", - "status": "NOT_FOUND" - } -} - ---- - -DELETE https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}?%24alt=json%3Benum-encoding%3Dint -Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Fclusters%2Frediscluster-${uniqueId} - -404 Not Found -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "error": { - "code": 404, - "message": "Resource 'projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}' was not found", - "status": "NOT_FOUND" - } -} - ---- - -GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "createTime": "2024-04-01T12:34:56.123456Z", - "description": "Service Connection Policy for redis", - "etag": "abcdef0123A=", - "infrastructure": "PSC", - "name": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "pscConfig": { - "subnetworks": [ - "projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] - }, - "serviceClass": "gcp-memorystore-redis", - "updateTime": "2024-04-01T12:34:56.123456Z" -} - ---- - -DELETE https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "done": false, - "metadata": { - "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", - "apiVersion": "v1", - "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, - "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "verb": "delete" - }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}" -} - ---- - -GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "done": true, - "metadata": { - "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", - "apiVersion": "v1", - "createTime": "2024-04-01T12:34:56.123456Z", - "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, - "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "verb": "delete" - }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}", - "response": { - "@type": "type.googleapis.com/google.protobuf.Empty" - } -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "allowSubnetCidrRoutesOverlap": false, "creationTimestamp": "2024-04-01T12:34:56.123456Z", "enableFlowLogs": false, "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", + "gatewayAddress": "10.2.0.1", "id": "000000000000000000000", "ipCidrRange": "10.128.0.0/20", "kind": "compute#subnetwork", @@ -1417,11 +1085,11 @@ X-Xss-Protection: 0 "enable": false }, "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", + "network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "privateIpGoogleAccess": false, "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", "stackType": "IPV4_ONLY" } @@ -1450,7 +1118,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "delete", "progress": 0, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "RUNNING", @@ -1483,7 +1151,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "delete", "progress": 100, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "DONE", @@ -1517,117 +1185,6 @@ X-Xss-Protection: 0 "kind": "compute#network", "name": "computenetwork-${uniqueId}", "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" } @@ -1682,16 +1239,6 @@ X-Xss-Protection: 0 { "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, "id": "000000000000000000000", "insertTime": "2024-04-01T12:34:56.123456Z", "kind": "compute#operation", @@ -1704,1590 +1251,4 @@ X-Xss-Protection: 0 "targetId": "${networkID}", "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-khxhi7it6wpyqyni2dgtcxcx'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-iyvrmjzsszuzmmbd5kdofnu3-1'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-iyvrmjzsszuzmmbd5kdofnu3-1'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-iyvrmjzsszuzmmbd5kdofnu3-2'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}?alt=json&prettyPrint=false -User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "endTime": "2024-04-01T12:34:56.123456Z", - "error": { - "errors": [ - { - "code": "RESOURCE_IN_USE_BY_ANOTHER_RESOURCE", - "message": "The network resource 'projects/${projectId}/global/networks/computenetwork-${uniqueId}' is already being used by 'projects/${projectId}/global/firewalls/computenetwork-${uniqueId}-xgvwmqb2xzqu3re4mj5ljnqd'" - } - ] - }, - "httpErrorMessage": "BAD REQUEST", - "httpErrorStatusCode": 400, - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 100, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "DONE", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - -DELETE https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "id": "000000000000000000000", - "insertTime": "2024-04-01T12:34:56.123456Z", - "kind": "compute#operation", - "name": "${operationID}", - "operationType": "delete", - "progress": 0, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", - "startTime": "2024-04-01T12:34:56.123456Z", - "status": "RUNNING", - "targetId": "${networkID}", - "targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "user": "user@example.com" } \ No newline at end of file diff --git a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_generated_object_fullrediscluster.golden.yaml b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_generated_object_fullrediscluster.golden.yaml index 51180ceb95..de82302003 100644 --- a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_generated_object_fullrediscluster.golden.yaml +++ b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_generated_object_fullrediscluster.golden.yaml @@ -22,7 +22,7 @@ spec: external: ${projectId} pscConfigs: - networkRef: - external: projects/${projectId}/global/networks/computenetwork-${uniqueId} + external: projects/${projectId}/global/networks/${networkID} redisConfigs: maxmemory-policy: volatile-ttl replicaCount: 1 @@ -42,23 +42,23 @@ status: observedState: createTime: "1970-01-01T00:00:00Z" discoveryEndpoints: - - address: 10.128.0.2 + - address: 10.128.0.3 port: 6379 pscConfig: networkRef: - external: projects/${projectId}/global/networks/computenetwork-${uniqueId} + external: projects/${projectId}/global/networks/${networkID} preciseSizeGb: 39 pscConnections: - address: 10.128.0.2 - forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da - network: projects/${projectId}/global/networks/computenetwork-${uniqueId} + forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID} + network: projects/${projectId}/global/networks/${networkID} projectID: ${projectId} - pscConnectionID: "92489118713380866" + pscConnectionID: ${pscConnectionID} - address: 10.128.0.3 - forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4 - network: projects/${projectId}/global/networks/computenetwork-${uniqueId} + forwardingRule: https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID} + network: projects/${projectId}/global/networks/${networkID} projectID: ${projectId} - pscConnectionID: "92489118713380867" + pscConnectionID: ${pscConnectionID} sizeGb: 39 state: ACTIVE - uid: af1f36bb-9dd9-40f1-973d-6feb4cb1cfb2 + uid: 0123456789abcdef diff --git a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_http.log b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_http.log index 2b8f6e0341..41982a30e9 100644 --- a/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_http.log +++ b/pkg/test/resourcefixture/testdata/basic/redis/v1beta1/fullrediscluster/_http.log @@ -123,10 +123,6 @@ X-Xss-Protection: 0 "kind": "compute#network", "name": "computenetwork-${uniqueId}", "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" } @@ -196,7 +192,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "insert", "progress": 0, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "RUNNING", @@ -229,7 +225,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "insert", "progress": 100, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "DONE", @@ -256,11 +252,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "allowSubnetCidrRoutesOverlap": false, "creationTimestamp": "2024-04-01T12:34:56.123456Z", "enableFlowLogs": false, "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", + "gatewayAddress": "10.2.0.1", "id": "000000000000000000000", "ipCidrRange": "10.128.0.0/20", "kind": "compute#subnetwork", @@ -268,11 +263,11 @@ X-Xss-Protection: 0 "enable": false }, "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", + "network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "privateIpGoogleAccess": false, "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", "stackType": "IPV4_ONLY" } @@ -330,12 +325,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "create" }, @@ -365,7 +358,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "create" }, @@ -440,12 +432,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "update" }, @@ -475,7 +465,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "update" }, @@ -591,12 +580,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "create" }, @@ -605,133 +592,6 @@ X-Xss-Protection: 0 --- -GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "createTime": "2024-04-01T12:34:56.123456Z", - "description": "Service Connection Policy for redis", - "etag": "abcdef0123A=", - "infrastructure": "PSC", - "name": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "pscConfig": { - "subnetworks": [ - "projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] - }, - "pscConnections": [ - { - "consumerAddress": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/addresses/sca-auto-addr-c73c52e9-1ae3-4fb3-88e7-cb3b2f7d46e1", - "consumerForwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4", - "consumerTargetProject": "${projectId}", - "gceOperation": "operation-1723599640989-61f9ad0560ea6-87cfaa60-3d91dd58", - "pscConnectionId": "92489118713380867", - "selectedSubnetwork": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "state": "ACTIVE" - }, - { - "consumerAddress": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/addresses/sca-auto-addr-1d2184d1-7c0a-430e-acc0-42074a6fbbbf", - "consumerForwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da", - "consumerTargetProject": "${projectId}", - "gceOperation": "operation-1723599641010-61f9ad05662ee-a6c6be75-ebc113a8", - "pscConnectionId": "92489118713380866", - "selectedSubnetwork": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "state": "ACTIVE" - } - ], - "serviceClass": "gcp-memorystore-redis", - "updateTime": "2024-04-01T12:34:56.123456Z" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "allowSubnetCidrRoutesOverlap": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "enableFlowLogs": false, - "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", - "id": "000000000000000000000", - "ipCidrRange": "10.128.0.0/20", - "kind": "compute#subnetwork", - "logConfig": { - "enable": false - }, - "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "privateIpGoogleAccess": false, - "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", - "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "stackType": "IPV4_ONLY" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", - "subnetworks": [ - "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] -} - ---- - GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} @@ -754,7 +614,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "create" }, @@ -762,12 +621,11 @@ X-Xss-Protection: 0 "response": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.Cluster", "authorizationMode": "AUTH_MODE_IAM_AUTH", - "clusterMode": "ENABLED", "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ { - "address": "10.128.0.2", + "address": "10.128.0.3", "port": 6379, "pscConfig": { "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" @@ -783,20 +641,25 @@ X-Xss-Protection: 0 "mode": "AOF" }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380866" + "pscConnectionId": "${pscConnectionID}" }, { "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380867" + "pscConnectionId": "${pscConnectionID}" } ], "redisConfigs": { @@ -834,12 +697,11 @@ X-Xss-Protection: 0 { "authorizationMode": 1, - "clusterMode": 1, "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ { - "address": "10.128.0.2", + "address": "10.128.0.3", "port": 6379, "pscConfig": { "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" @@ -855,20 +717,25 @@ X-Xss-Protection: 0 "mode": 3 }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380866" + "pscConnectionId": "${pscConnectionID}" }, { "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380867" + "pscConnectionId": "${pscConnectionID}" } ], "redisConfigs": { @@ -932,59 +799,21 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "update" }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", - "subnetworks": [ - "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] + "name": "v1/projects/${projectId}/locations/us-central1/operations/${operationID}" } --- -GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} +GET https://redis.googleapis.com/v1/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} +x-goog-request-params: name=v1%2Fprojects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} 200 OK Cache-Control: private @@ -1004,20 +833,18 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "update" }, - "name": "projects/${projectId}/locations/us-central1/operations/${operationID}", + "name": "v1/projects/${projectId}/locations/us-central1/operations/${operationID}", "response": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.Cluster", "authorizationMode": "AUTH_MODE_IAM_AUTH", - "clusterMode": "ENABLED", "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ { - "address": "10.128.0.2", + "address": "10.128.0.3", "port": 6379, "pscConfig": { "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" @@ -1033,20 +860,25 @@ X-Xss-Protection: 0 "mode": "AOF" }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380866" + "pscConnectionId": "${pscConnectionID}" }, { "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380867" + "pscConnectionId": "${pscConnectionID}" } ], "redisConfigs": { @@ -1084,12 +916,11 @@ X-Xss-Protection: 0 { "authorizationMode": 1, - "clusterMode": 1, "createTime": "2024-04-01T12:34:56.123456Z", "deletionProtectionEnabled": false, "discoveryEndpoints": [ { - "address": "10.128.0.2", + "address": "10.128.0.3", "port": 6379, "pscConfig": { "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" @@ -1105,20 +936,25 @@ X-Xss-Protection: 0 "mode": 3 }, "preciseSizeGb": 39, + "pscConfigs": [ + { + "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}" + } + ], "pscConnections": [ { "address": "10.128.0.2", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-f4ecb051-fc9e-4c67-b91d-8f9d0024a0da", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380866" + "pscConnectionId": "${pscConnectionID}" }, { "address": "10.128.0.3", - "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/sca-auto-fr-9166fe72-77ad-4360-96ac-f4a6a6f332b4", + "forwardingRule": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/forwardingRules/${forwardingRuleID}", "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", "projectId": "${projectId}", - "pscConnectionId": "92489118713380867" + "pscConnectionId": "${pscConnectionID}" } ], "redisConfigs": { @@ -1154,12 +990,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.redis.cluster.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "delete" }, @@ -1168,116 +1002,6 @@ X-Xss-Protection: 0 --- -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "allowSubnetCidrRoutesOverlap": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "enableFlowLogs": false, - "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", - "id": "000000000000000000000", - "ipCidrRange": "10.128.0.0/20", - "kind": "compute#subnetwork", - "logConfig": { - "enable": false - }, - "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "privateIpGoogleAccess": false, - "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", - "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "stackType": "IPV4_ONLY" -} - ---- - -GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false -User-Agent: kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "createTime": "2024-04-01T12:34:56.123456Z", - "description": "Service Connection Policy for redis", - "etag": "abcdef0123A=", - "infrastructure": "PSC", - "name": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", - "network": "projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "pscConfig": { - "subnetworks": [ - "projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}" - ] - }, - "serviceClass": "gcp-memorystore-redis", - "updateTime": "2024-04-01T12:34:56.123456Z" -} - ---- - -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/${subnetworkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "allowSubnetCidrRoutesOverlap": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "enableFlowLogs": false, - "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", - "id": "000000000000000000000", - "ipCidrRange": "10.128.0.0/20", - "kind": "compute#subnetwork", - "logConfig": { - "enable": false - }, - "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "privateIpGoogleAccess": false, - "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", - "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", - "stackType": "IPV4_ONLY" -} - ---- - GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID} Content-Type: application/json x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID} @@ -1300,7 +1024,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}", "verb": "delete" }, @@ -1312,56 +1035,6 @@ X-Xss-Protection: 0 --- -GET https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}?%24alt=json%3Benum-encoding%3Dint -Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Fclusters%2Frediscluster-${uniqueId} - -404 Not Found -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "error": { - "code": 404, - "message": "Resource 'projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}' was not found", - "status": "NOT_FOUND" - } -} - ---- - -DELETE https://redis.googleapis.com/v1/projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}?%24alt=json%3Benum-encoding%3Dint -Content-Type: application/json -x-goog-request-params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Fclusters%2Frediscluster-${uniqueId} - -404 Not Found -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "error": { - "code": 404, - "message": "Resource 'projects/${projectId}/locations/us-central1/clusters/rediscluster-${uniqueId}' was not found", - "status": "NOT_FOUND" - } -} - ---- - GET https://networkconnectivity.googleapis.com/v1/projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}?alt=json&prettyPrint=false User-Agent: kcc/controller-manager @@ -1409,12 +1082,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "done": false, "metadata": { "@type": "type.googleapis.com/google.cloud.networkconnectivity.v1.OperationMetadata", "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "delete" }, @@ -1444,7 +1115,6 @@ X-Xss-Protection: 0 "apiVersion": "v1", "createTime": "2024-04-01T12:34:56.123456Z", "endTime": "2024-04-01T12:34:56.123456Z", - "requestedCancellation": false, "target": "projects/${projectId}/locations/us-central1/serviceConnectionPolicies/scp-${uniqueId}", "verb": "delete" }, @@ -1472,11 +1142,10 @@ X-Frame-Options: SAMEORIGIN X-Xss-Protection: 0 { - "allowSubnetCidrRoutesOverlap": false, "creationTimestamp": "2024-04-01T12:34:56.123456Z", "enableFlowLogs": false, "fingerprint": "abcdef0123A=", - "gatewayAddress": "10.128.0.1", + "gatewayAddress": "10.2.0.1", "id": "000000000000000000000", "ipCidrRange": "10.128.0.0/20", "kind": "compute#subnetwork", @@ -1484,11 +1153,11 @@ X-Xss-Protection: 0 "enable": false }, "name": "computesubnetwork-${uniqueId}", - "network": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/computenetwork-${uniqueId}", + "network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "privateIpGoogleAccess": false, "privateIpv6GoogleAccess": "DISABLE_GOOGLE_ACCESS", "purpose": "PRIVATE", - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/subnetworks/computesubnetwork-${uniqueId}", "stackType": "IPV4_ONLY" } @@ -1517,7 +1186,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "delete", "progress": 0, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "RUNNING", @@ -1528,39 +1197,6 @@ X-Xss-Protection: 0 --- -GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json -Content-Type: application/json -User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager - -200 OK -Cache-Control: private -Content-Type: application/json; charset=UTF-8 -Server: ESF -Vary: Origin -Vary: X-Origin -Vary: Referer -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Xss-Protection: 0 - -{ - "autoCreateSubnetworks": false, - "creationTimestamp": "2024-04-01T12:34:56.123456Z", - "description": "Test network for the project", - "id": "000000000000000000000", - "kind": "compute#network", - "name": "computenetwork-${uniqueId}", - "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, - "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", - "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" -} - ---- - GET https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}?alt=json&prettyPrint=false User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager @@ -1583,7 +1219,7 @@ X-Xss-Protection: 0 "name": "${operationID}", "operationType": "delete", "progress": 100, - "region": "https://www.googleapis.com/compute/beta/projects/${projectId}/regions/us-central1", + "region": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1", "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/operations/${operationID}", "startTime": "2024-04-01T12:34:56.123456Z", "status": "DONE", @@ -1617,10 +1253,6 @@ X-Xss-Protection: 0 "kind": "compute#network", "name": "computenetwork-${uniqueId}", "networkFirewallPolicyEnforcementOrder": "AFTER_CLASSIC_FIREWALL", - "routingConfig": { - "bgpBestPathSelectionMode": "LEGACY", - "routingMode": "REGIONAL" - }, "selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/computenetwork-${uniqueId}", "selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" }