@googleapis/chromemanagement 15.3.0 → 17.0.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/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,226 +2223,648 @@ export namespace chromemanagement_v1 {
2172
2223
  justification?: string | null;
2173
2224
  }
2174
2225
  /**
2175
- * 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); \}
2226
+ * Information of public key associated with a Chrome browser profile.
2176
2227
  */
2177
- export interface Schema$GoogleProtobufEmpty {}
2228
+ export interface Schema$GoogleChromeManagementVersionsV1AttestationCredential {
2229
+ /**
2230
+ * Output only. Latest rotation timestamp of the public key rotation.
2231
+ */
2232
+ keyRotationTime?: string | null;
2233
+ /**
2234
+ * Output only. Trust level of the public key.
2235
+ */
2236
+ keyTrustLevel?: string | null;
2237
+ /**
2238
+ * Output only. Type of the public key.
2239
+ */
2240
+ keyType?: string | null;
2241
+ /**
2242
+ * Output only. Value of the public key.
2243
+ */
2244
+ publicKey?: string | null;
2245
+ }
2178
2246
  /**
2179
- * 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).
2247
+ * A certificate provisioning process.
2180
2248
  */
2181
- export interface Schema$GoogleRpcStatus {
2249
+ export interface Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess {
2182
2250
  /**
2183
- * The status code, which should be an enum value of google.rpc.Code.
2251
+ * Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.
2184
2252
  */
2185
- code?: number | null;
2253
+ chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1ChromeOsDevice;
2186
2254
  /**
2187
- * A list of messages that carry the error details. There is a common set of message types for APIs to use.
2255
+ * Output only. The client certificate is being provisioned for a ChromeOS user. This contains information about the current user session.
2188
2256
  */
2189
- details?: Array<{[key: string]: any}> | null;
2257
+ chromeOsUserSession?: Schema$GoogleChromeManagementVersionsV1ChromeOsUserSession;
2190
2258
  /**
2191
- * 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.
2259
+ * Output only. A message describing why this `CertificateProvisioningProcess` has failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.
2192
2260
  */
2193
- message?: string | null;
2261
+ failureMessage?: string | null;
2262
+ /**
2263
+ * Output only. The CA connection is a generic CA connection.
2264
+ */
2265
+ genericCaConnection?: Schema$GoogleChromeManagementVersionsV1GenericCaConnection;
2266
+ /**
2267
+ * Output only. The profile is a generic certificate provisioning profile.
2268
+ */
2269
+ genericProfile?: Schema$GoogleChromeManagementVersionsV1GenericProfile;
2270
+ /**
2271
+ * Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.
2272
+ */
2273
+ issuedCertificate?: string | null;
2274
+ /**
2275
+ * 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.
2276
+ */
2277
+ name?: string | null;
2278
+ /**
2279
+ * Output only. The ID of the certificate provisioning profile.
2280
+ */
2281
+ provisioningProfileId?: string | null;
2282
+ /**
2283
+ * 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.
2284
+ */
2285
+ signature?: string | null;
2286
+ /**
2287
+ * 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.
2288
+ */
2289
+ signatureAlgorithm?: string | null;
2290
+ /**
2291
+ * Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated.
2292
+ */
2293
+ signData?: string | null;
2294
+ /**
2295
+ * Output only. Server-generated timestamp of when the certificate provisioning process has been created.
2296
+ */
2297
+ startTime?: string | null;
2298
+ /**
2299
+ * Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
2300
+ */
2301
+ subjectPublicKeyInfo?: string | null;
2194
2302
  }
2195
2303
  /**
2196
- * 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
2304
+ * A representation of a Chrome browser profile.
2197
2305
  */
2198
- export interface Schema$GoogleTypeDate {
2306
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile {
2199
2307
  /**
2200
- * 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.
2308
+ * Output only. The specific affiliation state of the profile.
2201
2309
  */
2202
- day?: number | null;
2310
+ affiliationState?: string | null;
2203
2311
  /**
2204
- * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
2312
+ * Optional. Location of the profile annotated by the admin.
2205
2313
  */
2206
- month?: number | null;
2314
+ annotatedLocation?: string | null;
2207
2315
  /**
2208
- * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
2316
+ * Optional. User of the profile annotated by the admin.
2209
2317
  */
2210
- year?: number | null;
2211
- }
2212
-
2213
- export class Resource$Customers {
2214
- context: APIRequestContext;
2215
- apps: Resource$Customers$Apps;
2216
- reports: Resource$Customers$Reports;
2217
- telemetry: Resource$Customers$Telemetry;
2218
- constructor(context: APIRequestContext) {
2219
- this.context = context;
2220
- this.apps = new Resource$Customers$Apps(this.context);
2221
- this.reports = new Resource$Customers$Reports(this.context);
2222
- this.telemetry = new Resource$Customers$Telemetry(this.context);
2223
- }
2224
- }
2225
-
2226
- export class Resource$Customers$Apps {
2227
- context: APIRequestContext;
2228
- android: Resource$Customers$Apps$Android;
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
-
2318
+ annotatedUser?: string | null;
2238
2319
  /**
2239
- * Generate summary of app installation requests.
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.
2320
+ * Output only. Attestation credential information of the profile.
2245
2321
  */
2246
- countChromeAppRequests(
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
-
2322
+ attestationCredential?: Schema$GoogleChromeManagementVersionsV1AttestationCredential;
2335
2323
  /**
2336
- * Get a list of devices that have requested to install an extension.
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.
2324
+ * Output only. Channel of the browser on which the profile exists.
2342
2325
  */
2343
- fetchDevicesRequestingExtension(
2344
- params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2345
- options: StreamMethodOptions
2346
- ): GaxiosPromise<Readable>;
2347
- fetchDevicesRequestingExtension(
2348
- params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2349
- options?: MethodOptions
2350
- ): GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>;
2351
- fetchDevicesRequestingExtension(
2352
- params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2353
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
2354
- callback: BodyResponseCallback<Readable>
2355
- ): void;
2356
- fetchDevicesRequestingExtension(
2357
- params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2358
- options:
2359
- | MethodOptions
2360
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>,
2361
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2362
- ): void;
2363
- fetchDevicesRequestingExtension(
2364
- params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2365
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2366
- ): void;
2367
- fetchDevicesRequestingExtension(
2368
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2369
- ): void;
2370
- fetchDevicesRequestingExtension(
2371
- paramsOrCallback?:
2372
- | Params$Resource$Customers$Apps$Fetchdevicesrequestingextension
2373
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2374
- | BodyResponseCallback<Readable>,
2375
- optionsOrCallback?:
2376
- | MethodOptions
2377
- | StreamMethodOptions
2378
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2379
- | BodyResponseCallback<Readable>,
2380
- callback?:
2381
- | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2382
- | BodyResponseCallback<Readable>
2383
- ):
2384
- | void
2385
- | GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2386
- | GaxiosPromise<Readable> {
2387
- let params = (paramsOrCallback ||
2388
- {}) as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
2389
- let options = (optionsOrCallback || {}) as MethodOptions;
2390
-
2391
- if (typeof paramsOrCallback === 'function') {
2392
- callback = paramsOrCallback;
2393
- params =
2394
- {} as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
2326
+ browserChannel?: string | null;
2327
+ /**
2328
+ * Output only. Version of the browser on which the profile exists.
2329
+ */
2330
+ browserVersion?: string | null;
2331
+ /**
2332
+ * Output only. Basic information of the device on which the profile exists. This information is only available for the affiliated profiles.
2333
+ */
2334
+ deviceInfo?: Schema$GoogleChromeManagementVersionsV1DeviceInfo;
2335
+ /**
2336
+ * Output only. Profile display name set by client.
2337
+ */
2338
+ displayName?: string | null;
2339
+ /**
2340
+ * Output only. Etag of this ChromeBrowserProfile resource. This etag can be used with UPDATE operation to ensure consistency.
2341
+ */
2342
+ etag?: string | null;
2343
+ /**
2344
+ * Output only. Number of extensions installed on the profile.
2345
+ */
2346
+ extensionCount?: string | null;
2347
+ /**
2348
+ * Output only. Timestamp of the first enrollment of the profile.
2349
+ */
2350
+ firstEnrollmentTime?: string | null;
2351
+ /**
2352
+ * Output only. Identify provider of the profile.
2353
+ */
2354
+ identityProvider?: string | null;
2355
+ /**
2356
+ * Output only. Timestamp of the latest activity by the profile.
2357
+ */
2358
+ lastActivityTime?: string | null;
2359
+ /**
2360
+ * Output only. Timestamp of the latest policy fetch by the profile.
2361
+ */
2362
+ lastPolicyFetchTime?: string | null;
2363
+ /**
2364
+ * Output only. Timestamp of the latest policy sync by the profile.
2365
+ */
2366
+ lastPolicySyncTime?: string | null;
2367
+ /**
2368
+ * Output only. Timestamp of the latest status report by the profile.
2369
+ */
2370
+ lastStatusReportTime?: string | null;
2371
+ /**
2372
+ * Identifier. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
2373
+ */
2374
+ name?: string | null;
2375
+ /**
2376
+ * Output only. OS platform of the device on which the profile exists.
2377
+ */
2378
+ osPlatformType?: string | null;
2379
+ /**
2380
+ * Output only. Major OS platform version of the device on which the profile exists, from profile reporting.
2381
+ */
2382
+ osPlatformVersion?: string | null;
2383
+ /**
2384
+ * Output only. OS version of the device on which the profile exists.
2385
+ */
2386
+ osVersion?: string | null;
2387
+ /**
2388
+ * Output only. Number of policies applied on the profile.
2389
+ */
2390
+ policyCount?: string | null;
2391
+ /**
2392
+ * Output only. Chrome client side profile ID.
2393
+ */
2394
+ profileId?: string | null;
2395
+ /**
2396
+ * Output only. Profile permanent ID is the unique identifier of a profile within one customer.
2397
+ */
2398
+ profilePermanentId?: string | null;
2399
+ /**
2400
+ * Output only. Detailed reporting data of the profile. This information is only available when the profile reporting policy is enabled.
2401
+ */
2402
+ reportingData?: Schema$GoogleChromeManagementVersionsV1ReportingData;
2403
+ /**
2404
+ * Output only. Email address of the user to which the profile belongs.
2405
+ */
2406
+ userEmail?: string | null;
2407
+ /**
2408
+ * Output only. Unique Directory API ID of the user that can be used in Admin SDK Users API.
2409
+ */
2410
+ userId?: string | null;
2411
+ }
2412
+ /**
2413
+ * Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.
2414
+ */
2415
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeOsDevice {
2416
+ /**
2417
+ * 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.
2418
+ */
2419
+ deviceDirectoryApiId?: string | null;
2420
+ /**
2421
+ * Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.
2422
+ */
2423
+ serialNumber?: string | null;
2424
+ }
2425
+ /**
2426
+ * Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.
2427
+ */
2428
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeOsUserSession {
2429
+ /**
2430
+ * Output only. This field contains information about the ChromeOS device that the user session is running on. It is only set if the user is affiliated, i.e., if the user is managed by the same organization that manages the ChromeOS device.
2431
+ */
2432
+ chromeOsDevice?: Schema$GoogleChromeManagementVersionsV1ChromeOsDevice;
2433
+ /**
2434
+ * Output only. The unique Directory API ID of the user.
2435
+ */
2436
+ userDirectoryApiId?: string | null;
2437
+ /**
2438
+ * Output only. The primary e-mail address of the user.
2439
+ */
2440
+ userPrimaryEmail?: string | null;
2441
+ }
2442
+ /**
2443
+ * Information of a device that runs a Chrome browser profile.
2444
+ */
2445
+ export interface Schema$GoogleChromeManagementVersionsV1DeviceInfo {
2446
+ /**
2447
+ * 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.
2448
+ */
2449
+ affiliatedDeviceId?: string | null;
2450
+ /**
2451
+ * Output only. Type of the device on which the profile exists.
2452
+ */
2453
+ deviceType?: string | null;
2454
+ /**
2455
+ * Output only. Hostname of the device on which the profile exists.
2456
+ */
2457
+ hostname?: string | null;
2458
+ /**
2459
+ * 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|.
2460
+ */
2461
+ machine?: string | null;
2462
+ }
2463
+ /**
2464
+ * Describes a generic Certificate Authority Connection.
2465
+ */
2466
+ export interface Schema$GoogleChromeManagementVersionsV1GenericCaConnection {
2467
+ /**
2468
+ * Output only. A string that references the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.
2469
+ */
2470
+ caConnectionAdapterConfigReference?: string | null;
2471
+ }
2472
+ /**
2473
+ * Describes a generic certificate provisioning profile.
2474
+ */
2475
+ export interface Schema$GoogleChromeManagementVersionsV1GenericProfile {
2476
+ /**
2477
+ * Output only. A string that references the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.
2478
+ */
2479
+ profileAdapterConfigReference?: string | null;
2480
+ }
2481
+ /**
2482
+ * Response to ListChromeBrowserProfiles method.
2483
+ */
2484
+ export interface Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse {
2485
+ /**
2486
+ * The list of profiles returned.
2487
+ */
2488
+ chromeBrowserProfiles?: Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile[];
2489
+ /**
2490
+ * The pagination token that can be used to list the next page.
2491
+ */
2492
+ nextPageToken?: string | null;
2493
+ /**
2494
+ * Total size represents an estimated number of resources returned. Not guaranteed to be accurate above 10k profiles.
2495
+ */
2496
+ totalSize?: string | null;
2497
+ }
2498
+ /**
2499
+ * Reporting data of a Chrome browser profile.
2500
+ */
2501
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingData {
2502
+ /**
2503
+ * Output only. Executable path of the installed Chrome browser. A valid path is included only in affiliated profiles.
2504
+ */
2505
+ browserExecutablePath?: string | null;
2506
+ /**
2507
+ * Output only. Information of the extensions installed on the profile.
2508
+ */
2509
+ extensionData?: Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionData[];
2510
+ /**
2511
+ * Output only. Information of the policies applied on the extensions.
2512
+ */
2513
+ extensionPolicyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData[];
2514
+ /**
2515
+ * Output only. Updated version of a browser, if it is different from the active browser version.
2516
+ */
2517
+ installedBrowserVersion?: string | null;
2518
+ /**
2519
+ * Output only. Information of the policies applied on the profile.
2520
+ */
2521
+ policyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData[];
2522
+ /**
2523
+ * Output only. Path of the profile. A valid path is included only in affiliated profiles.
2524
+ */
2525
+ profilePath?: string | null;
2526
+ }
2527
+ /**
2528
+ * Information of conflicting policy applied on a Chrome browser profile.
2529
+ */
2530
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData {
2531
+ /**
2532
+ * Output only. Source of the policy.
2533
+ */
2534
+ source?: string | null;
2535
+ }
2536
+ /**
2537
+ * Information of an extension installed on a Chrome browser profile.
2538
+ */
2539
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionData {
2540
+ /**
2541
+ * Output only. Description of the extension.
2542
+ */
2543
+ description?: string | null;
2544
+ /**
2545
+ * Output only. ID of the extension.
2546
+ */
2547
+ extensionId?: string | null;
2548
+ /**
2549
+ * Output only. Type of the extension.
2550
+ */
2551
+ extensionType?: string | null;
2552
+ /**
2553
+ * Output only. The URL of the homepage of the extension.
2554
+ */
2555
+ homepageUri?: string | null;
2556
+ /**
2557
+ * Output only. Installation type of the extension.
2558
+ */
2559
+ installationType?: string | null;
2560
+ /**
2561
+ * Output only. Represents whether the user disabled the extension.
2562
+ */
2563
+ isDisabled?: boolean | null;
2564
+ /**
2565
+ * Output only. Represents whether the extension is from the webstore.
2566
+ */
2567
+ isWebstoreExtension?: boolean | null;
2568
+ /**
2569
+ * Output only. Manifest version of the extension.
2570
+ */
2571
+ manifestVersion?: number | null;
2572
+ /**
2573
+ * Output only. Name of the extension.
2574
+ */
2575
+ name?: string | null;
2576
+ /**
2577
+ * Output only. Permissions requested by the extension.
2578
+ */
2579
+ permissions?: string[] | null;
2580
+ /**
2581
+ * Output only. Version of the extension.
2582
+ */
2583
+ version?: string | null;
2584
+ }
2585
+ /**
2586
+ * Information of the policies applied on an extension.
2587
+ */
2588
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData {
2589
+ /**
2590
+ * Output only. ID of the extension.
2591
+ */
2592
+ extensionId?: string | null;
2593
+ /**
2594
+ * Output only. Name of the extension.
2595
+ */
2596
+ extensionName?: string | null;
2597
+ /**
2598
+ * Output only. Information of the policies applied on the extension.
2599
+ */
2600
+ policyData?: Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData[];
2601
+ }
2602
+ /**
2603
+ * Information of a policy applied on a Chrome browser profile.
2604
+ */
2605
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingDataPolicyData {
2606
+ /**
2607
+ * Output only. Conflicting policy information.
2608
+ */
2609
+ conflicts?: Schema$GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData[];
2610
+ /**
2611
+ * Output only. Error message of the policy, if any.
2612
+ */
2613
+ error?: string | null;
2614
+ /**
2615
+ * Output only. Name of the policy.
2616
+ */
2617
+ name?: string | null;
2618
+ /**
2619
+ * Output only. Source of the policy.
2620
+ */
2621
+ source?: string | null;
2622
+ /**
2623
+ * Output only. Value of the policy.
2624
+ */
2625
+ value?: string | null;
2626
+ }
2627
+ /**
2628
+ * Metadata for the long-running operation returned by signData.
2629
+ */
2630
+ export interface Schema$GoogleChromeManagementVersionsV1SignDataMetadata {
2631
+ /**
2632
+ * Output only. Start time of the SignData operation.
2633
+ */
2634
+ startTime?: string | null;
2635
+ }
2636
+ /**
2637
+ * Response message for requesting a signature from the client that initated a certificate provisioning process.
2638
+ */
2639
+ export interface Schema$GoogleChromeManagementVersionsV1SignDataResponse {
2640
+ /**
2641
+ * Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`.
2642
+ */
2643
+ certificateProvisioningProcess?: Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess;
2644
+ }
2645
+ /**
2646
+ * 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); \}
2647
+ */
2648
+ export interface Schema$GoogleProtobufEmpty {}
2649
+ /**
2650
+ * 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).
2651
+ */
2652
+ export interface Schema$GoogleRpcStatus {
2653
+ /**
2654
+ * The status code, which should be an enum value of google.rpc.Code.
2655
+ */
2656
+ code?: number | null;
2657
+ /**
2658
+ * A list of messages that carry the error details. There is a common set of message types for APIs to use.
2659
+ */
2660
+ details?: Array<{[key: string]: any}> | null;
2661
+ /**
2662
+ * 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.
2663
+ */
2664
+ message?: string | null;
2665
+ }
2666
+ /**
2667
+ * 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
2668
+ */
2669
+ export interface Schema$GoogleTypeDate {
2670
+ /**
2671
+ * 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.
2672
+ */
2673
+ day?: number | null;
2674
+ /**
2675
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
2676
+ */
2677
+ month?: number | null;
2678
+ /**
2679
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
2680
+ */
2681
+ year?: number | null;
2682
+ }
2683
+
2684
+ export class Resource$Customers {
2685
+ context: APIRequestContext;
2686
+ apps: Resource$Customers$Apps;
2687
+ profiles: Resource$Customers$Profiles;
2688
+ reports: Resource$Customers$Reports;
2689
+ telemetry: Resource$Customers$Telemetry;
2690
+ constructor(context: APIRequestContext) {
2691
+ this.context = context;
2692
+ this.apps = new Resource$Customers$Apps(this.context);
2693
+ this.profiles = new Resource$Customers$Profiles(this.context);
2694
+ this.reports = new Resource$Customers$Reports(this.context);
2695
+ this.telemetry = new Resource$Customers$Telemetry(this.context);
2696
+ }
2697
+ }
2698
+
2699
+ export class Resource$Customers$Apps {
2700
+ context: APIRequestContext;
2701
+ android: Resource$Customers$Apps$Android;
2702
+ chrome: Resource$Customers$Apps$Chrome;
2703
+ web: Resource$Customers$Apps$Web;
2704
+ constructor(context: APIRequestContext) {
2705
+ this.context = context;
2706
+ this.android = new Resource$Customers$Apps$Android(this.context);
2707
+ this.chrome = new Resource$Customers$Apps$Chrome(this.context);
2708
+ this.web = new Resource$Customers$Apps$Web(this.context);
2709
+ }
2710
+
2711
+ /**
2712
+ * Generate summary of app installation requests.
2713
+ *
2714
+ * @param params - Parameters for request
2715
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2716
+ * @param callback - Optional callback that handles the response.
2717
+ * @returns A promise if used with async/await, or void if used with a callback.
2718
+ */
2719
+ countChromeAppRequests(
2720
+ params: Params$Resource$Customers$Apps$Countchromeapprequests,
2721
+ options: StreamMethodOptions
2722
+ ): GaxiosPromise<Readable>;
2723
+ countChromeAppRequests(
2724
+ params?: Params$Resource$Customers$Apps$Countchromeapprequests,
2725
+ options?: MethodOptions
2726
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>;
2727
+ countChromeAppRequests(
2728
+ params: Params$Resource$Customers$Apps$Countchromeapprequests,
2729
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2730
+ callback: BodyResponseCallback<Readable>
2731
+ ): void;
2732
+ countChromeAppRequests(
2733
+ params: Params$Resource$Customers$Apps$Countchromeapprequests,
2734
+ options:
2735
+ | MethodOptions
2736
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>,
2737
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2738
+ ): void;
2739
+ countChromeAppRequests(
2740
+ params: Params$Resource$Customers$Apps$Countchromeapprequests,
2741
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2742
+ ): void;
2743
+ countChromeAppRequests(
2744
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2745
+ ): void;
2746
+ countChromeAppRequests(
2747
+ paramsOrCallback?:
2748
+ | Params$Resource$Customers$Apps$Countchromeapprequests
2749
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2750
+ | BodyResponseCallback<Readable>,
2751
+ optionsOrCallback?:
2752
+ | MethodOptions
2753
+ | StreamMethodOptions
2754
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2755
+ | BodyResponseCallback<Readable>,
2756
+ callback?:
2757
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2758
+ | BodyResponseCallback<Readable>
2759
+ ):
2760
+ | void
2761
+ | GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>
2762
+ | GaxiosPromise<Readable> {
2763
+ let params = (paramsOrCallback ||
2764
+ {}) as Params$Resource$Customers$Apps$Countchromeapprequests;
2765
+ let options = (optionsOrCallback || {}) as MethodOptions;
2766
+
2767
+ if (typeof paramsOrCallback === 'function') {
2768
+ callback = paramsOrCallback;
2769
+ params = {} as Params$Resource$Customers$Apps$Countchromeapprequests;
2770
+ options = {};
2771
+ }
2772
+
2773
+ if (typeof optionsOrCallback === 'function') {
2774
+ callback = optionsOrCallback;
2775
+ options = {};
2776
+ }
2777
+
2778
+ const rootUrl =
2779
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
2780
+ const parameters = {
2781
+ options: Object.assign(
2782
+ {
2783
+ url: (
2784
+ rootUrl + '/v1/{+customer}/apps:countChromeAppRequests'
2785
+ ).replace(/([^:]\/)\/+/g, '$1'),
2786
+ method: 'GET',
2787
+ apiVersion: '',
2788
+ },
2789
+ options
2790
+ ),
2791
+ params,
2792
+ requiredParams: ['customer'],
2793
+ pathParams: ['customer'],
2794
+ context: this.context,
2795
+ };
2796
+ if (callback) {
2797
+ createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
2798
+ parameters,
2799
+ callback as BodyResponseCallback<unknown>
2800
+ );
2801
+ } else {
2802
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeAppRequestsResponse>(
2803
+ parameters
2804
+ );
2805
+ }
2806
+ }
2807
+
2808
+ /**
2809
+ * Get a list of devices that have requested to install an extension.
2810
+ *
2811
+ * @param params - Parameters for request
2812
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2813
+ * @param callback - Optional callback that handles the response.
2814
+ * @returns A promise if used with async/await, or void if used with a callback.
2815
+ */
2816
+ fetchDevicesRequestingExtension(
2817
+ params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2818
+ options: StreamMethodOptions
2819
+ ): GaxiosPromise<Readable>;
2820
+ fetchDevicesRequestingExtension(
2821
+ params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2822
+ options?: MethodOptions
2823
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>;
2824
+ fetchDevicesRequestingExtension(
2825
+ params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2826
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2827
+ callback: BodyResponseCallback<Readable>
2828
+ ): void;
2829
+ fetchDevicesRequestingExtension(
2830
+ params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2831
+ options:
2832
+ | MethodOptions
2833
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>,
2834
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2835
+ ): void;
2836
+ fetchDevicesRequestingExtension(
2837
+ params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
2838
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2839
+ ): void;
2840
+ fetchDevicesRequestingExtension(
2841
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2842
+ ): void;
2843
+ fetchDevicesRequestingExtension(
2844
+ paramsOrCallback?:
2845
+ | Params$Resource$Customers$Apps$Fetchdevicesrequestingextension
2846
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2847
+ | BodyResponseCallback<Readable>,
2848
+ optionsOrCallback?:
2849
+ | MethodOptions
2850
+ | StreamMethodOptions
2851
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2852
+ | BodyResponseCallback<Readable>,
2853
+ callback?:
2854
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2855
+ | BodyResponseCallback<Readable>
2856
+ ):
2857
+ | void
2858
+ | GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
2859
+ | GaxiosPromise<Readable> {
2860
+ let params = (paramsOrCallback ||
2861
+ {}) as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
2862
+ let options = (optionsOrCallback || {}) as MethodOptions;
2863
+
2864
+ if (typeof paramsOrCallback === 'function') {
2865
+ callback = paramsOrCallback;
2866
+ params =
2867
+ {} as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
2395
2868
  options = {};
2396
2869
  }
2397
2870
 
@@ -2594,12 +3067,122 @@ export namespace chromemanagement_v1 {
2594
3067
  */
2595
3068
  pageSize?: number;
2596
3069
  /**
2597
- * Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
3070
+ * Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
3071
+ */
3072
+ pageToken?: string;
3073
+ }
3074
+
3075
+ export class Resource$Customers$Apps$Android {
3076
+ context: APIRequestContext;
3077
+ constructor(context: APIRequestContext) {
3078
+ this.context = context;
3079
+ }
3080
+
3081
+ /**
3082
+ * Get a specific app for a customer by its resource name.
3083
+ *
3084
+ * @param params - Parameters for request
3085
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3086
+ * @param callback - Optional callback that handles the response.
3087
+ * @returns A promise if used with async/await, or void if used with a callback.
3088
+ */
3089
+ get(
3090
+ params: Params$Resource$Customers$Apps$Android$Get,
3091
+ options: StreamMethodOptions
3092
+ ): GaxiosPromise<Readable>;
3093
+ get(
3094
+ params?: Params$Resource$Customers$Apps$Android$Get,
3095
+ options?: MethodOptions
3096
+ ): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
3097
+ get(
3098
+ params: Params$Resource$Customers$Apps$Android$Get,
3099
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3100
+ callback: BodyResponseCallback<Readable>
3101
+ ): void;
3102
+ get(
3103
+ params: Params$Resource$Customers$Apps$Android$Get,
3104
+ options:
3105
+ | MethodOptions
3106
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
3107
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3108
+ ): void;
3109
+ get(
3110
+ params: Params$Resource$Customers$Apps$Android$Get,
3111
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3112
+ ): void;
3113
+ get(
3114
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3115
+ ): void;
3116
+ get(
3117
+ paramsOrCallback?:
3118
+ | Params$Resource$Customers$Apps$Android$Get
3119
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3120
+ | BodyResponseCallback<Readable>,
3121
+ optionsOrCallback?:
3122
+ | MethodOptions
3123
+ | StreamMethodOptions
3124
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3125
+ | BodyResponseCallback<Readable>,
3126
+ callback?:
3127
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3128
+ | BodyResponseCallback<Readable>
3129
+ ):
3130
+ | void
3131
+ | GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
3132
+ | GaxiosPromise<Readable> {
3133
+ let params = (paramsOrCallback ||
3134
+ {}) as Params$Resource$Customers$Apps$Android$Get;
3135
+ let options = (optionsOrCallback || {}) as MethodOptions;
3136
+
3137
+ if (typeof paramsOrCallback === 'function') {
3138
+ callback = paramsOrCallback;
3139
+ params = {} as Params$Resource$Customers$Apps$Android$Get;
3140
+ options = {};
3141
+ }
3142
+
3143
+ if (typeof optionsOrCallback === 'function') {
3144
+ callback = optionsOrCallback;
3145
+ options = {};
3146
+ }
3147
+
3148
+ const rootUrl =
3149
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3150
+ const parameters = {
3151
+ options: Object.assign(
3152
+ {
3153
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3154
+ method: 'GET',
3155
+ apiVersion: '',
3156
+ },
3157
+ options
3158
+ ),
3159
+ params,
3160
+ requiredParams: ['name'],
3161
+ pathParams: ['name'],
3162
+ context: this.context,
3163
+ };
3164
+ if (callback) {
3165
+ createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
3166
+ parameters,
3167
+ callback as BodyResponseCallback<unknown>
3168
+ );
3169
+ } else {
3170
+ return createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
3171
+ parameters
3172
+ );
3173
+ }
3174
+ }
3175
+ }
3176
+
3177
+ export interface Params$Resource$Customers$Apps$Android$Get
3178
+ extends StandardParameters {
3179
+ /**
3180
+ * 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
3181
  */
2599
- pageToken?: string;
3182
+ name?: string;
2600
3183
  }
2601
3184
 
2602
- export class Resource$Customers$Apps$Android {
3185
+ export class Resource$Customers$Apps$Chrome {
2603
3186
  context: APIRequestContext;
2604
3187
  constructor(context: APIRequestContext) {
2605
3188
  this.context = context;
@@ -2614,27 +3197,27 @@ export namespace chromemanagement_v1 {
2614
3197
  * @returns A promise if used with async/await, or void if used with a callback.
2615
3198
  */
2616
3199
  get(
2617
- params: Params$Resource$Customers$Apps$Android$Get,
3200
+ params: Params$Resource$Customers$Apps$Chrome$Get,
2618
3201
  options: StreamMethodOptions
2619
3202
  ): GaxiosPromise<Readable>;
2620
3203
  get(
2621
- params?: Params$Resource$Customers$Apps$Android$Get,
3204
+ params?: Params$Resource$Customers$Apps$Chrome$Get,
2622
3205
  options?: MethodOptions
2623
3206
  ): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
2624
3207
  get(
2625
- params: Params$Resource$Customers$Apps$Android$Get,
3208
+ params: Params$Resource$Customers$Apps$Chrome$Get,
2626
3209
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2627
3210
  callback: BodyResponseCallback<Readable>
2628
3211
  ): void;
2629
3212
  get(
2630
- params: Params$Resource$Customers$Apps$Android$Get,
3213
+ params: Params$Resource$Customers$Apps$Chrome$Get,
2631
3214
  options:
2632
3215
  | MethodOptions
2633
3216
  | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
2634
3217
  callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2635
3218
  ): void;
2636
3219
  get(
2637
- params: Params$Resource$Customers$Apps$Android$Get,
3220
+ params: Params$Resource$Customers$Apps$Chrome$Get,
2638
3221
  callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2639
3222
  ): void;
2640
3223
  get(
@@ -2642,7 +3225,7 @@ export namespace chromemanagement_v1 {
2642
3225
  ): void;
2643
3226
  get(
2644
3227
  paramsOrCallback?:
2645
- | Params$Resource$Customers$Apps$Android$Get
3228
+ | Params$Resource$Customers$Apps$Chrome$Get
2646
3229
  | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2647
3230
  | BodyResponseCallback<Readable>,
2648
3231
  optionsOrCallback?:
@@ -2658,12 +3241,12 @@ export namespace chromemanagement_v1 {
2658
3241
  | GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
2659
3242
  | GaxiosPromise<Readable> {
2660
3243
  let params = (paramsOrCallback ||
2661
- {}) as Params$Resource$Customers$Apps$Android$Get;
3244
+ {}) as Params$Resource$Customers$Apps$Chrome$Get;
2662
3245
  let options = (optionsOrCallback || {}) as MethodOptions;
2663
3246
 
2664
3247
  if (typeof paramsOrCallback === 'function') {
2665
3248
  callback = paramsOrCallback;
2666
- params = {} as Params$Resource$Customers$Apps$Android$Get;
3249
+ params = {} as Params$Resource$Customers$Apps$Chrome$Get;
2667
3250
  options = {};
2668
3251
  }
2669
3252
 
@@ -2701,7 +3284,7 @@ export namespace chromemanagement_v1 {
2701
3284
  }
2702
3285
  }
2703
3286
 
2704
- export interface Params$Resource$Customers$Apps$Android$Get
3287
+ export interface Params$Resource$Customers$Apps$Chrome$Get
2705
3288
  extends StandardParameters {
2706
3289
  /**
2707
3290
  * 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 +3292,7 @@ export namespace chromemanagement_v1 {
2709
3292
  name?: string;
2710
3293
  }
2711
3294
 
2712
- export class Resource$Customers$Apps$Chrome {
3295
+ export class Resource$Customers$Apps$Web {
2713
3296
  context: APIRequestContext;
2714
3297
  constructor(context: APIRequestContext) {
2715
3298
  this.context = context;
@@ -2724,27 +3307,27 @@ export namespace chromemanagement_v1 {
2724
3307
  * @returns A promise if used with async/await, or void if used with a callback.
2725
3308
  */
2726
3309
  get(
2727
- params: Params$Resource$Customers$Apps$Chrome$Get,
3310
+ params: Params$Resource$Customers$Apps$Web$Get,
2728
3311
  options: StreamMethodOptions
2729
3312
  ): GaxiosPromise<Readable>;
2730
3313
  get(
2731
- params?: Params$Resource$Customers$Apps$Chrome$Get,
3314
+ params?: Params$Resource$Customers$Apps$Web$Get,
2732
3315
  options?: MethodOptions
2733
3316
  ): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
2734
3317
  get(
2735
- params: Params$Resource$Customers$Apps$Chrome$Get,
3318
+ params: Params$Resource$Customers$Apps$Web$Get,
2736
3319
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2737
3320
  callback: BodyResponseCallback<Readable>
2738
3321
  ): void;
2739
3322
  get(
2740
- params: Params$Resource$Customers$Apps$Chrome$Get,
3323
+ params: Params$Resource$Customers$Apps$Web$Get,
2741
3324
  options:
2742
3325
  | MethodOptions
2743
3326
  | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
2744
3327
  callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2745
3328
  ): void;
2746
3329
  get(
2747
- params: Params$Resource$Customers$Apps$Chrome$Get,
3330
+ params: Params$Resource$Customers$Apps$Web$Get,
2748
3331
  callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2749
3332
  ): void;
2750
3333
  get(
@@ -2752,7 +3335,7 @@ export namespace chromemanagement_v1 {
2752
3335
  ): void;
2753
3336
  get(
2754
3337
  paramsOrCallback?:
2755
- | Params$Resource$Customers$Apps$Chrome$Get
3338
+ | Params$Resource$Customers$Apps$Web$Get
2756
3339
  | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
2757
3340
  | BodyResponseCallback<Readable>,
2758
3341
  optionsOrCallback?:
@@ -2768,12 +3351,12 @@ export namespace chromemanagement_v1 {
2768
3351
  | GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
2769
3352
  | GaxiosPromise<Readable> {
2770
3353
  let params = (paramsOrCallback ||
2771
- {}) as Params$Resource$Customers$Apps$Chrome$Get;
3354
+ {}) as Params$Resource$Customers$Apps$Web$Get;
2772
3355
  let options = (optionsOrCallback || {}) as MethodOptions;
2773
3356
 
2774
3357
  if (typeof paramsOrCallback === 'function') {
2775
3358
  callback = paramsOrCallback;
2776
- params = {} as Params$Resource$Customers$Apps$Chrome$Get;
3359
+ params = {} as Params$Resource$Customers$Apps$Web$Get;
2777
3360
  options = {};
2778
3361
  }
2779
3362
 
@@ -2811,7 +3394,7 @@ export namespace chromemanagement_v1 {
2811
3394
  }
2812
3395
  }
2813
3396
 
2814
- export interface Params$Resource$Customers$Apps$Chrome$Get
3397
+ export interface Params$Resource$Customers$Apps$Web$Get
2815
3398
  extends StandardParameters {
2816
3399
  /**
2817
3400
  * 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 +3402,103 @@ export namespace chromemanagement_v1 {
2819
3402
  name?: string;
2820
3403
  }
2821
3404
 
2822
- export class Resource$Customers$Apps$Web {
3405
+ export class Resource$Customers$Profiles {
2823
3406
  context: APIRequestContext;
2824
3407
  constructor(context: APIRequestContext) {
2825
3408
  this.context = context;
2826
3409
  }
2827
3410
 
2828
3411
  /**
2829
- * Get a specific app for a customer by its resource name.
3412
+ * Deletes the data collected from a Chrome browser profile.
3413
+ *
3414
+ * @param params - Parameters for request
3415
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3416
+ * @param callback - Optional callback that handles the response.
3417
+ * @returns A promise if used with async/await, or void if used with a callback.
3418
+ */
3419
+ delete(
3420
+ params: Params$Resource$Customers$Profiles$Delete,
3421
+ options: StreamMethodOptions
3422
+ ): GaxiosPromise<Readable>;
3423
+ delete(
3424
+ params?: Params$Resource$Customers$Profiles$Delete,
3425
+ options?: MethodOptions
3426
+ ): GaxiosPromise<Schema$GoogleProtobufEmpty>;
3427
+ delete(
3428
+ params: Params$Resource$Customers$Profiles$Delete,
3429
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3430
+ callback: BodyResponseCallback<Readable>
3431
+ ): void;
3432
+ delete(
3433
+ params: Params$Resource$Customers$Profiles$Delete,
3434
+ options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>,
3435
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
3436
+ ): void;
3437
+ delete(
3438
+ params: Params$Resource$Customers$Profiles$Delete,
3439
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
3440
+ ): void;
3441
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
3442
+ delete(
3443
+ paramsOrCallback?:
3444
+ | Params$Resource$Customers$Profiles$Delete
3445
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
3446
+ | BodyResponseCallback<Readable>,
3447
+ optionsOrCallback?:
3448
+ | MethodOptions
3449
+ | StreamMethodOptions
3450
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
3451
+ | BodyResponseCallback<Readable>,
3452
+ callback?:
3453
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
3454
+ | BodyResponseCallback<Readable>
3455
+ ):
3456
+ | void
3457
+ | GaxiosPromise<Schema$GoogleProtobufEmpty>
3458
+ | GaxiosPromise<Readable> {
3459
+ let params = (paramsOrCallback ||
3460
+ {}) as Params$Resource$Customers$Profiles$Delete;
3461
+ let options = (optionsOrCallback || {}) as MethodOptions;
3462
+
3463
+ if (typeof paramsOrCallback === 'function') {
3464
+ callback = paramsOrCallback;
3465
+ params = {} as Params$Resource$Customers$Profiles$Delete;
3466
+ options = {};
3467
+ }
3468
+
3469
+ if (typeof optionsOrCallback === 'function') {
3470
+ callback = optionsOrCallback;
3471
+ options = {};
3472
+ }
3473
+
3474
+ const rootUrl =
3475
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3476
+ const parameters = {
3477
+ options: Object.assign(
3478
+ {
3479
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3480
+ method: 'DELETE',
3481
+ apiVersion: '',
3482
+ },
3483
+ options
3484
+ ),
3485
+ params,
3486
+ requiredParams: ['name'],
3487
+ pathParams: ['name'],
3488
+ context: this.context,
3489
+ };
3490
+ if (callback) {
3491
+ createAPIRequest<Schema$GoogleProtobufEmpty>(
3492
+ parameters,
3493
+ callback as BodyResponseCallback<unknown>
3494
+ );
3495
+ } else {
3496
+ return createAPIRequest<Schema$GoogleProtobufEmpty>(parameters);
3497
+ }
3498
+ }
3499
+
3500
+ /**
3501
+ * Gets a Chrome browser profile with customer ID and profile permanent ID.
2830
3502
  *
2831
3503
  * @param params - Parameters for request
2832
3504
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2834,56 +3506,56 @@ export namespace chromemanagement_v1 {
2834
3506
  * @returns A promise if used with async/await, or void if used with a callback.
2835
3507
  */
2836
3508
  get(
2837
- params: Params$Resource$Customers$Apps$Web$Get,
3509
+ params: Params$Resource$Customers$Profiles$Get,
2838
3510
  options: StreamMethodOptions
2839
3511
  ): GaxiosPromise<Readable>;
2840
3512
  get(
2841
- params?: Params$Resource$Customers$Apps$Web$Get,
3513
+ params?: Params$Resource$Customers$Profiles$Get,
2842
3514
  options?: MethodOptions
2843
- ): GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>;
3515
+ ): GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>;
2844
3516
  get(
2845
- params: Params$Resource$Customers$Apps$Web$Get,
3517
+ params: Params$Resource$Customers$Profiles$Get,
2846
3518
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2847
3519
  callback: BodyResponseCallback<Readable>
2848
3520
  ): void;
2849
3521
  get(
2850
- params: Params$Resource$Customers$Apps$Web$Get,
3522
+ params: Params$Resource$Customers$Profiles$Get,
2851
3523
  options:
2852
3524
  | MethodOptions
2853
- | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>,
2854
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3525
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>,
3526
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2855
3527
  ): void;
2856
3528
  get(
2857
- params: Params$Resource$Customers$Apps$Web$Get,
2858
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3529
+ params: Params$Resource$Customers$Profiles$Get,
3530
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2859
3531
  ): void;
2860
3532
  get(
2861
- callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3533
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2862
3534
  ): void;
2863
3535
  get(
2864
3536
  paramsOrCallback?:
2865
- | Params$Resource$Customers$Apps$Web$Get
2866
- | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3537
+ | Params$Resource$Customers$Profiles$Get
3538
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2867
3539
  | BodyResponseCallback<Readable>,
2868
3540
  optionsOrCallback?:
2869
3541
  | MethodOptions
2870
3542
  | StreamMethodOptions
2871
- | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3543
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2872
3544
  | BodyResponseCallback<Readable>,
2873
3545
  callback?:
2874
- | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>
3546
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2875
3547
  | BodyResponseCallback<Readable>
2876
3548
  ):
2877
3549
  | void
2878
- | GaxiosPromise<Schema$GoogleChromeManagementV1AppDetails>
3550
+ | GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>
2879
3551
  | GaxiosPromise<Readable> {
2880
3552
  let params = (paramsOrCallback ||
2881
- {}) as Params$Resource$Customers$Apps$Web$Get;
3553
+ {}) as Params$Resource$Customers$Profiles$Get;
2882
3554
  let options = (optionsOrCallback || {}) as MethodOptions;
2883
3555
 
2884
3556
  if (typeof paramsOrCallback === 'function') {
2885
3557
  callback = paramsOrCallback;
2886
- params = {} as Params$Resource$Customers$Apps$Web$Get;
3558
+ params = {} as Params$Resource$Customers$Profiles$Get;
2887
3559
  options = {};
2888
3560
  }
2889
3561
 
@@ -2909,25 +3581,153 @@ export namespace chromemanagement_v1 {
2909
3581
  context: this.context,
2910
3582
  };
2911
3583
  if (callback) {
2912
- createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
3584
+ createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>(
2913
3585
  parameters,
2914
3586
  callback as BodyResponseCallback<unknown>
2915
3587
  );
2916
3588
  } else {
2917
- return createAPIRequest<Schema$GoogleChromeManagementV1AppDetails>(
3589
+ return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfile>(
3590
+ parameters
3591
+ );
3592
+ }
3593
+ }
3594
+
3595
+ /**
3596
+ * Lists Chrome browser profiles of a customer based on the given search and sorting criteria.
3597
+ *
3598
+ * @param params - Parameters for request
3599
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3600
+ * @param callback - Optional callback that handles the response.
3601
+ * @returns A promise if used with async/await, or void if used with a callback.
3602
+ */
3603
+ list(
3604
+ params: Params$Resource$Customers$Profiles$List,
3605
+ options: StreamMethodOptions
3606
+ ): GaxiosPromise<Readable>;
3607
+ list(
3608
+ params?: Params$Resource$Customers$Profiles$List,
3609
+ options?: MethodOptions
3610
+ ): GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>;
3611
+ list(
3612
+ params: Params$Resource$Customers$Profiles$List,
3613
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3614
+ callback: BodyResponseCallback<Readable>
3615
+ ): void;
3616
+ list(
3617
+ params: Params$Resource$Customers$Profiles$List,
3618
+ options:
3619
+ | MethodOptions
3620
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>,
3621
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3622
+ ): void;
3623
+ list(
3624
+ params: Params$Resource$Customers$Profiles$List,
3625
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3626
+ ): void;
3627
+ list(
3628
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3629
+ ): void;
3630
+ list(
3631
+ paramsOrCallback?:
3632
+ | Params$Resource$Customers$Profiles$List
3633
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3634
+ | BodyResponseCallback<Readable>,
3635
+ optionsOrCallback?:
3636
+ | MethodOptions
3637
+ | StreamMethodOptions
3638
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3639
+ | BodyResponseCallback<Readable>,
3640
+ callback?:
3641
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3642
+ | BodyResponseCallback<Readable>
3643
+ ):
3644
+ | void
3645
+ | GaxiosPromise<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>
3646
+ | GaxiosPromise<Readable> {
3647
+ let params = (paramsOrCallback ||
3648
+ {}) as Params$Resource$Customers$Profiles$List;
3649
+ let options = (optionsOrCallback || {}) as MethodOptions;
3650
+
3651
+ if (typeof paramsOrCallback === 'function') {
3652
+ callback = paramsOrCallback;
3653
+ params = {} as Params$Resource$Customers$Profiles$List;
3654
+ options = {};
3655
+ }
3656
+
3657
+ if (typeof optionsOrCallback === 'function') {
3658
+ callback = optionsOrCallback;
3659
+ options = {};
3660
+ }
3661
+
3662
+ const rootUrl =
3663
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
3664
+ const parameters = {
3665
+ options: Object.assign(
3666
+ {
3667
+ url: (rootUrl + '/v1/{+parent}/profiles').replace(
3668
+ /([^:]\/)\/+/g,
3669
+ '$1'
3670
+ ),
3671
+ method: 'GET',
3672
+ apiVersion: '',
3673
+ },
3674
+ options
3675
+ ),
3676
+ params,
3677
+ requiredParams: ['parent'],
3678
+ pathParams: ['parent'],
3679
+ context: this.context,
3680
+ };
3681
+ if (callback) {
3682
+ createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>(
3683
+ parameters,
3684
+ callback as BodyResponseCallback<unknown>
3685
+ );
3686
+ } else {
3687
+ return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse>(
2918
3688
  parameters
2919
3689
  );
2920
3690
  }
2921
3691
  }
2922
3692
  }
2923
3693
 
2924
- export interface Params$Resource$Customers$Apps$Web$Get
3694
+ export interface Params$Resource$Customers$Profiles$Delete
2925
3695
  extends StandardParameters {
2926
3696
  /**
2927
- * 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.
3697
+ * Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
3698
+ */
3699
+ name?: string;
3700
+ }
3701
+ export interface Params$Resource$Customers$Profiles$Get
3702
+ extends StandardParameters {
3703
+ /**
3704
+ * Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
2928
3705
  */
2929
3706
  name?: string;
2930
3707
  }
3708
+ export interface Params$Resource$Customers$Profiles$List
3709
+ extends StandardParameters {
3710
+ /**
3711
+ * 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 - os_platform_version - 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.
3712
+ */
3713
+ filter?: string;
3714
+ /**
3715
+ * 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 - os_platform_version 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.
3716
+ */
3717
+ orderBy?: string;
3718
+ /**
3719
+ * 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.
3720
+ */
3721
+ pageSize?: number;
3722
+ /**
3723
+ * Optional. The page token used to retrieve a specific page of the listing request.
3724
+ */
3725
+ pageToken?: string;
3726
+ /**
3727
+ * Required. Format: customers/{customer_id\}
3728
+ */
3729
+ parent?: string;
3730
+ }
2931
3731
 
2932
3732
  export class Resource$Customers$Reports {
2933
3733
  context: APIRequestContext;
@@ -4122,11 +4922,11 @@ export namespace chromemanagement_v1 {
4122
4922
  */
4123
4923
  customer?: string;
4124
4924
  /**
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
4925
+ * 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
4926
  */
4127
4927
  filter?: string;
4128
4928
  /**
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
4929
+ * 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
4930
  */
4131
4931
  orderBy?: string;
4132
4932
  /**