Debian Codegraph @

internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/kms/inventory/apiv1",
4 "version": "1.23.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.kms.inventory.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "kmsinventory_v1_generated_KeyDashboardService_ListCryptoKeys_sync",
16 "title": "kmsinventory ListCryptoKeys Sample",
17 "description": "ListCryptoKeys returns cryptographic keys managed by Cloud KMS in a given Cloud project.\nNote that this data is sourced from snapshots, meaning it may not\ncompletely reflect the actual state of key metadata at call time.",
18 "file": "KeyDashboardClient/ListCryptoKeys/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "ListCryptoKeys",
22 "fullName": "google.cloud.kms.inventory.v1.KeyDashboardClient.ListCryptoKeys",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "inventorypb.ListCryptoKeysRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "CryptoKeyIterator",
38 "client": {
39 "shortName": "KeyDashboardClient",
40 "fullName": "google.cloud.kms.inventory.v1.KeyDashboardClient"
41 },
42 "method": {
43 "shortName": "ListCryptoKeys",
44 "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys",
45 "service": {
46 "shortName": "KeyDashboardService",
47 "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 66,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "kmsinventory_v1_generated_KeyTrackingService_GetProtectedResourcesSummary_sync",
62 "title": "kmsinventory GetProtectedResourcesSummary Sample",
63 "description": "GetProtectedResourcesSummary returns aggregate information about the resources protected by the given\nCloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey]. Only resources within\nthe same Cloud organization as the key will be returned. The project that\nholds the key must be part of an organization in order for this call to\nsucceed.",
64 "file": "KeyTrackingClient/GetProtectedResourcesSummary/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "GetProtectedResourcesSummary",
68 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient.GetProtectedResourcesSummary",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "inventorypb.GetProtectedResourcesSummaryRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*inventorypb.ProtectedResourcesSummary",
84 "client": {
85 "shortName": "KeyTrackingClient",
86 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient"
87 },
88 "method": {
89 "shortName": "GetProtectedResourcesSummary",
90 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.GetProtectedResourcesSummary",
91 "service": {
92 "shortName": "KeyTrackingService",
93 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService"
94 }
95 }
96 },
97 "origin": "API_DEFINITION",
98 "segments": [
99 {
100 "start": 18,
101 "end": 53,
102 "type": "FULL"
103 }
104 ]
105 },
106 {
107 "regionTag": "kmsinventory_v1_generated_KeyTrackingService_SearchProtectedResources_sync",
108 "title": "kmsinventory SearchProtectedResources Sample",
109 "description": "SearchProtectedResources returns metadata about the resources protected by the given Cloud KMS\n[CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud organization.",
110 "file": "KeyTrackingClient/SearchProtectedResources/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "SearchProtectedResources",
114 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient.SearchProtectedResources",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "inventorypb.SearchProtectedResourcesRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "ProtectedResourceIterator",
130 "client": {
131 "shortName": "KeyTrackingClient",
132 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient"
133 },
134 "method": {
135 "shortName": "SearchProtectedResources",
136 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources",
137 "service": {
138 "shortName": "KeyTrackingService",
139 "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 66,
148 "type": "FULL"
149 }
150 ]
151 }
152 ]
153 }