-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
snippet_metadata.google.cloud.advisorynotifications.v1.json
107 lines (107 loc) · 3.26 KB
/
snippet_metadata.google.cloud.advisorynotifications.v1.json
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"clientLibrary": {
"name": "cloud.google.com/go/advisorynotifications/apiv1",
"version": "0.3.1",
"language": "GO",
"apis": [
{
"id": "google.cloud.advisorynotifications.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetNotification_sync",
"title": "advisorynotifications GetNotification Sample",
"description": "GetNotification gets a notification.",
"file": "Client/GetNotification/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetNotification",
"fullName": "google.cloud.advisorynotifications.v1.Client.GetNotification",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "advisorynotificationspb.GetNotificationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*advisorynotificationspb.Notification",
"client": {
"shortName": "Client",
"fullName": "google.cloud.advisorynotifications.v1.Client"
},
"method": {
"shortName": "GetNotification",
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification",
"service": {
"shortName": "AdvisoryNotificationsService",
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_ListNotifications_sync",
"title": "advisorynotifications ListNotifications Sample",
"description": "ListNotifications lists notifications under a given parent.",
"file": "Client/ListNotifications/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNotifications",
"fullName": "google.cloud.advisorynotifications.v1.Client.ListNotifications",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "advisorynotificationspb.ListNotificationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "NotificationIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.advisorynotifications.v1.Client"
},
"method": {
"shortName": "ListNotifications",
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications",
"service": {
"shortName": "AdvisoryNotificationsService",
"fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
}
]
}