This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
/
additional_cai_resources.dump
54 lines (54 loc) · 17.4 KB
/
additional_cai_resources.dump
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Add additional resources to this file that are only supported when CAI is
# enabled. These resources are merged into mock_cai_resources.dump by the
# update_cai_dumps.py script. Any lines that start with a '#' are ignored.
#
# Bigquery Dataset with project id
{"name":"//bigquery.googleapis.com/projects/project3/datasets/bq_test_ds1","asset_type":"google.cloud.bigquery.Dataset", "resource":{"version":"v2","discovery_document_uri":"https://bigquery.googleapis.com/$discovery/rest","discovery_name":"Dataset","parent":"//cloudresourcemanager.googleapis.com/projects/1043","data":{"creationTime":"1540220016171","datasetReference":{"datasetId":"bq_test_ds1","projectId":"project3"},"location":"us","id":"project3:bq_test_ds1","kind":"bigquery#dataset","lastModifiedTime":"1540220016171"}}}
# Bigquery Dataset with project name
{"name":"//bigquery.googleapis.com/projects/1042/datasets/bq_test_ds","asset_type":"google.cloud.bigquery.Dataset", "resource":{"version":"v2","discovery_document_uri":"https://bigquery.googleapis.com/$discovery/rest","discovery_name":"Dataset","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTime":"1540220016171","datasetReference":{"datasetId":"bq_test_ds","projectId":"project2"},"location":"us","id":"project2:bq_test_ds","kind":"bigquery#dataset","lastModifiedTime":"1540220016171"}}}
# Compute Autoscalar (id 900x)
{"name":"//compute.googleapis.com/projects/project2/zones/us-central1-b/autoscalers/gae-default-20161128t212211","asset_type":"google.compute.Autoscaler","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"Autoscaler","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"autoscalingPolicy":{"coolDownPeriodSec":120,"cpuUtilization":{"utilizationTarget":0.5},"maxNumReplicas":20,"minNumReplicas":2},"creationTimestamp":"2016-11-28T21:27:35.916-08:00","id":"9001","name":"gae-default-20161128t212211","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/zones/us-central1-b/autoscalers/gae-default-20161128t212211","status":"ACTIVE","target":"https://www.googleapis.com/replicapool/v1beta1/projects/project2/zones/us-central1-b/pools/gae-default-20161128t212211","zone":"https://www.googleapis.com/compute/v1/projects/project2/zones/us-central1-b"}}}
# Compute BackendBucket (id 901x)
{"name":"//compute.googleapis.com/projects/project2/global/backendBuckets/test-bucket","asset_type":"google.compute.BackendBucket","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"BackendBucket","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"bucketName":"test-bucket.a.b","creationTimestamp":"2017-10-31T13:18:31.015-07:00","description":"","enableCdn":false,"id":"9011","name":"test-bucket","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/backendBuckets/test-bucket"}}}
# Compute HealthCheck (id 902x)
{"name":"//compute.googleapis.com/projects/project2/global/healthChecks/backend-service-health-check","asset_type":"google.compute.HealthCheck","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"HealthCheck","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"checkIntervalSec":5,"creationTimestamp":"2018-09-06T00:48:32.398-07:00","healthyThreshold":2,"id":"9021","name":"backend-service-health-check","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/healthChecks/backend-service-health-check","tcpHealthCheck":{"port":7781,"proxyHeader":"NONE","request":"","response":"primary"},"timeoutSec":5,"type":"TCP","unhealthyThreshold":2}}}
# Compute HttpHealthCheck (id 903x)
{"name":"//compute.googleapis.com/projects/project2/global/httpHealthChecks/lb-http-health-check","asset_type":"google.compute.HttpHealthCheck","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"HttpHealthCheck","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"checkIntervalSec":10,"creationTimestamp":"2017-03-11T17:31:45.410-08:00","description":"Basic HTTP health check to monitor LB instances","healthyThreshold":2,"host":"","id":"9031","name":"lb-http-health-check","port":80,"requestPath":"/","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/httpHealthChecks/lb-http-health-check","timeoutSec":10,"unhealthyThreshold":2}}}
# Compute HttpsHealthCheck (id 904x)
{"name":"//compute.googleapis.com/projects/project2/global/httpsHealthChecks/webserver-hcs","asset_type":"google.compute.HttpsHealthCheck","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"HttpsHealthCheck","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"checkIntervalSec":30,"creationTimestamp":"2018-09-03T02:46:10.767-07:00","description":"","healthyThreshold":1,"host":"","id":"9041","name":"webserver-hcs","port":8443,"requestPath":"/_ah/health","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/httpsHealthChecks/webserver-hcs","timeoutSec":5,"unhealthyThreshold":3}}}
# Compute License (id 905x)
{"name":"//compute.googleapis.com/projects/project2/global/licenses/my-os","asset_type":"google.compute.License","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"License","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"chargesUseFee":true,"creationTimestamp":"2016-02-09T14:08:14.000-08:00","description":"My OS","id":"9051","licenseCode":"11111","name":"my-os","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/licenses/my-os","transferable":true}}}
# Compute Router (id 916x)
{"name":"//compute.googleapis.com/projects/project2/regions/us-central1/routers/test-rtr","asset_type":"google.compute.Router","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"Router","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"bgp":{"advertiseMode":"CUSTOM","advertisedIpRange":[{"description":"","range":"10.0.0.0"}],"asn":65534},"bgpPeer":[{"advertiseMode":"DEFAULT","interfaceName":"if-test-bgp-1","ipAddress":"169.254.0.1","name":"web-test-bgp-1","peerAsn":65533,"peerIpAddress":"169.254.0.2"}],"creationTimestamp":"2018-06-27T11:51:20.309-07:00","description":"","id":"9161","interface":[{"ipRange":"169.254.0.1/30","linkedVpnTunnel":"https://www.googleapis.com/compute/v1/projects/project2/regions/us-central1/vpnTunnels/vpn-test-vpn-1","name":"if-test-bgp-1"}],"name":"test-rtr","network":"https://www.googleapis.com/compute/v1/projects/project2/global/networks/default","region":"https://www.googleapis.com/compute/v1/projects/project2/regions/us-central1","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/regions/us-central1/routers/test-rtr"}}}
# Compute SslCertificate (id 906x)
{"name":"//compute.googleapis.com/projects/project2/global/sslCertificates/iap-ssl","asset_type":"google.compute.SslCertificate","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"SslCertificate","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2017-03-30T17:09:52.529-07:00","id":"9061","name":"iap-ssl","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/sslCertificates/iap-ssl"}}}
# Compute TargetHttpProxy (id 907x)
{"name":"//compute.googleapis.com/projects/project2/global/targetHttpProxies/test-target-proxy","asset_type":"google.compute.TargetHttpProxy","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetHttpProxy","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2018-08-13T01:11:50.157-07:00","id":"9071","name":"test-target-proxy","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/targetHttpProxies/test-target-proxy","urlMap":"https://www.googleapis.com/compute/v1/projects/project2/global/urlMaps/test-um"}}}
# Compute TargetHttpsProxy (id 908x)
{"name":"//compute.googleapis.com/projects/project2/global/targetHttpsProxies/lb-www-frontend-target-proxy","asset_type":"google.compute.TargetHttpsProxy","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetHttpsProxy","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2018-06-12T16:32:46.772-07:00","id":"9081","name":"lb-www-frontend-target-proxy","quicOverride":"NONE","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/targetHttpsProxies/lb-www-frontend-target-proxy","sslCertificate":["https://www.googleapis.com/compute/v1/projects/project2/global/sslCertificates/iap-ssl"],"urlMap":"https://www.googleapis.com/compute/v1/projects/project2/global/urlMaps/test-um"}}}
# Compute TargetInstance (id 909x)
{"name":"//compute.googleapis.com/projects/project2/zones/us-west1-a/targetInstances/test-ti","asset_type":"google.compute.TargetInstance","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetInstance","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2018-08-15T07:19:41.304-07:00","description":"","id":"9091","instance":"https://www.googleapis.com/compute/v1/projects/project2/zones/us-west1-a/instances/instance3","name":"test-ti","natPolicy":"NO_NAT","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/zones/us-west1-a/targetInstances/test-ti","zone":"https://www.googleapis.com/compute/v1/projects/project2/zones/us-west1-a"}}}
# Compute TargetPool (id 910x)
{"name":"//compute.googleapis.com/projects/project2/regions/us-central1/targetPools/test-tp","asset_type":"google.compute.TargetPool","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetPool","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2015-02-05T14:28:05.470-08:00","id":"9101","name":"test-tp","region":"https://www.googleapis.com/compute/v1/projects/project2/regions/us-central1","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/regions/us-central1/targetPools/test-tp","sessionAffinity":"NONE"}}}
# Compute TargetSslProxy (id 911x)
{"name":"//compute.googleapis.com/projects/project2/global/targetSslProxies/test-ssl-proxy","asset_type":"google.compute.TargetSslProxy","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetSslProxy","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"backendService":"https://www.googleapis.com/compute/v1/projects/project2/global/backendServices/bs-2","creationTimestamp":"2017-05-31T12:12:54.796-07:00","id":"9111","name":"test-ssl-proxy","proxyHeader":"NONE","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/targetSslProxies/test-ssl-proxy","sslCertificate":["https://www.googleapis.com/compute/v1/projects/project2/global/sslCertificates/iap-ssl"]}}}
# Compute TargetTcpProxy (id 912x)
{"name":"//compute.googleapis.com/projects/project2/global/targetTcpProxies/project2-target-tcp-proxy","asset_type":"google.compute.TargetTcpProxy","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"TargetTcpProxy","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"backendService":"https://www.googleapis.com/compute/v1/projects/project2/global/backendServices/bs-2","creationTimestamp":"2018-05-28T21:34:07.875-07:00","id":"9121","name":"project2-target-tcp-proxy","proxyHeader":"NONE","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/targetTcpProxies/project2-target-tcp-proxy"}}}
# Compute UrlMap (id 913x)
{"name":"//compute.googleapis.com/projects/project2/global/urlMaps/test-um","asset_type":"google.compute.UrlMap","resource":{"version":"v1","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","discovery_name":"UrlMap","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTimestamp":"2018-08-13T01:11:46.104-07:00","defaultService":"https://www.googleapis.com/compute/v1/projects/project2/global/backendServices/test-bs","description":"","fingerprint":"=","id":"9131","name":"test-um","selfLink":"https://www.googleapis.com/compute/v1/projects/project2/global/urlMaps/test-um"}}}
# DNS ManagedZone (id 914x)
{"name":"//dns.googleapis.com/projects/1042/managedZones/9141","asset_type":"google.cloud.dns.ManagedZone","resource":{"version":"v1alpha2","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/dns/v1alpha2/rest","discovery_name":"ManagedZone","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"creationTime":"2017-10-19T20:33:50.317Z","description":"description","dnsName":"test.forseti.","id":"9141","name":"name","nameServers":["ns1.test.","ns2.test.","ns3.test.","ns4.test."]}}}
# DNS Policy (id 915x)
{"name":"//dns.googleapis.com/projects/1042/policies/9151","asset_type":"google.cloud.dns.Policy","resource":{"version":"v1alpha2","discovery_document_uri":"https://www.googleapis.com/discovery/v1/apis/dns/v1alpha2/rest","discovery_name":"Policy","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"description":"","enableInboundForwarding":true,"id":"9151","internetResolution":"YES","name":"test-policy","networks":[{"networkUrl":"https://www.googleapis.com/compute/v1/projects/project2/global/networks/default"}]}}}
# KMS CryptoKey
{"name":"//cloudkms.googleapis.com/projects/project2/locations/us/keyRings/test-kr/cryptoKeys/test-key","asset_type":"google.cloud.kms.CryptoKey","resource":{"version":"v1","discovery_document_uri":"https://cloudkms.googleapis.com/$discovery/rest","discovery_name":"CryptoKey","data":{"createTime":"2018-11-24T22:57:42.206650064Z","name":"projects/project2/locations/us/keyRings/test-kr/cryptoKeys/test-key","nextRotationTime":"2019-02-22T08:00:00Z","primary":{"algorithm":"GOOGLE_SYMMETRIC_ENCRYPTION","createTime":"2018-11-24T22:57:42.206650064Z","generateTime":"2018-11-24T22:57:42.206650064Z","name":"projects/project2/locations/us/keyRings/test-kr/cryptoKeys/test-key/cryptoKeyVersions/1","protectionLevel":"SOFTWARE","state":"ENABLED"},"purpose":"ENCRYPT_DECRYPT","rotationPeriod":"7776000s","versionTemplate":{"algorithm":"GOOGLE_SYMMETRIC_ENCRYPTION","protectionLevel":"SOFTWARE"}}}}
# KMS CryptoKeyVersion
{"name":"//cloudkms.googleapis.com/projects/project2/locations/us/keyRings/test-kr/cryptoKeys/test-key/cryptoKeyVersions/1","asset_type":"google.cloud.kms.CryptoKeyVersion","resource":{"version":"v1","discovery_document_uri":"https://cloudkms.googleapis.com/$discovery/rest","discovery_name":"CryptoKeyVersion","data":{"algorithm":"GOOGLE_SYMMETRIC_ENCRYPTION","createTime":"2018-11-24T22:57:42.206650064Z","generateTime":"2018-11-24T22:57:42.206650064Z","name":"projects/project2/locations/us/keyRings/test-kr/cryptoKeys/test-key/cryptoKeyVersions/1","protectionLevel":"SOFTWARE","state":"ENABLED"}}}
# KMS KeyRing
{"name":"//cloudkms.googleapis.com/projects/project2/locations/us/keyRings/test-kr","asset_type":"google.cloud.kms.KeyRing","resource":{"version":"v1","discovery_document_uri":"https://cloudkms.googleapis.com/$discovery/rest","discovery_name":"KeyRing","data":{"createTime":"2018-11-24T22:57:07.536176643Z","name":"projects/project2/locations/us/keyRings/test-kr"}}}
# PubSub Topic -- Use extra long name to ensure the DAO accepts long names.
{"name":"//pubsub.googleapis.com/projects/project2/topics/test-topic0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123","asset_type":"google.pubsub.Topic","resource":{"version":"v1","discovery_document_uri":"https://pubsub.googleapis.com/$discovery/rest","discovery_name":"Topic","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"name":"projects/project2/topics/test-topic0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123"}}}
# Spanner Database
{"name":"//spanner.googleapis.com/projects/project2/instances/test123/databases/test-db","asset_type":"google.spanner.Database","resource":{"version":"v1","discovery_document_uri":"https://spanner.googleapis.com/$discovery/rest","discovery_name":"Database","data":{"name":"projects/project2/instances/test123/databases/test-db","state":"READY"}}}
# Spanner Instance
{"name":"//spanner.googleapis.com/projects/project2/instances/test123","asset_type":"google.spanner.Instance","resource":{"version":"v1","discovery_document_uri":"https://spanner.googleapis.com/$discovery/rest","discovery_name":"Instance","parent":"//cloudresourcemanager.googleapis.com/projects/1042","data":{"config":"projects/project2/instanceConfigs/regional-us-east1","displayName":"Test123","name":"projects/project2/instances/test123","nodeCount":1,"state":"READY"}}}