@googleapis/chromemanagement 15.2.1 → 15.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/build/v1.d.ts +641 -2
- package/build/v1.js +103 -0
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1081 -194
package/v1.ts
CHANGED
|
@@ -1178,6 +1178,10 @@ export namespace chromemanagement_v1 {
|
|
|
1178
1178
|
* Output only. Permissions of the installed app.
|
|
1179
1179
|
*/
|
|
1180
1180
|
permissions?: string[] | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Output only. If available, the risk assessment data about this extension.
|
|
1183
|
+
*/
|
|
1184
|
+
riskAssessment?: Schema$GoogleChromeManagementV1RiskAssessmentData;
|
|
1181
1185
|
}
|
|
1182
1186
|
/**
|
|
1183
1187
|
* Kiosk app status report of a device. * Available for Kiosks * This field provides the app id and version number running on a kiosk device and the timestamp of when the report was last updated * Data for this field is controlled via policy: [ReportDeviceSessionStatus](https://chromeenterprise.google/policies/#ReportDeviceSessionStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_APPS_REPORT
|
|
@@ -1536,6 +1540,53 @@ export namespace chromemanagement_v1 {
|
|
|
1536
1540
|
*/
|
|
1537
1541
|
userId?: string | null;
|
|
1538
1542
|
}
|
|
1543
|
+
/**
|
|
1544
|
+
* Risk assessment for a Chrome extension.
|
|
1545
|
+
*/
|
|
1546
|
+
export interface Schema$GoogleChromeManagementV1RiskAssessment {
|
|
1547
|
+
/**
|
|
1548
|
+
* Risk assessment for the extension. Currently, this is a numerical value, and its interpretation is specific to each risk assessment provider.
|
|
1549
|
+
*/
|
|
1550
|
+
assessment?: string | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* A URL that a user can navigate to for more information about the risk assessment.
|
|
1553
|
+
*/
|
|
1554
|
+
detailsUrl?: string | null;
|
|
1555
|
+
/**
|
|
1556
|
+
* The version of the extension that this assessment applies to.
|
|
1557
|
+
*/
|
|
1558
|
+
version?: string | null;
|
|
1559
|
+
}
|
|
1560
|
+
/**
|
|
1561
|
+
* Risk assessment data about an extension/app.
|
|
1562
|
+
*/
|
|
1563
|
+
export interface Schema$GoogleChromeManagementV1RiskAssessmentData {
|
|
1564
|
+
/**
|
|
1565
|
+
* Individual risk assessments.
|
|
1566
|
+
*/
|
|
1567
|
+
entries?: Schema$GoogleChromeManagementV1RiskAssessmentEntry[];
|
|
1568
|
+
/**
|
|
1569
|
+
* Overall assessed risk level across all entries. This will be the highest risk level from all entries.
|
|
1570
|
+
*/
|
|
1571
|
+
overallRiskLevel?: string | null;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* One risk assessment entry.
|
|
1575
|
+
*/
|
|
1576
|
+
export interface Schema$GoogleChromeManagementV1RiskAssessmentEntry {
|
|
1577
|
+
/**
|
|
1578
|
+
* The risk assessment provider from which this entry comes from.
|
|
1579
|
+
*/
|
|
1580
|
+
provider?: string | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* The details of the provider's risk assessment.
|
|
1583
|
+
*/
|
|
1584
|
+
riskAssessment?: Schema$GoogleChromeManagementV1RiskAssessment;
|
|
1585
|
+
/**
|
|
1586
|
+
* The bucketed risk level for the risk assessment.
|
|
1587
|
+
*/
|
|
1588
|
+
riskLevel?: string | null;
|
|
1589
|
+
}
|
|
1539
1590
|
/**
|
|
1540
1591
|
* Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.
|
|
1541
1592
|
*/
|
|
@@ -2172,177 +2223,686 @@ export namespace chromemanagement_v1 {
|
|
|
2172
2223
|
justification?: string | null;
|
|
2173
2224
|
}
|
|
2174
2225
|
/**
|
|
2175
|
-
* A
|
|
2226
|
+
* A certificate provisioning process.
|
|
2176
2227
|
*/
|
|
2177
|
-
export interface Schema$
|
|
2228
|
+
export interface Schema$GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess {
|
|
2229
|
+
/**
|
|
2230
|
+
* Output only. A JSON string that contains the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.
|
|
2231
|
+
*/
|
|
2232
|
+
caConnectionAdapterConfigReference?: string | null;
|
|
2233
|
+
/**
|
|
2234
|
+
* Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.
|
|
2235
|
+
*/
|
|
2236
|
+
chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1alpha1ChromeOsDevice;
|
|
2237
|
+
/**
|
|
2238
|
+
* Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.
|
|
2239
|
+
*/
|
|
2240
|
+
chromeOsUserSession?: Schema$GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession;
|
|
2241
|
+
/**
|
|
2242
|
+
* Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.
|
|
2243
|
+
*/
|
|
2244
|
+
failureMessage?: string | null;
|
|
2245
|
+
/**
|
|
2246
|
+
* Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.
|
|
2247
|
+
*/
|
|
2248
|
+
issuedCertificate?: string | null;
|
|
2249
|
+
/**
|
|
2250
|
+
* Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer\}/certificateProvisioningProcesses/{certificate_provisioning_process\}` with `{customer\}` being the obfuscated customer id and `{certificate_provisioning_process\}` being the certificate provisioning process id.
|
|
2251
|
+
*/
|
|
2252
|
+
name?: string | null;
|
|
2253
|
+
/**
|
|
2254
|
+
* Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
|
|
2255
|
+
*/
|
|
2256
|
+
profileAdapterConfigReference?: string | null;
|
|
2257
|
+
/**
|
|
2258
|
+
* Output only. The ID of the certificate provisioning profile.
|
|
2259
|
+
*/
|
|
2260
|
+
provisioningProfileId?: string | null;
|
|
2261
|
+
/**
|
|
2262
|
+
* Output only. The signature of `signature_algorithm`, generated using the client's private key using `signature_algorithm`. This field is only present after the`SignData` operation has finished.
|
|
2263
|
+
*/
|
|
2264
|
+
signature?: string | null;
|
|
2265
|
+
/**
|
|
2266
|
+
* Output only. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`. This field is only present after the `SignData` operation has been initiated.
|
|
2267
|
+
*/
|
|
2268
|
+
signatureAlgorithm?: string | null;
|
|
2269
|
+
/**
|
|
2270
|
+
* Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated.
|
|
2271
|
+
*/
|
|
2272
|
+
signData?: string | null;
|
|
2273
|
+
/**
|
|
2274
|
+
* Output only. Server-generated timestamp of when the certificate provisioning process has been created.
|
|
2275
|
+
*/
|
|
2276
|
+
startTime?: string | null;
|
|
2277
|
+
/**
|
|
2278
|
+
* Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
|
|
2279
|
+
*/
|
|
2280
|
+
subjectPublicKeyInfo?: string | null;
|
|
2281
|
+
}
|
|
2178
2282
|
/**
|
|
2179
|
-
*
|
|
2283
|
+
* Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.
|
|
2180
2284
|
*/
|
|
2181
|
-
export interface Schema$
|
|
2285
|
+
export interface Schema$GoogleChromeManagementVersionsV1alpha1ChromeOsDevice {
|
|
2182
2286
|
/**
|
|
2183
|
-
* The
|
|
2287
|
+
* Output only. The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab.
|
|
2184
2288
|
*/
|
|
2185
|
-
|
|
2289
|
+
deviceDirectoryApiId?: string | null;
|
|
2186
2290
|
/**
|
|
2187
|
-
*
|
|
2291
|
+
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.
|
|
2188
2292
|
*/
|
|
2189
|
-
|
|
2293
|
+
serialNumber?: string | null;
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.
|
|
2297
|
+
*/
|
|
2298
|
+
export interface Schema$GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession {
|
|
2190
2299
|
/**
|
|
2191
|
-
*
|
|
2300
|
+
* Output only. This field contains information about the ChromeOS device that the user session is running on. It is only set if the user session is affiliated, i.e. if the user is managed by the same organization that managed the ChromeOS device.
|
|
2192
2301
|
*/
|
|
2193
|
-
|
|
2302
|
+
chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1alpha1ChromeOsDevice;
|
|
2303
|
+
/**
|
|
2304
|
+
* Output only. The unique Directory API ID of the user.
|
|
2305
|
+
*/
|
|
2306
|
+
userDirectoryApiId?: string | null;
|
|
2307
|
+
/**
|
|
2308
|
+
* Output only. The primary e-mail address of the user.
|
|
2309
|
+
*/
|
|
2310
|
+
userPrimaryEmail?: string | null;
|
|
2194
2311
|
}
|
|
2195
2312
|
/**
|
|
2196
|
-
*
|
|
2313
|
+
* Metadata for the long-running operation returned by signData.
|
|
2197
2314
|
*/
|
|
2198
|
-
export interface Schema$
|
|
2315
|
+
export interface Schema$GoogleChromeManagementVersionsV1alpha1SignDataMetadata {
|
|
2199
2316
|
/**
|
|
2200
|
-
*
|
|
2317
|
+
* Output only. Start time of the SignData operation.
|
|
2201
2318
|
*/
|
|
2202
|
-
|
|
2319
|
+
startTime?: string | null;
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
* Response message for requesting a signature from the client that initated a certificate provisioning process.
|
|
2323
|
+
*/
|
|
2324
|
+
export interface Schema$GoogleChromeManagementVersionsV1alpha1SignDataResponse {
|
|
2203
2325
|
/**
|
|
2204
|
-
*
|
|
2326
|
+
* Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`.
|
|
2205
2327
|
*/
|
|
2206
|
-
|
|
2328
|
+
certificateProvisioningProcess?: Schema$GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess;
|
|
2329
|
+
}
|
|
2330
|
+
/**
|
|
2331
|
+
* Information of public key associated with a Chrome browser profile.
|
|
2332
|
+
*/
|
|
2333
|
+
export interface Schema$GoogleChromeManagementVersionsV1AttestationCredential {
|
|
2207
2334
|
/**
|
|
2208
|
-
*
|
|
2335
|
+
* Output only. Latest rotation timestamp of the public key rotation.
|
|
2209
2336
|
*/
|
|
2210
|
-
|
|
2337
|
+
keyRotationTime?: string | null;
|
|
2338
|
+
/**
|
|
2339
|
+
* Output only. Trust level of the public key.
|
|
2340
|
+
*/
|
|
2341
|
+
keyTrustLevel?: string | null;
|
|
2342
|
+
/**
|
|
2343
|
+
* Output only. Type of the public key.
|
|
2344
|
+
*/
|
|
2345
|
+
keyType?: string | null;
|
|
2346
|
+
/**
|
|
2347
|
+
* Output only. Value of the public key.
|
|
2348
|
+
*/
|
|
2349
|
+
publicKey?: string | null;
|
|
2211
2350
|
}
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2351
|
+
/**
|
|
2352
|
+
* A certificate provisioning process.
|
|
2353
|
+
*/
|
|
2354
|
+
export interface Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess {
|
|
2355
|
+
/**
|
|
2356
|
+
* Output only. A JSON string that contains the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.
|
|
2357
|
+
*/
|
|
2358
|
+
caConnectionAdapterConfigReference?: string | null;
|
|
2359
|
+
/**
|
|
2360
|
+
* Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.
|
|
2361
|
+
*/
|
|
2362
|
+
chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1ChromeOsDevice;
|
|
2363
|
+
/**
|
|
2364
|
+
* Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.
|
|
2365
|
+
*/
|
|
2366
|
+
chromeOsUserSession?: Schema$GoogleChromeManagementVersionsV1ChromeOsUserSession;
|
|
2367
|
+
/**
|
|
2368
|
+
* Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.
|
|
2369
|
+
*/
|
|
2370
|
+
failureMessage?: string | null;
|
|
2371
|
+
/**
|
|
2372
|
+
* Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.
|
|
2373
|
+
*/
|
|
2374
|
+
issuedCertificate?: string | null;
|
|
2375
|
+
/**
|
|
2376
|
+
* Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer\}/certificateProvisioningProcesses/{certificate_provisioning_process\}` with `{customer\}` being the obfuscated customer id and `{certificate_provisioning_process\}` being the certificate provisioning process id.
|
|
2377
|
+
*/
|
|
2378
|
+
name?: string | null;
|
|
2379
|
+
/**
|
|
2380
|
+
* Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
|
|
2381
|
+
*/
|
|
2382
|
+
profileAdapterConfigReference?: string | null;
|
|
2383
|
+
/**
|
|
2384
|
+
* Output only. The ID of the certificate provisioning profile.
|
|
2385
|
+
*/
|
|
2386
|
+
provisioningProfileId?: string | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* Output only. The signature of `signature_algorithm`, generated using the client's private key using `signature_algorithm`. This field is only present after the`SignData` operation has finished.
|
|
2389
|
+
*/
|
|
2390
|
+
signature?: string | null;
|
|
2391
|
+
/**
|
|
2392
|
+
* Output only. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`. This field is only present after the `SignData` operation has been initiated.
|
|
2393
|
+
*/
|
|
2394
|
+
signatureAlgorithm?: string | null;
|
|
2395
|
+
/**
|
|
2396
|
+
* Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated.
|
|
2397
|
+
*/
|
|
2398
|
+
signData?: string | null;
|
|
2399
|
+
/**
|
|
2400
|
+
* Output only. Server-generated timestamp of when the certificate provisioning process has been created.
|
|
2401
|
+
*/
|
|
2402
|
+
startTime?: string | null;
|
|
2403
|
+
/**
|
|
2404
|
+
* Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
|
|
2405
|
+
*/
|
|
2406
|
+
subjectPublicKeyInfo?: string | null;
|
|
2224
2407
|
}
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
chrome: Resource$Customers$Apps$Chrome;
|
|
2230
|
-
web: Resource$Customers$Apps$Web;
|
|
2231
|
-
constructor(context: APIRequestContext) {
|
|
2232
|
-
this.context = context;
|
|
2233
|
-
this.android = new Resource$Customers$Apps$Android(this.context);
|
|
2234
|
-
this.chrome = new Resource$Customers$Apps$Chrome(this.context);
|
|
2235
|
-
this.web = new Resource$Customers$Apps$Web(this.context);
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2408
|
+
/**
|
|
2409
|
+
* A representation of a Chrome browser profile.
|
|
2410
|
+
*/
|
|
2411
|
+
export interface Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile {
|
|
2238
2412
|
/**
|
|
2239
|
-
*
|
|
2240
|
-
*
|
|
2241
|
-
* @param params - Parameters for request
|
|
2242
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2243
|
-
* @param callback - Optional callback that handles the response.
|
|
2244
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2413
|
+
* Output only. The specific affiliation state of the profile.
|
|
2245
2414
|
*/
|
|
2246
|
-
|
|
2247
|
-
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2248
|
-
options: StreamMethodOptions
|
|
2249
|
-
): GaxiosPromise<Readable>;
|
|
2250
|
-
countChromeAppRequests(
|
|
2251
|
-
params?: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2252
|
-
options?: MethodOptions
|
|
2253
|
-
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>;
|
|
2254
|
-
countChromeAppRequests(
|
|
2255
|
-
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2256
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2257
|
-
callback: BodyResponseCallback<Readable>
|
|
2258
|
-
): void;
|
|
2259
|
-
countChromeAppRequests(
|
|
2260
|
-
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2261
|
-
options:
|
|
2262
|
-
| MethodOptions
|
|
2263
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>,
|
|
2264
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2265
|
-
): void;
|
|
2266
|
-
countChromeAppRequests(
|
|
2267
|
-
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2268
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2269
|
-
): void;
|
|
2270
|
-
countChromeAppRequests(
|
|
2271
|
-
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2272
|
-
): void;
|
|
2273
|
-
countChromeAppRequests(
|
|
2274
|
-
paramsOrCallback?:
|
|
2275
|
-
| Params$Resource$Customers$Apps$Countchromeapprequests
|
|
2276
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2277
|
-
| BodyResponseCallback<Readable>,
|
|
2278
|
-
optionsOrCallback?:
|
|
2279
|
-
| MethodOptions
|
|
2280
|
-
| StreamMethodOptions
|
|
2281
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2282
|
-
| BodyResponseCallback<Readable>,
|
|
2283
|
-
callback?:
|
|
2284
|
-
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2285
|
-
| BodyResponseCallback<Readable>
|
|
2286
|
-
):
|
|
2287
|
-
| void
|
|
2288
|
-
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2289
|
-
| GaxiosPromise<Readable> {
|
|
2290
|
-
let params = (paramsOrCallback ||
|
|
2291
|
-
{}) as Params$Resource$Customers$Apps$Countchromeapprequests;
|
|
2292
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2293
|
-
|
|
2294
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2295
|
-
callback = paramsOrCallback;
|
|
2296
|
-
params = {} as Params$Resource$Customers$Apps$Countchromeapprequests;
|
|
2297
|
-
options = {};
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2301
|
-
callback = optionsOrCallback;
|
|
2302
|
-
options = {};
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
|
-
const rootUrl =
|
|
2306
|
-
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2307
|
-
const parameters = {
|
|
2308
|
-
options: Object.assign(
|
|
2309
|
-
{
|
|
2310
|
-
url: (
|
|
2311
|
-
rootUrl + '/v1/{+customer}/apps:countChromeAppRequests'
|
|
2312
|
-
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2313
|
-
method: 'GET',
|
|
2314
|
-
apiVersion: '',
|
|
2315
|
-
},
|
|
2316
|
-
options
|
|
2317
|
-
),
|
|
2318
|
-
params,
|
|
2319
|
-
requiredParams: ['customer'],
|
|
2320
|
-
pathParams: ['customer'],
|
|
2321
|
-
context: this.context,
|
|
2322
|
-
};
|
|
2323
|
-
if (callback) {
|
|
2324
|
-
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
|
|
2325
|
-
parameters,
|
|
2326
|
-
callback as BodyResponseCallback<unknown>
|
|
2327
|
-
);
|
|
2328
|
-
} else {
|
|
2329
|
-
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
|
|
2330
|
-
parameters
|
|
2331
|
-
);
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
|
|
2415
|
+
affiliationState?: string | null;
|
|
2335
2416
|
/**
|
|
2336
|
-
*
|
|
2337
|
-
*
|
|
2338
|
-
* @param params - Parameters for request
|
|
2339
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2340
|
-
* @param callback - Optional callback that handles the response.
|
|
2341
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2417
|
+
* Optional. Location of the profile annotated by the admin.
|
|
2342
2418
|
*/
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2419
|
+
annotatedLocation?: string | null;
|
|
2420
|
+
/**
|
|
2421
|
+
* Optional. User of the profile annotated by the admin.
|
|
2422
|
+
*/
|
|
2423
|
+
annotatedUser?: string | null;
|
|
2424
|
+
/**
|
|
2425
|
+
* Output only. Attestation credential information of the profile.
|
|
2426
|
+
*/
|
|
2427
|
+
attestationCredential?: Schema$GoogleChromeManagementVersionsV1AttestationCredential;
|
|
2428
|
+
/**
|
|
2429
|
+
* Output only. Channel of the browser on which the profile exists.
|
|
2430
|
+
*/
|
|
2431
|
+
browserChannel?: string | null;
|
|
2432
|
+
/**
|
|
2433
|
+
* Output only. Version of the browser on which the profile exists.
|
|
2434
|
+
*/
|
|
2435
|
+
browserVersion?: string | null;
|
|
2436
|
+
/**
|
|
2437
|
+
* Output only. Basic information of the device on which the profile exists. This information is only available for the affiliated profiles.
|
|
2438
|
+
*/
|
|
2439
|
+
deviceInfo?: Schema$GoogleChromeManagementVersionsV1DeviceInfo;
|
|
2440
|
+
/**
|
|
2441
|
+
* Output only. Profile display name set by client.
|
|
2442
|
+
*/
|
|
2443
|
+
displayName?: string | null;
|
|
2444
|
+
/**
|
|
2445
|
+
* Output only. Etag of this ChromeBrowserProfile resource. This etag can be used with UPDATE operation to ensure consistency.
|
|
2446
|
+
*/
|
|
2447
|
+
etag?: string | null;
|
|
2448
|
+
/**
|
|
2449
|
+
* Output only. Number of extensions installed on the profile.
|
|
2450
|
+
*/
|
|
2451
|
+
extensionCount?: string | null;
|
|
2452
|
+
/**
|
|
2453
|
+
* Output only. Timestamp of the first enrollment of the profile.
|
|
2454
|
+
*/
|
|
2455
|
+
firstEnrollmentTime?: string | null;
|
|
2456
|
+
/**
|
|
2457
|
+
* Output only. Identify provider of the profile.
|
|
2458
|
+
*/
|
|
2459
|
+
identityProvider?: string | null;
|
|
2460
|
+
/**
|
|
2461
|
+
* Output only. Timestamp of the latest activity by the profile.
|
|
2462
|
+
*/
|
|
2463
|
+
lastActivityTime?: string | null;
|
|
2464
|
+
/**
|
|
2465
|
+
* Output only. Timestamp of the latest policy fetch by the profile.
|
|
2466
|
+
*/
|
|
2467
|
+
lastPolicyFetchTime?: string | null;
|
|
2468
|
+
/**
|
|
2469
|
+
* Output only. Timestamp of the latest policy sync by the profile.
|
|
2470
|
+
*/
|
|
2471
|
+
lastPolicySyncTime?: string | null;
|
|
2472
|
+
/**
|
|
2473
|
+
* Output only. Timestamp of the latest status report by the profile.
|
|
2474
|
+
*/
|
|
2475
|
+
lastStatusReportTime?: string | null;
|
|
2476
|
+
/**
|
|
2477
|
+
* Identifier. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
|
|
2478
|
+
*/
|
|
2479
|
+
name?: string | null;
|
|
2480
|
+
/**
|
|
2481
|
+
* Output only. OS platform of the device on which the profile exists.
|
|
2482
|
+
*/
|
|
2483
|
+
osPlatformType?: string | null;
|
|
2484
|
+
/**
|
|
2485
|
+
* Output only. Major OS version of the device on which the profile exists. (i.e. Windows 10)
|
|
2486
|
+
*/
|
|
2487
|
+
osPlatformVersion?: string | null;
|
|
2488
|
+
/**
|
|
2489
|
+
* Output only. OS version of the device on which the profile exists.
|
|
2490
|
+
*/
|
|
2491
|
+
osVersion?: string | null;
|
|
2492
|
+
/**
|
|
2493
|
+
* Output only. Number of policies applied on the profile.
|
|
2494
|
+
*/
|
|
2495
|
+
policyCount?: string | null;
|
|
2496
|
+
/**
|
|
2497
|
+
* Output only. Chrome client side profile ID.
|
|
2498
|
+
*/
|
|
2499
|
+
profileId?: string | null;
|
|
2500
|
+
/**
|
|
2501
|
+
* Output only. Profile permanent ID is the unique identifier of a profile within one customer.
|
|
2502
|
+
*/
|
|
2503
|
+
profilePermanentId?: string | null;
|
|
2504
|
+
/**
|
|
2505
|
+
* Output only. Detailed reporting data of the profile. This information is only available when the profile reporting policy is enabled.
|
|
2506
|
+
*/
|
|
2507
|
+
reportingData?: Schema$GoogleChromeManagementVersionsV1ReportingData;
|
|
2508
|
+
/**
|
|
2509
|
+
* Output only. Email address of the user to which the profile belongs.
|
|
2510
|
+
*/
|
|
2511
|
+
userEmail?: string | null;
|
|
2512
|
+
/**
|
|
2513
|
+
* Output only. Unique Directory API ID of the user that can be used in Admin SDK Users API.
|
|
2514
|
+
*/
|
|
2515
|
+
userId?: string | null;
|
|
2516
|
+
}
|
|
2517
|
+
/**
|
|
2518
|
+
* Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.
|
|
2519
|
+
*/
|
|
2520
|
+
export interface Schema$GoogleChromeManagementVersionsV1ChromeOsDevice {
|
|
2521
|
+
/**
|
|
2522
|
+
* Output only. The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab.
|
|
2523
|
+
*/
|
|
2524
|
+
deviceDirectoryApiId?: string | null;
|
|
2525
|
+
/**
|
|
2526
|
+
* Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.
|
|
2527
|
+
*/
|
|
2528
|
+
serialNumber?: string | null;
|
|
2529
|
+
}
|
|
2530
|
+
/**
|
|
2531
|
+
* Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.
|
|
2532
|
+
*/
|
|
2533
|
+
export interface Schema$GoogleChromeManagementVersionsV1ChromeOsUserSession {
|
|
2534
|
+
/**
|
|
2535
|
+
* Output only. This field contains information about the ChromeOS device that the user session is running on. It is only set if the user session is affiliated, i.e. if the user is managed by the same organization that managed the ChromeOS device.
|
|
2536
|
+
*/
|
|
2537
|
+
chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1ChromeOsDevice;
|
|
2538
|
+
/**
|
|
2539
|
+
* Output only. The unique Directory API ID of the user.
|
|
2540
|
+
*/
|
|
2541
|
+
userDirectoryApiId?: string | null;
|
|
2542
|
+
/**
|
|
2543
|
+
* Output only. The primary e-mail address of the user.
|
|
2544
|
+
*/
|
|
2545
|
+
userPrimaryEmail?: string | null;
|
|
2546
|
+
}
|
|
2547
|
+
/**
|
|
2548
|
+
* Information of a device that runs a Chrome browser profile.
|
|
2549
|
+
*/
|
|
2550
|
+
export interface Schema$GoogleChromeManagementVersionsV1DeviceInfo {
|
|
2551
|
+
/**
|
|
2552
|
+
* Output only. Device ID that identifies the affiliated device on which the profile exists. If the device type is CHROME_BROWSER, then this represents a unique Directory API ID of the device that can be used in Admin SDK Browsers API.
|
|
2553
|
+
*/
|
|
2554
|
+
affiliatedDeviceId?: string | null;
|
|
2555
|
+
/**
|
|
2556
|
+
* Output only. Type of the device on which the profile exists.
|
|
2557
|
+
*/
|
|
2558
|
+
deviceType?: string | null;
|
|
2559
|
+
/**
|
|
2560
|
+
* Output only. Hostname of the device on which the profile exists.
|
|
2561
|
+
*/
|
|
2562
|
+
hostname?: string | null;
|
|
2563
|
+
/**
|
|
2564
|
+
* Output only. Machine name of the device on which the profile exists. On platforms which do not report the machine name (currently iOS and Android) this is instead set to the browser's device_id - but note that this is a different device_id than the |affiliated_device_id|.
|
|
2565
|
+
*/
|
|
2566
|
+
machine?: string | null;
|
|
2567
|
+
}
|
|
2568
|
+
/**
|
|
2569
|
+
* Response to ListChromeBrowserProfiles method.
|
|
2570
|
+
*/
|
|
2571
|
+
export interface Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse {
|
|
2572
|
+
/**
|
|
2573
|
+
* The list of profiles returned.
|
|
2574
|
+
*/
|
|
2575
|
+
chromeBrowserProfiles?: Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile[];
|
|
2576
|
+
/**
|
|
2577
|
+
* The pagination token that can be used to list the next page.
|
|
2578
|
+
*/
|
|
2579
|
+
nextPageToken?: string | null;
|
|
2580
|
+
/**
|
|
2581
|
+
* Total size represents an estimated number of resources returned. Not guaranteed to be accurate above 10k profiles.
|
|
2582
|
+
*/
|
|
2583
|
+
totalSize?: string | null;
|
|
2584
|
+
}
|
|
2585
|
+
/**
|
|
2586
|
+
* Reporting data of a Chrome browser profile.
|
|
2587
|
+
*/
|
|
2588
|
+
export interface Schema$GoogleChromeManagementVersionsV1ReportingData {
|
|
2589
|
+
/**
|
|
2590
|
+
* Output only. Executable path of the installed Chrome browser. A valid path is included only in affiliated profiles.
|
|
2591
|
+
*/
|
|
2592
|
+
browserExecutablePath?: string | null;
|
|
2593
|
+
/**
|
|
2594
|
+
* Output only. Information of the extensions installed on the profile.
|
|
2595
|
+
*/
|
|
2596
|
+
extensionData?: Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionData[];
|
|
2597
|
+
/**
|
|
2598
|
+
* Output only. Information of the policies applied on the extensions.
|
|
2599
|
+
*/
|
|
2600
|
+
extensionPolicyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData[];
|
|
2601
|
+
/**
|
|
2602
|
+
* Output only. Updated version of a browser, if it is different from the active browser version.
|
|
2603
|
+
*/
|
|
2604
|
+
installedBrowserVersion?: string | null;
|
|
2605
|
+
/**
|
|
2606
|
+
* Output only. Information of the policies applied on the profile.
|
|
2607
|
+
*/
|
|
2608
|
+
policyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData[];
|
|
2609
|
+
/**
|
|
2610
|
+
* Output only. Path of the profile. A valid path is included only in affiliated profiles.
|
|
2611
|
+
*/
|
|
2612
|
+
profilePath?: string | null;
|
|
2613
|
+
}
|
|
2614
|
+
/**
|
|
2615
|
+
* Information of conflicting policy applied on a Chrome browser profile.
|
|
2616
|
+
*/
|
|
2617
|
+
export interface Schema$GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData {
|
|
2618
|
+
/**
|
|
2619
|
+
* Output only. Source of the policy.
|
|
2620
|
+
*/
|
|
2621
|
+
source?: string | null;
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* Information of an extension installed on a Chrome browser profile.
|
|
2625
|
+
*/
|
|
2626
|
+
export interface Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionData {
|
|
2627
|
+
/**
|
|
2628
|
+
* Output only. Description of the extension.
|
|
2629
|
+
*/
|
|
2630
|
+
description?: string | null;
|
|
2631
|
+
/**
|
|
2632
|
+
* Output only. ID of the extension.
|
|
2633
|
+
*/
|
|
2634
|
+
extensionId?: string | null;
|
|
2635
|
+
/**
|
|
2636
|
+
* Output only. Type of the extension.
|
|
2637
|
+
*/
|
|
2638
|
+
extensionType?: string | null;
|
|
2639
|
+
/**
|
|
2640
|
+
* Output only. The URL of the homepage of the extension.
|
|
2641
|
+
*/
|
|
2642
|
+
homepageUri?: string | null;
|
|
2643
|
+
/**
|
|
2644
|
+
* Output only. Installation type of the extension.
|
|
2645
|
+
*/
|
|
2646
|
+
installationType?: string | null;
|
|
2647
|
+
/**
|
|
2648
|
+
* Output only. Represents whether the user disabled the extension.
|
|
2649
|
+
*/
|
|
2650
|
+
isDisabled?: boolean | null;
|
|
2651
|
+
/**
|
|
2652
|
+
* Output only. Represents whether the extension is from the webstore.
|
|
2653
|
+
*/
|
|
2654
|
+
isWebstoreExtension?: boolean | null;
|
|
2655
|
+
/**
|
|
2656
|
+
* Output only. Manifest version of the extension.
|
|
2657
|
+
*/
|
|
2658
|
+
manifestVersion?: number | null;
|
|
2659
|
+
/**
|
|
2660
|
+
* Output only. Name of the extension.
|
|
2661
|
+
*/
|
|
2662
|
+
name?: string | null;
|
|
2663
|
+
/**
|
|
2664
|
+
* Output only. Permissions requested by the extension.
|
|
2665
|
+
*/
|
|
2666
|
+
permissions?: string[] | null;
|
|
2667
|
+
/**
|
|
2668
|
+
* Output only. Version of the extension.
|
|
2669
|
+
*/
|
|
2670
|
+
version?: string | null;
|
|
2671
|
+
}
|
|
2672
|
+
/**
|
|
2673
|
+
* Information of the policies applied on an extension.
|
|
2674
|
+
*/
|
|
2675
|
+
export interface Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData {
|
|
2676
|
+
/**
|
|
2677
|
+
* Output only. ID of the extension.
|
|
2678
|
+
*/
|
|
2679
|
+
extensionId?: string | null;
|
|
2680
|
+
/**
|
|
2681
|
+
* Output only. Name of the extension.
|
|
2682
|
+
*/
|
|
2683
|
+
extensionName?: string | null;
|
|
2684
|
+
/**
|
|
2685
|
+
* Output only. Information of the policies applied on the extension.
|
|
2686
|
+
*/
|
|
2687
|
+
policyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData[];
|
|
2688
|
+
}
|
|
2689
|
+
/**
|
|
2690
|
+
* Information of a policy applied on a Chrome browser profile.
|
|
2691
|
+
*/
|
|
2692
|
+
export interface Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData {
|
|
2693
|
+
/**
|
|
2694
|
+
* Output only. Conflicting policy information.
|
|
2695
|
+
*/
|
|
2696
|
+
conflicts?: Schema$GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData[];
|
|
2697
|
+
/**
|
|
2698
|
+
* Output only. Error message of the policy, if any.
|
|
2699
|
+
*/
|
|
2700
|
+
error?: string | null;
|
|
2701
|
+
/**
|
|
2702
|
+
* Output only. Name of the policy.
|
|
2703
|
+
*/
|
|
2704
|
+
name?: string | null;
|
|
2705
|
+
/**
|
|
2706
|
+
* Output only. Source of the policy.
|
|
2707
|
+
*/
|
|
2708
|
+
source?: string | null;
|
|
2709
|
+
/**
|
|
2710
|
+
* Output only. Value of the policy.
|
|
2711
|
+
*/
|
|
2712
|
+
value?: string | null;
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* Metadata for the long-running operation returned by signData.
|
|
2716
|
+
*/
|
|
2717
|
+
export interface Schema$GoogleChromeManagementVersionsV1SignDataMetadata {
|
|
2718
|
+
/**
|
|
2719
|
+
* Output only. Start time of the SignData operation.
|
|
2720
|
+
*/
|
|
2721
|
+
startTime?: string | null;
|
|
2722
|
+
}
|
|
2723
|
+
/**
|
|
2724
|
+
* Response message for requesting a signature from the client that initated a certificate provisioning process.
|
|
2725
|
+
*/
|
|
2726
|
+
export interface Schema$GoogleChromeManagementVersionsV1SignDataResponse {
|
|
2727
|
+
/**
|
|
2728
|
+
* Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`.
|
|
2729
|
+
*/
|
|
2730
|
+
certificateProvisioningProcess?: Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess;
|
|
2731
|
+
}
|
|
2732
|
+
/**
|
|
2733
|
+
* 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); \}
|
|
2734
|
+
*/
|
|
2735
|
+
export interface Schema$GoogleProtobufEmpty {}
|
|
2736
|
+
/**
|
|
2737
|
+
* 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).
|
|
2738
|
+
*/
|
|
2739
|
+
export interface Schema$GoogleRpcStatus {
|
|
2740
|
+
/**
|
|
2741
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
2742
|
+
*/
|
|
2743
|
+
code?: number | null;
|
|
2744
|
+
/**
|
|
2745
|
+
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
2746
|
+
*/
|
|
2747
|
+
details?: Array<{[key: string]: any}> | null;
|
|
2748
|
+
/**
|
|
2749
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
|
2750
|
+
*/
|
|
2751
|
+
message?: string | null;
|
|
2752
|
+
}
|
|
2753
|
+
/**
|
|
2754
|
+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
2755
|
+
*/
|
|
2756
|
+
export interface Schema$GoogleTypeDate {
|
|
2757
|
+
/**
|
|
2758
|
+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
|
2759
|
+
*/
|
|
2760
|
+
day?: number | null;
|
|
2761
|
+
/**
|
|
2762
|
+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
|
2763
|
+
*/
|
|
2764
|
+
month?: number | null;
|
|
2765
|
+
/**
|
|
2766
|
+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
|
2767
|
+
*/
|
|
2768
|
+
year?: number | null;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
export class Resource$Customers {
|
|
2772
|
+
context: APIRequestContext;
|
|
2773
|
+
apps: Resource$Customers$Apps;
|
|
2774
|
+
profiles: Resource$Customers$Profiles;
|
|
2775
|
+
reports: Resource$Customers$Reports;
|
|
2776
|
+
telemetry: Resource$Customers$Telemetry;
|
|
2777
|
+
constructor(context: APIRequestContext) {
|
|
2778
|
+
this.context = context;
|
|
2779
|
+
this.apps = new Resource$Customers$Apps(this.context);
|
|
2780
|
+
this.profiles = new Resource$Customers$Profiles(this.context);
|
|
2781
|
+
this.reports = new Resource$Customers$Reports(this.context);
|
|
2782
|
+
this.telemetry = new Resource$Customers$Telemetry(this.context);
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
export class Resource$Customers$Apps {
|
|
2787
|
+
context: APIRequestContext;
|
|
2788
|
+
android: Resource$Customers$Apps$Android;
|
|
2789
|
+
chrome: Resource$Customers$Apps$Chrome;
|
|
2790
|
+
web: Resource$Customers$Apps$Web;
|
|
2791
|
+
constructor(context: APIRequestContext) {
|
|
2792
|
+
this.context = context;
|
|
2793
|
+
this.android = new Resource$Customers$Apps$Android(this.context);
|
|
2794
|
+
this.chrome = new Resource$Customers$Apps$Chrome(this.context);
|
|
2795
|
+
this.web = new Resource$Customers$Apps$Web(this.context);
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* Generate summary of app installation requests.
|
|
2800
|
+
*
|
|
2801
|
+
* @param params - Parameters for request
|
|
2802
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2803
|
+
* @param callback - Optional callback that handles the response.
|
|
2804
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2805
|
+
*/
|
|
2806
|
+
countChromeAppRequests(
|
|
2807
|
+
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2808
|
+
options: StreamMethodOptions
|
|
2809
|
+
): GaxiosPromise<Readable>;
|
|
2810
|
+
countChromeAppRequests(
|
|
2811
|
+
params?: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2812
|
+
options?: MethodOptions
|
|
2813
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>;
|
|
2814
|
+
countChromeAppRequests(
|
|
2815
|
+
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2816
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2817
|
+
callback: BodyResponseCallback<Readable>
|
|
2818
|
+
): void;
|
|
2819
|
+
countChromeAppRequests(
|
|
2820
|
+
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2821
|
+
options:
|
|
2822
|
+
| MethodOptions
|
|
2823
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>,
|
|
2824
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2825
|
+
): void;
|
|
2826
|
+
countChromeAppRequests(
|
|
2827
|
+
params: Params$Resource$Customers$Apps$Countchromeapprequests,
|
|
2828
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2829
|
+
): void;
|
|
2830
|
+
countChromeAppRequests(
|
|
2831
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2832
|
+
): void;
|
|
2833
|
+
countChromeAppRequests(
|
|
2834
|
+
paramsOrCallback?:
|
|
2835
|
+
| Params$Resource$Customers$Apps$Countchromeapprequests
|
|
2836
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2837
|
+
| BodyResponseCallback<Readable>,
|
|
2838
|
+
optionsOrCallback?:
|
|
2839
|
+
| MethodOptions
|
|
2840
|
+
| StreamMethodOptions
|
|
2841
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2842
|
+
| BodyResponseCallback<Readable>,
|
|
2843
|
+
callback?:
|
|
2844
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2845
|
+
| BodyResponseCallback<Readable>
|
|
2846
|
+
):
|
|
2847
|
+
| void
|
|
2848
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
|
|
2849
|
+
| GaxiosPromise<Readable> {
|
|
2850
|
+
let params = (paramsOrCallback ||
|
|
2851
|
+
{}) as Params$Resource$Customers$Apps$Countchromeapprequests;
|
|
2852
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2853
|
+
|
|
2854
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2855
|
+
callback = paramsOrCallback;
|
|
2856
|
+
params = {} as Params$Resource$Customers$Apps$Countchromeapprequests;
|
|
2857
|
+
options = {};
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2861
|
+
callback = optionsOrCallback;
|
|
2862
|
+
options = {};
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
const rootUrl =
|
|
2866
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2867
|
+
const parameters = {
|
|
2868
|
+
options: Object.assign(
|
|
2869
|
+
{
|
|
2870
|
+
url: (
|
|
2871
|
+
rootUrl + '/v1/{+customer}/apps:countChromeAppRequests'
|
|
2872
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2873
|
+
method: 'GET',
|
|
2874
|
+
apiVersion: '',
|
|
2875
|
+
},
|
|
2876
|
+
options
|
|
2877
|
+
),
|
|
2878
|
+
params,
|
|
2879
|
+
requiredParams: ['customer'],
|
|
2880
|
+
pathParams: ['customer'],
|
|
2881
|
+
context: this.context,
|
|
2882
|
+
};
|
|
2883
|
+
if (callback) {
|
|
2884
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
|
|
2885
|
+
parameters,
|
|
2886
|
+
callback as BodyResponseCallback<unknown>
|
|
2887
|
+
);
|
|
2888
|
+
} else {
|
|
2889
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
|
|
2890
|
+
parameters
|
|
2891
|
+
);
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
* Get a list of devices that have requested to install an extension.
|
|
2897
|
+
*
|
|
2898
|
+
* @param params - Parameters for request
|
|
2899
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2900
|
+
* @param callback - Optional callback that handles the response.
|
|
2901
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2902
|
+
*/
|
|
2903
|
+
fetchDevicesRequestingExtension(
|
|
2904
|
+
params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2905
|
+
options: StreamMethodOptions
|
|
2346
2906
|
): GaxiosPromise<Readable>;
|
|
2347
2907
|
fetchDevicesRequestingExtension(
|
|
2348
2908
|
params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
@@ -2594,12 +3154,122 @@ export namespace chromemanagement_v1 {
|
|
|
2594
3154
|
*/
|
|
2595
3155
|
pageSize?: number;
|
|
2596
3156
|
/**
|
|
2597
|
-
* Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
|
|
3157
|
+
* Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
|
|
3158
|
+
*/
|
|
3159
|
+
pageToken?: string;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
export class Resource$Customers$Apps$Android {
|
|
3163
|
+
context: APIRequestContext;
|
|
3164
|
+
constructor(context: APIRequestContext) {
|
|
3165
|
+
this.context = context;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Get a specific app for a customer by its resource name.
|
|
3170
|
+
*
|
|
3171
|
+
* @param params - Parameters for request
|
|
3172
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3173
|
+
* @param callback - Optional callback that handles the response.
|
|
3174
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3175
|
+
*/
|
|
3176
|
+
get(
|
|
3177
|
+
params: Params$Resource$Customers$Apps$Android$Get,
|
|
3178
|
+
options: StreamMethodOptions
|
|
3179
|
+
): GaxiosPromise<Readable>;
|
|
3180
|
+
get(
|
|
3181
|
+
params?: Params$Resource$Customers$Apps$Android$Get,
|
|
3182
|
+
options?: MethodOptions
|
|
3183
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
|
|
3184
|
+
get(
|
|
3185
|
+
params: Params$Resource$Customers$Apps$Android$Get,
|
|
3186
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3187
|
+
callback: BodyResponseCallback<Readable>
|
|
3188
|
+
): void;
|
|
3189
|
+
get(
|
|
3190
|
+
params: Params$Resource$Customers$Apps$Android$Get,
|
|
3191
|
+
options:
|
|
3192
|
+
| MethodOptions
|
|
3193
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
|
|
3194
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3195
|
+
): void;
|
|
3196
|
+
get(
|
|
3197
|
+
params: Params$Resource$Customers$Apps$Android$Get,
|
|
3198
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3199
|
+
): void;
|
|
3200
|
+
get(
|
|
3201
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3202
|
+
): void;
|
|
3203
|
+
get(
|
|
3204
|
+
paramsOrCallback?:
|
|
3205
|
+
| Params$Resource$Customers$Apps$Android$Get
|
|
3206
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3207
|
+
| BodyResponseCallback<Readable>,
|
|
3208
|
+
optionsOrCallback?:
|
|
3209
|
+
| MethodOptions
|
|
3210
|
+
| StreamMethodOptions
|
|
3211
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3212
|
+
| BodyResponseCallback<Readable>,
|
|
3213
|
+
callback?:
|
|
3214
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
3215
|
+
| BodyResponseCallback<Readable>
|
|
3216
|
+
):
|
|
3217
|
+
| void
|
|
3218
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
|
|
3219
|
+
| GaxiosPromise<Readable> {
|
|
3220
|
+
let params = (paramsOrCallback ||
|
|
3221
|
+
{}) as Params$Resource$Customers$Apps$Android$Get;
|
|
3222
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3223
|
+
|
|
3224
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3225
|
+
callback = paramsOrCallback;
|
|
3226
|
+
params = {} as Params$Resource$Customers$Apps$Android$Get;
|
|
3227
|
+
options = {};
|
|
3228
|
+
}
|
|
3229
|
+
|
|
3230
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3231
|
+
callback = optionsOrCallback;
|
|
3232
|
+
options = {};
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
const rootUrl =
|
|
3236
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3237
|
+
const parameters = {
|
|
3238
|
+
options: Object.assign(
|
|
3239
|
+
{
|
|
3240
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3241
|
+
method: 'GET',
|
|
3242
|
+
apiVersion: '',
|
|
3243
|
+
},
|
|
3244
|
+
options
|
|
3245
|
+
),
|
|
3246
|
+
params,
|
|
3247
|
+
requiredParams: ['name'],
|
|
3248
|
+
pathParams: ['name'],
|
|
3249
|
+
context: this.context,
|
|
3250
|
+
};
|
|
3251
|
+
if (callback) {
|
|
3252
|
+
createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
|
|
3253
|
+
parameters,
|
|
3254
|
+
callback as BodyResponseCallback<unknown>
|
|
3255
|
+
);
|
|
3256
|
+
} else {
|
|
3257
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
|
|
3258
|
+
parameters
|
|
3259
|
+
);
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
export interface Params$Resource$Customers$Apps$Android$Get
|
|
3265
|
+
extends StandardParameters {
|
|
3266
|
+
/**
|
|
3267
|
+
* Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
|
|
2598
3268
|
*/
|
|
2599
|
-
|
|
3269
|
+
name?: string;
|
|
2600
3270
|
}
|
|
2601
3271
|
|
|
2602
|
-
export class Resource$Customers$Apps$
|
|
3272
|
+
export class Resource$Customers$Apps$Chrome {
|
|
2603
3273
|
context: APIRequestContext;
|
|
2604
3274
|
constructor(context: APIRequestContext) {
|
|
2605
3275
|
this.context = context;
|
|
@@ -2614,27 +3284,27 @@ export namespace chromemanagement_v1 {
|
|
|
2614
3284
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2615
3285
|
*/
|
|
2616
3286
|
get(
|
|
2617
|
-
params: Params$Resource$Customers$Apps$
|
|
3287
|
+
params: Params$Resource$Customers$Apps$Chrome$Get,
|
|
2618
3288
|
options: StreamMethodOptions
|
|
2619
3289
|
): GaxiosPromise<Readable>;
|
|
2620
3290
|
get(
|
|
2621
|
-
params?: Params$Resource$Customers$Apps$
|
|
3291
|
+
params?: Params$Resource$Customers$Apps$Chrome$Get,
|
|
2622
3292
|
options?: MethodOptions
|
|
2623
3293
|
): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
|
|
2624
3294
|
get(
|
|
2625
|
-
params: Params$Resource$Customers$Apps$
|
|
3295
|
+
params: Params$Resource$Customers$Apps$Chrome$Get,
|
|
2626
3296
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2627
3297
|
callback: BodyResponseCallback<Readable>
|
|
2628
3298
|
): void;
|
|
2629
3299
|
get(
|
|
2630
|
-
params: Params$Resource$Customers$Apps$
|
|
3300
|
+
params: Params$Resource$Customers$Apps$Chrome$Get,
|
|
2631
3301
|
options:
|
|
2632
3302
|
| MethodOptions
|
|
2633
3303
|
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
|
|
2634
3304
|
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2635
3305
|
): void;
|
|
2636
3306
|
get(
|
|
2637
|
-
params: Params$Resource$Customers$Apps$
|
|
3307
|
+
params: Params$Resource$Customers$Apps$Chrome$Get,
|
|
2638
3308
|
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2639
3309
|
): void;
|
|
2640
3310
|
get(
|
|
@@ -2642,7 +3312,7 @@ export namespace chromemanagement_v1 {
|
|
|
2642
3312
|
): void;
|
|
2643
3313
|
get(
|
|
2644
3314
|
paramsOrCallback?:
|
|
2645
|
-
| Params$Resource$Customers$Apps$
|
|
3315
|
+
| Params$Resource$Customers$Apps$Chrome$Get
|
|
2646
3316
|
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2647
3317
|
| BodyResponseCallback<Readable>,
|
|
2648
3318
|
optionsOrCallback?:
|
|
@@ -2658,12 +3328,12 @@ export namespace chromemanagement_v1 {
|
|
|
2658
3328
|
| GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
|
|
2659
3329
|
| GaxiosPromise<Readable> {
|
|
2660
3330
|
let params = (paramsOrCallback ||
|
|
2661
|
-
{}) as Params$Resource$Customers$Apps$
|
|
3331
|
+
{}) as Params$Resource$Customers$Apps$Chrome$Get;
|
|
2662
3332
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2663
3333
|
|
|
2664
3334
|
if (typeof paramsOrCallback === 'function') {
|
|
2665
3335
|
callback = paramsOrCallback;
|
|
2666
|
-
params = {} as Params$Resource$Customers$Apps$
|
|
3336
|
+
params = {} as Params$Resource$Customers$Apps$Chrome$Get;
|
|
2667
3337
|
options = {};
|
|
2668
3338
|
}
|
|
2669
3339
|
|
|
@@ -2701,7 +3371,7 @@ export namespace chromemanagement_v1 {
|
|
|
2701
3371
|
}
|
|
2702
3372
|
}
|
|
2703
3373
|
|
|
2704
|
-
export interface Params$Resource$Customers$Apps$
|
|
3374
|
+
export interface Params$Resource$Customers$Apps$Chrome$Get
|
|
2705
3375
|
extends StandardParameters {
|
|
2706
3376
|
/**
|
|
2707
3377
|
* Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
|
|
@@ -2709,7 +3379,7 @@ export namespace chromemanagement_v1 {
|
|
|
2709
3379
|
name?: string;
|
|
2710
3380
|
}
|
|
2711
3381
|
|
|
2712
|
-
export class Resource$Customers$Apps$
|
|
3382
|
+
export class Resource$Customers$Apps$Web {
|
|
2713
3383
|
context: APIRequestContext;
|
|
2714
3384
|
constructor(context: APIRequestContext) {
|
|
2715
3385
|
this.context = context;
|
|
@@ -2724,27 +3394,27 @@ export namespace chromemanagement_v1 {
|
|
|
2724
3394
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2725
3395
|
*/
|
|
2726
3396
|
get(
|
|
2727
|
-
params: Params$Resource$Customers$Apps$
|
|
3397
|
+
params: Params$Resource$Customers$Apps$Web$Get,
|
|
2728
3398
|
options: StreamMethodOptions
|
|
2729
3399
|
): GaxiosPromise<Readable>;
|
|
2730
3400
|
get(
|
|
2731
|
-
params?: Params$Resource$Customers$Apps$
|
|
3401
|
+
params?: Params$Resource$Customers$Apps$Web$Get,
|
|
2732
3402
|
options?: MethodOptions
|
|
2733
3403
|
): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
|
|
2734
3404
|
get(
|
|
2735
|
-
params: Params$Resource$Customers$Apps$
|
|
3405
|
+
params: Params$Resource$Customers$Apps$Web$Get,
|
|
2736
3406
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2737
3407
|
callback: BodyResponseCallback<Readable>
|
|
2738
3408
|
): void;
|
|
2739
3409
|
get(
|
|
2740
|
-
params: Params$Resource$Customers$Apps$
|
|
3410
|
+
params: Params$Resource$Customers$Apps$Web$Get,
|
|
2741
3411
|
options:
|
|
2742
3412
|
| MethodOptions
|
|
2743
3413
|
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
|
|
2744
3414
|
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2745
3415
|
): void;
|
|
2746
3416
|
get(
|
|
2747
|
-
params: Params$Resource$Customers$Apps$
|
|
3417
|
+
params: Params$Resource$Customers$Apps$Web$Get,
|
|
2748
3418
|
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2749
3419
|
): void;
|
|
2750
3420
|
get(
|
|
@@ -2752,7 +3422,7 @@ export namespace chromemanagement_v1 {
|
|
|
2752
3422
|
): void;
|
|
2753
3423
|
get(
|
|
2754
3424
|
paramsOrCallback?:
|
|
2755
|
-
| Params$Resource$Customers$Apps$
|
|
3425
|
+
| Params$Resource$Customers$Apps$Web$Get
|
|
2756
3426
|
| BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
|
|
2757
3427
|
| BodyResponseCallback<Readable>,
|
|
2758
3428
|
optionsOrCallback?:
|
|
@@ -2768,12 +3438,12 @@ export namespace chromemanagement_v1 {
|
|
|
2768
3438
|
| GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
|
|
2769
3439
|
| GaxiosPromise<Readable> {
|
|
2770
3440
|
let params = (paramsOrCallback ||
|
|
2771
|
-
{}) as Params$Resource$Customers$Apps$
|
|
3441
|
+
{}) as Params$Resource$Customers$Apps$Web$Get;
|
|
2772
3442
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2773
3443
|
|
|
2774
3444
|
if (typeof paramsOrCallback === 'function') {
|
|
2775
3445
|
callback = paramsOrCallback;
|
|
2776
|
-
params = {} as Params$Resource$Customers$Apps$
|
|
3446
|
+
params = {} as Params$Resource$Customers$Apps$Web$Get;
|
|
2777
3447
|
options = {};
|
|
2778
3448
|
}
|
|
2779
3449
|
|
|
@@ -2811,7 +3481,7 @@ export namespace chromemanagement_v1 {
|
|
|
2811
3481
|
}
|
|
2812
3482
|
}
|
|
2813
3483
|
|
|
2814
|
-
export interface Params$Resource$Customers$Apps$
|
|
3484
|
+
export interface Params$Resource$Customers$Apps$Web$Get
|
|
2815
3485
|
extends StandardParameters {
|
|
2816
3486
|
/**
|
|
2817
3487
|
* Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
|
|
@@ -2819,14 +3489,103 @@ export namespace chromemanagement_v1 {
|
|
|
2819
3489
|
name?: string;
|
|
2820
3490
|
}
|
|
2821
3491
|
|
|
2822
|
-
export class Resource$Customers$
|
|
3492
|
+
export class Resource$Customers$Profiles {
|
|
2823
3493
|
context: APIRequestContext;
|
|
2824
3494
|
constructor(context: APIRequestContext) {
|
|
2825
3495
|
this.context = context;
|
|
2826
3496
|
}
|
|
2827
3497
|
|
|
2828
3498
|
/**
|
|
2829
|
-
*
|
|
3499
|
+
* Deletes the data collected from a Chrome browser profile.
|
|
3500
|
+
*
|
|
3501
|
+
* @param params - Parameters for request
|
|
3502
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3503
|
+
* @param callback - Optional callback that handles the response.
|
|
3504
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3505
|
+
*/
|
|
3506
|
+
delete(
|
|
3507
|
+
params: Params$Resource$Customers$Profiles$Delete,
|
|
3508
|
+
options: StreamMethodOptions
|
|
3509
|
+
): GaxiosPromise<Readable>;
|
|
3510
|
+
delete(
|
|
3511
|
+
params?: Params$Resource$Customers$Profiles$Delete,
|
|
3512
|
+
options?: MethodOptions
|
|
3513
|
+
): GaxiosPromise<Schema$GoogleProtobufEmpty>;
|
|
3514
|
+
delete(
|
|
3515
|
+
params: Params$Resource$Customers$Profiles$Delete,
|
|
3516
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3517
|
+
callback: BodyResponseCallback<Readable>
|
|
3518
|
+
): void;
|
|
3519
|
+
delete(
|
|
3520
|
+
params: Params$Resource$Customers$Profiles$Delete,
|
|
3521
|
+
options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>,
|
|
3522
|
+
callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
3523
|
+
): void;
|
|
3524
|
+
delete(
|
|
3525
|
+
params: Params$Resource$Customers$Profiles$Delete,
|
|
3526
|
+
callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
3527
|
+
): void;
|
|
3528
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
3529
|
+
delete(
|
|
3530
|
+
paramsOrCallback?:
|
|
3531
|
+
| Params$Resource$Customers$Profiles$Delete
|
|
3532
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
3533
|
+
| BodyResponseCallback<Readable>,
|
|
3534
|
+
optionsOrCallback?:
|
|
3535
|
+
| MethodOptions
|
|
3536
|
+
| StreamMethodOptions
|
|
3537
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
3538
|
+
| BodyResponseCallback<Readable>,
|
|
3539
|
+
callback?:
|
|
3540
|
+
| BodyResponseCallback<Schema$GoogleProtobufEmpty>
|
|
3541
|
+
| BodyResponseCallback<Readable>
|
|
3542
|
+
):
|
|
3543
|
+
| void
|
|
3544
|
+
| GaxiosPromise<Schema$GoogleProtobufEmpty>
|
|
3545
|
+
| GaxiosPromise<Readable> {
|
|
3546
|
+
let params = (paramsOrCallback ||
|
|
3547
|
+
{}) as Params$Resource$Customers$Profiles$Delete;
|
|
3548
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3549
|
+
|
|
3550
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3551
|
+
callback = paramsOrCallback;
|
|
3552
|
+
params = {} as Params$Resource$Customers$Profiles$Delete;
|
|
3553
|
+
options = {};
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3557
|
+
callback = optionsOrCallback;
|
|
3558
|
+
options = {};
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3561
|
+
const rootUrl =
|
|
3562
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3563
|
+
const parameters = {
|
|
3564
|
+
options: Object.assign(
|
|
3565
|
+
{
|
|
3566
|
+
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3567
|
+
method: 'DELETE',
|
|
3568
|
+
apiVersion: '',
|
|
3569
|
+
},
|
|
3570
|
+
options
|
|
3571
|
+
),
|
|
3572
|
+
params,
|
|
3573
|
+
requiredParams: ['name'],
|
|
3574
|
+
pathParams: ['name'],
|
|
3575
|
+
context: this.context,
|
|
3576
|
+
};
|
|
3577
|
+
if (callback) {
|
|
3578
|
+
createAPIRequest<Schema$GoogleProtobufEmpty>(
|
|
3579
|
+
parameters,
|
|
3580
|
+
callback as BodyResponseCallback<unknown>
|
|
3581
|
+
);
|
|
3582
|
+
} else {
|
|
3583
|
+
return createAPIRequest<Schema$GoogleProtobufEmpty>(parameters);
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* Gets a Chrome browser profile with customer ID and profile permanent ID.
|
|
2830
3589
|
*
|
|
2831
3590
|
* @param params - Parameters for request
|
|
2832
3591
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -2834,56 +3593,56 @@ export namespace chromemanagement_v1 {
|
|
|
2834
3593
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2835
3594
|
*/
|
|
2836
3595
|
get(
|
|
2837
|
-
params: Params$Resource$Customers$
|
|
3596
|
+
params: Params$Resource$Customers$Profiles$Get,
|
|
2838
3597
|
options: StreamMethodOptions
|
|
2839
3598
|
): GaxiosPromise<Readable>;
|
|
2840
3599
|
get(
|
|
2841
|
-
params?: Params$Resource$Customers$
|
|
3600
|
+
params?: Params$Resource$Customers$Profiles$Get,
|
|
2842
3601
|
options?: MethodOptions
|
|
2843
|
-
): GaxiosPromise<Schema$
|
|
3602
|
+
): GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>;
|
|
2844
3603
|
get(
|
|
2845
|
-
params: Params$Resource$Customers$
|
|
3604
|
+
params: Params$Resource$Customers$Profiles$Get,
|
|
2846
3605
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2847
3606
|
callback: BodyResponseCallback<Readable>
|
|
2848
3607
|
): void;
|
|
2849
3608
|
get(
|
|
2850
|
-
params: Params$Resource$Customers$
|
|
3609
|
+
params: Params$Resource$Customers$Profiles$Get,
|
|
2851
3610
|
options:
|
|
2852
3611
|
| MethodOptions
|
|
2853
|
-
| BodyResponseCallback<Schema$
|
|
2854
|
-
callback: BodyResponseCallback<Schema$
|
|
3612
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>,
|
|
3613
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2855
3614
|
): void;
|
|
2856
3615
|
get(
|
|
2857
|
-
params: Params$Resource$Customers$
|
|
2858
|
-
callback: BodyResponseCallback<Schema$
|
|
3616
|
+
params: Params$Resource$Customers$Profiles$Get,
|
|
3617
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2859
3618
|
): void;
|
|
2860
3619
|
get(
|
|
2861
|
-
callback: BodyResponseCallback<Schema$
|
|
3620
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2862
3621
|
): void;
|
|
2863
3622
|
get(
|
|
2864
3623
|
paramsOrCallback?:
|
|
2865
|
-
| Params$Resource$Customers$
|
|
2866
|
-
| BodyResponseCallback<Schema$
|
|
3624
|
+
| Params$Resource$Customers$Profiles$Get
|
|
3625
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2867
3626
|
| BodyResponseCallback<Readable>,
|
|
2868
3627
|
optionsOrCallback?:
|
|
2869
3628
|
| MethodOptions
|
|
2870
3629
|
| StreamMethodOptions
|
|
2871
|
-
| BodyResponseCallback<Schema$
|
|
3630
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2872
3631
|
| BodyResponseCallback<Readable>,
|
|
2873
3632
|
callback?:
|
|
2874
|
-
| BodyResponseCallback<Schema$
|
|
3633
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2875
3634
|
| BodyResponseCallback<Readable>
|
|
2876
3635
|
):
|
|
2877
3636
|
| void
|
|
2878
|
-
| GaxiosPromise<Schema$
|
|
3637
|
+
| GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
|
|
2879
3638
|
| GaxiosPromise<Readable> {
|
|
2880
3639
|
let params = (paramsOrCallback ||
|
|
2881
|
-
{}) as Params$Resource$Customers$
|
|
3640
|
+
{}) as Params$Resource$Customers$Profiles$Get;
|
|
2882
3641
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2883
3642
|
|
|
2884
3643
|
if (typeof paramsOrCallback === 'function') {
|
|
2885
3644
|
callback = paramsOrCallback;
|
|
2886
|
-
params = {} as Params$Resource$Customers$
|
|
3645
|
+
params = {} as Params$Resource$Customers$Profiles$Get;
|
|
2887
3646
|
options = {};
|
|
2888
3647
|
}
|
|
2889
3648
|
|
|
@@ -2909,25 +3668,153 @@ export namespace chromemanagement_v1 {
|
|
|
2909
3668
|
context: this.context,
|
|
2910
3669
|
};
|
|
2911
3670
|
if (callback) {
|
|
2912
|
-
createAPIRequest<Schema$
|
|
3671
|
+
createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>(
|
|
2913
3672
|
parameters,
|
|
2914
3673
|
callback as BodyResponseCallback<unknown>
|
|
2915
3674
|
);
|
|
2916
3675
|
} else {
|
|
2917
|
-
return createAPIRequest<Schema$
|
|
3676
|
+
return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>(
|
|
3677
|
+
parameters
|
|
3678
|
+
);
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* Lists Chrome browser profiles of a customer based on the given search and sorting criteria.
|
|
3684
|
+
*
|
|
3685
|
+
* @param params - Parameters for request
|
|
3686
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3687
|
+
* @param callback - Optional callback that handles the response.
|
|
3688
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3689
|
+
*/
|
|
3690
|
+
list(
|
|
3691
|
+
params: Params$Resource$Customers$Profiles$List,
|
|
3692
|
+
options: StreamMethodOptions
|
|
3693
|
+
): GaxiosPromise<Readable>;
|
|
3694
|
+
list(
|
|
3695
|
+
params?: Params$Resource$Customers$Profiles$List,
|
|
3696
|
+
options?: MethodOptions
|
|
3697
|
+
): GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>;
|
|
3698
|
+
list(
|
|
3699
|
+
params: Params$Resource$Customers$Profiles$List,
|
|
3700
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3701
|
+
callback: BodyResponseCallback<Readable>
|
|
3702
|
+
): void;
|
|
3703
|
+
list(
|
|
3704
|
+
params: Params$Resource$Customers$Profiles$List,
|
|
3705
|
+
options:
|
|
3706
|
+
| MethodOptions
|
|
3707
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>,
|
|
3708
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3709
|
+
): void;
|
|
3710
|
+
list(
|
|
3711
|
+
params: Params$Resource$Customers$Profiles$List,
|
|
3712
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3713
|
+
): void;
|
|
3714
|
+
list(
|
|
3715
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3716
|
+
): void;
|
|
3717
|
+
list(
|
|
3718
|
+
paramsOrCallback?:
|
|
3719
|
+
| Params$Resource$Customers$Profiles$List
|
|
3720
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3721
|
+
| BodyResponseCallback<Readable>,
|
|
3722
|
+
optionsOrCallback?:
|
|
3723
|
+
| MethodOptions
|
|
3724
|
+
| StreamMethodOptions
|
|
3725
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3726
|
+
| BodyResponseCallback<Readable>,
|
|
3727
|
+
callback?:
|
|
3728
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3729
|
+
| BodyResponseCallback<Readable>
|
|
3730
|
+
):
|
|
3731
|
+
| void
|
|
3732
|
+
| GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
|
|
3733
|
+
| GaxiosPromise<Readable> {
|
|
3734
|
+
let params = (paramsOrCallback ||
|
|
3735
|
+
{}) as Params$Resource$Customers$Profiles$List;
|
|
3736
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3737
|
+
|
|
3738
|
+
if (typeof paramsOrCallback === 'function') {
|
|
3739
|
+
callback = paramsOrCallback;
|
|
3740
|
+
params = {} as Params$Resource$Customers$Profiles$List;
|
|
3741
|
+
options = {};
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
if (typeof optionsOrCallback === 'function') {
|
|
3745
|
+
callback = optionsOrCallback;
|
|
3746
|
+
options = {};
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
const rootUrl =
|
|
3750
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
3751
|
+
const parameters = {
|
|
3752
|
+
options: Object.assign(
|
|
3753
|
+
{
|
|
3754
|
+
url: (rootUrl + '/v1/{+parent}/profiles').replace(
|
|
3755
|
+
/([^:]\/)\/+/g,
|
|
3756
|
+
'$1'
|
|
3757
|
+
),
|
|
3758
|
+
method: 'GET',
|
|
3759
|
+
apiVersion: '',
|
|
3760
|
+
},
|
|
3761
|
+
options
|
|
3762
|
+
),
|
|
3763
|
+
params,
|
|
3764
|
+
requiredParams: ['parent'],
|
|
3765
|
+
pathParams: ['parent'],
|
|
3766
|
+
context: this.context,
|
|
3767
|
+
};
|
|
3768
|
+
if (callback) {
|
|
3769
|
+
createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>(
|
|
3770
|
+
parameters,
|
|
3771
|
+
callback as BodyResponseCallback<unknown>
|
|
3772
|
+
);
|
|
3773
|
+
} else {
|
|
3774
|
+
return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>(
|
|
2918
3775
|
parameters
|
|
2919
3776
|
);
|
|
2920
3777
|
}
|
|
2921
3778
|
}
|
|
2922
3779
|
}
|
|
2923
3780
|
|
|
2924
|
-
export interface Params$Resource$Customers$
|
|
3781
|
+
export interface Params$Resource$Customers$Profiles$Delete
|
|
2925
3782
|
extends StandardParameters {
|
|
2926
3783
|
/**
|
|
2927
|
-
* Required.
|
|
3784
|
+
* Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
|
|
3785
|
+
*/
|
|
3786
|
+
name?: string;
|
|
3787
|
+
}
|
|
3788
|
+
export interface Params$Resource$Customers$Profiles$Get
|
|
3789
|
+
extends StandardParameters {
|
|
3790
|
+
/**
|
|
3791
|
+
* Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
|
|
2928
3792
|
*/
|
|
2929
3793
|
name?: string;
|
|
2930
3794
|
}
|
|
3795
|
+
export interface Params$Resource$Customers$Profiles$List
|
|
3796
|
+
extends StandardParameters {
|
|
3797
|
+
/**
|
|
3798
|
+
* Optional. The filter used to filter profiles. The following fields can be used in the filter: - profile_id - display_name - user_email - last_activity_time - last_policy_sync_time - last_status_report_time - first_enrollment_time - os_platform_type - os_version - browser_version - browser_channel - policy_count - extension_count - identity_provider - affiliation_state - ouId Any of the above fields can be used to specify a filter, and filtering by multiple fields is supported with AND operator. String type fields and enum type fields support '=' and '!=' operators. The integer type and the timestamp type fields support '=', '!=', '<', '\>', '<=' and '\>=' operators. Timestamps expect an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00-04:00). Wildcard '*' can be used with a string type field filter. In addition, string literal filtering is also supported, for example, 'ABC' as a filter maps to a filter that checks if any of the filterable string type fields contains 'ABC'. Organization unit number can be used as a filtering criteria here by specifying 'ouId = ${your_org_unit_id\}', please note that only single OU ID matching is supported.
|
|
3799
|
+
*/
|
|
3800
|
+
filter?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
* Optional. The fields used to specify the ordering of the results. The supported fields are: - profile_id - display_name - user_email - last_activity_time - last_policy_sync_time - last_status_report_time - first_enrollment_time - os_platform_type - os_version - browser_version - browser_channel - policy_count - extension_count - identity_provider - affiliation_state By default, sorting is in ascending order, to specify descending order for a field, a suffix " desc" should be added to the field name. The default ordering is the descending order of last_status_report_time.
|
|
3803
|
+
*/
|
|
3804
|
+
orderBy?: string;
|
|
3805
|
+
/**
|
|
3806
|
+
* Optional. The maximum number of profiles to return. The default page size is 100 if page_size is unspecified, and the maximum page size allowed is 200.
|
|
3807
|
+
*/
|
|
3808
|
+
pageSize?: number;
|
|
3809
|
+
/**
|
|
3810
|
+
* Optional. The page token used to retrieve a specific page of the listing request.
|
|
3811
|
+
*/
|
|
3812
|
+
pageToken?: string;
|
|
3813
|
+
/**
|
|
3814
|
+
* Required. Format: customers/{customer_id\}
|
|
3815
|
+
*/
|
|
3816
|
+
parent?: string;
|
|
3817
|
+
}
|
|
2931
3818
|
|
|
2932
3819
|
export class Resource$Customers$Reports {
|
|
2933
3820
|
context: APIRequestContext;
|
|
@@ -4122,11 +5009,11 @@ export namespace chromemanagement_v1 {
|
|
|
4122
5009
|
*/
|
|
4123
5010
|
customer?: string;
|
|
4124
5011
|
/**
|
|
4125
|
-
* Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions
|
|
5012
|
+
* Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions * risk_score
|
|
4126
5013
|
*/
|
|
4127
5014
|
filter?: string;
|
|
4128
5015
|
/**
|
|
4129
|
-
* Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions
|
|
5016
|
+
* Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions * risk_score
|
|
4130
5017
|
*/
|
|
4131
5018
|
orderBy?: string;
|
|
4132
5019
|
/**
|