forked from googleapis/google-cloud-go
/
snippet_metadata.google.cloud.asset.v1p5beta1.json
61 lines (61 loc) · 1.61 KB
/
snippet_metadata.google.cloud.asset.v1p5beta1.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
{
"clientLibrary": {
"name": "cloud.google.com/go/asset/apiv1p5beta1",
"version": "1.5.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.asset.v1p5beta1",
"version": "v1p5beta1"
}
]
},
"snippets": [
{
"regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_sync",
"title": "cloudasset ListAssets Sample",
"description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.",
"file": "Client/ListAssets/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAssets",
"fullName": "google.cloud.asset.v1p5beta1.Client.ListAssets",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "assetpb.ListAssetsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "AssetIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.asset.v1p5beta1.Client"
},
"method": {
"shortName": "ListAssets",
"fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets",
"service": {
"shortName": "AssetService",
"fullName": "google.cloud.asset.v1p5beta1.AssetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 54,
"type": "FULL"
}
]
}
]
}