googleapis190.0.01.3 MB
Shown as plain text from the published tarball, after apm checked it against the version's checksum. Nothing in it runs on this page.
}
const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['resource'],
pathParams: ['resource'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
import(paramsOrCallback, optionsOrCallback, callback) {
let params = (paramsOrCallback ||
{});
let options = (optionsOrCallback || {});
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {};
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
This file is 1.3 MB, over the 1.0 MB the full view shows, so apm shows the lines around the cited one. Lines longer than 4 kB are cut.