File tree Expand file tree Collapse file tree
packages/google-cloud-asset Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515'use strict' ;
1616
17- const gapicConfig = require ( './asset_service_client_config' ) ;
17+ const gapicConfig = require ( './asset_service_client_config.json ' ) ;
1818const gax = require ( 'google-gax' ) ;
1919const merge = require ( 'lodash.merge' ) ;
2020const path = require ( 'path' ) ;
@@ -328,6 +328,18 @@ class AssetServiceClient {
328328 * .catch(err => {
329329 * console.error(err);
330330 * });
331+ *
332+ * const formattedParent = client.projectPath('[PROJECT]');
333+ * const outputConfig = {};
334+ * const request = {
335+ * parent: formattedParent,
336+ * outputConfig: outputConfig,
337+ * };
338+ *
339+ * // Handle the operation using the await pattern.
340+ * const [operation] = await client.exportAssets(request);
341+ *
342+ * const [response] = await operation.promise();
331343 */
332344 exportAssets ( request , options , callback ) {
333345 if ( options instanceof Function && callback === undefined ) {
Original file line number Diff line number Diff line change 11{
2- "updateTime": "2019-03-08T00:45:38.648657Z ",
2+ "updateTime": "2019-03-12T11:07:21.227219Z ",
33 "sources": [
44 {
55 "generator": {
66 "name": "artman",
7- "version": "0.16.15",
8- "dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2"
7+ "version": "0.16.16",
8+ "dockerImage": "googleapis/artman@sha256:30babbfce7f05a62b1892c63c575aa2c8c502eb4bcc8f3bb90ec83e955d5d319"
9+ }
10+ },
11+ {
12+ "git": {
13+ "name": "googleapis",
14+ "remote": "https://github.com/googleapis/googleapis.git",
15+ "sha": "abd1c9a99c5cd7179d8e5e0c8d4c8e761054cc78",
16+ "internalRef": "237945492"
17+ }
18+ },
19+ {
20+ "template": {
21+ "name": "node_library",
22+ "origin": "synthtool.gcp",
23+ "version": "2019.2.26"
24+ }
25+ }
26+ ],
27+ "destinations": [
28+ {
29+ "client": {
30+ "source": "googleapis",
31+ "apiName": "asset",
32+ "apiVersion": "v1beta1",
33+ "language": "nodejs",
34+ "generator": "gapic",
35+ "config": "google/cloud/asset/artman_cloudasset_v1beta1.yaml"
936 }
1037 }
1138 ]
You can’t perform that action at this time.
0 commit comments