| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/asset/apiv1p5beta1", |
| 4 |
"version": "1.21.1", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.asset.v1p5beta1", |
| 9 |
"version": "v1p5beta1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_sync", |
| 16 |
"title": "cloudasset ListAssets Sample", |
| 17 |
"description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.", |
| 18 |
"file": "Client/ListAssets/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "ListAssets", |
| 22 |
"fullName": "google.cloud.asset.v1p5beta1.Client.ListAssets", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "assetpb.ListAssetsRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "AssetIterator", |
| 38 |
"client": { |
| 39 |
"shortName": "Client", |
| 40 |
"fullName": "google.cloud.asset.v1p5beta1.Client" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "ListAssets", |
| 44 |
"fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", |
| 45 |
"service": { |
| 46 |
"shortName": "AssetService", |
| 47 |
"fullName": "google.cloud.asset.v1p5beta1.AssetService" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 66, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
} |
| 60 |
] |
| 61 |
} |