You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

googleapis

Package Overview
Dependencies
Maintainers
0
Versions
259
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

to
148.0.0

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

4

build/src/apis/admin/reports_v1.d.ts

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

/**
* Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
* Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)
*/

@@ -417,3 +417,3 @@ groupIdFilter?: string;

/**
* Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
* Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)
*/

@@ -420,0 +420,0 @@ groupIdFilter?: string;

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

}
import(paramsOrCallback, optionsOrCallback, callback) {
let params = (paramsOrCallback ||
{});
let options = (optionsOrCallback || {});
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {};
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:import').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);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

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

}
restoreFromCloudSQL(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/{+parent}/clusters:restoreFromCloudSQL').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);
}
}
switchover(paramsOrCallback, optionsOrCallback, callback) {

@@ -591,0 +656,0 @@ let params = (paramsOrCallback ||

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

}
import(paramsOrCallback, optionsOrCallback, callback) {
let params = (paramsOrCallback ||
{});
let options = (optionsOrCallback || {});
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {};
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+name}:import').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);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -462,0 +494,0 @@ let params = (paramsOrCallback ||

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

}
import(paramsOrCallback, optionsOrCallback, callback) {
let params = (paramsOrCallback ||
{});
let options = (optionsOrCallback || {});
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {};
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/{+name}:import').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);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -462,0 +494,0 @@ let params = (paramsOrCallback ||

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

}
generateEnterpriseUpgradeUrl(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://androidmanagement.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:generateEnterpriseUpgradeUrl').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);
}
}
get(paramsOrCallback, optionsOrCallback, callback) {

@@ -124,0 +156,0 @@ let params = (paramsOrCallback || {});

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

/**
* The Place resource name of the center of the circle. Only point places are supported.
* **Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For example: `places/ChIJgUbEo8cfqokR5lP9_Wh_DaM`.
*/

@@ -140,3 +140,3 @@ place?: string | null;

/**
* Optional. Restricts results to places whose price level is included on this list. If price_level is not set, all price levels are included in the results.
* Optional. Restricts results to places whose price level is included on this list. If `price_levels` is not set, all price levels are included in the results.
*/

@@ -143,0 +143,0 @@ priceLevels?: string[] | null;

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

this.operations = new Resource$Projects$Locations$Operations(this.context);
this.resourceBackupConfigs =
new Resource$Projects$Locations$Resourcebackupconfigs(this.context);
this.serviceConfig = new Resource$Projects$Locations$Serviceconfig(this.context);

@@ -1516,2 +1518,41 @@ }

backupdr_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;
class Resource$Projects$Locations$Resourcebackupconfigs {
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://backupdr.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/resourceBackupConfigs').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$Resourcebackupconfigs = Resource$Projects$Locations$Resourcebackupconfigs;
class Resource$Projects$Locations$Serviceconfig {

@@ -1518,0 +1559,0 @@ constructor(context) {

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

}
cancel(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://batch.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:cancel').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) {

@@ -132,0 +164,0 @@ let params = (paramsOrCallback ||

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

this.context = context;
this.spaceNotificationSetting =
new Resource$Users$Spaces$Spacenotificationsetting(this.context);
this.threads = new Resource$Users$Spaces$Threads(this.context);

@@ -1061,2 +1063,74 @@ }

chat_v1.Resource$Users$Spaces = Resource$Users$Spaces;
class Resource$Users$Spaces$Spacenotificationsetting {
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://chat.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);
}
}
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://chat.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);
}
}
}
chat_v1.Resource$Users$Spaces$Spacenotificationsetting = Resource$Users$Spaces$Spacenotificationsetting;
class Resource$Users$Spaces$Threads {

@@ -1063,0 +1137,0 @@ constructor(context) {

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

/**
* Message describing ContactCenter object Next ID: 24
* Message describing ContactCenter object
*/

@@ -109,0 +109,0 @@ export interface Schema$ContactCenter {

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

/**
* The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.
* The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account. Note: For MC sub-accounts, this is also the CSS domain that is the parent resource of the MCA account, since we are effectively flattening the hierarchy."
*/

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

/**
* The name of the CSS Product input. Format: `accounts/{account\}/cssProductInputs/{css_product_input\}`
* The name of the CSS Product input. Format: `accounts/{account\}/cssProductInputs/{css_product_input\}`, where the last section `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123
*/

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

/**
* Required. The name of the CSS product input resource to delete. Format: accounts/{account\}/cssProductInputs/{css_product_input\}
* Required. The name of the CSS product input resource to delete. Format: accounts/{account\}/cssProductInputs/{css_product_input\}, where the last section `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123
*/

@@ -849,3 +849,3 @@ name?: string;

/**
* The name of the CSS Product input. Format: `accounts/{account\}/cssProductInputs/{css_product_input\}`
* The name of the CSS Product input. Format: `accounts/{account\}/cssProductInputs/{css_product_input\}`, where the last section `css_product_input` consists of 3 parts: contentLanguage~feedLabel~offerId. Example: accounts/123/cssProductInputs/de~DE~rawProvidedId123
*/

@@ -852,0 +852,0 @@ name?: string;

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

context: APIRequestContext;
accessType: Resource$Accesstype;
archiveJobs: Resource$Archivejobs;

@@ -78,2 +79,30 @@ authorization: Resource$Authorization;

/**
* Request to cancel a Portability Archive job.
*/
export interface Schema$CancelPortabilityArchiveRequest {
}
/**
* Response to canceling a Data Portability Archive job.
*/
export interface Schema$CancelPortabilityArchiveResponse {
}
/**
* Request to check the token's access type. All required information is derived from the attached OAuth token.
*/
export interface Schema$CheckAccessTypeRequest {
}
/**
* Response to checking the token's access type.
*/
export interface Schema$CheckAccessTypeResponse {
/**
* Jobs initiated with this token will be one-time if any requested resources have one-time access.
*/
oneTimeResources?: string[] | null;
/**
* Jobs initiated with this token will be time-based if all requested resources have time-based access.
*/
timeBasedResources?: string[] | null;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}

@@ -88,5 +117,13 @@ */

/**
* Optional. The timestamp that represents the end point for the data you are exporting. If the end_time is not specified in the InitiatePortabilityArchiveRequest, this field is set to the latest available data.
*/
endTime?: string | null;
/**
* The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.
*/
resources?: string[] | null;
/**
* Optional. The timestamp that represents the starting point for the data you are exporting. If the start_time is not specified in the InitiatePortabilityArchiveRequest, the field is set to the earliest available data.
*/
startTime?: string | null;
}

@@ -98,2 +135,6 @@ /**

/**
* The access type of the Archive job initiated by the API.
*/
accessType?: string | null;
/**
* The archive job ID that is initiated in the API. This can be used to get the state of the job.

@@ -108,2 +149,6 @@ */

/**
* The timestamp that represents the end point for the data you are exporting. If the end_time value is set in the InitiatePortabilityArchiveRequest, this field is set to that value. If end_time is not set, this value is set to the time the export was requested.
*/
exportTime?: string | null;
/**
* The resource name of ArchiveJob's PortabilityArchiveState singleton. The format is: archiveJobs/{archive_job\}/portabilityArchiveState. archive_job is the job ID provided in the request.

@@ -113,2 +158,6 @@ */

/**
* The timestamp that represents the starting point for the data you are exporting. This field is set only if the start_time field is specified in the InitiatePortabilityArchiveRequest.
*/
startTime?: string | null;
/**
* Resource that represents the state of the Archive job.

@@ -141,2 +190,26 @@ */

}
export class Resource$Accesstype {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Gets the access type of the token.
*
* @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.
*/
check(params: Params$Resource$Accesstype$Check, options: StreamMethodOptions): GaxiosPromise<Readable>;
check(params?: Params$Resource$Accesstype$Check, options?: MethodOptions): GaxiosPromise<Schema$CheckAccessTypeResponse>;
check(params: Params$Resource$Accesstype$Check, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
check(params: Params$Resource$Accesstype$Check, options: MethodOptions | BodyResponseCallback<Schema$CheckAccessTypeResponse>, callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
check(params: Params$Resource$Accesstype$Check, callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
check(callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
}
export interface Params$Resource$Accesstype$Check extends StandardParameters {
/**
* Request body metadata
*/
requestBody?: Schema$CheckAccessTypeRequest;
}
export class Resource$Archivejobs {

@@ -146,2 +219,16 @@ context: APIRequestContext;

/**
* Cancels a Portability Archive job.
*
* @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.
*/
cancel(params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
cancel(params?: Params$Resource$Archivejobs$Cancel, options?: MethodOptions): GaxiosPromise<Schema$CancelPortabilityArchiveResponse>;
cancel(params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
cancel(params: Params$Resource$Archivejobs$Cancel, options: MethodOptions | BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>, callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
cancel(params: Params$Resource$Archivejobs$Cancel, callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
cancel(callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
/**
* Retrieves the state of an Archive job for the Portability API.

@@ -175,2 +262,12 @@ *

}
export interface Params$Resource$Archivejobs$Cancel extends StandardParameters {
/**
* Required. The Archive job ID you're canceling. This is returned by the InitiatePortabilityArchive response. The format is: archiveJobs/{archive_job\}. Canceling is only executed if the job is in progress.
*/
name?: string;
/**
* Request body metadata
*/
requestBody?: Schema$CancelPortabilityArchiveRequest;
}
export interface Params$Resource$Archivejobs$Getportabilityarchivestate extends StandardParameters {

@@ -177,0 +274,0 @@ /**

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

};
this.accessType = new Resource$Accesstype(this.context);
this.archiveJobs = new Resource$Archivejobs(this.context);

@@ -48,2 +49,39 @@ this.authorization = new Resource$Authorization(this.context);

dataportability_v1.Dataportability = Dataportability;
class Resource$Accesstype {
constructor(context) {
this.context = context;
}
check(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://dataportability.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/accessType:check').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);
}
}
}
dataportability_v1.Resource$Accesstype = Resource$Accesstype;
class Resource$Archivejobs {

@@ -53,2 +91,34 @@ constructor(context) {

}
cancel(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://dataportability.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:cancel').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);
}
}
getPortabilityArchiveState(paramsOrCallback, optionsOrCallback, callback) {

@@ -55,0 +125,0 @@ let params = (paramsOrCallback ||

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

context: APIRequestContext;
accessType: Resource$Accesstype;
archiveJobs: Resource$Archivejobs;

@@ -78,2 +79,30 @@ authorization: Resource$Authorization;

/**
* Request to cancel a Portability Archive job.
*/
export interface Schema$CancelPortabilityArchiveRequest {
}
/**
* Response to canceling a Data Portability Archive job.
*/
export interface Schema$CancelPortabilityArchiveResponse {
}
/**
* Request to check the token's access type. All required information is derived from the attached OAuth token.
*/
export interface Schema$CheckAccessTypeRequest {
}
/**
* Response to checking the token's access type.
*/
export interface Schema$CheckAccessTypeResponse {
/**
* Jobs initiated with this token will be one-time if any requested resources have one-time access.
*/
oneTimeResources?: string[] | null;
/**
* Jobs initiated with this token will be time-based if all requested resources have time-based access.
*/
timeBasedResources?: string[] | null;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}

@@ -88,5 +117,13 @@ */

/**
* Optional. The timestamp that represents the end point for the data you are exporting. If the end_time is not specified in the InitiatePortabilityArchiveRequest, this field is set to the latest available data.
*/
endTime?: string | null;
/**
* The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.
*/
resources?: string[] | null;
/**
* Optional. The timestamp that represents the starting point for the data you are exporting. If the start_time is not specified in the InitiatePortabilityArchiveRequest, the field is set to the earliest available data.
*/
startTime?: string | null;
}

@@ -98,2 +135,6 @@ /**

/**
* The access type of the Archive job initiated by the API.
*/
accessType?: string | null;
/**
* The archive job ID that is initiated in the API. This can be used to get the state of the job.

@@ -108,2 +149,6 @@ */

/**
* The timestamp that represents the end point for the data you are exporting. If the end_time value is set in the InitiatePortabilityArchiveRequest, this field is set to that value. If end_time is not set, this value is set to the time the export was requested.
*/
exportTime?: string | null;
/**
* The resource name of ArchiveJob's PortabilityArchiveState singleton. The format is: archiveJobs/{archive_job\}/portabilityArchiveState. archive_job is the job ID provided in the request.

@@ -113,2 +158,6 @@ */

/**
* The timestamp that represents the starting point for the data you are exporting. This field is set only if the start_time field is specified in the InitiatePortabilityArchiveRequest.
*/
startTime?: string | null;
/**
* Resource that represents the state of the Archive job.

@@ -141,2 +190,26 @@ */

}
export class Resource$Accesstype {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Gets the access type of the token.
*
* @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.
*/
check(params: Params$Resource$Accesstype$Check, options: StreamMethodOptions): GaxiosPromise<Readable>;
check(params?: Params$Resource$Accesstype$Check, options?: MethodOptions): GaxiosPromise<Schema$CheckAccessTypeResponse>;
check(params: Params$Resource$Accesstype$Check, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
check(params: Params$Resource$Accesstype$Check, options: MethodOptions | BodyResponseCallback<Schema$CheckAccessTypeResponse>, callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
check(params: Params$Resource$Accesstype$Check, callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
check(callback: BodyResponseCallback<Schema$CheckAccessTypeResponse>): void;
}
export interface Params$Resource$Accesstype$Check extends StandardParameters {
/**
* Request body metadata
*/
requestBody?: Schema$CheckAccessTypeRequest;
}
export class Resource$Archivejobs {

@@ -146,2 +219,16 @@ context: APIRequestContext;

/**
* Cancels a Portability Archive job.
*
* @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.
*/
cancel(params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
cancel(params?: Params$Resource$Archivejobs$Cancel, options?: MethodOptions): GaxiosPromise<Schema$CancelPortabilityArchiveResponse>;
cancel(params: Params$Resource$Archivejobs$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
cancel(params: Params$Resource$Archivejobs$Cancel, options: MethodOptions | BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>, callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
cancel(params: Params$Resource$Archivejobs$Cancel, callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
cancel(callback: BodyResponseCallback<Schema$CancelPortabilityArchiveResponse>): void;
/**
* Retrieves the state of an Archive job for the Portability API.

@@ -175,2 +262,12 @@ *

}
export interface Params$Resource$Archivejobs$Cancel extends StandardParameters {
/**
* Required. The Archive job ID you're canceling. This is returned by the InitiatePortabilityArchive response. The format is: archiveJobs/{archive_job\}. Canceling is only executed if the job is in progress.
*/
name?: string;
/**
* Request body metadata
*/
requestBody?: Schema$CancelPortabilityArchiveRequest;
}
export interface Params$Resource$Archivejobs$Getportabilityarchivestate extends StandardParameters {

@@ -177,0 +274,0 @@ /**

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

};
this.accessType = new Resource$Accesstype(this.context);
this.archiveJobs = new Resource$Archivejobs(this.context);

@@ -48,2 +49,39 @@ this.authorization = new Resource$Authorization(this.context);

dataportability_v1beta.Dataportability = Dataportability;
class Resource$Accesstype {
constructor(context) {
this.context = context;
}
check(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://dataportability.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/accessType:check').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);
}
}
}
dataportability_v1beta.Resource$Accesstype = Resource$Accesstype;
class Resource$Archivejobs {

@@ -53,2 +91,34 @@ constructor(context) {

}
cancel(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://dataportability.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/{+name}:cancel').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);
}
}
getPortabilityArchiveState(paramsOrCallback, optionsOrCallback, callback) {

@@ -55,0 +125,0 @@ let params = (paramsOrCallback ||

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

/**
* Ths concurrency mode for this database.
* The concurrency mode for this database.
*/

@@ -409,0 +409,0 @@ concurrencyMode?: string | null;

@@ -627,2 +627,68 @@ "use strict";

}
processBitbucketCloudWebhook(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://developerconnect.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:processBitbucketCloudWebhook').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);
}
}
processBitbucketDataCenterWebhook(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://developerconnect.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:processBitbucketDataCenterWebhook').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);
}
}
processGitLabEnterpriseWebhook(paramsOrCallback, optionsOrCallback, callback) {

@@ -629,0 +695,0 @@ let params = (paramsOrCallback ||

@@ -102,2 +102,36 @@ /// <reference types="node" />

/**
* Message used to check for the existence of multiple digital asset links within a single RPC.
*/
export interface Schema$BulkCheckRequest {
/**
* If specified, will be used in any given template statement that doesn’t specify a relation.
*/
defaultRelation?: string | null;
/**
* If specified, will be used in any given template statement that doesn’t specify a source.
*/
defaultSource?: Schema$Asset;
/**
* If specified, will be used in any given template statement that doesn’t specify a target.
*/
defaultTarget?: Schema$Asset;
/**
* List of statements to check. For each statement, you can omit a field if the corresponding default_* field below was supplied. Minimum 1 statement; maximum 1,000 statements. Any additional statements will be ignored.
*/
statements?: Schema$StatementTemplate[];
}
/**
* Response for BulkCheck call. Results are sent in a list in the same order in which they were sent. Individual check errors are described in the appropriate check_results entry. If the entire call fails, the response will include a bulk_error_code field describing the error.
*/
export interface Schema$BulkCheckResponse {
/**
* Error code for the entire request. Present only if the entire request failed. Individual check errors will not trigger the presence of this field.
*/
bulkErrorCode?: string | null;
/**
* List of results for each check request. Results are returned in the same order in which they were sent in the request.
*/
checkResults?: Schema$CheckResponse[];
}
/**
* Describes an X509 certificate.

@@ -171,2 +205,19 @@ */

/**
* A single statement to check in a bulk call using BulkCheck. See CheckRequest for details about each field.
*/
export interface Schema$StatementTemplate {
/**
* The relationship being asserted between the source and target. If omitted, you must specify a BulkCheckRequest.default_relation value to use here.
*/
relation?: string | null;
/**
* The source asset that is asserting the statement. If omitted, you must specify a BulkCheckRequest.default_source value to use here.
*/
source?: Schema$Asset;
/**
* The target that the source is declaring the relationship with. If omitted, you must specify a BulkCheckRequest.default_target to use here.
*/
target?: Schema$Asset;
}
/**
* Describes a web asset.

@@ -184,2 +235,16 @@ */

/**
* Send a bundle of statement checks in a single RPC to minimize latency and service load. Statements need not be all for the same source and/or target. We recommend using this method when you need to check more than one statement in a short period of time.
*
* @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.
*/
bulkCheck(params: Params$Resource$Assetlinks$Bulkcheck, options: StreamMethodOptions): GaxiosPromise<Readable>;
bulkCheck(params?: Params$Resource$Assetlinks$Bulkcheck, options?: MethodOptions): GaxiosPromise<Schema$BulkCheckResponse>;
bulkCheck(params: Params$Resource$Assetlinks$Bulkcheck, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
bulkCheck(params: Params$Resource$Assetlinks$Bulkcheck, options: MethodOptions | BodyResponseCallback<Schema$BulkCheckResponse>, callback: BodyResponseCallback<Schema$BulkCheckResponse>): void;
bulkCheck(params: Params$Resource$Assetlinks$Bulkcheck, callback: BodyResponseCallback<Schema$BulkCheckResponse>): void;
bulkCheck(callback: BodyResponseCallback<Schema$BulkCheckResponse>): void;
/**
* Determines whether the specified (directional) relationship exists between the specified source and target assets. The relation describes the intent of the link between the two assets as claimed by the source asset. An example for such relationships is the delegation of privileges or permissions. This command is most often used by infrastructure systems to check preconditions for an action. For example, a client may want to know if it is OK to send a web URL to a particular mobile app instead. The client can check for the relevant asset link from the website to the mobile app to decide if the operation should be allowed. A note about security: if you specify a secure asset as the source, such as an HTTPS website or an Android app, the API will ensure that any statements used to generate the response have been made in a secure way by the owner of that asset. Conversely, if the source asset is an insecure HTTP website (that is, the URL starts with `http://` instead of `https://`), the API cannot verify its statements securely, and it is not possible to ensure that the website's statements have not been altered by a third party. For more information, see the [Digital Asset Links technical design specification](https://github.com/google/digitalassetlinks/blob/master/well-known/details.md).

@@ -199,2 +264,8 @@ *

}
export interface Params$Resource$Assetlinks$Bulkcheck extends StandardParameters {
/**
* Request body metadata
*/
requestBody?: Schema$BulkCheckRequest;
}
export interface Params$Resource$Assetlinks$Check extends StandardParameters {

@@ -201,0 +272,0 @@ /**

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

}
bulkCheck(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://digitalassetlinks.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/assetlinks:bulkCheck').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);
}
}
check(paramsOrCallback, optionsOrCallback, callback) {

@@ -52,0 +84,0 @@ let params = (paramsOrCallback || {});

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

*
* FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.
* FCM send API that provides a cross-platform messaging solution to reliably deliver messages.
*

@@ -80,2 +80,6 @@ * @example

/**
* Optional. If set to true, messages will be allowed to be delivered to the app while the device is in bandwidth constrained mode.
*/
bandwidthConstrainedOk?: boolean | null;
/**
* An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of 4 different collapse keys is allowed at any given time.

@@ -464,3 +468,3 @@ */

/**
* Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in the format of `projects/{project_id\}`. For legacy support, the numeric project number with no padding is also supported in the format of `projects/{project_number\}`.
* Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in the format of `projects/{project_id\}`. The numeric project number with no padding is also supported in the format of `projects/{project_number\}`.
*/

@@ -467,0 +471,0 @@ parent?: string;

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

*
* FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.
* FCM send API that provides a cross-platform messaging solution to reliably deliver messages.
*

@@ -30,0 +30,0 @@ * @example

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

}
getTestQuota(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://firebaseappdistribution.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+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);
}
}
}

@@ -571,2 +603,34 @@ firebaseappdistribution_v1alpha.Resource$Projects = Resource$Projects;

}
batchDelete(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://firebaseappdistribution.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+parent}/testCases:batchDelete').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) {

@@ -573,0 +637,0 @@ let params = (paramsOrCallback ||

@@ -273,2 +273,7 @@ /// <reference types="node" />

/**
* Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.
*/
export interface Schema$GoogleCloudAiplatformV1beta1EnterpriseWebSearch {
}
/**
* Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the [FunctionDeclaration] tool and [FunctionCallingConfig] mode is set to [Mode.CODE].

@@ -314,2 +319,6 @@ */

/**
* Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
*/
id?: string | null;
/**
* Required. The name of the function to call. Matches [FunctionDeclaration.name].

@@ -358,2 +367,6 @@ */

/**
* Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`.
*/
id?: string | null;
/**
* Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].

@@ -483,4 +496,16 @@ */

/**
* Total token count for prompt and response candidates.
* Output only. Number of tokens present in thoughts output.
*/
thoughtsTokenCount?: number | null;
/**
* Output only. Number of tokens present in tool-use prompt(s).
*/
toolUsePromptTokenCount?: number | null;
/**
* Output only. List of modalities that were processed for tool-use request inputs.
*/
toolUsePromptTokensDetails?: Schema$GoogleCloudAiplatformV1beta1ModalityTokenCount[];
/**
* Total token count for prompt, response candidates, and tool-use prompts (if present).
*/
totalTokenCount?: number | null;

@@ -557,6 +582,2 @@ }

/**
* Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking.
*/
thinkingConfig?: Schema$GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
/**
* Optional. If specified, top-k sampling will be used.

@@ -602,11 +623,2 @@ */

/**
* Config for thinking features.
*/
export interface Schema$GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
/**
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
*/
includeThoughts?: boolean | null;
}
/**
* Tool to retrieve public web data for grounding, powered by Google.

@@ -655,2 +667,6 @@ */

/**
* Domain of the (original) URI.
*/
domain?: string | null;
/**
* Title of the chunk.

@@ -1118,6 +1134,10 @@ */

/**
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation. This field is only used by the Gemini Developer API services.
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
*/
codeExecution?: Schema$GoogleCloudAiplatformV1beta1ToolCodeExecution;
/**
* Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
*/
enterpriseWebSearch?: Schema$GoogleCloudAiplatformV1beta1EnterpriseWebSearch;
/**
* 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 128 function declarations can be provided.

@@ -1163,9 +1183,13 @@ */

/**
* Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/products/agent-builder
* Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder
*/
export interface Schema$GoogleCloudAiplatformV1beta1VertexAISearch {
/**
* Required. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}`
* Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}`
*/
datastore?: string | null;
/**
* Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
*/
engine?: string | null;
}

@@ -1172,0 +1196,0 @@ /**

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

/**
* Output only. The publishing settings for a form. This field isn't set for legacy forms because they don't have the `publish_settings` field. All newly created forms support publish settings. Forms with `publish_settings` value set can call UpdatePublishSettings API to publish or unpublish the form.
*/
publishSettings?: Schema$PublishSettings;
/**
* Output only. The form URI to share with responders. This opens a page that allows the user to submit responses but not edit the questions.

@@ -386,2 +390,6 @@ */

/**
* Optional. The setting that determines whether the form collects email addresses from respondents.
*/
emailCollectionType?: string | null;
/**
* Settings related to quiz forms and grading.

@@ -622,2 +630,24 @@ */

/**
* The publishing settings of a form.
*/
export interface Schema$PublishSettings {
/**
* Optional. The publishing state of a form. When updating `publish_state`, both `is_published` and `is_accepting_responses` must be set. However, setting `is_accepting_responses` to `true` and `is_published` to `false` isn't supported and returns an error.
*/
publishState?: Schema$PublishState;
}
/**
* The publishing state of a form.
*/
export interface Schema$PublishState {
/**
* Required. Whether the form accepts responses. If `is_published` is set to `false`, this field is forced to `false`.
*/
isAcceptingResponses?: boolean | null;
/**
* Required. Whether the form is published and visible to others.
*/
isPublished?: boolean | null;
}
/**
* Any question. The specific type of question is known by its `kind`.

@@ -797,2 +827,28 @@ */

/**
* Updates the publish settings of a Form.
*/
export interface Schema$SetPublishSettingsRequest {
/**
* Required. The desired publish settings to apply to the form.
*/
publishSettings?: Schema$PublishSettings;
/**
* Optional. The `publish_settings` fields to update. This field mask accepts the following values: * `publish_state`: Updates or replaces all `publish_state` settings. * `"*"`: Updates or replaces all `publish_settings` fields.
*/
updateMask?: string | null;
}
/**
* The response of a `SetPublishSettings` request.
*/
export interface Schema$SetPublishSettingsResponse {
/**
* Required. The ID of the Form. This is same as the `Form.form_id` field.
*/
formId?: string | null;
/**
* The publish settings of the form.
*/
publishSettings?: Schema$PublishSettings;
}
/**
* An answer to a question represented as text.

@@ -1035,2 +1091,16 @@ */

get(callback: BodyResponseCallback<Schema$Form>): void;
/**
* Updates the publish settings of a form. Legacy forms aren't supported because they don't have the `publish_settings` field.
*
* @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.
*/
setPublishSettings(params: Params$Resource$Forms$Setpublishsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
setPublishSettings(params?: Params$Resource$Forms$Setpublishsettings, options?: MethodOptions): GaxiosPromise<Schema$SetPublishSettingsResponse>;
setPublishSettings(params: Params$Resource$Forms$Setpublishsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
setPublishSettings(params: Params$Resource$Forms$Setpublishsettings, options: MethodOptions | BodyResponseCallback<Schema$SetPublishSettingsResponse>, callback: BodyResponseCallback<Schema$SetPublishSettingsResponse>): void;
setPublishSettings(params: Params$Resource$Forms$Setpublishsettings, callback: BodyResponseCallback<Schema$SetPublishSettingsResponse>): void;
setPublishSettings(callback: BodyResponseCallback<Schema$SetPublishSettingsResponse>): void;
}

@@ -1049,2 +1119,6 @@ export interface Params$Resource$Forms$Batchupdate extends StandardParameters {

/**
* Optional. Whether the form is unpublished. If set to `true`, the form doesn't accept responses. If set to `false` or unset, the form is published and accepts responses.
*/
unpublished?: boolean;
/**
* Request body metadata

@@ -1060,2 +1134,12 @@ */

}
export interface Params$Resource$Forms$Setpublishsettings extends StandardParameters {
/**
* Required. The ID of the form. You can get the id from `Form.form_id` field.
*/
formId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$SetPublishSettingsRequest;
}
export class Resource$Forms$Responses {

@@ -1062,0 +1146,0 @@ context: APIRequestContext;

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

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

@@ -147,0 +179,0 @@ forms_v1.Resource$Forms = Resource$Forms;

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

/**
* The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
* The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
*/

@@ -202,0 +202,0 @@ deniedPrincipals?: string[] | null;

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

/**
* The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
* The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id\}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id\}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id\}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number\}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id\}?uid={uid\}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id\}?uid={uid\}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id\}?uid={uid\}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
*/

@@ -202,0 +202,0 @@ deniedPrincipals?: string[] | null;

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

/**
* Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
*/
export interface Schema$AuditConfig {
/**
* The configuration for logging of each type of permission.
*/
auditLogConfigs?: Schema$AuditLogConfig[];
/**
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
*/
service?: string | null;
}
/**
* Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
*/
export interface Schema$AuditLogConfig {
/**
* Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
*/
exemptedMembers?: string[] | null;
/**
* The log type that this config enables.
*/
logType?: string | null;
}
/**
* Associates `members`, or principals, with a `role`.
*/
export interface Schema$Binding {
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
condition?: Schema$Expr;
/**
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
*/
members?: string[] | null;
/**
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
*/
role?: string | null;
}
/**
* The request message for Operations.CancelOperation.

@@ -191,23 +148,2 @@ */

}
/**
* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
*/
export interface Schema$Expr {
/**
* Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
*/
description?: string | null;
/**
* Textual representation of an expression in Common Expression Language syntax.
*/
expression?: string | null;
/**
* Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
*/
location?: string | null;
/**
* Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
*/
title?: string | null;
}
export interface Schema$ListEndpointsResponse {

@@ -328,3 +264,3 @@ /**

/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/

@@ -346,36 +282,2 @@ requestedCancellation?: boolean | null;

/**
* An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
*/
export interface Schema$Policy {
/**
* Specifies cloud audit logging configuration for this policy.
*/
auditConfigs?: Schema$AuditConfig[];
/**
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
*/
bindings?: Schema$Binding[];
/**
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
*/
etag?: string | null;
/**
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
version?: number | null;
}
/**
* Request message for `SetIamPolicy` method.
*/
export interface Schema$SetIamPolicyRequest {
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
*/
policy?: Schema$Policy;
/**
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
*/
updateMask?: 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).

@@ -399,20 +301,2 @@ */

}
/**
* Request message for `TestIamPermissions` method.
*/
export interface Schema$TestIamPermissionsRequest {
/**
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
*/
permissions?: string[] | null;
}
/**
* Response message for `TestIamPermissions` method.
*/
export interface Schema$TestIamPermissionsResponse {
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
*/
permissions?: string[] | null;
}
export class Resource$Projects {

@@ -527,16 +411,2 @@ context: APIRequestContext;

/**
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
*
* @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.
*/
getIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
getIamPolicy(params?: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
getIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
getIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
getIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
/**
* Lists Endpoints in a given project and location.

@@ -569,30 +439,2 @@ *

patch(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
* @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.
*/
setIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
setIamPolicy(params?: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
setIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
setIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
setIamPolicy(params: Params$Resource$Projects$Locations$Endpoints$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
/**
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
*
* @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.
*/
testIamPermissions(params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
testIamPermissions(params?: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
testIamPermissions(params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
testIamPermissions(params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
testIamPermissions(params: Params$Resource$Projects$Locations$Endpoints$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
}

@@ -633,12 +475,2 @@ export interface Params$Resource$Projects$Locations$Endpoints$Create extends StandardParameters {

}
export interface Params$Resource$Projects$Locations$Endpoints$Getiampolicy extends StandardParameters {
/**
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
'options.requestedPolicyVersion'?: number;
/**
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
*/
resource?: string;
}
export interface Params$Resource$Projects$Locations$Endpoints$List extends StandardParameters {

@@ -684,22 +516,2 @@ /**

}
export interface Params$Resource$Projects$Locations$Endpoints$Setiampolicy extends StandardParameters {
/**
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
*/
resource?: string;
/**
* Request body metadata
*/
requestBody?: Schema$SetIamPolicyRequest;
}
export interface Params$Resource$Projects$Locations$Endpoints$Testiampermissions extends StandardParameters {
/**
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
*/
resource?: string;
/**
* Request body metadata
*/
requestBody?: Schema$TestIamPermissionsRequest;
}
export class Resource$Projects$Locations$Operations {

@@ -709,3 +521,3 @@ context: APIRequestContext;

/**
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*

@@ -712,0 +524,0 @@ * @param params - Parameters for request

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

}
getIamPolicy(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://ids.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
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);
}
}
list(paramsOrCallback, optionsOrCallback, callback) {

@@ -322,68 +289,2 @@ let params = (paramsOrCallback ||

}
setIamPolicy(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://ids.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:setIamPolicy').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);
}
}
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://ids.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);
}
}
}

@@ -390,0 +291,0 @@ ids_v1.Resource$Projects$Locations$Endpoints = Resource$Projects$Locations$Endpoints;

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

import { managedidentities } from './managedidentities';
import { managedkafka } from './managedkafka';
import { manufacturers } from './manufacturers';

@@ -499,2 +500,3 @@ import { marketingplatformadmin } from './marketingplatformadmin';

managedidentities: typeof managedidentities;
managedkafka: typeof managedkafka;
manufacturers: typeof manufacturers;

@@ -501,0 +503,0 @@ marketingplatformadmin: typeof marketingplatformadmin;

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

const managedidentities_1 = require("./managedidentities");
const managedkafka_1 = require("./managedkafka");
const manufacturers_1 = require("./manufacturers");

@@ -508,2 +509,3 @@ const marketingplatformadmin_1 = require("./marketingplatformadmin");

managedidentities: managedidentities_1.VERSIONS,
managedkafka: managedkafka_1.VERSIONS,
manufacturers: manufacturers_1.VERSIONS,

@@ -818,2 +820,3 @@ marketingplatformadmin: marketingplatformadmin_1.VERSIONS,

this.managedidentities = managedidentities_1.managedidentities;
this.managedkafka = managedkafka_1.managedkafka;
this.manufacturers = manufacturers_1.manufacturers;

@@ -820,0 +823,0 @@ this.marketingplatformadmin = marketingplatformadmin_1.marketingplatformadmin;

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

this.context = context;
this.backups = new Resource$Projects$Locations$Instances$Backups(this.context);
}

@@ -258,35 +257,2 @@ create(paramsOrCallback, optionsOrCallback, callback) {

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

@@ -420,175 +386,4 @@ let params = (paramsOrCallback ||

}
setIamPolicy(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://looker.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:setIamPolicy').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);
}
}
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://looker.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);
}
}
}
looker_v1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;
class Resource$Projects$Locations$Instances$Backups {
constructor(context) {
this.context = context;
}
getIamPolicy(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://looker.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
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);
}
}
setIamPolicy(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://looker.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+resource}:setIamPolicy').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);
}
}
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://looker.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);
}
}
}
looker_v1.Resource$Projects$Locations$Instances$Backups = Resource$Projects$Locations$Instances$Backups;
class Resource$Projects$Locations$Operations {

@@ -595,0 +390,0 @@ constructor(context) {

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

}
getAutomaticImprovements(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://merchantapi.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/accounts/v1beta/{+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) {

@@ -252,2 +284,34 @@ let params = (paramsOrCallback || {});

}
updateAutomaticImprovements(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://merchantapi.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/accounts/v1beta/{+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);
}
}
}

@@ -254,0 +318,0 @@ merchantapi_accounts_v1beta.Resource$Accounts = Resource$Accounts;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -225,4 +225,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -234,3 +238,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -237,0 +241,0 @@ resource?: string | null;

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

/**
* Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
*/
export interface Schema$Destination {
/**
* [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
*/
destination?: string | null;
/**
* The state of the destination.
*/
state?: string | null;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}

@@ -324,3 +337,3 @@ */

/**
* Required. Immutable. Specifies the type of data source channel.
* Optional. Immutable. Specifies the type of data source channel.
*/

@@ -341,2 +354,6 @@ channel?: string | null;

/**
* Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
*/
destinations?: Schema$Destination[];
/**
* Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.

@@ -351,15 +368,15 @@ */

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -390,4 +407,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -399,3 +420,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -402,0 +423,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -240,4 +240,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -249,3 +253,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -252,0 +256,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -307,4 +307,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -316,3 +320,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -319,0 +323,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -156,4 +156,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -165,3 +169,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -168,0 +172,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -896,4 +896,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -905,3 +909,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -1158,2 +1162,16 @@ resource?: string | null;

insert(callback: BodyResponseCallback<Schema$ProductInput>): void;
/**
* Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.
*
* @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.
*/
patch(params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
patch(params?: Params$Resource$Accounts$Productinputs$Patch, options?: MethodOptions): GaxiosPromise<Schema$ProductInput>;
patch(params: Params$Resource$Accounts$Productinputs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
patch(params: Params$Resource$Accounts$Productinputs$Patch, options: MethodOptions | BodyResponseCallback<Schema$ProductInput>, callback: BodyResponseCallback<Schema$ProductInput>): void;
patch(params: Params$Resource$Accounts$Productinputs$Patch, callback: BodyResponseCallback<Schema$ProductInput>): void;
patch(callback: BodyResponseCallback<Schema$ProductInput>): void;
}

@@ -1172,3 +1190,3 @@ export interface Params$Resource$Accounts$Productinputs$Delete extends StandardParameters {

/**
* Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. Format: `accounts/{account\}/dataSources/{datasource\}`.
* Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. Only API data sources are supported. Format: `accounts/{account\}/dataSources/{datasource\}`.
*/

@@ -1185,2 +1203,20 @@ dataSource?: string;

}
export interface Params$Resource$Accounts$Productinputs$Patch extends StandardParameters {
/**
* Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account\}/dataSources/{datasource\}`.
*/
dataSource?: string;
/**
* Identifier. The name of the product input. Format: `"{productinput.name=accounts/{account\}/productInputs/{productinput\}\}"` where the last section `productinput` consists of 4 parts: channel~content_language~feed_label~offer_id example for product input name is "accounts/123/productInputs/online~en~US~sku123"
*/
name?: string;
/**
* Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
*/
updateMask?: string;
/**
* Request body metadata
*/
requestBody?: Schema$ProductInput;
}
export class Resource$Accounts$Products {

@@ -1187,0 +1223,0 @@ context: APIRequestContext;

@@ -121,2 +121,34 @@ "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://merchantapi.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/products/v1beta/{+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);
}
}
}

@@ -123,0 +155,0 @@ merchantapi_products_v1beta.Resource$Accounts$Productinputs = Resource$Accounts$Productinputs;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -361,4 +361,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -370,3 +374,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -373,0 +377,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -147,4 +147,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -156,3 +160,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -159,0 +163,0 @@ resource?: string | null;

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

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -752,4 +752,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -761,3 +765,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -764,0 +768,0 @@ resource?: string | null;

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

/**
* Required. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as experimental attributes. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.
* Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as experimental attributes. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.
*/

@@ -209,3 +209,3 @@ customAttributes?: Schema$CustomAttribute[];

/**
* Required. The language of the review defined by BCP-47 language code.
* Optional. The language of the review defined by BCP-47 language code.
*/

@@ -294,15 +294,15 @@ reviewLanguage?: string | null;

/**
* The new value of the changed resource or attribute.
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
newValue?: string | null;
/**
* The old value of the changed resource or attribute.
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
*/
oldValue?: string | null;
/**
* Countries that have the change (if applicable)
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
*/
regionCode?: string | null;
/**
* Reporting contexts that have the change (if applicable)
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
*/

@@ -545,4 +545,8 @@ reportingContext?: string | null;

/**
* The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
*/
eventTime?: string | null;
/**
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
*/
expirationTime?: string | null;

@@ -554,3 +558,3 @@ /**

/**
* The product name. Format: `{product.name=accounts/{account\}/products/{product\}\}`
* The product name. Format: `accounts/{account\}/products/{product\}`
*/

@@ -557,0 +561,0 @@ resource?: string | null;

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

};
this.organizations = new Resource$Organizations(this.context);
this.projects = new Resource$Projects(this.context);

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

networkmanagement_v1beta1.Networkmanagement = Networkmanagement;
class Resource$Organizations {
constructor(context) {
this.context = context;
this.locations = new Resource$Organizations$Locations(this.context);
}
}
networkmanagement_v1beta1.Resource$Organizations = Resource$Organizations;
class Resource$Organizations$Locations {
constructor(context) {
this.context = context;
this.global = new Resource$Organizations$Locations$Global(this.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://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/{+name}/locations').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);
}
}
}
networkmanagement_v1beta1.Resource$Organizations$Locations = Resource$Organizations$Locations;
class Resource$Organizations$Locations$Global {
constructor(context) {
this.context = context;
this.operations = new Resource$Organizations$Locations$Global$Operations(this.context);
}
}
networkmanagement_v1beta1.Resource$Organizations$Locations$Global = Resource$Organizations$Locations$Global;
class Resource$Organizations$Locations$Global$Operations {
constructor(context) {
this.context = context;
}
cancel(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}:cancel').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);
}
}
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/{+name}/operations').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);
}
}
}
networkmanagement_v1beta1.Resource$Organizations$Locations$Global$Operations = Resource$Organizations$Locations$Global$Operations;
class Resource$Projects {

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

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

}
restart(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://oracledatabase.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:restart').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) {

@@ -418,2 +451,68 @@ let params = (paramsOrCallback ||

}
start(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://oracledatabase.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:start').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);
}
}
stop(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://oracledatabase.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+name}:stop').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);
}
}
}

@@ -420,0 +519,0 @@ oracledatabase_v1.Resource$Projects$Locations$Autonomousdatabases = Resource$Projects$Locations$Autonomousdatabases;

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

/**
* Public key text in SSH format, defined by RFC4253 section 6.6.
* Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
*/

@@ -176,0 +176,0 @@ key?: string | null;

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

context: APIRequestContext;
projects: Resource$Projects;
users: Resource$Users;

@@ -81,2 +82,32 @@ constructor(options: GlobalOptions, google?: GoogleConfigurable);

/**
* A request message for signing an SSH public key.
*/
export interface Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest {
/**
* The App Engine instance to sign the SSH public key for. Expected format: services/{service\}/versions/{version\}/instances/{instance\}
*/
appEngineInstance?: string | null;
/**
* The compute instance to sign the SSH public key for. Expected format: projects/{project\}/zones/{zone\}/instances/{numeric_instance_id\}
*/
computeInstance?: string | null;
/**
* Optional. The service account for the Compute instance. If the instance in question does not have a service account, this field should be left empty. If the wrong service account is provided, this operation will return a signed certificate that will not be accepted by the VM. During rollout of the new regionalized SignSshPublicKey API, this field will be required for all requests, but the VM will not initially carry out the
*/
serviceAccount?: string | null;
/**
* Required. The SSH public key to sign.
*/
sshPublicKey?: string | null;
}
/**
* The response message for signing an SSH public key.
*/
export interface Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse {
/**
* The signed SSH public key to use in the SSH handshake.
*/
signedSshPublicKey?: string | null;
}
/**
* A response message for importing an SSH public key.

@@ -167,2 +198,11 @@ */

/**
* A request message for creating a POSIX account entry.
*/
export interface Schema$ProvisionPosixAccountRequest {
/**
* Optional. The regions to wait for a POSIX account to be written to before returning a response. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
*/
regions?: string[] | null;
}
/**
* The credential information for a Google registered security key.

@@ -217,3 +257,3 @@ */

/**
* Public key text in SSH format, defined by RFC4253 section 6.6.
* Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
*/

@@ -244,2 +284,35 @@ key?: string | null;

}
export class Resource$Projects {
context: APIRequestContext;
locations: Resource$Projects$Locations;
constructor(context: APIRequestContext);
}
export class Resource$Projects$Locations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.
*
* @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.
*/
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions): GaxiosPromise<Readable>;
signSshPublicKey(params?: Params$Resource$Projects$Locations$Signsshpublickey, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>, callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>): void;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>): void;
signSshPublicKey(callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>): void;
}
export interface Params$Resource$Projects$Locations$Signsshpublickey extends StandardParameters {
/**
* Required. The parent for the signing request. Format: projects/{project\}/locations/{location\}
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest;
}
export class Resource$Users {

@@ -342,2 +415,16 @@ context: APIRequestContext;

delete(callback: BodyResponseCallback<Schema$Empty>): void;
/**
* Create a POSIX account if it doesn't 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.
*/
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions): GaxiosPromise<Readable>;
provisionPosixAccount(params?: Params$Resource$Users$Projects$Provisionposixaccount, options?: MethodOptions): GaxiosPromise<Schema$PosixAccount>;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: MethodOptions | BodyResponseCallback<Schema$PosixAccount>, callback: BodyResponseCallback<Schema$PosixAccount>): void;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, callback: BodyResponseCallback<Schema$PosixAccount>): void;
provisionPosixAccount(callback: BodyResponseCallback<Schema$PosixAccount>): void;
}

@@ -354,2 +441,12 @@ export interface Params$Resource$Users$Projects$Delete extends StandardParameters {

}
export interface Params$Resource$Users$Projects$Provisionposixaccount extends StandardParameters {
/**
* Required. The unique ID for the user in format `users/{user\}/projects/{project\}`.
*/
name?: string;
/**
* Request body metadata
*/
requestBody?: Schema$ProvisionPosixAccountRequest;
}
export class Resource$Users$Projects$Locations {

@@ -356,0 +453,0 @@ context: APIRequestContext;

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

};
this.projects = new Resource$Projects(this.context);
this.users = new Resource$Users(this.context);

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

oslogin_v1alpha.Oslogin = Oslogin;
class Resource$Projects {
constructor(context) {
this.context = context;
this.locations = new Resource$Projects$Locations(this.context);
}
}
oslogin_v1alpha.Resource$Projects = Resource$Projects;
class Resource$Projects$Locations {
constructor(context) {
this.context = context;
}
signSshPublicKey(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://oslogin.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+parent}:signSshPublicKey').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);
}
}
}
oslogin_v1alpha.Resource$Projects$Locations = Resource$Projects$Locations;
class Resource$Users {

@@ -157,2 +203,34 @@ constructor(context) {

}
provisionPosixAccount(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://oslogin.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha/{+name}').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);
}
}
}

@@ -159,0 +237,0 @@ oslogin_v1alpha.Resource$Users$Projects = Resource$Users$Projects;

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

context: APIRequestContext;
projects: Resource$Projects;
users: Resource$Users;

@@ -81,2 +82,32 @@ constructor(options: GlobalOptions, google?: GoogleConfigurable);

/**
* A request message for signing an SSH public key.
*/
export interface Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest {
/**
* The App Engine instance to sign the SSH public key for. Expected format: services/{service\}/versions/{version\}/instances/{instance\}
*/
appEngineInstance?: string | null;
/**
* The compute instance to sign the SSH public key for. Expected format: projects/{project\}/zones/{zone\}/instances/{numeric_instance_id\}
*/
computeInstance?: string | null;
/**
* Optional. The service account for the Compute instance. If the instance in question does not have a service account, this field should be left empty. If the wrong service account is provided, this operation will return a signed certificate that will not be accepted by the VM. During rollout of the new regionalized SignSshPublicKey API, this field will be required for all requests, but the VM will not initially carry out the
*/
serviceAccount?: string | null;
/**
* Required. The SSH public key to sign.
*/
sshPublicKey?: string | null;
}
/**
* The response message for signing an SSH public key.
*/
export interface Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse {
/**
* The signed SSH public key to use in the SSH handshake.
*/
signedSshPublicKey?: string | null;
}
/**
* A response message for importing an SSH public key.

@@ -167,2 +198,11 @@ */

/**
* A request message for creating a POSIX account entry.
*/
export interface Schema$ProvisionPosixAccountRequest {
/**
* Optional. The regions to wait for a POSIX account to be written to before returning a response. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.
*/
regions?: string[] | null;
}
/**
* The credential information for a Google registered security key.

@@ -217,3 +257,3 @@ */

/**
* Public key text in SSH format, defined by RFC4253 section 6.6.
* Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
*/

@@ -244,2 +284,35 @@ key?: string | null;

}
export class Resource$Projects {
context: APIRequestContext;
locations: Resource$Projects$Locations;
constructor(context: APIRequestContext);
}
export class Resource$Projects$Locations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.
*
* @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.
*/
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions): GaxiosPromise<Readable>;
signSshPublicKey(params?: Params$Resource$Projects$Locations$Signsshpublickey, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse>;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse>, callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse>): void;
signSshPublicKey(params: Params$Resource$Projects$Locations$Signsshpublickey, callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse>): void;
signSshPublicKey(callback: BodyResponseCallback<Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyResponse>): void;
}
export interface Params$Resource$Projects$Locations$Signsshpublickey extends StandardParameters {
/**
* Required. The parent for the signing request. Format: projects/{project\}/locations/{location\}
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudOsloginControlplaneRegionalV1betaSignSshPublicKeyRequest;
}
export class Resource$Users {

@@ -338,2 +411,16 @@ context: APIRequestContext;

delete(callback: BodyResponseCallback<Schema$Empty>): void;
/**
* Create a POSIX account if it doesn't 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.
*/
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions): GaxiosPromise<Readable>;
provisionPosixAccount(params?: Params$Resource$Users$Projects$Provisionposixaccount, options?: MethodOptions): GaxiosPromise<Schema$PosixAccount>;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, options: MethodOptions | BodyResponseCallback<Schema$PosixAccount>, callback: BodyResponseCallback<Schema$PosixAccount>): void;
provisionPosixAccount(params: Params$Resource$Users$Projects$Provisionposixaccount, callback: BodyResponseCallback<Schema$PosixAccount>): void;
provisionPosixAccount(callback: BodyResponseCallback<Schema$PosixAccount>): void;
}

@@ -346,2 +433,12 @@ export interface Params$Resource$Users$Projects$Delete extends StandardParameters {

}
export interface Params$Resource$Users$Projects$Provisionposixaccount extends StandardParameters {
/**
* Required. The unique ID for the user in format `users/{user\}/projects/{project\}`.
*/
name?: string;
/**
* Request body metadata
*/
requestBody?: Schema$ProvisionPosixAccountRequest;
}
export class Resource$Users$Projects$Locations {

@@ -348,0 +445,0 @@ context: APIRequestContext;

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

};
this.projects = new Resource$Projects(this.context);
this.users = new Resource$Users(this.context);

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

oslogin_v1beta.Oslogin = Oslogin;
class Resource$Projects {
constructor(context) {
this.context = context;
this.locations = new Resource$Projects$Locations(this.context);
}
}
oslogin_v1beta.Resource$Projects = Resource$Projects;
class Resource$Projects$Locations {
constructor(context) {
this.context = context;
}
signSshPublicKey(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://oslogin.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/{+parent}:signSshPublicKey').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);
}
}
}
oslogin_v1beta.Resource$Projects$Locations = Resource$Projects$Locations;
class Resource$Users {

@@ -157,2 +203,34 @@ constructor(context) {

}
provisionPosixAccount(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://oslogin.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta/{+name}').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);
}
}
}

@@ -159,0 +237,0 @@ oslogin_v1beta.Resource$Users$Projects = Resource$Users$Projects;

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

/**
* Optional. The metadata options for the export data.
*/
metadataOptions?: Schema$TransferMetadataOptions;
/**
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

@@ -133,2 +137,6 @@ */

/**
* Optional. The transfer metadata options for the import data.
*/
metadataOptions?: Schema$TransferMetadataOptions;
/**
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

@@ -163,4 +171,8 @@ */

/**
* Optional. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.
* Output only. Deprecated 'daos_version' field. Output only. The version of DAOS software running in the instance.
*/
daosVersion?: string | null;
/**
* Optional. Immutable. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.
*/
deploymentType?: string | null;

@@ -172,3 +184,3 @@ /**

/**
* Optional. Stripe level for directories. Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a small number of files. * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large directories. * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large number of files.
* Optional. Immutable. Stripe level for directories. Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a small number of files. * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large directories. * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large number of files.
*/

@@ -181,3 +193,3 @@ directoryStripeLevel?: string | null;

/**
* Optional. Stripe level for files. Allowed values are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
* Optional. Immutable. Stripe level for files. Allowed values are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
*/

@@ -347,2 +359,15 @@ fileStripeLevel?: string | null;

/**
* Operation metadata returned by the CLH during resource state reconciliation.
*/
export interface Schema$ReconciliationOperationMetadata {
/**
* DEPRECATED. Use exclusive_action instead.
*/
deleteResource?: boolean | null;
/**
* Excluisive action returned by the CLH.
*/
exclusiveAction?: string | null;
}
/**
* Cloud Storage as the source of a data transfer.

@@ -384,2 +409,19 @@ */

}
/**
* Transfer metadata options for the instance.
*/
export interface Schema$TransferMetadataOptions {
/**
* Optional. The GID preservation behavior.
*/
gid?: string | null;
/**
* Optional. The mode preservation behavior.
*/
mode?: string | null;
/**
* Optional. The UID preservation behavior.
*/
uid?: string | null;
}
export class Resource$Projects {

@@ -386,0 +428,0 @@ context: APIRequestContext;

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

/**
* Optional. The metadata options for the export data.
*/
metadataOptions?: Schema$TransferMetadataOptions;
/**
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

@@ -128,2 +132,6 @@ */

/**
* Optional. The transfer metadata options for the import data.
*/
metadataOptions?: Schema$TransferMetadataOptions;
/**
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

@@ -158,4 +166,8 @@ */

/**
* Optional. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.
* Output only. Deprecated 'daos_version' field. Output only. The version of DAOS software running in the instance.
*/
daosVersion?: string | null;
/**
* Optional. Immutable. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.
*/
deploymentType?: string | null;

@@ -167,3 +179,3 @@ /**

/**
* Optional. Stripe level for directories. Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a small number of files. * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large directories. * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large number of files.
* Optional. Immutable. Stripe level for directories. Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a small number of files. * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large directories. * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large number of files.
*/

@@ -176,3 +188,3 @@ directoryStripeLevel?: string | null;

/**
* Optional. Stripe level for files. Allowed values are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
* Optional. Immutable. Stripe level for files. Allowed values are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
*/

@@ -342,2 +354,15 @@ fileStripeLevel?: string | null;

/**
* Operation metadata returned by the CLH during resource state reconciliation.
*/
export interface Schema$ReconciliationOperationMetadata {
/**
* DEPRECATED. Use exclusive_action instead.
*/
deleteResource?: boolean | null;
/**
* Excluisive action returned by the CLH.
*/
exclusiveAction?: string | null;
}
/**
* Cloud Storage as the source of a data transfer.

@@ -379,2 +404,19 @@ */

}
/**
* Transfer metadata options for the instance.
*/
export interface Schema$TransferMetadataOptions {
/**
* Optional. The GID preservation behavior.
*/
gid?: string | null;
/**
* Optional. The mode preservation behavior.
*/
mode?: string | null;
/**
* Optional. The UID preservation behavior.
*/
uid?: string | null;
}
export class Resource$Projects {

@@ -381,0 +423,0 @@ context: APIRequestContext;

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

this.excessivewakeuprate = new Resource$Vitals$Excessivewakeuprate(this.context);
this.lmkrate = new Resource$Vitals$Lmkrate(this.context);
this.slowrenderingrate = new Resource$Vitals$Slowrenderingrate(this.context);

@@ -533,2 +534,72 @@ this.slowstartrate = new Resource$Vitals$Slowstartrate(this.context);

playdeveloperreporting_v1alpha1.Resource$Vitals$Excessivewakeuprate = Resource$Vitals$Excessivewakeuprate;
class Resource$Vitals$Lmkrate {
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://playdeveloperreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha1/{+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);
}
}
query(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://playdeveloperreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1alpha1/{+name}:query').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);
}
}
}
playdeveloperreporting_v1alpha1.Resource$Vitals$Lmkrate = Resource$Vitals$Lmkrate;
class Resource$Vitals$Slowrenderingrate {

@@ -535,0 +606,0 @@ constructor(context) {

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

this.excessivewakeuprate = new Resource$Vitals$Excessivewakeuprate(this.context);
this.lmkrate = new Resource$Vitals$Lmkrate(this.context);
this.slowrenderingrate = new Resource$Vitals$Slowrenderingrate(this.context);

@@ -533,2 +534,72 @@ this.slowstartrate = new Resource$Vitals$Slowstartrate(this.context);

playdeveloperreporting_v1beta1.Resource$Vitals$Excessivewakeuprate = Resource$Vitals$Excessivewakeuprate;
class Resource$Vitals$Lmkrate {
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://playdeveloperreporting.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);
}
}
query(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://playdeveloperreporting.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1beta1/{+name}:query').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);
}
}
}
playdeveloperreporting_v1beta1.Resource$Vitals$Lmkrate = Resource$Vitals$Lmkrate;
class Resource$Vitals$Slowrenderingrate {

@@ -535,0 +606,0 @@ constructor(context) {

@@ -105,10 +105,2 @@ /// <reference types="node" />

appsDetected?: string[] | null;
/**
* Deprecated: this field will be removed, please use apps_detected instead. App access risk verdict related to apps that are not installed by Google Play, and are not preloaded on the system image by the device manufacturer.
*/
otherApps?: string | null;
/**
* Deprecated: this field will be removed, please use apps_detected instead. App access risk verdict related to apps that are not installed by the Google Play Store, and are not preloaded on the system image by the device manufacturer.
*/
playOrSystemApps?: string | null;
}

@@ -115,0 +107,0 @@ /**

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

/**
* Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion thorugh producer api.
* Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion through producer API.
*

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

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

*
* Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.
* Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive with pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.
*

@@ -30,0 +30,0 @@ * @example

@@ -1308,2 +1308,195 @@ "use strict";

}
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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+parent}/workerPools').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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+parent}/workerPools').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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+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://run.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v2/{+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);
}
}
}

@@ -1310,0 +1503,0 @@ run_v2.Resource$Projects$Locations$Workerpools = Resource$Projects$Locations$Workerpools;

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

/**
* Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authorization](#authorization-scopes) section; script projects that do not require authorization cannot be executed through this API. To find the correct scopes to include in the authentication token, open the script project **Overview** page and scroll down to "Project OAuth Scopes." The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script.
*

@@ -1145,0 +1144,0 @@ * @param params - Parameters for request

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

/**
* The values from Origin header from the HTTP request, such as "https://console.cloud.google.com". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.
*/
origin?: string | null;
/**
* The HTTP URL path, excluding the query parameters.

@@ -467,0 +471,0 @@ */

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

/**
* Locates the closest building to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.
* Locates the building whose centroid is closest to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.
*

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

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

/**
* Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).
* Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).
*/

@@ -603,11 +603,11 @@ maxResults?: number;

/**
* 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.
* 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.
*/
destinationTasklist?: string;
/**
* New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and can not be hidden. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional.
* Optional. New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and can not be hidden. Exceptions: 1. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). 2. Tasks that are both completed and hidden cannot be nested, so the parent field must be empty.
*/
parent?: string;
/**
* New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previous must exist in the task list and can not be hidden. Optional.
* Optional. New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previous must exist in the task list and can not be hidden. Exceptions: 1. Tasks that are both completed and hidden can only be moved to position 0, so the previous field must be empty.
*/

@@ -614,0 +614,0 @@ previous?: string;

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

/**
* Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: - The flight is unknown to the server. - The input flight leg is missing one or more identifiers. - The flight date is in the past. - The aircraft type is not supported by the model. - Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
* Stateless method to retrieve emission estimates. Details on how emission estimates are computed: https://github.com/google/travel-impact-model The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: * The flight is unknown to the server. * The input flight leg is missing one or more identifiers. * The flight date is in the past. * The aircraft type is not supported by the model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
*

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

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

/**
* Antivirus information on a device.
*/
export interface Schema$Antivirus {
/**
* Output only. The state of the antivirus on the device. Introduced in Chrome M136.
*/
state?: string | null;
}
/**
* Result message for VerifiedAccess.GenerateChallenge.

@@ -89,7 +98,7 @@ */

/**
* The Agent ID of the Crowdstrike agent.
* Output only. The Agent ID of the Crowdstrike agent.
*/
agentId?: string | null;
/**
* The Customer ID to which the agent belongs to.
* Output only. The Customer ID to which the agent belongs to.
*/

@@ -103,43 +112,47 @@ customerId?: string | null;

/**
* Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only.
* Output only. Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only.
*/
allowScreenLock?: boolean | null;
/**
* Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0".
* Output only. Information about Antivirus software on the device. Available on Windows only.
*/
antivirus?: Schema$Antivirus;
/**
* Output only. Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0".
*/
browserVersion?: string | null;
/**
* Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
* Output only. Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
*/
builtInDnsClientEnabled?: boolean | null;
/**
* Whether access to the Chrome Remote Desktop application is blocked via a policy.
* Output only. Whether access to the Chrome Remote Desktop application is blocked via a policy.
*/
chromeRemoteDesktopAppBlocked?: boolean | null;
/**
* Crowdstrike agent properties installed on the device, if any. Available on Windows and MacOS only.
* Output only. Crowdstrike agent properties installed on the device, if any. Available on Windows and MacOS only.
*/
crowdStrikeAgent?: Schema$CrowdStrikeAgent;
/**
* Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
* Output only. Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
*/
deviceAffiliationIds?: string[] | null;
/**
* Enrollment domain of the customer which is currently managing the device.
* Output only. Enrollment domain of the customer which is currently managing the device.
*/
deviceEnrollmentDomain?: string | null;
/**
* The name of the device's manufacturer.
* Output only. The name of the device's manufacturer.
*/
deviceManufacturer?: string | null;
/**
* The name of the device's model.
* Output only. The name of the device's model.
*/
deviceModel?: string | null;
/**
* The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.
* Output only. The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.
*/
diskEncryption?: string | null;
/**
* The display name of the device, as defined by the user.
* Output only. The display name of the device, as defined by the user.
*/

@@ -152,59 +165,59 @@ displayName?: string | null;

/**
* International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only.
* Output only. International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only.
*/
imei?: string[] | null;
/**
* MAC addresses of the device.
* Output only. MAC addresses of the device.
*/
macAddresses?: string[] | null;
/**
* Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only.
* Output only. Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only.
*/
meid?: string[] | null;
/**
* The type of the Operating System currently running on the device.
* Output only. The type of the Operating System currently running on the device.
*/
operatingSystem?: string | null;
/**
* The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode. Support for MacOS 15 (Sequoia) and later has been introduced in Chrome M131.
* Output only. The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode. Support for MacOS 15 (Sequoia) and later has been introduced in Chrome M131.
*/
osFirewall?: string | null;
/**
* The current version of the Operating System. On Windows and linux, the value will also include the security patch information.
* Output only. The current version of the Operating System. On Windows and linux, the value will also include the security patch information.
*/
osVersion?: string | null;
/**
* Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
* Output only. Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
*/
passwordProtectionWarningTrigger?: string | null;
/**
* Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user.
* Output only. Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user.
*/
profileAffiliationIds?: string[] | null;
/**
* Enrollment domain of the customer which is currently managing the profile.
* Output only. Enrollment domain of the customer which is currently managing the profile.
*/
profileEnrollmentDomain?: string | null;
/**
* Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
* Output only. Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
*/
realtimeUrlCheckMode?: string | null;
/**
* Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.
* Output only. Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.
*/
safeBrowsingProtectionLevel?: string | null;
/**
* The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.
* Output only. The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.
*/
screenLockSecured?: string | null;
/**
* Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only.
* Output only. Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only.
*/
secureBootMode?: string | null;
/**
* The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions.
* Output only. The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions.
*/
serialNumber?: string | null;
/**
* Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess
* Output only. Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess
*/

@@ -217,15 +230,15 @@ siteIsolationEnabled?: boolean | null;

/**
* Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
* Output only. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
*/
thirdPartyBlockingEnabled?: boolean | null;
/**
* The trigger which generated this set of signals.
* Output only. The trigger which generated this set of signals.
*/
trigger?: string | null;
/**
* Windows domain that the current machine has joined. Available on Windows only.
* Output only. Windows domain that the current machine has joined. Available on Windows only.
*/
windowsMachineDomain?: string | null;
/**
* Windows domain for the current OS user. Available on Windows only.
* Output only. Windows domain for the current OS user. Available on Windows only.
*/

@@ -257,47 +270,51 @@ windowsUserDomain?: string | null;

/**
* Attested device ID (ADID).
* Output only. Attested device ID (ADID).
*/
attestedDeviceId?: string | null;
/**
* Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
* Output only. Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
*/
customerId?: string | null;
/**
* Device enrollment id for ChromeOS devices.
* Output only. Device enrollment id for ChromeOS devices.
*/
deviceEnrollmentId?: string | null;
/**
* Device permanent id is returned in this field (for the machine response only).
* Output only. Device permanent id is returned in this field (for the machine response only).
*/
devicePermanentId?: string | null;
/**
* Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.
* Output only. Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.
*/
deviceSignal?: string | null;
/**
* Device signals.
* Output only. Device signals.
*/
deviceSignals?: Schema$DeviceSignals;
/**
* Device attested key trust level.
* Output only. Device attested key trust level.
*/
keyTrustLevel?: string | null;
/**
* Unique customer id that this profile belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
* Output only. Unique customer id that this profile belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
*/
profileCustomerId?: string | null;
/**
* Profile attested key trust level.
* Output only. Profile attested key trust level.
*/
profileKeyTrustLevel?: string | null;
/**
* Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)
* Output only. The unique server-side ID of a profile on the device.
*/
profilePermanentId?: string | null;
/**
* Output only. Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)
*/
signedPublicKeyAndChallenge?: string | null;
/**
* Virtual device id of the device. The definition of virtual device id is platform-specific.
* Output only. Virtual device id of the device. The definition of virtual device id is platform-specific.
*/
virtualDeviceId?: string | null;
/**
* The ID of a profile on the device.
* Output only. The client-provided ID of a profile on the device.
*/

@@ -304,0 +321,0 @@ virtualProfileId?: string | null;

@@ -169,3 +169,3 @@ /// <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.
* Optional. Describes the execution history level to apply to this execution. If not specified, the execution history level is determined by its workflow's execution history level. If the levels are different, the executionHistoryLevel overrides the workflow's execution history level for this execution.
*/

@@ -407,3 +407,3 @@ executionHistoryLevel?: string | null;

/**
* Output only. The NavigationInfo associated to this step.
* Output only. The NavigationInfo associated with this step.
*/

@@ -424,3 +424,3 @@ navigationInfo?: Schema$NavigationInfo;

/**
* Output only. The StepEntryMetadata associated to this step.
* Output only. The StepEntryMetadata associated with this step.
*/

@@ -437,3 +437,3 @@ stepEntryMetadata?: Schema$StepEntryMetadata;

/**
* Output only. The VariableData associated to this step.
* Output only. The VariableData associated with this step.
*/

@@ -440,0 +440,0 @@ variableData?: Schema$VariableData;

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

/**
* Optional. Describes the level of the execution history feature to apply to this workflow.
* Optional. Describes the execution history level to apply to this workflow.
*/

@@ -286,0 +286,0 @@ executionHistoryLevel?: string | null;

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

this.context = context;
this.discoveredprofiles =
new Resource$Projects$Locations$Discoveredprofiles(this.context);
this.evaluations = new Resource$Projects$Locations$Evaluations(this.context);

@@ -127,2 +129,115 @@ this.insights = new Resource$Projects$Locations$Insights(this.context);

workloadmanager_v1.Resource$Projects$Locations = Resource$Projects$Locations;
class Resource$Projects$Locations$Discoveredprofiles {
constructor(context) {
this.context = context;
this.healthes =
new Resource$Projects$Locations$Discoveredprofiles$Healthes(this.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://workloadmanager.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://workloadmanager.googleapis.com/';
const parameters = {
options: Object.assign({
url: (rootUrl + '/v1/{+parent}/discoveredprofiles').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);
}
}
}
workloadmanager_v1.Resource$Projects$Locations$Discoveredprofiles = Resource$Projects$Locations$Discoveredprofiles;
class Resource$Projects$Locations$Discoveredprofiles$Healthes {
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://workloadmanager.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);
}
}
}
workloadmanager_v1.Resource$Projects$Locations$Discoveredprofiles$Healthes = Resource$Projects$Locations$Discoveredprofiles$Healthes;
class Resource$Projects$Locations$Evaluations {

@@ -487,2 +602,34 @@ constructor(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://workloadmanager.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);
}
}
writeInsight(paramsOrCallback, optionsOrCallback, callback) {

@@ -489,0 +636,0 @@ let params = (paramsOrCallback ||

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

/**
* Immutable. The Cloud Pub/Sub topic that receives events for the subscription. Format: `projects/{project\}/topics/{topic\}` You must create the topic in the same Google Cloud project where you create this subscription. When the topic receives events, the events are encoded as Cloud Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
* Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project\}/topics/{topic\}` You must create the topic in the same Google Cloud project where you create this subscription. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
*/

@@ -96,0 +96,0 @@ pubsubTopic?: string | null;

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

export { managedidentities_v1beta1 } from './apis/managedidentities/v1beta1';
export { managedkafka_v1 } from './apis/managedkafka/v1';
export { manufacturers_v1 } from './apis/manufacturers/v1';

@@ -332,0 +333,0 @@ export { marketingplatformadmin_v1alpha } from './apis/marketingplatformadmin/v1alpha';

{
"name": "googleapis",
"version": "146.0.0",
"version": "148.0.0",
"repository": "googleapis/google-api-nodejs-client",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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

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