Debian Codegraph @

internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta",
4 "version": "1.15.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.osconfig.agentendpoint.v1beta",
9 "version": "v1beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "osconfig_v1beta_generated_AgentEndpointService_LookupEffectiveGuestPolicy_sync",
16 "title": "osconfig LookupEffectiveGuestPolicy Sample",
17 "description": "LookupEffectiveGuestPolicy lookup the effective guest policy that applies to a VM instance. This\nlookup merges all policies that are assigned to the instance ancestry.",
18 "file": "Client/LookupEffectiveGuestPolicy/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "LookupEffectiveGuestPolicy",
22 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.LookupEffectiveGuestPolicy",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "agentendpointpb.LookupEffectiveGuestPolicyRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*agentendpointpb.EffectiveGuestPolicy",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client"
41 },
42 "method": {
43 "shortName": "LookupEffectiveGuestPolicy",
44 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.LookupEffectiveGuestPolicy",
45 "service": {
46 "shortName": "AgentEndpointService",
47 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 53,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "osconfig_v1beta_generated_AgentEndpointService_RegisterAgent_sync",
62 "title": "osconfig RegisterAgent Sample",
63 "description": "RegisterAgent registers the agent running on the VM.",
64 "file": "Client/RegisterAgent/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "RegisterAgent",
68 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.RegisterAgent",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "agentendpointpb.RegisterAgentRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*agentendpointpb.RegisterAgentResponse",
84 "client": {
85 "shortName": "Client",
86 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client"
87 },
88 "method": {
89 "shortName": "RegisterAgent",
90 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.RegisterAgent",
91 "service": {
92 "shortName": "AgentEndpointService",
93 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService"
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": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskComplete_sync",
108 "title": "osconfig ReportTaskComplete Sample",
109 "description": "ReportTaskComplete signals that the task execution is complete and optionally returns the next\ntask.",
110 "file": "Client/ReportTaskComplete/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "ReportTaskComplete",
114 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.ReportTaskComplete",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "agentendpointpb.ReportTaskCompleteRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "*agentendpointpb.ReportTaskCompleteResponse",
130 "client": {
131 "shortName": "Client",
132 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client"
133 },
134 "method": {
135 "shortName": "ReportTaskComplete",
136 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskComplete",
137 "service": {
138 "shortName": "AgentEndpointService",
139 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 53,
148 "type": "FULL"
149 }
150 ]
151 },
152 {
153 "regionTag": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskProgress_sync",
154 "title": "osconfig ReportTaskProgress Sample",
155 "description": "ReportTaskProgress signals an intermediary progress checkpoint in task execution.",
156 "file": "Client/ReportTaskProgress/main.go",
157 "language": "GO",
158 "clientMethod": {
159 "shortName": "ReportTaskProgress",
160 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.ReportTaskProgress",
161 "parameters": [
162 {
163 "type": "context.Context",
164 "name": "ctx"
165 },
166 {
167 "type": "agentendpointpb.ReportTaskProgressRequest",
168 "name": "req"
169 },
170 {
171 "type": "...gax.CallOption",
172 "name": "opts"
173 }
174 ],
175 "resultType": "*agentendpointpb.ReportTaskProgressResponse",
176 "client": {
177 "shortName": "Client",
178 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client"
179 },
180 "method": {
181 "shortName": "ReportTaskProgress",
182 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskProgress",
183 "service": {
184 "shortName": "AgentEndpointService",
185 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService"
186 }
187 }
188 },
189 "origin": "API_DEFINITION",
190 "segments": [
191 {
192 "start": 18,
193 "end": 53,
194 "type": "FULL"
195 }
196 ]
197 },
198 {
199 "regionTag": "osconfig_v1beta_generated_AgentEndpointService_StartNextTask_sync",
200 "title": "osconfig StartNextTask Sample",
201 "description": "StartNextTask signals the start of a task execution and returns the task info.",
202 "file": "Client/StartNextTask/main.go",
203 "language": "GO",
204 "clientMethod": {
205 "shortName": "StartNextTask",
206 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.StartNextTask",
207 "parameters": [
208 {
209 "type": "context.Context",
210 "name": "ctx"
211 },
212 {
213 "type": "agentendpointpb.StartNextTaskRequest",
214 "name": "req"
215 },
216 {
217 "type": "...gax.CallOption",
218 "name": "opts"
219 }
220 ],
221 "resultType": "*agentendpointpb.StartNextTaskResponse",
222 "client": {
223 "shortName": "Client",
224 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client"
225 },
226 "method": {
227 "shortName": "StartNextTask",
228 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.StartNextTask",
229 "service": {
230 "shortName": "AgentEndpointService",
231 "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService"
232 }
233 }
234 },
235 "origin": "API_DEFINITION",
236 "segments": [
237 {
238 "start": 18,
239 "end": 53,
240 "type": "FULL"
241 }
242 ]
243 }
244 ]
245 }