Skip to content

Commit cc05fc3

Browse files
committed
chore: format snippet metadata
1 parent d5a18a4 commit cc05fc3

343 files changed

Lines changed: 336619 additions & 336619 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json

Lines changed: 238 additions & 238 deletions
Large diffs are not rendered by default.

internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json

Lines changed: 706 additions & 706 deletions
Large diffs are not rendered by default.
Lines changed: 108 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,199 +1,199 @@
11
{
22
"clientLibrary": {
3-
"name": "cloud.google.com/go/advisorynotifications/apiv1",
4-
"version": "1.5.6",
5-
"language": "GO",
63
"apis": [
74
{
85
"id": "google.cloud.advisorynotifications.v1",
96
"version": "v1"
107
}
11-
]
8+
],
9+
"language": "GO",
10+
"name": "cloud.google.com/go/advisorynotifications/apiv1",
11+
"version": "1.5.6"
1212
},
1313
"snippets": [
1414
{
15-
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetNotification_sync",
16-
"title": "advisorynotifications GetNotification Sample",
17-
"description": "GetNotification gets a notification.",
18-
"file": "Client/GetNotification/main.go",
19-
"language": "GO",
2015
"clientMethod": {
21-
"shortName": "GetNotification",
16+
"client": {
17+
"fullName": "google.cloud.advisorynotifications.v1.Client",
18+
"shortName": "Client"
19+
},
2220
"fullName": "google.cloud.advisorynotifications.v1.Client.GetNotification",
21+
"method": {
22+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification",
23+
"service": {
24+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService",
25+
"shortName": "AdvisoryNotificationsService"
26+
},
27+
"shortName": "GetNotification"
28+
},
2329
"parameters": [
2430
{
25-
"type": "context.Context",
26-
"name": "ctx"
31+
"name": "ctx",
32+
"type": "context.Context"
2733
},
2834
{
29-
"type": "advisorynotificationspb.GetNotificationRequest",
30-
"name": "req"
35+
"name": "req",
36+
"type": "advisorynotificationspb.GetNotificationRequest"
3137
},
3238
{
33-
"type": "...gax.CallOption",
34-
"name": "opts"
39+
"name": "opts",
40+
"type": "...gax.CallOption"
3541
}
3642
],
3743
"resultType": "*advisorynotificationspb.Notification",
38-
"client": {
39-
"shortName": "Client",
40-
"fullName": "google.cloud.advisorynotifications.v1.Client"
41-
},
42-
"method": {
43-
"shortName": "GetNotification",
44-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification",
45-
"service": {
46-
"shortName": "AdvisoryNotificationsService",
47-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
48-
}
49-
}
44+
"shortName": "GetNotification"
5045
},
46+
"description": "GetNotification gets a notification.",
47+
"file": "Client/GetNotification/main.go",
48+
"language": "GO",
5149
"origin": "API_DEFINITION",
50+
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetNotification_sync",
5251
"segments": [
5352
{
54-
"start": 18,
5553
"end": 53,
54+
"start": 18,
5655
"type": "FULL"
5756
}
58-
]
57+
],
58+
"title": "advisorynotifications GetNotification Sample"
5959
},
6060
{
61-
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetSettings_sync",
62-
"title": "advisorynotifications GetSettings Sample",
63-
"description": "GetSettings get notification settings.",
64-
"file": "Client/GetSettings/main.go",
65-
"language": "GO",
6661
"clientMethod": {
67-
"shortName": "GetSettings",
62+
"client": {
63+
"fullName": "google.cloud.advisorynotifications.v1.Client",
64+
"shortName": "Client"
65+
},
6866
"fullName": "google.cloud.advisorynotifications.v1.Client.GetSettings",
67+
"method": {
68+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings",
69+
"service": {
70+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService",
71+
"shortName": "AdvisoryNotificationsService"
72+
},
73+
"shortName": "GetSettings"
74+
},
6975
"parameters": [
7076
{
71-
"type": "context.Context",
72-
"name": "ctx"
77+
"name": "ctx",
78+
"type": "context.Context"
7379
},
7480
{
75-
"type": "advisorynotificationspb.GetSettingsRequest",
76-
"name": "req"
81+
"name": "req",
82+
"type": "advisorynotificationspb.GetSettingsRequest"
7783
},
7884
{
79-
"type": "...gax.CallOption",
80-
"name": "opts"
85+
"name": "opts",
86+
"type": "...gax.CallOption"
8187
}
8288
],
8389
"resultType": "*advisorynotificationspb.Settings",
84-
"client": {
85-
"shortName": "Client",
86-
"fullName": "google.cloud.advisorynotifications.v1.Client"
87-
},
88-
"method": {
89-
"shortName": "GetSettings",
90-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings",
91-
"service": {
92-
"shortName": "AdvisoryNotificationsService",
93-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
94-
}
95-
}
90+
"shortName": "GetSettings"
9691
},
92+
"description": "GetSettings get notification settings.",
93+
"file": "Client/GetSettings/main.go",
94+
"language": "GO",
9795
"origin": "API_DEFINITION",
96+
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetSettings_sync",
9897
"segments": [
9998
{
100-
"start": 18,
10199
"end": 53,
100+
"start": 18,
102101
"type": "FULL"
103102
}
104-
]
103+
],
104+
"title": "advisorynotifications GetSettings Sample"
105105
},
106106
{
107-
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_ListNotifications_sync",
108-
"title": "advisorynotifications ListNotifications Sample",
109-
"description": "ListNotifications lists notifications under a given parent.",
110-
"file": "Client/ListNotifications/main.go",
111-
"language": "GO",
112107
"clientMethod": {
113-
"shortName": "ListNotifications",
108+
"client": {
109+
"fullName": "google.cloud.advisorynotifications.v1.Client",
110+
"shortName": "Client"
111+
},
114112
"fullName": "google.cloud.advisorynotifications.v1.Client.ListNotifications",
113+
"method": {
114+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications",
115+
"service": {
116+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService",
117+
"shortName": "AdvisoryNotificationsService"
118+
},
119+
"shortName": "ListNotifications"
120+
},
115121
"parameters": [
116122
{
117-
"type": "context.Context",
118-
"name": "ctx"
123+
"name": "ctx",
124+
"type": "context.Context"
119125
},
120126
{
121-
"type": "advisorynotificationspb.ListNotificationsRequest",
122-
"name": "req"
127+
"name": "req",
128+
"type": "advisorynotificationspb.ListNotificationsRequest"
123129
},
124130
{
125-
"type": "...gax.CallOption",
126-
"name": "opts"
131+
"name": "opts",
132+
"type": "...gax.CallOption"
127133
}
128134
],
129135
"resultType": "NotificationIterator",
130-
"client": {
131-
"shortName": "Client",
132-
"fullName": "google.cloud.advisorynotifications.v1.Client"
133-
},
134-
"method": {
135-
"shortName": "ListNotifications",
136-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications",
137-
"service": {
138-
"shortName": "AdvisoryNotificationsService",
139-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
140-
}
141-
}
136+
"shortName": "ListNotifications"
142137
},
138+
"description": "ListNotifications lists notifications under a given parent.",
139+
"file": "Client/ListNotifications/main.go",
140+
"language": "GO",
143141
"origin": "API_DEFINITION",
142+
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_ListNotifications_sync",
144143
"segments": [
145144
{
146-
"start": 18,
147145
"end": 66,
146+
"start": 18,
148147
"type": "FULL"
149148
}
150-
]
149+
],
150+
"title": "advisorynotifications ListNotifications Sample"
151151
},
152152
{
153-
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_UpdateSettings_sync",
154-
"title": "advisorynotifications UpdateSettings Sample",
155-
"description": "UpdateSettings update notification settings.",
156-
"file": "Client/UpdateSettings/main.go",
157-
"language": "GO",
158153
"clientMethod": {
159-
"shortName": "UpdateSettings",
154+
"client": {
155+
"fullName": "google.cloud.advisorynotifications.v1.Client",
156+
"shortName": "Client"
157+
},
160158
"fullName": "google.cloud.advisorynotifications.v1.Client.UpdateSettings",
159+
"method": {
160+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.UpdateSettings",
161+
"service": {
162+
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService",
163+
"shortName": "AdvisoryNotificationsService"
164+
},
165+
"shortName": "UpdateSettings"
166+
},
161167
"parameters": [
162168
{
163-
"type": "context.Context",
164-
"name": "ctx"
169+
"name": "ctx",
170+
"type": "context.Context"
165171
},
166172
{
167-
"type": "advisorynotificationspb.UpdateSettingsRequest",
168-
"name": "req"
173+
"name": "req",
174+
"type": "advisorynotificationspb.UpdateSettingsRequest"
169175
},
170176
{
171-
"type": "...gax.CallOption",
172-
"name": "opts"
177+
"name": "opts",
178+
"type": "...gax.CallOption"
173179
}
174180
],
175181
"resultType": "*advisorynotificationspb.Settings",
176-
"client": {
177-
"shortName": "Client",
178-
"fullName": "google.cloud.advisorynotifications.v1.Client"
179-
},
180-
"method": {
181-
"shortName": "UpdateSettings",
182-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.UpdateSettings",
183-
"service": {
184-
"shortName": "AdvisoryNotificationsService",
185-
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
186-
}
187-
}
182+
"shortName": "UpdateSettings"
188183
},
184+
"description": "UpdateSettings update notification settings.",
185+
"file": "Client/UpdateSettings/main.go",
186+
"language": "GO",
189187
"origin": "API_DEFINITION",
188+
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_UpdateSettings_sync",
190189
"segments": [
191190
{
192-
"start": 18,
193191
"end": 53,
192+
"start": 18,
194193
"type": "FULL"
195194
}
196-
]
195+
],
196+
"title": "advisorynotifications UpdateSettings Sample"
197197
}
198198
]
199199
}

0 commit comments

Comments
 (0)