Socket
Socket
Sign inDemoInstall

googleapis

Package Overview
Dependencies
Maintainers
0
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis - npm Package Compare versions

Comparing version 140.0.1 to 142.0.0

build/src/apis/adsenseplatform/index.d.ts

2

build/src/apis/addressvalidation/v1.d.ts

@@ -346,3 +346,3 @@ /// <reference types="node" />

/**
* Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present by not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided.
* Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided.
*/

@@ -349,0 +349,0 @@ dpvEnhancedDeliveryCode?: string | null;

@@ -556,2 +556,34 @@ "use strict";

}
switchover(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://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:switchover').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -558,0 +590,0 @@ alloydb_v1.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters;

@@ -556,2 +556,66 @@ "use strict";

}
switchover(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://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+name}:switchover').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
upgrade(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://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+name}:upgrade').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -558,0 +622,0 @@ alloydb_v1alpha.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters;

@@ -556,2 +556,34 @@ "use strict";

}
switchover(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://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/{+name}:switchover').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -558,0 +590,0 @@ alloydb_v1beta.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters;

@@ -155,3 +155,3 @@ /// <reference types="node" />

/**
* The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.
* The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](https://cloud.google.com/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.
*/

@@ -158,0 +158,0 @@ service?: string | null;

@@ -561,2 +561,6 @@ /// <reference types="node" />

/**
* Optional. Allow partner to view support case details for an AXT log
*/
accessTransparencyLogsSupportCaseViewer?: boolean | null;
/**
* Optional. Allow partner to view violation alerts.

@@ -563,0 +567,0 @@ */

@@ -233,2 +233,35 @@ "use strict";

}
enableComplianceUpdates(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://assuredworkloads.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}:enableComplianceUpdates').replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
enableResourceMonitoring(paramsOrCallback, optionsOrCallback, callback) {

@@ -235,0 +268,0 @@ let params = (paramsOrCallback ||

/*! THIS FILE IS AUTO-GENERATED */
import { AuthPlus } from 'googleapis-common';
import { authorizedbuyersmarketplace_v1 } from './v1';
import { authorizedbuyersmarketplace_v1alpha } from './v1alpha';
export declare const VERSIONS: {
v1: typeof authorizedbuyersmarketplace_v1.Authorizedbuyersmarketplace;
v1alpha: typeof authorizedbuyersmarketplace_v1alpha.Authorizedbuyersmarketplace;
};
export declare function authorizedbuyersmarketplace(version: 'v1'): authorizedbuyersmarketplace_v1.Authorizedbuyersmarketplace;
export declare function authorizedbuyersmarketplace(options: authorizedbuyersmarketplace_v1.Options): authorizedbuyersmarketplace_v1.Authorizedbuyersmarketplace;
export declare function authorizedbuyersmarketplace(version: 'v1alpha'): authorizedbuyersmarketplace_v1alpha.Authorizedbuyersmarketplace;
export declare function authorizedbuyersmarketplace(options: authorizedbuyersmarketplace_v1alpha.Options): authorizedbuyersmarketplace_v1alpha.Authorizedbuyersmarketplace;
declare const auth: AuthPlus;
export { auth };
export { authorizedbuyersmarketplace_v1 };
export { authorizedbuyersmarketplace_v1alpha };
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';

@@ -15,3 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthPlus = exports.authorizedbuyersmarketplace_v1 = exports.auth = exports.authorizedbuyersmarketplace = exports.VERSIONS = void 0;
exports.AuthPlus = exports.authorizedbuyersmarketplace_v1alpha = exports.authorizedbuyersmarketplace_v1 = exports.auth = exports.authorizedbuyersmarketplace = exports.VERSIONS = void 0;
/*! THIS FILE IS AUTO-GENERATED */

@@ -21,4 +21,7 @@ const googleapis_common_1 = require("googleapis-common");

Object.defineProperty(exports, "authorizedbuyersmarketplace_v1", { enumerable: true, get: function () { return v1_1.authorizedbuyersmarketplace_v1; } });
const v1alpha_1 = require("./v1alpha");
Object.defineProperty(exports, "authorizedbuyersmarketplace_v1alpha", { enumerable: true, get: function () { return v1alpha_1.authorizedbuyersmarketplace_v1alpha; } });
exports.VERSIONS = {
v1: v1_1.authorizedbuyersmarketplace_v1.Authorizedbuyersmarketplace,
v1alpha: v1alpha_1.authorizedbuyersmarketplace_v1alpha.Authorizedbuyersmarketplace,
};

@@ -25,0 +28,0 @@ function authorizedbuyersmarketplace(versionOrOptions) {

@@ -55,2 +55,6 @@ "use strict";

this.context = context;
this.backupPlanAssociations =
new Resource$Projects$Locations$Backupplanassociations(this.context);
this.backupPlans = new Resource$Projects$Locations$Backupplans(this.context);
this.backupVaults = new Resource$Projects$Locations$Backupvaults(this.context);
this.managementServers =

@@ -126,2 +130,1017 @@ new Resource$Projects$Locations$Managementservers(this.context);

backupdr_v1.Resource$Projects$Locations = Resource$Projects$Locations;
class Resource$Projects$Locations$Backupplanassociations {
constructor(context) {
this.context = context;
}
create(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupPlanAssociations').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupPlanAssociations').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
triggerBackup(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:triggerBackup').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
backupdr_v1.Resource$Projects$Locations$Backupplanassociations = Resource$Projects$Locations$Backupplanassociations;
class Resource$Projects$Locations$Backupplans {
constructor(context) {
this.context = context;
}
create(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupPlans').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupPlans').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
backupdr_v1.Resource$Projects$Locations$Backupplans = Resource$Projects$Locations$Backupplans;
class Resource$Projects$Locations$Backupvaults {
constructor(context) {
this.context = context;
this.dataSources =
new Resource$Projects$Locations$Backupvaults$Datasources(this.context);
}
create(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupVaults').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
fetchUsable(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupVaults:fetchUsable').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backupVaults').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
patch(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
testIamPermissions(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:testIamPermissions').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);
}
}
}
backupdr_v1.Resource$Projects$Locations$Backupvaults = Resource$Projects$Locations$Backupvaults;
class Resource$Projects$Locations$Backupvaults$Datasources {
constructor(context) {
this.context = context;
this.backups =
new Resource$Projects$Locations$Backupvaults$Datasources$Backups(this.context);
}
abandonBackup(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+dataSource}:abandonBackup').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['dataSource'],
pathParams: ['dataSource'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
fetchAccessToken(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:fetchAccessToken').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
finalizeBackup(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+dataSource}:finalizeBackup').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['dataSource'],
pathParams: ['dataSource'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
initiateBackup(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+dataSource}:initiateBackup').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['dataSource'],
pathParams: ['dataSource'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/dataSources').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
patch(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
remove(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:remove').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
setInternalStatus(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+dataSource}:setInternalStatus').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['dataSource'],
pathParams: ['dataSource'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
backupdr_v1.Resource$Projects$Locations$Backupvaults$Datasources = Resource$Projects$Locations$Backupvaults$Datasources;
class Resource$Projects$Locations$Backupvaults$Datasources$Backups {
constructor(context) {
this.context = context;
}
delete(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/backups').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
patch(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
restore(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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:restore').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
backupdr_v1.Resource$Projects$Locations$Backupvaults$Datasources$Backups = Resource$Projects$Locations$Backupvaults$Datasources$Backups;
class Resource$Projects$Locations$Managementservers {

@@ -128,0 +1147,0 @@ constructor(context) {

@@ -293,3 +293,3 @@ /// <reference types="node" />

/**
* Optional. The Cloud KMS key that is used for encryption. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
* Optional. The Cloud KMS key that is used for credentials encryption. If omitted, internal Google owned encryption keys are used. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
*/

@@ -319,3 +319,3 @@ kmsKeyName?: string | null;

/**
* Optional. Data asset.
* Data asset.
*/

@@ -345,3 +345,3 @@ asset?: Schema$ConnectorConfigurationAsset;

/**
* Optional. Name of the database.
* Name of the database.
*/

@@ -359,2 +359,6 @@ database?: string | null;

/**
* Output only. Google-managed service account associated with this connection, e.g., `service-{project_number\}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs using this connection will act as `service_account` identity while connecting to the datasource.
*/
serviceAccount?: string | null;
/**
* Username/password authentication.

@@ -361,0 +365,0 @@ */

@@ -425,2 +425,6 @@ /// <reference types="node" />

/**
* Optional. If true, the data policy will be deleted even when it is referenced by one or more table columns.
*/
force?: boolean;
/**
* Required. Resource name of the data policy to delete. Format is `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`.

@@ -466,2 +470,6 @@ */

/**
* Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored.
*/
allowMissing?: boolean;
/**
* Output only. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`.

@@ -468,0 +476,0 @@ */

@@ -266,2 +266,35 @@ "use strict";

}
patch(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://certificatemanager.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -268,0 +301,0 @@ certificatemanager_v1.Resource$Projects$Locations$Certificateissuanceconfigs = Resource$Projects$Locations$Certificateissuanceconfigs;

@@ -141,3 +141,3 @@ "use strict";

params,
requiredParams: ['address'],
requiredParams: [],
pathParams: [],

@@ -144,0 +144,0 @@ context: this.context,

@@ -143,11 +143,11 @@ /// <reference types="node" />

/**
* Container for customer onboarding steps
* Output only. Container for customer onboarding steps
*/
customerOnboardingState?: Schema$CustomerOnboardingState;
/**
* The customer organization's display name. E.g. "google.com".
* Optional. The customer organization's display name. E.g. "Google".
*/
displayName?: string | null;
/**
* Indicates whether a customer is fully onboarded
* Output only. Indicates whether a customer is fully onboarded
*/

@@ -753,3 +753,3 @@ isOnboarded?: boolean | null;

/**
* Lists access requests associated with a workload
* Deprecated: Only returns access approval requests directly associated with an assured workload folder.
*

@@ -756,0 +756,0 @@ * @param params - Parameters for request

@@ -143,11 +143,11 @@ /// <reference types="node" />

/**
* Container for customer onboarding steps
* Output only. Container for customer onboarding steps
*/
customerOnboardingState?: Schema$CustomerOnboardingState;
/**
* The customer organization's display name. E.g. "google.com".
* Optional. The customer organization's display name. E.g. "Google".
*/
displayName?: string | null;
/**
* Indicates whether a customer is fully onboarded
* Output only. Indicates whether a customer is fully onboarded
*/

@@ -753,3 +753,3 @@ isOnboarded?: boolean | null;

/**
* Lists access requests associated with a workload
* Deprecated: Only returns access approval requests directly associated with an assured workload folder.
*

@@ -756,0 +756,0 @@ * @param params - Parameters for request

@@ -130,3 +130,3 @@ /// <reference types="node" />

/**
* The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).
* The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/

@@ -260,3 +260,3 @@ name?: string | null;

/**
* Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
* Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`](https://pkg.go.dev/runtime/debug#Stack).
*/

@@ -352,2 +352,3 @@ message?: string | null;

groupStats: Resource$Projects$Groupstats;
locations: Resource$Projects$Locations;
constructor(context: APIRequestContext);

@@ -371,3 +372,3 @@ /**

/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/

@@ -394,3 +395,3 @@ projectName?: string;

/**
* Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName\}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and can analyze log entries when all of the following are true: * The log entries are stored in a log bucket in the `global` location. * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.
* Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName\}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a service built on Cloud Logging and can analyze log entries when all of the following are true: * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.
*

@@ -423,3 +424,3 @@ * @param params - Parameters for request

/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/

@@ -488,3 +489,3 @@ projectName?: string;

/**
* Required. The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).
* Required. The group resource name. Written as either `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/

@@ -495,3 +496,3 @@ groupName?: string;

/**
* The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).
* The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/

@@ -548,3 +549,3 @@ name?: string;

/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID\}/locations/{location\}` where `{location\}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.
*/

@@ -573,3 +574,198 @@ projectName?: string;

}
export class Resource$Projects$Locations {
context: APIRequestContext;
events: Resource$Projects$Locations$Events;
groups: Resource$Projects$Locations$Groups;
groupStats: Resource$Projects$Locations$Groupstats;
constructor(context: APIRequestContext);
/**
* Deletes all error events of a given project.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
deleteEvents(params: Params$Resource$Projects$Locations$Deleteevents, options: StreamMethodOptions): GaxiosPromise<Readable>;
deleteEvents(params?: Params$Resource$Projects$Locations$Deleteevents, options?: MethodOptions): GaxiosPromise<Schema$DeleteEventsResponse>;
deleteEvents(params: Params$Resource$Projects$Locations$Deleteevents, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
deleteEvents(params: Params$Resource$Projects$Locations$Deleteevents, options: MethodOptions | BodyResponseCallback<Schema$DeleteEventsResponse>, callback: BodyResponseCallback<Schema$DeleteEventsResponse>): void;
deleteEvents(params: Params$Resource$Projects$Locations$Deleteevents, callback: BodyResponseCallback<Schema$DeleteEventsResponse>): void;
deleteEvents(callback: BodyResponseCallback<Schema$DeleteEventsResponse>): void;
}
export interface Params$Resource$Projects$Locations$Deleteevents extends StandardParameters {
/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/
projectName?: string;
}
export class Resource$Projects$Locations$Events {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Lists the specified events.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
list(params: Params$Resource$Projects$Locations$Events$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
list(params?: Params$Resource$Projects$Locations$Events$List, options?: MethodOptions): GaxiosPromise<Schema$ListEventsResponse>;
list(params: Params$Resource$Projects$Locations$Events$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
list(params: Params$Resource$Projects$Locations$Events$List, options: MethodOptions | BodyResponseCallback<Schema$ListEventsResponse>, callback: BodyResponseCallback<Schema$ListEventsResponse>): void;
list(params: Params$Resource$Projects$Locations$Events$List, callback: BodyResponseCallback<Schema$ListEventsResponse>): void;
list(callback: BodyResponseCallback<Schema$ListEventsResponse>): void;
}
export interface Params$Resource$Projects$Locations$Events$List extends StandardParameters {
/**
* Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).
*/
groupId?: string;
/**
* Optional. The maximum number of results to return per response.
*/
pageSize?: number;
/**
* Optional. A `next_page_token` provided by a previous response.
*/
pageToken?: string;
/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/
projectName?: string;
/**
* Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*/
'serviceFilter.resourceType'?: string;
/**
* Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*/
'serviceFilter.service'?: string;
/**
* Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*/
'serviceFilter.version'?: string;
/**
* Restricts the query to the specified time range.
*/
'timeRange.period'?: string;
}
export class Resource$Projects$Locations$Groups {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Get the specified group.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
get(params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
get(params?: Params$Resource$Projects$Locations$Groups$Get, options?: MethodOptions): GaxiosPromise<Schema$ErrorGroup>;
get(params: Params$Resource$Projects$Locations$Groups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
get(params: Params$Resource$Projects$Locations$Groups$Get, options: MethodOptions | BodyResponseCallback<Schema$ErrorGroup>, callback: BodyResponseCallback<Schema$ErrorGroup>): void;
get(params: Params$Resource$Projects$Locations$Groups$Get, callback: BodyResponseCallback<Schema$ErrorGroup>): void;
get(callback: BodyResponseCallback<Schema$ErrorGroup>): void;
/**
* Replace the data for the specified group. Fails if the group does not exist.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
update(params: Params$Resource$Projects$Locations$Groups$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
update(params?: Params$Resource$Projects$Locations$Groups$Update, options?: MethodOptions): GaxiosPromise<Schema$ErrorGroup>;
update(params: Params$Resource$Projects$Locations$Groups$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
update(params: Params$Resource$Projects$Locations$Groups$Update, options: MethodOptions | BodyResponseCallback<Schema$ErrorGroup>, callback: BodyResponseCallback<Schema$ErrorGroup>): void;
update(params: Params$Resource$Projects$Locations$Groups$Update, callback: BodyResponseCallback<Schema$ErrorGroup>): void;
update(callback: BodyResponseCallback<Schema$ErrorGroup>): void;
}
export interface Params$Resource$Projects$Locations$Groups$Get extends StandardParameters {
/**
* Required. The group resource name. Written as either `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/
groupName?: string;
}
export interface Params$Resource$Projects$Locations$Groups$Update extends StandardParameters {
/**
* The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.
*/
name?: string;
/**
* Request body metadata
*/
requestBody?: Schema$ErrorGroup;
}
export class Resource$Projects$Locations$Groupstats {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Lists the specified groups.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
list(params: Params$Resource$Projects$Locations$Groupstats$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
list(params?: Params$Resource$Projects$Locations$Groupstats$List, options?: MethodOptions): GaxiosPromise<Schema$ListGroupStatsResponse>;
list(params: Params$Resource$Projects$Locations$Groupstats$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
list(params: Params$Resource$Projects$Locations$Groupstats$List, options: MethodOptions | BodyResponseCallback<Schema$ListGroupStatsResponse>, callback: BodyResponseCallback<Schema$ListGroupStatsResponse>): void;
list(params: Params$Resource$Projects$Locations$Groupstats$List, callback: BodyResponseCallback<Schema$ListGroupStatsResponse>): void;
list(callback: BodyResponseCallback<Schema$ListGroupStatsResponse>): void;
}
export interface Params$Resource$Projects$Locations$Groupstats$List extends StandardParameters {
/**
* Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.
*/
alignment?: string;
/**
* Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.
*/
alignmentTime?: string;
/**
* Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice).
*/
groupId?: string[];
/**
* Optional. The sort order in which the results are returned. Default is `COUNT_DESC`.
*/
order?: string;
/**
* Optional. The maximum number of results to return per response. Default is 20.
*/
pageSize?: number;
/**
* Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.
*/
pageToken?: string;
/**
* Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID\}/locations/{location\}` where `{location\}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.
*/
projectName?: string;
/**
* Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*/
'serviceFilter.resourceType'?: string;
/**
* Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*/
'serviceFilter.service'?: string;
/**
* Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*/
'serviceFilter.version'?: string;
/**
* Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.
*/
timedCountDuration?: string;
/**
* Restricts the query to the specified time range.
*/
'timeRange.period'?: string;
}
export {};
}

@@ -51,2 +51,3 @@ "use strict";

this.groupStats = new Resource$Projects$Groupstats(this.context);
this.locations = new Resource$Projects$Locations(this.context);
}

@@ -265,2 +266,189 @@ deleteEvents(paramsOrCallback, optionsOrCallback, callback) {

clouderrorreporting_v1beta1.Resource$Projects$Groupstats = Resource$Projects$Groupstats;
class Resource$Projects$Locations {
constructor(context) {
this.context = context;
this.events = new Resource$Projects$Locations$Events(this.context);
this.groups = new Resource$Projects$Locations$Groups(this.context);
this.groupStats = new Resource$Projects$Locations$Groupstats(this.context);
}
deleteEvents(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://clouderrorreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['projectName'],
pathParams: ['projectName'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
clouderrorreporting_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;
class Resource$Projects$Locations$Events {
constructor(context) {
this.context = context;
}
list(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://clouderrorreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['projectName'],
pathParams: ['projectName'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
clouderrorreporting_v1beta1.Resource$Projects$Locations$Events = Resource$Projects$Locations$Events;
class Resource$Projects$Locations$Groups {
constructor(context) {
this.context = context;
}
get(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://clouderrorreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+groupName}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['groupName'],
pathParams: ['groupName'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
update(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://clouderrorreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
clouderrorreporting_v1beta1.Resource$Projects$Locations$Groups = Resource$Projects$Locations$Groups;
class Resource$Projects$Locations$Groupstats {
constructor(context) {
this.context = context;
}
list(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://clouderrorreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+projectName}/groupStats').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['projectName'],
pathParams: ['projectName'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
clouderrorreporting_v1beta1.Resource$Projects$Locations$Groupstats = Resource$Projects$Locations$Groupstats;
})(clouderrorreporting_v1beta1 || (exports.clouderrorreporting_v1beta1 = clouderrorreporting_v1beta1 = {}));

@@ -97,3 +97,3 @@ /// <reference types="node" />

/**
* The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
* Required. The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
*/

@@ -107,3 +107,3 @@ destination?: string | null;

/**
* Required. The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.
* Identifier. The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.
*/

@@ -110,0 +110,0 @@ name?: string | null;

@@ -343,4 +343,2 @@ "use strict";

new Resource$Projects$Locations$Connections$Entitytypes$Entities(this.context);
this.entitieswithacls =
new Resource$Projects$Locations$Connections$Entitytypes$Entitieswithacls(this.context);
}

@@ -654,41 +652,2 @@ get(paramsOrCallback, optionsOrCallback, callback) {

connectors_v2.Resource$Projects$Locations$Connections$Entitytypes$Entities = Resource$Projects$Locations$Connections$Entitytypes$Entities;
class Resource$Projects$Locations$Connections$Entitytypes$Entitieswithacls {
constructor(context) {
this.context = context;
}
list(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://connectors.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+parent}/entitieswithacls').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
connectors_v2.Resource$Projects$Locations$Connections$Entitytypes$Entitieswithacls = Resource$Projects$Locations$Connections$Entitytypes$Entitieswithacls;
})(connectors_v2 || (exports.connectors_v2 = connectors_v2 = {}));

@@ -97,6 +97,2 @@ /// <reference types="node" />

/**
* The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components.
*/
allowedProjectIds?: string[] | null;
/**
* Name of the component.

@@ -106,5 +102,5 @@ */

/**
* Associated service attachments.
* Associated service attachments. The service attachment names that will be used for sending private traffic to the CCAIP tenant project. Example service attachment name: "projects/${TENANT_PROJECT_ID\}/regions/${REGION\}/serviceAttachments/ingress-default".
*/
serviceAttachments?: Schema$ServiceAttachment[];
serviceAttachmentNames?: string[] | null;
}

@@ -170,3 +166,3 @@ /**

/**
* Output only. A list of UJET components that should be privately accessed. This field is set by reading settings from the data plane. For more information about the format of the component please refer to go/ccaip-vpc-sc-org-policy. This field is must be fully populated only for Create/Update resource operations. The main use case for this field is OrgPolicy checks via CPE.
* Output only. TODO(b/283407860) Deprecate this field.
*/

@@ -428,4 +424,17 @@ privateComponents?: string[] | null;

ingressSettings?: Schema$Component[];
/**
* Private service connect settings.
*/
pscSetting?: Schema$PscSetting;
}
/**
* Private service connect settings.
*/
export interface Schema$PscSetting {
/**
* The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components.
*/
allowedConsumerProjectIds?: string[] | null;
}
/**
* Quota details.

@@ -477,11 +486,2 @@ */

/**
* Container for the VPC-SC networking configurations.
*/
export interface Schema$ServiceAttachment {
/**
* The service attachment name that will be used for sending private traffic to the CCAIP tenant project. Example: "projects/${TENANT_PROJECT_ID\}/regions/${REGION\}/serviceAttachments/ingress-default".
*/
name?: string | null;
}
/**
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

@@ -488,0 +488,0 @@ */

@@ -69,2 +69,98 @@ "use strict";

}
batchCreate(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/notes:batchCreate').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
create(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(paramsOrCallback, optionsOrCallback, callback) {

@@ -134,2 +230,34 @@ let params = (paramsOrCallback ||

}
patch(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -180,2 +308,99 @@ containeranalysis_v1.Resource$Projects$Locations$Notes = Resource$Projects$Locations$Notes;

}
batchCreate(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/occurrences:batchCreate').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
create(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(paramsOrCallback, optionsOrCallback, callback) {

@@ -310,2 +535,34 @@ let params = (paramsOrCallback ||

}
patch(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -312,0 +569,0 @@ containeranalysis_v1.Resource$Projects$Locations$Occurrences = Resource$Projects$Locations$Occurrences;

@@ -69,2 +69,98 @@ "use strict";

}
batchCreate(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/notes:batchCreate').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
create(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(paramsOrCallback, optionsOrCallback, callback) {

@@ -134,2 +230,34 @@ let params = (paramsOrCallback ||

}
patch(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -180,2 +308,99 @@ containeranalysis_v1beta1.Resource$Projects$Locations$Notes = Resource$Projects$Locations$Notes;

}
batchCreate(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/occurrences:batchCreate').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
create(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(paramsOrCallback, optionsOrCallback, callback) {

@@ -310,2 +535,34 @@ let params = (paramsOrCallback ||

}
patch(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://containeranalysis.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -312,0 +569,0 @@ containeranalysis_v1beta1.Resource$Projects$Locations$Occurrences = Resource$Projects$Locations$Occurrences;

@@ -458,2 +458,35 @@ "use strict";

}
initiatePushTransfer(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+registration}:initiatePushTransfer').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -556,2 +589,35 @@ let params = (paramsOrCallback ||

}
renewDomain(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+registration}:renewDomain').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
resetAuthorizationCode(paramsOrCallback, optionsOrCallback, callback) {

@@ -623,2 +689,69 @@ let params = (paramsOrCallback ||

}
retrieveGoogleDomainsDnsRecords(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+registration}:retrieveGoogleDomainsDnsRecords').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveGoogleDomainsForwardingConfig(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1/{+registration}:retrieveGoogleDomainsForwardingConfig').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveImportableDomains(paramsOrCallback, optionsOrCallback, callback) {

@@ -625,0 +758,0 @@ let params = (paramsOrCallback ||

@@ -458,2 +458,35 @@ "use strict";

}
initiatePushTransfer(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha2/{+registration}:initiatePushTransfer').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -556,2 +589,35 @@ let params = (paramsOrCallback ||

}
renewDomain(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha2/{+registration}:renewDomain').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
resetAuthorizationCode(paramsOrCallback, optionsOrCallback, callback) {

@@ -623,2 +689,70 @@ let params = (paramsOrCallback ||

}
retrieveGoogleDomainsDnsRecords(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1alpha2/{+registration}:retrieveGoogleDomainsDnsRecords').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveGoogleDomainsForwardingConfig(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1alpha2/{+registration}:retrieveGoogleDomainsForwardingConfig').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveImportableDomains(paramsOrCallback, optionsOrCallback, callback) {

@@ -625,0 +759,0 @@ let params = (paramsOrCallback ||

@@ -458,2 +458,35 @@ "use strict";

}
initiatePushTransfer(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+registration}:initiatePushTransfer').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -556,2 +589,35 @@ let params = (paramsOrCallback ||

}
renewDomain(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+registration}:renewDomain').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
resetAuthorizationCode(paramsOrCallback, optionsOrCallback, callback) {

@@ -623,2 +689,70 @@ let params = (paramsOrCallback ||

}
retrieveGoogleDomainsDnsRecords(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1beta1/{+registration}:retrieveGoogleDomainsDnsRecords').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveGoogleDomainsForwardingConfig(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://domains.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1beta1/{+registration}:retrieveGoogleDomainsForwardingConfig').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['registration'],
pathParams: ['registration'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
retrieveImportableDomains(paramsOrCallback, optionsOrCallback, callback) {

@@ -625,0 +759,0 @@ let params = (paramsOrCallback ||

@@ -75,15 +75,15 @@ /// <reference types="node" />

/**
* Report data range.
* The date range to be reported on.
*/
export interface Schema$DataRange {
/**
* The ending date for the data that is shown in the report. Note, `customEndDate` is required if `range` is `CUSTOM_DATES` and ignored otherwise.
* If `CUSTOM_DATES` is assigned to range, this field specifies the end date for the date range that is reported on. This field is required if using `CUSTOM_DATES` range and will be ignored otherwise.
*/
customEndDate?: Schema$Date;
/**
* The starting data for the data that is shown in the report. Note, `customStartDate` is required if `range` is `CUSTOM_DATES` and ignored otherwise.
* If `CUSTOM_DATES` is assigned to range, this field specifies the starting date for the date range that is reported on. This field is required if using `CUSTOM_DATES` range and will be ignored otherwise.
*/
customStartDate?: Schema$Date;
/**
* Report data range used to generate the report.
* The preset date range to be reported on. If `CUSTOM_DATES` is assigned to this field, fields custom_start_date and custom_end_date must be set to specify the custom date range.
*/

@@ -110,11 +110,11 @@ range?: string | null;

/**
* Filter used to match traffic data in your report.
* Represents a single filter rule.
*/
export interface Schema$FilterPair {
/**
* Filter type.
* The type of value to filter by. Defined by a [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) value.
*/
type?: string | null;
/**
* Filter value.
* The identifying value to filter by, such as a relevant resource ID.
*/

@@ -125,7 +125,7 @@ value?: string | null;

/**
* A token, which can be sent as page_token to retrieve the next page of queries. If this field is omitted, there are no subsequent pages.
* A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `queries.list` method to retrieve the next page of results.
*/
nextPageToken?: string | null;
/**
* The list of queries.
* The list of queries. This field will be absent if empty.
*/

@@ -136,7 +136,7 @@ queries?: Schema$Query[];

/**
* A token, which can be sent as page_token to retrieve the next page of reports. If this field is omitted, there are no subsequent pages.
* A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `queries.reports.list` method to retrieve the next page of results.
*/
nextPageToken?: string | null;
/**
* Retrieved reports.
* The list of reports. This field will be absent if empty.
*/

@@ -146,7 +146,7 @@ reports?: Schema$Report[];

/**
* Additional query options.
* Report parameter options.
*/
export interface Schema$Options {
/**
* Set to true and filter your report by `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` to include data for audience lists specifically targeted by those items.
* Whether to include data for audience lists specifically targeted by filtered line items or insertion orders. Requires the use of `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` filters.
*/

@@ -156,23 +156,23 @@ includeOnlyTargetedUserLists?: boolean | null;

/**
* Parameters of a query or report.
* Parameters of a generated report.
*/
export interface Schema$Parameters {
/**
* Filters used to match traffic data in your report.
* Filters to limit the scope of reported data.
*/
filters?: Schema$FilterPair[];
/**
* Data is grouped by the filters listed in this field.
* Dimensions by which to segment and group the data. Defined by [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) values.
*/
groupBys?: string[] | null;
/**
* Metrics to include as columns in your report.
* Metrics to define the data populating the report. Defined by [Metric](/bid-manager/reference/rest/v2/filters-metrics#metrics) values.
*/
metrics?: string[] | null;
/**
* Additional query options.
* Additional report parameter options.
*/
options?: Schema$Options;
/**
* The type of the report. The type of the report will dictate what dimesions, filters, and metrics can be used.
* The type of the report. The type of the report determines the dimesions, filters, and metrics that can be used.
*/

@@ -182,19 +182,19 @@ type?: string | null;

/**
* Represents a query.
* A single query used to generate a report.
*/
export interface Schema$Query {
/**
* Query metadata.
* The metadata of the query.
*/
metadata?: Schema$QueryMetadata;
/**
* Query parameters.
* The parameters of the report generated by the query.
*/
params?: Schema$Parameters;
/**
* Output only. Query ID.
* Output only. The unique ID of the query.
*/
queryId?: string | null;
/**
* Information on how often and when to run a query. If `ONE_TIME` is set to the frequency field, the query will only be run at the time of creation.
* When and how often the query is scheduled to run. If the frequency field is set to `ONE_TIME`, the query will only run when queries.run is called.
*/

@@ -204,23 +204,23 @@ schedule?: Schema$QuerySchedule;

/**
* Query metadata.
* The metadata of the query.
*/
export interface Schema$QueryMetadata {
/**
* Range of report data. All reports will be based on the same time zone as used by the advertiser.
* The date range the report generated by the query will report on. This date range will be defined by the time zone as used by the advertiser.
*/
dataRange?: Schema$DataRange;
/**
* Format of the generated report.
* The format of the report generated by the query.
*/
format?: string | null;
/**
* Whether to send an email notification when a report is ready. Defaults to false.
* Whether an email notification is sent to the query creator when a report generated by the query is ready. This value is `false` by default.
*/
sendNotification?: boolean | null;
/**
* List of email addresses which are sent email notifications when the report is finished. Separate from send_notification.
* List of additional email addresses with which to share the query. If send_notification is `true`, these email addresses will receive a notification when a report generated by the query is ready. If these email addresses are connected to Display & Video 360 users, the query will be available to them in the Display & Video 360 interface.
*/
shareEmailAddress?: string[] | null;
/**
* Query title. It is used to name the reports generated from this query.
* The display name of the query. This value will be used in the file name of reports generated by the query.
*/

@@ -230,19 +230,19 @@ title?: string | null;

/**
* Information on when and how frequently to run a query.
* Settings on when and how frequently to run a query.
*/
export interface Schema$QuerySchedule {
/**
* Date to periodically run the query until. Not applicable to `ONE_TIME` frequency.
* The date on which to end the scheduled runs. This field is required if frequency is not set to `ONE_TIME`. Otherwise, it will be ignored.
*/
endDate?: Schema$Date;
/**
* How often the query is run.
* How frequently to run the query. If set to `ONE_TIME`, the query will only be run when queries.run is called.
*/
frequency?: string | null;
/**
* Canonical timezone code for report generation time. Defaults to `America/New_York`.
* The canonical code for the timezone the query schedule is based on. Scheduled runs are usually conducted in the morning of a given day. Defaults to `America/New_York`.
*/
nextRunTimezoneCode?: string | null;
/**
* When to start running the query. Not applicable to `ONE_TIME` frequency.
* The date on which to begin the scheduled runs. This field is required if frequency is not set to `ONE_TIME`. Otherwise, it will be ignored.
*/

@@ -252,15 +252,15 @@ startDate?: Schema$Date;

/**
* Represents a report.
* A single report generated by its parent report.
*/
export interface Schema$Report {
/**
* Key used to identify a report.
* The key information identifying the report.
*/
key?: Schema$ReportKey;
/**
* Report metadata.
* The metadata of the report.
*/
metadata?: Schema$ReportMetadata;
/**
* Report parameters.
* The parameters of the report.
*/

@@ -270,11 +270,11 @@ params?: Schema$Parameters;

/**
* Key used to identify a report.
* Identifying information of a report.
*/
export interface Schema$ReportKey {
/**
* Output only. Query ID.
* Output only. The unique ID of the query that generated the report.
*/
queryId?: string | null;
/**
* Output only. Report ID.
* Output only. The unique ID of the report.
*/

@@ -284,19 +284,19 @@ reportId?: string | null;

/**
* Report metadata.
* The metadata of a report.
*/
export interface Schema$ReportMetadata {
/**
* Output only. The path to the location in Google Cloud Storage where the report is stored.
* Output only. The location of the generated report file in Google Cloud Storage. This field will be absent if status.state is not `DONE`.
*/
googleCloudStoragePath?: string | null;
/**
* The ending time for the data that is shown in the report.
* The end date of the report data date range.
*/
reportDataEndDate?: Schema$Date;
/**
* The starting time for the data that is shown in the report.
* The start date of the report data date range.
*/
reportDataStartDate?: Schema$Date;
/**
* Report status.
* The status of the report.
*/

@@ -306,15 +306,15 @@ status?: Schema$ReportStatus;

/**
* Report status.
* The status of a report.
*/
export interface Schema$ReportStatus {
/**
* Output only. The time when this report either completed successfully or failed.
* Output only. The timestamp of when report generation finished successfully or in failure. This field will not be set unless state is `DONE` or `FAILED`.
*/
finishTime?: string | null;
/**
* The file type of the report.
* The format of the generated report file.
*/
format?: string | null;
/**
* Output only. The state of the report.
* Output only. The state of the report generation.
*/

@@ -324,7 +324,7 @@ state?: string | null;

/**
* Request to run a stored query to generate a report.
* Details specifying how to run a query.
*/
export interface Schema$RunQueryRequest {
/**
* Report data range used to generate the report. If unspecified, the original parent query's data range is used.
* The date range used by the query to generate the report. If unspecified, the query's original data_range is used.
*/

@@ -338,3 +338,3 @@ dataRange?: Schema$DataRange;

/**
* Creates a query.
* Creates a new query.
*

@@ -353,3 +353,3 @@ * @param params - Parameters for request

/**
* Deletes a query as well as the associated reports.
* Deletes an existing query as well as its generated reports.
*

@@ -396,3 +396,3 @@ * @param params - Parameters for request

/**
* Runs a stored query to generate a report.
* Runs an existing query to generate a report.
*

@@ -419,3 +419,3 @@ * @param params - Parameters for request

/**
* Required. ID of query to delete.
* Required. The ID of the query to delete.
*/

@@ -426,3 +426,3 @@ queryId?: string;

/**
* Required. ID of query to retrieve.
* Required. The ID of the query to retrieve.
*/

@@ -433,3 +433,3 @@ queryId?: string;

/**
* Name of a field used to order results. The default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. For example "metadata.title desc". Sorting is only supported for the following fields: * `queryId` * `metadata.title`
* Field to sort the list by. Accepts the following values: * `queryId` (default) * `metadata.title` The default sorting order is ascending. To specify descending order for a field, add the suffix `desc` to the field name. For example, `queryId desc`.
*/

@@ -442,3 +442,3 @@ orderBy?: string;

/**
* A page token, received from a previous list call. Provide this to retrieve the subsequent page of queries.
* A token identifying which page of results the server should return. Typically, this is the value of nextPageToken, returned from the previous call to the `queries.list` method. If unspecified, the first page of results is returned.
*/

@@ -449,7 +449,7 @@ pageToken?: string;

/**
* Required. ID of query to run.
* Required. The ID of the query to run.
*/
queryId?: string;
/**
* Whether the query should be run synchronously. When true, this method will not return until the query has finished running. When false or not specified, this method will return immediately.
* Whether the query should be run synchronously. When `true`, the request won't return until the resulting report has finished running. This parameter is `false` by default. Setting this parameter to `true` is **not recommended**.
*/

@@ -480,3 +480,3 @@ synchronous?: boolean;

/**
* Lists reports associated with a query.
* Lists reports generated by the provided query.
*

@@ -497,7 +497,7 @@ * @param params - Parameters for request

/**
* Required. ID of the query the report is associated with.
* Required. The ID of the query that generated the report.
*/
queryId?: string;
/**
* Required. ID of the report to retrieve.
* Required. The ID of the query to retrieve.
*/

@@ -508,3 +508,3 @@ reportId?: string;

/**
* Name of a field used to order results. The default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. For example "key.reportId desc". Sorting is only supported for the following fields: * `key.reportId`
* Field to sort the list by. Accepts the following values: * `key.reportId` (default) The default sorting order is ascending. To specify descending order for a field, add the suffix `desc` to the field name. For example, `key.reportId desc`.
*/

@@ -517,7 +517,7 @@ orderBy?: string;

/**
* A page token, received from a previous list call. Provide this to retrieve the subsequent page of reports.
* A token identifying which page of results the server should return. Typically, this is the value of nextPageToken returned from the previous call to the `queries.reports.list` method. If unspecified, the first page of results is returned.
*/
pageToken?: string;
/**
* Required. ID of the query with which the reports are associated.
* Required. The ID of the query that generated the reports.
*/

@@ -524,0 +524,0 @@ queryId?: string;

@@ -114,3 +114,3 @@ /// <reference types="node" />

/**
* The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
* Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
*/

@@ -117,0 +117,0 @@ validationState?: string | null;

@@ -205,3 +205,3 @@ /// <reference types="node" />

/**
* Additional information about proxy notification delivery. All percentages are calculated with countNotificationsAccepted as the denominator.
* Additional information about [proxy notification](https://firebase.google.com/docs/cloud-messaging/android/message-priority#proxy) delivery. All percentages are calculated with countNotificationsAccepted as the denominator.
*/

@@ -208,0 +208,0 @@ export interface Schema$GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents {

@@ -456,2 +456,35 @@ "use strict";

}
promoteReplica(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://file.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:promoteReplica').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
restore(paramsOrCallback, optionsOrCallback, callback) {

@@ -458,0 +491,0 @@ let params = (paramsOrCallback ||

@@ -76,2 +76,9 @@ /// <reference types="node" />

/**
* Point for describing bounding boxes tap locations Top left is 0,0
*/
export interface Schema$AndroidxCrawlerOutputPoint {
xCoordinate?: number | null;
yCoordinate?: number | null;
}
/**
* App bundle test certificate

@@ -93,2 +100,49 @@ */

}
/**
* Instructions for AI driven test
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaAiInstructions {
/**
* Optional. Describes the app to give the AI some context
*/
appDescription?: string | null;
/**
* Required. Steps to be accomplished by the AI
*/
steps?: Schema$GoogleFirebaseAppdistroV1alphaAiStep[];
}
/**
* A step to be accomplished by the AI
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaAiStep {
/**
* An assertion to be checked by the AI
*/
assertion?: string | null;
/**
* A goal to be accomplished by the AI
*/
goal?: string | null;
}
/**
* Captures the results of an AiStep
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaAiStepResult {
/**
* Output only. Details for an assertion step.
*/
assertionDetails?: Schema$GoogleFirebaseAppdistroV1alphaAssertionDetails;
/**
* Output only. Details for a goal step.
*/
goalDetails?: Schema$GoogleFirebaseAppdistroV1alphaGoalDetails;
/**
* Output only. The current state of the step
*/
state?: string | null;
/**
* Required. The step performed by the AI
*/
step?: Schema$GoogleFirebaseAppdistroV1alphaAiStep;
}
export interface Schema$GoogleFirebaseAppdistroV1alphaApp {

@@ -137,2 +191,19 @@ /**

}
/**
* Details for an assertion step.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaAssertionDetails {
/**
* Output only. An explanation justifying the assertion result.
*/
explanation?: string | null;
/**
* Output only. The result of the assertion.
*/
result?: boolean | null;
/**
* Output only. The screenshot used in the context of this assertion.
*/
screenshot?: Schema$GoogleFirebaseAppdistroV1alphaScreenshot;
}
export interface Schema$GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest {

@@ -147,2 +218,15 @@ /**

/**
* A high level action taken by the AI on the device, potentially involving multiple taps, text entries, waits, etc.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaDeviceAction {
/**
* Output only. A short description of the high level action taken by the AI agent.
*/
description?: string | null;
/**
* Output only. The interactions made with the device as part of this higher level action taken by the agent, such as taps, text entries, waits, etc.
*/
deviceInteractions?: Schema$GoogleFirebaseAppdistroV1alphaDeviceInteraction[];
}
/**
* The results of running an automated test on a particular device.

@@ -152,2 +236,6 @@ */

/**
* Output only. Results of the AI steps if passed in
*/
aiStepResults?: Schema$GoogleFirebaseAppdistroV1alphaAiStepResult[];
/**
* Output only. An app crash, if any occurred during the test.

@@ -193,2 +281,49 @@ */

}
/**
* An interaction with the device, such as a tap, text entry, wait, etc.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaDeviceInteraction {
/**
* Output only. The screenshot used in the context of this action. The screen may have changed before the action was actually taken.
*/
screenshot?: Schema$GoogleFirebaseAppdistroV1alphaScreenshot;
/**
* Output only. A swipe action.
*/
swipe?: Schema$GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe;
/**
* Output only. A tap action.
*/
tap?: Schema$AndroidxCrawlerOutputPoint;
/**
* Output only. Text entered for a text entry action.
*/
textInput?: string | null;
/**
* Output only. A wait action.
*/
wait?: Schema$GoogleFirebaseAppdistroV1alphaDeviceInteractionWait;
}
/**
* A swipe action.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe {
/**
* Output only. The end point of the swipe.
*/
end?: Schema$AndroidxCrawlerOutputPoint;
/**
* Output only. The start point of the swipe.
*/
start?: Schema$AndroidxCrawlerOutputPoint;
}
/**
* A wait action.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaDeviceInteractionWait {
/**
* Output only. The duration of the wait.
*/
duration?: string | null;
}
export interface Schema$GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest {

@@ -250,2 +385,28 @@ /**

}
/**
* An action taken by the AI agent while attempting to accomplish a goal.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaGoalAction {
/**
* Output only. A high level action taken by the AI on the device.
*/
deviceAction?: Schema$GoogleFirebaseAppdistroV1alphaDeviceAction;
/**
* Output only. An explanation justifying why the action was taken.
*/
explanation?: string | null;
/**
* Output only. An action taken by the AI to end the goal.
*/
terminalAction?: Schema$GoogleFirebaseAppdistroV1alphaTerminalAction;
}
/**
* Details for a goal step.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaGoalDetails {
/**
* Output only. The actions taken by the AI while attempting to accomplish the goal.
*/
goalActions?: Schema$GoogleFirebaseAppdistroV1alphaGoalAction[];
}
export interface Schema$GoogleFirebaseAppdistroV1alphaJwt {

@@ -360,2 +521,6 @@ token?: string | null;

/**
* Optional. Instructions for AI driven test.
*/
aiInstructions?: Schema$GoogleFirebaseAppdistroV1alphaAiInstructions;
/**
* Output only. Timestamp when the test was run.

@@ -382,2 +547,6 @@ */

/**
* Optional. Instructions for AI driven test
*/
aiInstructions?: Schema$GoogleFirebaseAppdistroV1alphaAiInstructions;
/**
* Optional. Login credential for automated tests

@@ -409,2 +578,32 @@ */

/**
* A device screenshot taken during a test.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaScreenshot {
/**
* Output only. The height of the screenshot, in pixels.
*/
height?: number | null;
/**
* Output only. The URI of the screenshot.
*/
uri?: string | null;
/**
* Output only. The width of the screenshot, in pixels.
*/
width?: number | null;
}
/**
* An action taken by the AI to end the goal.
*/
export interface Schema$GoogleFirebaseAppdistroV1alphaTerminalAction {
/**
* Output only. The reason why this goal was ended.
*/
reason?: string | null;
/**
* Output only. The screenshot used in the context of this terminal action.
*/
screenshot?: Schema$GoogleFirebaseAppdistroV1alphaScreenshot;
}
/**
* Configuration for automated tests

@@ -411,0 +610,0 @@ */

@@ -75,5 +75,22 @@ /// <reference types="node" />

/**
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
*/
export interface Schema$Date {
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
*/
day?: number | null;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
*/
month?: number | null;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
*/
year?: number | null;
}
/**
* Content blob. It's preferred to send as text directly rather than raw bytes.
*/
export interface Schema$Blob {
export interface Schema$GoogleCloudAiplatformV1beta1Blob {
/**

@@ -91,11 +108,15 @@ * Required. Raw bytes.

*/
export interface Schema$Candidate {
export interface Schema$GoogleCloudAiplatformV1beta1Candidate {
/**
* Output only. Average log probability score of the candidate.
*/
avgLogprobs?: number | null;
/**
* Output only. Source attribution of the generated content.
*/
citationMetadata?: Schema$CitationMetadata;
citationMetadata?: Schema$GoogleCloudAiplatformV1beta1CitationMetadata;
/**
* Output only. Content parts of the candidate.
*/
content?: Schema$Content;
content?: Schema$GoogleCloudAiplatformV1beta1Content;
/**

@@ -112,3 +133,3 @@ * Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set.

*/
groundingMetadata?: Schema$GroundingMetadata;
groundingMetadata?: Schema$GoogleCloudAiplatformV1beta1GroundingMetadata;
/**

@@ -121,3 +142,3 @@ * Output only. Index of the candidate.

*/
safetyRatings?: Schema$SafetyRating[];
safetyRatings?: Schema$GoogleCloudAiplatformV1beta1SafetyRating[];
}

@@ -127,3 +148,3 @@ /**

*/
export interface Schema$Citation {
export interface Schema$GoogleCloudAiplatformV1beta1Citation {
/**

@@ -157,7 +178,7 @@ * Output only. End index into the content.

*/
export interface Schema$CitationMetadata {
export interface Schema$GoogleCloudAiplatformV1beta1CitationMetadata {
/**
* Output only. List of citations.
*/
citations?: Schema$Citation[];
citations?: Schema$GoogleCloudAiplatformV1beta1Citation[];
}

@@ -167,7 +188,7 @@ /**

*/
export interface Schema$Content {
export interface Schema$GoogleCloudAiplatformV1beta1Content {
/**
* Required. Ordered `Parts` that constitute a single message. Parts may have different IANA MIME types.
*/
parts?: Schema$Part[];
parts?: Schema$GoogleCloudAiplatformV1beta1Part[];
/**

@@ -181,15 +202,23 @@ * Optional. The producer of the content. Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset.

*/
export interface Schema$CountTokensRequest {
export interface Schema$GoogleCloudAiplatformV1beta1CountTokensRequest {
/**
* Required. Input content.
* Optional. Input content.
*/
contents?: Schema$Content[];
contents?: Schema$GoogleCloudAiplatformV1beta1Content[];
/**
* Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
* Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
*/
instances?: any[] | null;
/**
* Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x`
* Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x`
*/
model?: string | null;
/**
* Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.
*/
systemInstruction?: Schema$GoogleCloudAiplatformV1beta1Content;
/**
* Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
*/
tools?: Schema$GoogleCloudAiplatformV1beta1Tool[];
}

@@ -199,3 +228,3 @@ /**

*/
export interface Schema$CountTokensResponse {
export interface Schema$GoogleCloudAiplatformV1beta1CountTokensResponse {
/**

@@ -211,22 +240,5 @@ * The total number of billable characters counted across all instances from the request.

/**
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
*/
export interface Schema$Date {
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
*/
day?: number | null;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
*/
month?: number | null;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
*/
year?: number | null;
}
/**
* URI based data.
*/
export interface Schema$FileData {
export interface Schema$GoogleCloudAiplatformV1beta1FileData {
/**

@@ -244,3 +256,3 @@ * Required. URI.

*/
export interface Schema$FunctionCall {
export interface Schema$GoogleCloudAiplatformV1beta1FunctionCall {
/**

@@ -260,3 +272,3 @@ * Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

*/
export interface Schema$FunctionCallingConfig {
export interface Schema$GoogleCloudAiplatformV1beta1FunctionCallingConfig {
/**

@@ -274,3 +286,3 @@ * Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.

*/
export interface Schema$FunctionDeclaration {
export interface Schema$GoogleCloudAiplatformV1beta1FunctionDeclaration {
/**

@@ -287,7 +299,7 @@ * Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.

*/
parameters?: Schema$Schema;
parameters?: Schema$GoogleCloudAiplatformV1beta1Schema;
/**
* Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
*/
response?: Schema$Schema;
response?: Schema$GoogleCloudAiplatformV1beta1Schema;
}

@@ -297,3 +309,3 @@ /**

*/
export interface Schema$FunctionResponse {
export interface Schema$GoogleCloudAiplatformV1beta1FunctionResponse {
/**

@@ -313,3 +325,3 @@ * Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].

*/
export interface Schema$GenerateContentRequest {
export interface Schema$GoogleCloudAiplatformV1beta1GenerateContentRequest {
/**

@@ -322,23 +334,23 @@ * Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project\}/locations/{location\}/cachedContents/{cachedContent\}`

*/
contents?: Schema$Content[];
contents?: Schema$GoogleCloudAiplatformV1beta1Content[];
/**
* Optional. Generation config.
*/
generationConfig?: Schema$GenerationConfig;
generationConfig?: Schema$GoogleCloudAiplatformV1beta1GenerationConfig;
/**
* Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.
*/
safetySettings?: Schema$SafetySetting[];
safetySettings?: Schema$GoogleCloudAiplatformV1beta1SafetySetting[];
/**
* Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.
*/
systemInstruction?: Schema$Content;
systemInstruction?: Schema$GoogleCloudAiplatformV1beta1Content;
/**
* Optional. Tool config. This config is shared for all tools provided in the request.
*/
toolConfig?: Schema$ToolConfig;
toolConfig?: Schema$GoogleCloudAiplatformV1beta1ToolConfig;
/**
* Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
*/
tools?: Schema$Tool[];
tools?: Schema$GoogleCloudAiplatformV1beta1Tool[];
}

@@ -348,20 +360,51 @@ /**

*/
export interface Schema$GenerateContentResponse {
export interface Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse {
/**
* Output only. Generated candidates.
*/
candidates?: Schema$Candidate[];
candidates?: Schema$GoogleCloudAiplatformV1beta1Candidate[];
/**
* Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
*/
promptFeedback?: Schema$PromptFeedback;
promptFeedback?: Schema$GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback;
/**
* Usage metadata about the response(s).
*/
usageMetadata?: Schema$UsageMetadata;
usageMetadata?: Schema$GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata;
}
/**
* Content filter results for a prompt sent in the request.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback {
/**
* Output only. Blocked reason.
*/
blockReason?: string | null;
/**
* Output only. A readable block reason message.
*/
blockReasonMessage?: string | null;
/**
* Output only. Safety ratings.
*/
safetyRatings?: Schema$GoogleCloudAiplatformV1beta1SafetyRating[];
}
/**
* Usage metadata about response(s).
*/
export interface Schema$GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
/**
* Number of tokens in the response(s).
*/
candidatesTokenCount?: number | null;
/**
* Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
*/
promptTokenCount?: number | null;
totalTokenCount?: number | null;
}
/**
* Generation config.
*/
export interface Schema$GenerationConfig {
export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfig {
/**

@@ -390,4 +433,12 @@ * Optional. Number of candidates to generate.

*/
responseSchema?: Schema$Schema;
responseSchema?: Schema$GoogleCloudAiplatformV1beta1Schema;
/**
* Optional. Routing configuration.
*/
routingConfig?: Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig;
/**
* Optional. Seed.
*/
seed?: number | null;
/**
* Optional. Stop sequences.

@@ -410,91 +461,146 @@ */

/**
* Tool to retrieve public web data for grounding, powered by Google.
* The configuration for routing the request to a specific model.
*/
export interface Schema$GoogleSearchRetrieval {
export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig {
/**
* Automated routing.
*/
autoMode?: Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode;
/**
* Manual routing.
*/
manualMode?: Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode;
}
/**
* Metadata returned to client when grounding is enabled.
* When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.
*/
export interface Schema$GroundingMetadata {
export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode {
/**
* Optional. Queries executed by the retrieval tools.
* The model routing preference.
*/
retrievalQueries?: string[] | null;
modelRoutingPreference?: string | null;
}
/**
* When manual routing is set, the specified model will be used directly.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode {
/**
* Optional. Google search entry for the following-up web searches.
* The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.
*/
searchEntryPoint?: Schema$SearchEntryPoint;
modelName?: string | null;
}
/**
* Tool to retrieve public web data for grounding, powered by Google.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
}
/**
* Grounding chunk.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunk {
/**
* Optional. Web search queries for the following-up web search.
* Grounding chunk from context retrieved by the retrieval tools.
*/
webSearchQueries?: string[] | null;
retrievedContext?: Schema$GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext;
/**
* Grounding chunk from the web.
*/
web?: Schema$GoogleCloudAiplatformV1beta1GroundingChunkWeb;
}
/**
* This is returned in the longrunning operations for create/update.
* Chunk from context retrieved by the retrieval tools.
*/
export interface Schema$ModelOperationMetadata {
basicOperationStatus?: string | null;
export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
/**
* The name of the model we are creating/updating The name must have the form `projects/{project_id\}/models/{model_id\}`
* Title of the attribution.
*/
name?: string | null;
title?: string | null;
/**
* URI reference of the attribution.
*/
uri?: string | null;
}
/**
* A datatype containing media that is part of a multi-part `Content` message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. A `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.
* Chunk from the web.
*/
export interface Schema$Part {
export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunkWeb {
/**
* Optional. URI based data.
* Title of the chunk.
*/
fileData?: Schema$FileData;
title?: string | null;
/**
* Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
* URI reference of the chunk.
*/
functionCall?: Schema$FunctionCall;
uri?: string | null;
}
/**
* Metadata returned to client when grounding is enabled.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GroundingMetadata {
/**
* Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
* List of supporting references retrieved from specified grounding source.
*/
functionResponse?: Schema$FunctionResponse;
groundingChunks?: Schema$GoogleCloudAiplatformV1beta1GroundingChunk[];
/**
* Optional. Inlined bytes data.
* Optional. List of grounding support.
*/
inlineData?: Schema$Blob;
groundingSupports?: Schema$GoogleCloudAiplatformV1beta1GroundingSupport[];
/**
* Optional. Text part (can be code).
* Optional. Queries executed by the retrieval tools.
*/
text?: string | null;
retrievalQueries?: string[] | null;
/**
* Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
* Optional. Google search entry for the following-up web searches.
*/
videoMetadata?: Schema$VideoMetadata;
searchEntryPoint?: Schema$GoogleCloudAiplatformV1beta1SearchEntryPoint;
/**
* Optional. Web search queries for the following-up web search.
*/
webSearchQueries?: string[] | null;
}
/**
* Content filter results for a prompt sent in the request.
* Grounding support.
*/
export interface Schema$PromptFeedback {
export interface Schema$GoogleCloudAiplatformV1beta1GroundingSupport {
/**
* Output only. Blocked reason.
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
*/
blockReason?: string | null;
confidenceScores?: number[] | null;
/**
* Output only. A readable block reason message.
* A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
*/
blockReasonMessage?: string | null;
groundingChunkIndices?: number[] | null;
/**
* Output only. Safety ratings.
* Segment of the content this support belongs to.
*/
safetyRatings?: Schema$SafetyRating[];
segment?: Schema$GoogleCloudAiplatformV1beta1Segment;
}
/**
* The definition of the Rag resource.
* A datatype containing media that is part of a multi-part `Content` message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. A `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.
*/
export interface Schema$RagResource {
export interface Schema$GoogleCloudAiplatformV1beta1Part {
/**
* Optional. RagCorpora resource name. Format: `projects/{project\}/locations/{location\}/ragCorpora/{rag_corpus\}`
* Optional. URI based data.
*/
ragCorpus?: string | null;
fileData?: Schema$GoogleCloudAiplatformV1beta1FileData;
/**
* Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
* Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
*/
ragFileIds?: string[] | null;
functionCall?: Schema$GoogleCloudAiplatformV1beta1FunctionCall;
/**
* Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
*/
functionResponse?: Schema$GoogleCloudAiplatformV1beta1FunctionResponse;
/**
* Optional. Inlined bytes data.
*/
inlineData?: Schema$GoogleCloudAiplatformV1beta1Blob;
/**
* Optional. Text part (can be code).
*/
text?: string | null;
/**
* Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
*/
videoMetadata?: Schema$GoogleCloudAiplatformV1beta1VideoMetadata;
}

@@ -504,5 +610,5 @@ /**

*/
export interface Schema$Retrieval {
export interface Schema$GoogleCloudAiplatformV1beta1Retrieval {
/**
* Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
* Optional. Deprecated. This option is no longer supported.
*/

@@ -513,7 +619,7 @@ disableAttribution?: boolean | null;

*/
vertexAiSearch?: Schema$VertexAISearch;
vertexAiSearch?: Schema$GoogleCloudAiplatformV1beta1VertexAISearch;
/**
* Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
*/
vertexRagStore?: Schema$VertexRagStore;
vertexRagStore?: Schema$GoogleCloudAiplatformV1beta1VertexRagStore;
}

@@ -523,3 +629,3 @@ /**

*/
export interface Schema$SafetyRating {
export interface Schema$GoogleCloudAiplatformV1beta1SafetyRating {
/**

@@ -553,3 +659,3 @@ * Output only. Indicates whether the content was filtered out because of this rating.

*/
export interface Schema$SafetySetting {
export interface Schema$GoogleCloudAiplatformV1beta1SafetySetting {
/**

@@ -571,3 +677,3 @@ * Required. Harm category.

*/
export interface Schema$Schema {
export interface Schema$GoogleCloudAiplatformV1beta1Schema {
/**

@@ -596,3 +702,3 @@ * Optional. Default value of the data.

*/
items?: Schema$Schema;
items?: Schema$GoogleCloudAiplatformV1beta1Schema;
/**

@@ -642,3 +748,3 @@ * Optional. Maximum value of the Type.INTEGER and Type.NUMBER

properties?: {
[key: string]: Schema$Schema;
[key: string]: Schema$GoogleCloudAiplatformV1beta1Schema;
} | null;

@@ -661,3 +767,3 @@ /**

*/
export interface Schema$SearchEntryPoint {
export interface Schema$GoogleCloudAiplatformV1beta1SearchEntryPoint {
/**

@@ -673,17 +779,38 @@ * Optional. Web content snippet that can be embedded in a web page or an app webview.

/**
* Segment of the content.
*/
export interface Schema$GoogleCloudAiplatformV1beta1Segment {
/**
* Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
*/
endIndex?: number | null;
/**
* Output only. The index of a Part object within its parent Content object.
*/
partIndex?: number | null;
/**
* Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
*/
startIndex?: number | null;
/**
* Output only. The text corresponding to the segment from the response.
*/
text?: string | null;
}
/**
* Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
*/
export interface Schema$Tool {
export interface Schema$GoogleCloudAiplatformV1beta1Tool {
/**
* Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided.
*/
functionDeclarations?: Schema$FunctionDeclaration[];
functionDeclarations?: Schema$GoogleCloudAiplatformV1beta1FunctionDeclaration[];
/**
* Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
*/
googleSearchRetrieval?: Schema$GoogleSearchRetrieval;
googleSearchRetrieval?: Schema$GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
/**
* Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
*/
retrieval?: Schema$Retrieval;
retrieval?: Schema$GoogleCloudAiplatformV1beta1Retrieval;
}

@@ -693,29 +820,15 @@ /**

*/
export interface Schema$ToolConfig {
export interface Schema$GoogleCloudAiplatformV1beta1ToolConfig {
/**
* Optional. Function calling config.
*/
functionCallingConfig?: Schema$FunctionCallingConfig;
functionCallingConfig?: Schema$GoogleCloudAiplatformV1beta1FunctionCallingConfig;
}
/**
* Usage metadata about response(s).
* Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/products/agent-builder
*/
export interface Schema$UsageMetadata {
export interface Schema$GoogleCloudAiplatformV1beta1VertexAISearch {
/**
* Number of tokens in the response(s).
* Required. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}`
*/
candidatesTokenCount?: number | null;
/**
* Number of tokens in the request.
*/
promptTokenCount?: number | null;
totalTokenCount?: number | null;
}
/**
* Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation
*/
export interface Schema$VertexAISearch {
/**
* Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}`
*/
datastore?: string | null;

@@ -726,3 +839,3 @@ }

*/
export interface Schema$VertexRagStore {
export interface Schema$GoogleCloudAiplatformV1beta1VertexRagStore {
/**

@@ -735,3 +848,3 @@ * Optional. Deprecated. Please use rag_resources instead.

*/
ragResources?: Schema$RagResource[];
ragResources?: Schema$GoogleCloudAiplatformV1beta1VertexRagStoreRagResource[];
/**

@@ -747,5 +860,18 @@ * Optional. Number of top k results to return from the selected corpora.

/**
* The definition of the Rag resource.
*/
export interface Schema$GoogleCloudAiplatformV1beta1VertexRagStoreRagResource {
/**
* Optional. RagCorpora resource name. Format: `projects/{project\}/locations/{location\}/ragCorpora/{rag_corpus\}`
*/
ragCorpus?: string | null;
/**
* Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
*/
ragFileIds?: string[] | null;
}
/**
* Metadata describes the input video content.
*/
export interface Schema$VideoMetadata {
export interface Schema$GoogleCloudAiplatformV1beta1VideoMetadata {
/**

@@ -760,2 +886,12 @@ * Optional. The end offset of the video.

}
/**
* This is returned in the longrunning operations for create/update.
*/
export interface Schema$ModelOperationMetadata {
basicOperationStatus?: string | null;
/**
* The name of the model we are creating/updating The name must have the form `projects/{project_id\}/models/{model_id\}`
*/
name?: string | null;
}
export class Resource$Projects {

@@ -788,7 +924,7 @@ context: APIRequestContext;

countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions): GaxiosPromise<Readable>;
countTokens(params?: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options?: MethodOptions): GaxiosPromise<Schema$CountTokensResponse>;
countTokens(params?: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudAiplatformV1beta1CountTokensResponse>;
countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: MethodOptions | BodyResponseCallback<Schema$CountTokensResponse>, callback: BodyResponseCallback<Schema$CountTokensResponse>): void;
countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, callback: BodyResponseCallback<Schema$CountTokensResponse>): void;
countTokens(callback: BodyResponseCallback<Schema$CountTokensResponse>): void;
countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1CountTokensResponse>, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1CountTokensResponse>): void;
countTokens(params: Params$Resource$Projects$Locations$Publishers$Models$Counttokens, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1CountTokensResponse>): void;
countTokens(callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1CountTokensResponse>): void;
/**

@@ -803,7 +939,7 @@ * Generate content with multimodal inputs.

generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions): GaxiosPromise<Readable>;
generateContent(params?: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options?: MethodOptions): GaxiosPromise<Schema$GenerateContentResponse>;
generateContent(params?: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>;
generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: MethodOptions | BodyResponseCallback<Schema$GenerateContentResponse>, callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
generateContent(callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
generateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Generatecontent, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
generateContent(callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
/**

@@ -818,7 +954,7 @@ * Generate content with multimodal inputs with streaming support.

streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions): GaxiosPromise<Readable>;
streamGenerateContent(params?: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options?: MethodOptions): GaxiosPromise<Schema$GenerateContentResponse>;
streamGenerateContent(params?: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>;
streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: MethodOptions | BodyResponseCallback<Schema$GenerateContentResponse>, callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
streamGenerateContent(callback: BodyResponseCallback<Schema$GenerateContentResponse>): void;
streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
streamGenerateContent(params: Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent, callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
streamGenerateContent(callback: BodyResponseCallback<Schema$GoogleCloudAiplatformV1beta1GenerateContentResponse>): void;
}

@@ -833,7 +969,7 @@ export interface Params$Resource$Projects$Locations$Publishers$Models$Counttokens extends StandardParameters {

*/
requestBody?: Schema$CountTokensRequest;
requestBody?: Schema$GoogleCloudAiplatformV1beta1CountTokensRequest;
}
export interface Params$Resource$Projects$Locations$Publishers$Models$Generatecontent extends StandardParameters {
/**
* Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x`
* Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project\}/locations/{location\}/publishers/x/models/x` Tuned model endpoint format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`
*/

@@ -844,7 +980,7 @@ model?: string;

*/
requestBody?: Schema$GenerateContentRequest;
requestBody?: Schema$GoogleCloudAiplatformV1beta1GenerateContentRequest;
}
export interface Params$Resource$Projects$Locations$Publishers$Models$Streamgeneratecontent extends StandardParameters {
/**
* Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x`
* Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project\}/locations/{location\}/publishers/x/models/x` Tuned model endpoint format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`
*/

@@ -855,5 +991,5 @@ model?: string;

*/
requestBody?: Schema$GenerateContentRequest;
requestBody?: Schema$GoogleCloudAiplatformV1beta1GenerateContentRequest;
}
export {};
}

@@ -367,2 +367,39 @@ /// <reference types="node" />

/**
* Metadata for google.longrunning.Operation results from FirestoreAdmin.BulkDeleteDocuments.
*/
export interface Schema$GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata {
/**
* The ids of the collection groups that are being deleted.
*/
collectionIds?: string[] | null;
/**
* The time this operation completed. Will be unset if operation still in progress.
*/
endTime?: string | null;
/**
* Which namespace ids are being deleted.
*/
namespaceIds?: string[] | null;
/**
* The state of the operation.
*/
operationState?: string | null;
/**
* The progress, in bytes, of this operation.
*/
progressBytes?: Schema$GoogleFirestoreAdminV1Progress;
/**
* The progress, in documents, of this operation.
*/
progressDocuments?: Schema$GoogleFirestoreAdminV1Progress;
/**
* The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).
*/
snapshotTime?: string | null;
/**
* The time this operation started.
*/
startTime?: string | null;
}
/**
* Metadata related to the create database operation.

@@ -369,0 +406,0 @@ */

@@ -41,2 +41,3 @@ "use strict";

};
this.accesstokens = new Resource$Accesstokens(this.context);
this.achievementDefinitions = new Resource$Achievementdefinitions(this.context);

@@ -57,2 +58,75 @@ this.achievements = new Resource$Achievements(this.context);

games_v1.Games = Games;
class Resource$Accesstokens {
constructor(context) {
this.context = context;
}
generatePlayGroupingApiToken(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://games.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/games/v1/accesstokens/generatePlayGroupingApiToken').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: [],
pathParams: [],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
generateRecallPlayGroupingApiToken(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://games.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/games/v1/accesstokens/generateRecallPlayGroupingApiToken').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: [],
pathParams: [],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
games_v1.Resource$Accesstokens = Resource$Accesstokens;
class Resource$Achievementdefinitions {

@@ -59,0 +133,0 @@ constructor(context) {

@@ -9,2 +9,3 @@ /*! THIS FILE IS AUTO-GENERATED */

import { gkehub_v2alpha } from './v2alpha';
import { gkehub_v2beta } from './v2beta';
export declare const VERSIONS: {

@@ -17,2 +18,3 @@ v1: typeof gkehub_v1.Gkehub;

v2alpha: typeof gkehub_v2alpha.Gkehub;
v2beta: typeof gkehub_v2beta.Gkehub;
};

@@ -31,2 +33,4 @@ export declare function gkehub(version: 'v1'): gkehub_v1.Gkehub;

export declare function gkehub(options: gkehub_v2alpha.Options): gkehub_v2alpha.Gkehub;
export declare function gkehub(version: 'v2beta'): gkehub_v2beta.Gkehub;
export declare function gkehub(options: gkehub_v2beta.Options): gkehub_v2beta.Gkehub;
declare const auth: AuthPlus;

@@ -40,2 +44,3 @@ export { auth };

export { gkehub_v2alpha };
export { gkehub_v2beta };
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';

@@ -15,3 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthPlus = exports.gkehub_v2alpha = exports.gkehub_v1beta1 = exports.gkehub_v1beta = exports.gkehub_v1alpha2 = exports.gkehub_v1alpha = exports.gkehub_v1 = exports.auth = exports.gkehub = exports.VERSIONS = void 0;
exports.AuthPlus = exports.gkehub_v2beta = exports.gkehub_v2alpha = exports.gkehub_v1beta1 = exports.gkehub_v1beta = exports.gkehub_v1alpha2 = exports.gkehub_v1alpha = exports.gkehub_v1 = exports.auth = exports.gkehub = exports.VERSIONS = void 0;
/*! THIS FILE IS AUTO-GENERATED */

@@ -31,2 +31,4 @@ const googleapis_common_1 = require("googleapis-common");

Object.defineProperty(exports, "gkehub_v2alpha", { enumerable: true, get: function () { return v2alpha_1.gkehub_v2alpha; } });
const v2beta_1 = require("./v2beta");
Object.defineProperty(exports, "gkehub_v2beta", { enumerable: true, get: function () { return v2beta_1.gkehub_v2beta; } });
exports.VERSIONS = {

@@ -39,2 +41,3 @@ v1: v1_1.gkehub_v1.Gkehub,

v2alpha: v2alpha_1.gkehub_v2alpha.Gkehub,
v2beta: v2beta_1.gkehub_v2beta.Gkehub,
};

@@ -41,0 +44,0 @@ function gkehub(versionOrOptions) {

@@ -334,4 +334,4 @@ /// <reference types="node" />

* Permission to join group. Possible values are:
* - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
* - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users' groups remain in those groups.
* - ANYONE_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users' groups remain in those groups.
* - ALL_IN_DOMAIN_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
* - INVITED_CAN_JOIN: Candidates for membership can be invited to join.

@@ -338,0 +338,0 @@ * - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.

@@ -15,4 +15,6 @@ /*! THIS FILE IS AUTO-GENERATED */

import { adsensehost } from './adsensehost';
import { adsenseplatform } from './adsenseplatform';
import { advisorynotifications } from './advisorynotifications';
import { aiplatform } from './aiplatform';
import { airquality } from './airquality';
import { alertcenter } from './alertcenter';

@@ -32,2 +34,3 @@ import { alloydb } from './alloydb';

import { apikeys } from './apikeys';
import { apim } from './apim';
import { appengine } from './appengine';

@@ -96,2 +99,3 @@ import { apphub } from './apphub';

import { contentwarehouse } from './contentwarehouse';
import { css } from './css';
import { customsearch } from './customsearch';

@@ -171,2 +175,3 @@ import { datacatalog } from './datacatalog';

import { jobs } from './jobs';
import { keep } from './keep';
import { kgsearch } from './kgsearch';

@@ -184,3 +189,5 @@ import { kmsinventory } from './kmsinventory';

import { marketingplatformadmin } from './marketingplatformadmin';
import { meet } from './meet';
import { memcache } from './memcache';
import { merchantapi } from './merchantapi';
import { metastore } from './metastore';

@@ -221,2 +228,3 @@ import { migrationcenter } from './migrationcenter';

import { policytroubleshooter } from './policytroubleshooter';
import { pollen } from './pollen';
import { poly } from './poly';

@@ -320,4 +328,6 @@ import { privateca } from './privateca';

adsensehost: typeof adsensehost;
adsenseplatform: typeof adsenseplatform;
advisorynotifications: typeof advisorynotifications;
aiplatform: typeof aiplatform;
airquality: typeof airquality;
alertcenter: typeof alertcenter;

@@ -337,2 +347,3 @@ alloydb: typeof alloydb;

apikeys: typeof apikeys;
apim: typeof apim;
appengine: typeof appengine;

@@ -401,2 +412,3 @@ apphub: typeof apphub;

contentwarehouse: typeof contentwarehouse;
css: typeof css;
customsearch: typeof customsearch;

@@ -476,2 +488,3 @@ datacatalog: typeof datacatalog;

jobs: typeof jobs;
keep: typeof keep;
kgsearch: typeof kgsearch;

@@ -489,3 +502,5 @@ kmsinventory: typeof kmsinventory;

marketingplatformadmin: typeof marketingplatformadmin;
meet: typeof meet;
memcache: typeof memcache;
merchantapi: typeof merchantapi;
metastore: typeof metastore;

@@ -526,2 +541,3 @@ migrationcenter: typeof migrationcenter;

policytroubleshooter: typeof policytroubleshooter;
pollen: typeof pollen;
poly: typeof poly;

@@ -528,0 +544,0 @@ privateca: typeof privateca;

@@ -30,4 +30,6 @@ "use strict";

const adsensehost_1 = require("./adsensehost");
const adsenseplatform_1 = require("./adsenseplatform");
const advisorynotifications_1 = require("./advisorynotifications");
const aiplatform_1 = require("./aiplatform");
const airquality_1 = require("./airquality");
const alertcenter_1 = require("./alertcenter");

@@ -47,2 +49,3 @@ const alloydb_1 = require("./alloydb");

const apikeys_1 = require("./apikeys");
const apim_1 = require("./apim");
const appengine_1 = require("./appengine");

@@ -111,2 +114,3 @@ const apphub_1 = require("./apphub");

const contentwarehouse_1 = require("./contentwarehouse");
const css_1 = require("./css");
const customsearch_1 = require("./customsearch");

@@ -186,2 +190,3 @@ const datacatalog_1 = require("./datacatalog");

const jobs_1 = require("./jobs");
const keep_1 = require("./keep");
const kgsearch_1 = require("./kgsearch");

@@ -199,3 +204,5 @@ const kmsinventory_1 = require("./kmsinventory");

const marketingplatformadmin_1 = require("./marketingplatformadmin");
const meet_1 = require("./meet");
const memcache_1 = require("./memcache");
const merchantapi_1 = require("./merchantapi");
const metastore_1 = require("./metastore");

@@ -236,2 +243,3 @@ const migrationcenter_1 = require("./migrationcenter");

const policytroubleshooter_1 = require("./policytroubleshooter");
const pollen_1 = require("./pollen");
const poly_1 = require("./poly");

@@ -329,4 +337,6 @@ const privateca_1 = require("./privateca");

adsensehost: adsensehost_1.VERSIONS,
adsenseplatform: adsenseplatform_1.VERSIONS,
advisorynotifications: advisorynotifications_1.VERSIONS,
aiplatform: aiplatform_1.VERSIONS,
airquality: airquality_1.VERSIONS,
alertcenter: alertcenter_1.VERSIONS,

@@ -346,2 +356,3 @@ alloydb: alloydb_1.VERSIONS,

apikeys: apikeys_1.VERSIONS,
apim: apim_1.VERSIONS,
appengine: appengine_1.VERSIONS,

@@ -410,2 +421,3 @@ apphub: apphub_1.VERSIONS,

contentwarehouse: contentwarehouse_1.VERSIONS,
css: css_1.VERSIONS,
customsearch: customsearch_1.VERSIONS,

@@ -485,2 +497,3 @@ datacatalog: datacatalog_1.VERSIONS,

jobs: jobs_1.VERSIONS,
keep: keep_1.VERSIONS,
kgsearch: kgsearch_1.VERSIONS,

@@ -498,3 +511,5 @@ kmsinventory: kmsinventory_1.VERSIONS,

marketingplatformadmin: marketingplatformadmin_1.VERSIONS,
meet: meet_1.VERSIONS,
memcache: memcache_1.VERSIONS,
merchantapi: merchantapi_1.VERSIONS,
metastore: metastore_1.VERSIONS,

@@ -535,2 +550,3 @@ migrationcenter: migrationcenter_1.VERSIONS,

policytroubleshooter: policytroubleshooter_1.VERSIONS,
pollen: pollen_1.VERSIONS,
poly: poly_1.VERSIONS,

@@ -630,4 +646,6 @@ privateca: privateca_1.VERSIONS,

this.adsensehost = adsensehost_1.adsensehost;
this.adsenseplatform = adsenseplatform_1.adsenseplatform;
this.advisorynotifications = advisorynotifications_1.advisorynotifications;
this.aiplatform = aiplatform_1.aiplatform;
this.airquality = airquality_1.airquality;
this.alertcenter = alertcenter_1.alertcenter;

@@ -647,2 +665,3 @@ this.alloydb = alloydb_1.alloydb;

this.apikeys = apikeys_1.apikeys;
this.apim = apim_1.apim;
this.appengine = appengine_1.appengine;

@@ -711,2 +730,3 @@ this.apphub = apphub_1.apphub;

this.contentwarehouse = contentwarehouse_1.contentwarehouse;
this.css = css_1.css;
this.customsearch = customsearch_1.customsearch;

@@ -786,2 +806,3 @@ this.datacatalog = datacatalog_1.datacatalog;

this.jobs = jobs_1.jobs;
this.keep = keep_1.keep;
this.kgsearch = kgsearch_1.kgsearch;

@@ -799,3 +820,5 @@ this.kmsinventory = kmsinventory_1.kmsinventory;

this.marketingplatformadmin = marketingplatformadmin_1.marketingplatformadmin;
this.meet = meet_1.meet;
this.memcache = memcache_1.memcache;
this.merchantapi = merchantapi_1.merchantapi;
this.metastore = metastore_1.metastore;

@@ -836,2 +859,3 @@ this.migrationcenter = migrationcenter_1.migrationcenter;

this.policytroubleshooter = policytroubleshooter_1.policytroubleshooter;
this.pollen = pollen_1.pollen;
this.poly = poly_1.poly;

@@ -838,0 +862,0 @@ this.privateca = privateca_1.privateca;

@@ -196,3 +196,3 @@ /// <reference types="node" />

/**
* Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.
* Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days.
*/

@@ -205,2 +205,6 @@ destroyScheduledDuration?: string | null;

/**
* Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed.
*/
keyAccessJustificationsPolicy?: Schema$GoogleCloudKmsV1KeyAccessJustificationsPolicy;
/**
* Labels with user-defined metadata. For more information, see [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).

@@ -332,2 +336,11 @@ */

/**
* A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey.
*/
export interface Schema$GoogleCloudKmsV1KeyAccessJustificationsPolicy {
/**
* The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
*/
allowedAccessReasons?: string[] | null;
}
/**
* Contains an HSM-generated attestation about a key operation. For more information, see [Verifying attestations] (https://cloud.google.com/kms/docs/attest-key).

@@ -334,0 +347,0 @@ */

@@ -151,2 +151,6 @@ /// <reference types="node" />

/**
* Optional. List of countries to show this product in. Countries provided in this attribute will override any of the countries configured at feed level. The values should be: the [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries in which this item will be shown.
*/
intendedCountry?: string[] | null;
/**
* The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid.

@@ -308,2 +312,6 @@ */

/**
* Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
*/
approvedCountries?: string[] | null;
/**
* The name of the destination.

@@ -313,2 +321,10 @@ */

/**
* Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.
*/
disapprovedCountries?: string[] | null;
/**
* Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.
*/
pendingCountries?: string[] | null;
/**
* The status of the destination.

@@ -430,2 +446,6 @@ */

/**
* Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the manufacturer product.
*/
applicableCountries?: string[] | null;
/**
* If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116.

@@ -690,2 +710,6 @@ */

/**
* Optional. The feed label for the product.
*/
feedLabel?: string | null;
/**
* A server-generated list of issues associated with the product.

@@ -692,0 +716,0 @@ */

@@ -56,2 +56,4 @@ "use strict";

this.global = new Resource$Projects$Locations$Global(this.context);
this.vpcFlowLogsConfigs =
new Resource$Projects$Locations$Vpcflowlogsconfigs(this.context);
}

@@ -573,2 +575,173 @@ get(paramsOrCallback, optionsOrCallback, callback) {

networkmanagement_v1beta1.Resource$Projects$Locations$Global$Operations = Resource$Projects$Locations$Global$Operations;
class Resource$Projects$Locations$Vpcflowlogsconfigs {
constructor(context) {
this.context = context;
}
create(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://networkmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/vpcFlowLogsConfigs').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://networkmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://networkmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://networkmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/vpcFlowLogsConfigs').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
patch(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://networkmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
networkmanagement_v1beta1.Resource$Projects$Locations$Vpcflowlogsconfigs = Resource$Projects$Locations$Vpcflowlogsconfigs;
})(networkmanagement_v1beta1 || (exports.networkmanagement_v1beta1 = networkmanagement_v1beta1 = {}));

@@ -368,3 +368,3 @@ /// <reference types="node" />

/**
* The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.
* The parent project and region for the signing request.
*/

@@ -397,3 +397,3 @@ parent?: string;

/**
* The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.
* The parent project and region for the signing request.
*/

@@ -400,0 +400,0 @@ parent?: string;

@@ -360,3 +360,3 @@ /// <reference types="node" />

/**
* The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.
* The parent project and region for the signing request.
*/

@@ -389,3 +389,3 @@ parent?: string;

/**
* The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.
* The parent project and region for the signing request.
*/

@@ -392,0 +392,0 @@ parent?: string;

@@ -92,3 +92,3 @@ /// <reference types="node" />

/**
* Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund.
* Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund. - YouTube subscriptions must use this option currently. However, the user will still have access to the subscription until the end of the billing cycle.
*/

@@ -124,3 +124,3 @@ cancelImmediately?: boolean | null;

/**
* Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.
* LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.
*/

@@ -729,3 +729,3 @@ export interface Schema$GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest {

/**
* To retrieve the products that can be resold by the partner. It should be autenticated with a service account.
* To retrieve the products that can be resold by the partner. It should be autenticated with a service account. - This API doesn't apply to YouTube products currently.
*

@@ -780,3 +780,3 @@ * @param params - Parameters for request

/**
* To retrieve the promotions, such as free trial, that can be used by the partner. It should be autenticated with a service account.
* Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.
*

@@ -911,3 +911,3 @@ * @param params - Parameters for request

/**
* Used by partners to revoke the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. It should be called directly by the partner using service accounts.
* Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly by the partner using service accounts.
*

@@ -914,0 +914,0 @@ * @param params - Parameters for request

@@ -71,2 +71,3 @@ /// <reference types="node" />

context: APIRequestContext;
deviceRecall: Resource$Devicerecall;
v1: Resource$V1;

@@ -154,6 +155,10 @@ constructor(options: GlobalOptions, google?: GoogleConfigurable);

/**
* Contains the device attestation information. Next tag: 4
* Contains the device attestation information.
*/
export interface Schema$DeviceIntegrity {
/**
* Details about the device recall bits set by the developer.
*/
deviceRecall?: Schema$DeviceRecall;
/**
* Details about the integrity of the device the app is running on.

@@ -168,2 +173,15 @@ */

/**
* Contains the recall bits per device set by the developer.
*/
export interface Schema$DeviceRecall {
/**
* Required. Contains the recall bits values.
*/
values?: Schema$Values;
/**
* Required. Contains the recall bits write dates.
*/
writeDates?: Schema$WriteDates;
}
/**
* Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict.

@@ -249,2 +267,82 @@ */

}
/**
* Contains the recall bits values.
*/
export interface Schema$Values {
/**
* Required. First recall bit value.
*/
bitFirst?: boolean | null;
/**
* Required. Second recall bit value.
*/
bitSecond?: boolean | null;
/**
* Required. Third recall bit value.
*/
bitThird?: boolean | null;
}
/**
* Contains the recall bits write dates.
*/
export interface Schema$WriteDates {
/**
* Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the first bit. Note that this value won't be set if the first bit is false.
*/
yyyymmFirst?: number | null;
/**
* Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the second bit. Note that this value won't be set if the second bit is false.
*/
yyyymmSecond?: number | null;
/**
* Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the third bit. Note that this value won't be set if the third bit is false.
*/
yyyymmThird?: number | null;
}
/**
* Request to write device recall bits.
*/
export interface Schema$WriteDeviceRecallRequest {
/**
* Required. Integrity token obtained from calling Play Integrity API.
*/
integrityToken?: string | null;
/**
* Required. The new values for the device recall bits to be written.
*/
newValues?: Schema$Values;
}
/**
* Response for the Write Device Recall action. Currently empty.
*/
export interface Schema$WriteDeviceRecallResponse {
}
export class Resource$Devicerecall {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
write(params: Params$Resource$Devicerecall$Write, options: StreamMethodOptions): GaxiosPromise<Readable>;
write(params?: Params$Resource$Devicerecall$Write, options?: MethodOptions): GaxiosPromise<Schema$WriteDeviceRecallResponse>;
write(params: Params$Resource$Devicerecall$Write, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
write(params: Params$Resource$Devicerecall$Write, options: MethodOptions | BodyResponseCallback<Schema$WriteDeviceRecallResponse>, callback: BodyResponseCallback<Schema$WriteDeviceRecallResponse>): void;
write(params: Params$Resource$Devicerecall$Write, callback: BodyResponseCallback<Schema$WriteDeviceRecallResponse>): void;
write(callback: BodyResponseCallback<Schema$WriteDeviceRecallResponse>): void;
}
export interface Params$Resource$Devicerecall$Write extends StandardParameters {
/**
* Required. Package name of the app the attached integrity token belongs to.
*/
packageName?: string;
/**
* Request body metadata
*/
requestBody?: Schema$WriteDeviceRecallRequest;
}
export class Resource$V1 {

@@ -251,0 +349,0 @@ context: APIRequestContext;

@@ -41,2 +41,3 @@ "use strict";

};
this.deviceRecall = new Resource$Devicerecall(this.context);
this.v1 = new Resource$V1(this.context);

@@ -46,2 +47,40 @@ }

playintegrity_v1.Playintegrity = Playintegrity;
class Resource$Devicerecall {
constructor(context) {
this.context = context;
}
write(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://playintegrity.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+packageName}/deviceRecall:write').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['packageName'],
pathParams: ['packageName'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
playintegrity_v1.Resource$Devicerecall = Resource$Devicerecall;
class Resource$V1 {

@@ -48,0 +87,0 @@ constructor(context) {

@@ -381,104 +381,3 @@ "use strict";

new Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations(this.context);
this.orgPolicyViolations =
new Resource$Organizations$Locations$Orgpolicyviolationspreviews$Orgpolicyviolations(this.context);
}
create(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://policysimulator.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/orgPolicyViolationsPreviews').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
get(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://policysimulator.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://policysimulator.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/orgPolicyViolationsPreviews').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -525,41 +424,2 @@ policysimulator_v1.Resource$Organizations$Locations$Orgpolicyviolationspreviews = Resource$Organizations$Locations$Orgpolicyviolationspreviews;

policysimulator_v1.Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations = Resource$Organizations$Locations$Orgpolicyviolationspreviews$Operations;
class Resource$Organizations$Locations$Orgpolicyviolationspreviews$Orgpolicyviolations {
constructor(context) {
this.context = context;
}
list(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://policysimulator.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/orgPolicyViolations').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
policysimulator_v1.Resource$Organizations$Locations$Orgpolicyviolationspreviews$Orgpolicyviolations = Resource$Organizations$Locations$Orgpolicyviolationspreviews$Orgpolicyviolations;
class Resource$Organizations$Locations$Replays {

@@ -566,0 +426,0 @@ constructor(context) {

@@ -329,2 +329,34 @@ "use strict";

}
addIpOverride(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://recaptchaenterprise.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:addIpOverride').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
create(paramsOrCallback, optionsOrCallback, callback) {

@@ -331,0 +363,0 @@ let params = (paramsOrCallback ||

@@ -155,2 +155,34 @@ "use strict";

}
exportProjectMetadata(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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+name}:exportProjectMetadata').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}

@@ -157,0 +189,0 @@ run_v2.Resource$Projects$Locations = Resource$Projects$Locations;

@@ -161,2 +161,36 @@ "use strict";

}
importProducerQuotaPolicies(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://serviceconsumermanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl +
'/v1beta1/{+parent}/consumerQuotaMetrics:importProducerQuotaPolicies').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -201,2 +235,4 @@ let params = (paramsOrCallback ||

new Resource$Services$Consumerquotametrics$Limits$Produceroverrides(this.context);
this.producerQuotaPolicies =
new Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies(this.context);
}

@@ -375,2 +411,140 @@ get(paramsOrCallback, optionsOrCallback, callback) {

serviceconsumermanagement_v1beta1.Resource$Services$Consumerquotametrics$Limits$Produceroverrides = Resource$Services$Consumerquotametrics$Limits$Produceroverrides;
class Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies {
constructor(context) {
this.context = context;
}
create(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://serviceconsumermanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/producerQuotaPolicies').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
delete(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://serviceconsumermanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
list(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://serviceconsumermanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+parent}/producerQuotaPolicies').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
}, options),
params,
requiredParams: ['parent'],
pathParams: ['parent'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
patch(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://serviceconsumermanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
}, options),
params,
requiredParams: ['name'],
pathParams: ['name'],
context: this.context,
};
if (callback) {
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
}
else {
return (0, googleapis_common_1.createAPIRequest)(parameters);
}
}
}
serviceconsumermanagement_v1beta1.Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies = Resource$Services$Consumerquotametrics$Limits$Producerquotapolicies;
})(serviceconsumermanagement_v1beta1 || (exports.serviceconsumermanagement_v1beta1 = serviceconsumermanagement_v1beta1 = {}));

@@ -356,3 +356,3 @@ /// <reference types="node" />

/**
* Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
* Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
*/

@@ -363,3 +363,3 @@ payload?: {

/**
* Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
* Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
*/

@@ -901,2 +901,6 @@ resourceTags?: {

/**
* The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
*/
contextId?: string | null;
/**
* The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.

@@ -903,0 +907,0 @@ */

@@ -194,2 +194,6 @@ /// <reference types="node" />

/**
* The access boundary session key. This key is used along with the access boundary intermediate token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.
*/
access_boundary_session_key?: string | null;
/**
* An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.

@@ -196,0 +200,0 @@ */

@@ -75,4 +75,51 @@ /// <reference types="node" />

}
/**
* Information about the source of the task assignment (Document, Chat Space).
*/
export interface Schema$AssignmentInfo {
/**
* Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only.
*/
driveResourceInfo?: Schema$DriveResourceInfo;
/**
* Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.).
*/
linkToTask?: string | null;
/**
* Output only. Information about the Chat Space where this task originates from. This field is read-only.
*/
spaceInfo?: Schema$SpaceInfo;
/**
* Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE.
*/
surfaceType?: string | null;
}
/**
* Information about the Drive resource where a task was assigned from (the document, sheet, etc.).
*/
export interface Schema$DriveResourceInfo {
/**
* Output only. Identifier of the file in the Drive API.
*/
driveFileId?: string | null;
/**
* Output only. Resource key required to access files shared via a shared link. Not required for all files. See also developers.google.com/drive/api/guides/resource-keys.
*/
resourceKey?: string | null;
}
/**
* Information about the Chat Space where a task was assigned from.
*/
export interface Schema$SpaceInfo {
/**
* Output only. The Chat space where this task originates from. The format is "spaces/{space\}".
*/
space?: string | null;
}
export interface Schema$Task {
/**
* Output only. Context information for assigned tasks. A task can be assigned to a user, currently possible from surfaces like Docs and Chat Spaces. This field is populated for tasks assigned to the current user and identifies where the task was assigned from. This field is read-only.
*/
assignmentInfo?: Schema$AssignmentInfo;
/**
* Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.

@@ -82,3 +129,3 @@ */

/**
* Flag indicating whether the task has been deleted. The default is False.
* Flag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False.
*/

@@ -115,7 +162,7 @@ deleted?: boolean | null;

/**
* Notes describing the task. Optional. Maximum length allowed: 8192 characters.
* Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters.
*/
notes?: string | null;
/**
* Output only. Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
* Output only. Parent task identifier. This field is omitted if it is a top-level task. Use the "move" method to move the task under a different parent or to the top level. A parent task can never be an assigned task (from Chat Spaces, Docs). This field is read-only.
*/

@@ -214,3 +261,3 @@ parent?: string | null;

/**
* Deletes the authenticated user's specified task list.
* Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
*

@@ -365,3 +412,3 @@ * @param params - Parameters for request

/**
* Deletes the specified task from the task list.
* Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.
*

@@ -394,3 +441,3 @@ * @param params - Parameters for request

/**
* Creates a new task on the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
* Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
*

@@ -409,3 +456,3 @@ * @param params - Parameters for request

/**
* Returns all tasks in the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
* Returns all tasks in the specified task list. Does not return assigned tasks be default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
*

@@ -424,3 +471,3 @@ * @param params - Parameters for request

/**
* Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.
* Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.
*

@@ -495,3 +542,3 @@ * @param params - Parameters for request

/**
* Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.
* Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional.
*/

@@ -538,4 +585,8 @@ parent?: string;

/**
* Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps.
* Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.
*/
showAssigned?: boolean;
/**
* Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.
*/
showCompleted?: boolean;

@@ -561,4 +612,8 @@ /**

/**
* New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.
* Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its current list. Recurrent tasks cannot currently be moved between lists. Optional.
*/
destinationTasklist?: string;
/**
* New parent task identifier. If the task is moved to the top level, this parameter is omitted. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional.
*/
parent?: string;

@@ -565,0 +620,0 @@ /**

@@ -159,2 +159,6 @@ /// <reference types="node" />

/**
* Optional. Describes the level of the execution history feature to apply to this execution. If not specified, the level of the execution history feature will be determined by its workflow's execution history level. If the value is different from its workflow's value, it will override the workflow's execution history level for this exeuction.
*/
executionHistoryLevel?: string | null;
/**
* Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.

@@ -616,3 +620,3 @@ */

/**
* Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime\>"2023-08-01" AND state="FAILED"`
* Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime\>"2023-08-01" AND state="FAILED"`
*/

@@ -619,0 +623,0 @@ filter?: string;

@@ -251,11 +251,11 @@ /// <reference types="node" />

/**
* Workflow program to be executed by Workflows.
* LINT.IfChange Workflow program to be executed by Workflows.
*/
export interface Schema$Workflow {
/**
* Output only. A list of all KMS crypto keys used to encrypt or decrpt the data associated with the workflow.
* Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
*/
allKmsKeys?: string[] | null;
/**
* Output only. A list of all KMS crypto keys versions used to encrypt or decrpt the data associated with the workflow.
* Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
*/

@@ -262,0 +262,0 @@ allKmsKeysVersions?: string[] | null;

@@ -29,3 +29,3 @@ import * as execa from 'execa';

* Iterate over each API directory, and use the `compodoc` tool to generate
* reference API documentation in the `docs` folder. This folder is ignored
* reference API documentation in the `docs` folder. This folder is ignored
* in git, so a publish must be done with `npm run publish-docs`.

@@ -32,0 +32,0 @@ *

@@ -37,3 +37,3 @@ "use strict";

* Iterate over each API directory, and use the `compodoc` tool to generate
* reference API documentation in the `docs` folder. This folder is ignored
* reference API documentation in the `docs` folder. This folder is ignored
* in git, so a publish must be done with `npm run publish-docs`.

@@ -40,0 +40,0 @@ *

@@ -5,3 +5,3 @@ import * as gapi from 'googleapis-common';

};
export declare const DISCOVERY_URL = "https://www.googleapis.com/discovery/v1/apis/";
export declare const DISCOVERY_URL = "https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries";
export interface Change {

@@ -8,0 +8,0 @@ action: 'ADDED' | 'DELETED' | 'CHANGED';

@@ -23,3 +23,3 @@ "use strict";

const gaxios_1 = require("gaxios");
exports.DISCOVERY_URL = 'https://www.googleapis.com/discovery/v1/apis/';
exports.DISCOVERY_URL = 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries';
// exported for mocking purposes

@@ -46,8 +46,12 @@ exports.gfs = {

? headers['Content-Type']
: 'json';
: 'application/json';
console.log(`sending request to ${options.discoveryUrl}`);
const res = await (0, gaxios_1.request)({ url: options.discoveryUrl, headers });
const apis = res.data.items;
const res = await (0, gaxios_1.request)({
url: `${options.discoveryUrl}/index.json`,
headers,
});
const discoveryDoc = JSON.parse(res.data);
const apis = discoveryDoc.items;
const indexPath = path.join(options.downloadPath, 'index.json');
exports.gfs.writeFile(indexPath, res.data);
exports.gfs.writeFile(indexPath, discoveryDoc);
const queue = new p_queue_1.default({ concurrency: 25 });

@@ -58,3 +62,3 @@ console.log(`Downloading ${apis.length} APIs...`);

const apiPath = path.join(options.downloadPath, api.id.replace(':', '-') + '.json');
const url = api.discoveryRestUrl;
const url = `${options.discoveryUrl}/${api.name}.${api.version}.json`;
const changeSet = { api, changes: [] };

@@ -65,3 +69,3 @@ try {

// request to request. Sort them before storing.
const newDoc = sortKeys(res.data);
const newDoc = sortKeys(JSON.parse(res.data));
let updateFile = true;

@@ -68,0 +72,0 @@ try {

@@ -52,4 +52,15 @@ "use strict";

if (process.env.GITHUB_ACTIONS) {
await execa('git', ['config', 'user.email', 'yoshi-automation@google.com']);
await execa('git', ['config', 'user.name', 'Yoshi Automation']);
await execa('git', [
'config',
'--global',
'user.email',
'yoshi-automation@google.com',
]);
await execa('git', ['config', '--global', 'user.name', 'Yoshi Automation']);
await execa('git', [
'config',
'--global',
`url.https://${process.env.CODE_BOT_TOKEN}@github.com/.insteadOf`,
'https://github.com/',
]);
}

@@ -102,3 +113,5 @@ const dirs = files.filter(f => {

title: `${prefix}: run the generator`,
head: branch,
owner: 'googleapis',
repo: 'google-api-nodejs-client',
head: `yoshi-code-bot:${branch}`,
base: 'main',

@@ -105,0 +118,0 @@ body: changelogs.join('\n\n').slice(0, 65000),

@@ -28,5 +28,8 @@ /*! THIS FILE IS AUTO-GENERATED */

export { adsensehost_v4_1 } from './apis/adsensehost/v4.1';
export { adsenseplatform_v1 } from './apis/adsenseplatform/v1';
export { adsenseplatform_v1alpha } from './apis/adsenseplatform/v1alpha';
export { advisorynotifications_v1 } from './apis/advisorynotifications/v1';
export { aiplatform_v1 } from './apis/aiplatform/v1';
export { aiplatform_v1beta1 } from './apis/aiplatform/v1beta1';
export { airquality_v1 } from './apis/airquality/v1';
export { alertcenter_v1beta1 } from './apis/alertcenter/v1beta1';

@@ -55,2 +58,3 @@ export { alloydb_v1 } from './apis/alloydb/v1';

export { apikeys_v2 } from './apis/apikeys/v2';
export { apim_v1alpha } from './apis/apim/v1alpha';
export { appengine_v1 } from './apis/appengine/v1';

@@ -69,2 +73,3 @@ export { appengine_v1alpha } from './apis/appengine/v1alpha';

export { authorizedbuyersmarketplace_v1 } from './apis/authorizedbuyersmarketplace/v1';
export { authorizedbuyersmarketplace_v1alpha } from './apis/authorizedbuyersmarketplace/v1alpha';
export { backupdr_v1 } from './apis/backupdr/v1';

@@ -171,2 +176,3 @@ export { baremetalsolution_v1 } from './apis/baremetalsolution/v1';

export { contentwarehouse_v1 } from './apis/contentwarehouse/v1';
export { css_v1 } from './apis/css/v1';
export { customsearch_v1 } from './apis/customsearch/v1';

@@ -282,2 +288,3 @@ export { datacatalog_v1 } from './apis/datacatalog/v1';

export { gkehub_v2alpha } from './apis/gkehub/v2alpha';
export { gkehub_v2beta } from './apis/gkehub/v2beta';
export { gkeonprem_v1 } from './apis/gkeonprem/v1';

@@ -309,2 +316,3 @@ export { gmail_v1 } from './apis/gmail/v1';

export { jobs_v4 } from './apis/jobs/v4';
export { keep_v1 } from './apis/keep/v1';
export { kgsearch_v1 } from './apis/kgsearch/v1';

@@ -327,4 +335,15 @@ export { kmsinventory_v1 } from './apis/kmsinventory/v1';

export { marketingplatformadmin_v1alpha } from './apis/marketingplatformadmin/v1alpha';
export { meet_v2 } from './apis/meet/v2';
export { memcache_v1 } from './apis/memcache/v1';
export { memcache_v1beta2 } from './apis/memcache/v1beta2';
export { merchantapi_accounts_v1beta } from './apis/merchantapi/accounts_v1beta';
export { merchantapi_conversions_v1beta } from './apis/merchantapi/conversions_v1beta';
export { merchantapi_datasources_v1beta } from './apis/merchantapi/datasources_v1beta';
export { merchantapi_inventories_v1beta } from './apis/merchantapi/inventories_v1beta';
export { merchantapi_lfp_v1beta } from './apis/merchantapi/lfp_v1beta';
export { merchantapi_notifications_v1beta } from './apis/merchantapi/notifications_v1beta';
export { merchantapi_products_v1beta } from './apis/merchantapi/products_v1beta';
export { merchantapi_promotions_v1beta } from './apis/merchantapi/promotions_v1beta';
export { merchantapi_quota_v1beta } from './apis/merchantapi/quota_v1beta';
export { merchantapi_reports_v1beta } from './apis/merchantapi/reports_v1beta';
export { metastore_v1 } from './apis/metastore/v1';

@@ -385,2 +404,3 @@ export { metastore_v1alpha } from './apis/metastore/v1alpha';

export { policytroubleshooter_v1beta } from './apis/policytroubleshooter/v1beta';
export { pollen_v1 } from './apis/pollen/v1';
export { poly_v1 } from './apis/poly/v1';

@@ -387,0 +407,0 @@ export { privateca_v1 } from './apis/privateca/v1';

{
"name": "googleapis",
"version": "140.0.1",
"version": "142.0.0",
"repository": "googleapis/google-api-nodejs-client",

@@ -39,3 +39,3 @@ "license": "Apache-2.0",

"pregenerate": "npm run build-tools",
"generate": "node build/src/generator/generator.js",
"generate": "node --max-old-space-size=8192 build/src/generator/generator.js",
"docs-test": "echo 🙈 this was taking too long and timing out CI",

@@ -78,2 +78,3 @@ "presubmit-prs": "npm run compile",

"c8": "^9.0.0",
"cheerio": "1.0.0-rc.12",
"codecov": "^3.4.0",

@@ -80,0 +81,0 @@ "cross-env": "^7.0.3",

@@ -39,4 +39,9 @@ <img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>

### Working with Google Cloud Platform APIs?
If you're working with [Google Cloud Platform][cloudplatform] APIs such as Datastore, Cloud Storage or Pub/Sub, consider using the [`@google-cloud`][googlecloud] client libraries: single purpose idiomatic Node.js clients for Google Cloud Platform services.
When utilizing Google Cloud Platform APIs like Datastore, Cloud Storage, or Pub/Sub, it is advisable to leverage the @google-cloud client libraries. These libraries are purpose-built, idiomatic Node.js clients designed for specific Google Cloud Platform services. We recommend installing individual API packages, such as `@google-cloud/storage`. To explore a comprehensive list of Google Cloud Platform API-specific packages, please refer to https://cloud.google.com/nodejs/docs/reference.
### Support and maintenance

@@ -52,3 +57,3 @@ These client libraries are officially supported by Google. However, these libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features. For Google Cloud Platform APIs, we recommend using [google-cloud-node](https://github.com/GoogleCloudPlatform/google-cloud-node) which is under active development.

``` sh
```sh
$ npm install googleapis

@@ -59,7 +64,7 @@ ```

``` sh
```sh
$ npm install @googleapis/docs
```
You can run [this search](https://www.npmjs.com/search?q=scope%3Agoogleapis) on npm, to find a list of the submodules available.
You can run [this search](https://www.npmjs.com/search?q=scope%3Agoogleapis) on `npm`, to find a list of the submodules available.
### Using the client library

@@ -69,3 +74,3 @@

``` js
```js
const {google} = require('googleapis');

@@ -96,3 +101,3 @@

``` js
```js
blogger.blogs.get(params)

@@ -109,3 +114,3 @@ .then(res => {

``` js
```js
async function runSample() {

@@ -115,2 +120,3 @@ const res = await blogger.blogs.get(params);

}
runSample().catch(console.error);

@@ -121,3 +127,3 @@ ```

``` js
```js
const docs = require('@googleapis/docs')

@@ -185,3 +191,3 @@

``` js
```js
const {google} = require('googleapis');

@@ -205,3 +211,3 @@

// If you only need one scope you can pass it as a string
// If you only need one scope, you can pass it as a string
scope: scopes

@@ -217,4 +223,5 @@ });

```
GET /oauthcallback?code={authorizationCode}
```
#### Retrieve access token

@@ -224,3 +231,3 @@

``` js
```js
// This will provide an object with the access_token and refresh_token.

@@ -246,3 +253,3 @@ // Save these somewhere safe so they can be used at a later time.

```
This tokens event only occurs in the first authorization, and you need to have set your `access_type` to `offline` when calling the `generateAuthUrl` method to receive the refresh token. If you have already given your app the requisiste permissions without setting the appropriate constraints for receiving a refresh token, you will need to re-authorize the application to receive a fresh refresh token. You can revoke your app's access to your account [here](https://myaccount.google.com/permissions).
This tokens event only occurs in the first authorization, and you need to have set your `access_type` to `offline` when calling the `generateAuthUrl` method to receive the refresh token. If you have already given your app the requisite permissions without setting the appropriate constraints for receiving a refresh token, you will need to re-authorize the application to receive a fresh refresh token. You can revoke your app's access to your account [here](https://myaccount.google.com/permissions).

@@ -272,3 +279,3 @@ To set the `refresh_token` at a later time, you can use the `setCredentials` method:

``` js
```js
const {google} = require('googleapis');

@@ -332,3 +339,3 @@ const blogger = google.blogger_v3({

Service accounts allow you to perform server to server, app-level authentication using a robot account. You will create a service account, download a keyfile, and use that to authenticate to Google APIs. To create a service account:
Service accounts allow you to perform server-to-server, app-level authentication using a robot account. You will create a service account, download a keyfile, and use that to authenticate to Google APIs. To create a service account:
- Go to the [Create Service Account Key page](https://console.cloud.google.com/apis/credentials/serviceaccountkey)

@@ -343,3 +350,3 @@ - Select `New Service Account` in the drop down

```
```sh
$ GOOGLE_APPLICATION_CREDENTIALS=./your-secret-key.json node server.js

@@ -365,3 +372,3 @@ ```

``` js
```js
const {google} = require('googleapis');

@@ -383,3 +390,3 @@

``` js
```js
const {google} = require('googleapis');

@@ -422,3 +429,3 @@ const oauth2Client = new google.auth.OAuth2(

``` js
```js
const drive = google.drive({

@@ -425,0 +432,0 @@ version: 'v3',

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc