@googleapis/chromemanagement 23.0.0 → 24.1.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/build/v1.d.ts CHANGED
@@ -68,6 +68,7 @@ export declare namespace chromemanagement_v1 {
68
68
  export class Chromemanagement {
69
69
  context: APIRequestContext;
70
70
  customers: Resource$Customers;
71
+ operations: Resource$Operations;
71
72
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
72
73
  }
73
74
  /**
@@ -1337,14 +1338,30 @@ export declare namespace chromemanagement_v1 {
1337
1338
  * Output only. Gateway IP address.
1338
1339
  */
1339
1340
  gatewayIpAddress?: string | null;
1341
+ /**
1342
+ * Output only. The gateway IPv6 for this interface, if detected
1343
+ */
1344
+ gatewayIpv6Address?: string | null;
1340
1345
  /**
1341
1346
  * Output only. Network connection guid.
1342
1347
  */
1343
1348
  guid?: string | null;
1349
+ /**
1350
+ * Output only. IPv6 addresses assigned to this network, if any. Each address is a string in standard IPv6 text representation (e.g., "2001:db8::1").
1351
+ */
1352
+ ipv6Address?: string[] | null;
1344
1353
  /**
1345
1354
  * Output only. LAN IP address.
1346
1355
  */
1347
1356
  lanIpAddress?: string | null;
1357
+ /**
1358
+ * Output only. The maximum downstream bandwidth in Kilobits per second (Kbps), if reported by the network interface or connection.
1359
+ */
1360
+ linkDownSpeedKbps?: string | null;
1361
+ /**
1362
+ * Output only. Whether the network was detected as metered.
1363
+ */
1364
+ metered?: boolean | null;
1348
1365
  /**
1349
1366
  * Output only. Receiving bit rate measured in Megabits per second.
1350
1367
  */
@@ -1847,6 +1864,10 @@ export declare namespace chromemanagement_v1 {
1847
1864
  * The event type of the current event.
1848
1865
  */
1849
1866
  eventType?: string | null;
1867
+ /**
1868
+ * Output only. Payload for external display connected/disconnected event. Present only when `event_type` is `EXTERNAL_DISPLAY_CONNECTED` or `EXTERNAL_DISPLAY_DISCONNECTED`.
1869
+ */
1870
+ externalDisplaysEvent?: Schema$GoogleChromeManagementV1TelemetryExternalDisplayEvent;
1850
1871
  /**
1851
1872
  * Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`.
1852
1873
  */
@@ -1893,6 +1914,44 @@ export declare namespace chromemanagement_v1 {
1893
1914
  */
1894
1915
  eventTypes?: string[] | null;
1895
1916
  }
1917
+ /**
1918
+ * External display data.
1919
+ */
1920
+ export interface Schema$GoogleChromeManagementV1TelemetryExternalDisplayData {
1921
+ /**
1922
+ * The display name.
1923
+ */
1924
+ displayName?: string | null;
1925
+ /**
1926
+ * The EDID version.
1927
+ */
1928
+ edidVersion?: string | null;
1929
+ /**
1930
+ * The refresh rate.
1931
+ */
1932
+ refreshRate?: string | null;
1933
+ /**
1934
+ * The horizontal resolution.
1935
+ */
1936
+ resolutionHorizontal?: number | null;
1937
+ /**
1938
+ * The vertical resolution.
1939
+ */
1940
+ resolutionVertical?: number | null;
1941
+ /**
1942
+ * The serial number.
1943
+ */
1944
+ serialNumber?: number | null;
1945
+ }
1946
+ /**
1947
+ * External display connected/disconnected event payload.
1948
+ */
1949
+ export interface Schema$GoogleChromeManagementV1TelemetryExternalDisplayEvent {
1950
+ /**
1951
+ * List of external displays that were connected/disconnected.
1952
+ */
1953
+ externalDisplayData?: Schema$GoogleChromeManagementV1TelemetryExternalDisplayData[];
1954
+ }
1896
1955
  /**
1897
1956
  * Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
1898
1957
  */
@@ -2280,7 +2339,7 @@ export declare namespace chromemanagement_v1 {
2280
2339
  */
2281
2340
  signature?: string | null;
2282
2341
  /**
2283
- * 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.
2342
+ * Output only. The signature algorithm that the client and backend components use when processing `sign_data`. If the `profile_type` is a `GenericProfile`, this field will only be present after the `SignData` operation was initiated. If the `profile_type` is a `ScepProfile`, the field will always be present.
2284
2343
  */
2285
2344
  signatureAlgorithm?: string | null;
2286
2345
  /**
@@ -2396,6 +2455,10 @@ export declare namespace chromemanagement_v1 {
2396
2455
  * Output only. Detailed reporting data of the profile. This information is only available when the profile reporting policy is enabled.
2397
2456
  */
2398
2457
  reportingData?: Schema$GoogleChromeManagementVersionsV1ReportingData;
2458
+ /**
2459
+ * Output only. Whether the profile supports FCM notifications.
2460
+ */
2461
+ supportsFcmNotifications?: boolean | null;
2399
2462
  /**
2400
2463
  * Output only. Email address of the user to which the profile belongs.
2401
2464
  */
@@ -2487,6 +2550,20 @@ export declare namespace chromemanagement_v1 {
2487
2550
  */
2488
2551
  userPrimaryEmail?: string | null;
2489
2552
  }
2553
+ /**
2554
+ * Request message for claiming a certificate provisioning process.
2555
+ */
2556
+ export interface Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest {
2557
+ /**
2558
+ * Required. The instance id of the caller.
2559
+ */
2560
+ callerInstanceId?: string | null;
2561
+ }
2562
+ /**
2563
+ * Response message for claiming a certificate provisioning process.
2564
+ */
2565
+ export interface Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse {
2566
+ }
2490
2567
  /**
2491
2568
  * Information of a device that runs a Chrome browser profile.
2492
2569
  */
@@ -2513,7 +2590,7 @@ export declare namespace chromemanagement_v1 {
2513
2590
  */
2514
2591
  export interface Schema$GoogleChromeManagementVersionsV1GenericCaConnection {
2515
2592
  /**
2516
- * 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.
2593
+ * Output only. A string that references the administrator-provided configuration for the certification authority service.
2517
2594
  */
2518
2595
  caConnectionAdapterConfigReference?: string | null;
2519
2596
  }
@@ -2522,7 +2599,7 @@ export declare namespace chromemanagement_v1 {
2522
2599
  */
2523
2600
  export interface Schema$GoogleChromeManagementVersionsV1GenericProfile {
2524
2601
  /**
2525
- * 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.
2602
+ * Output only. A string that references the administrator-provided configuration for the certificate provisioning profile.
2526
2603
  */
2527
2604
  profileAdapterConfigReference?: string | null;
2528
2605
  }
@@ -2712,7 +2789,7 @@ export declare namespace chromemanagement_v1 {
2712
2789
  */
2713
2790
  export interface Schema$GoogleChromeManagementVersionsV1ScepCaConnection {
2714
2791
  /**
2715
- * 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.
2792
+ * Output only. A string that references the administrator-provided configuration for the certification authority service.
2716
2793
  */
2717
2794
  caConnectionAdapterConfigReference?: string | null;
2718
2795
  }
@@ -2721,7 +2798,7 @@ export declare namespace chromemanagement_v1 {
2721
2798
  */
2722
2799
  export interface Schema$GoogleChromeManagementVersionsV1ScepProfile {
2723
2800
  /**
2724
- * Output only. The certificate template name as defined by the admin on their on-prem infrastructure. This is identifiable by the customer's CA.
2801
+ * Output only. The certificate template name as defined by the admin on their on-prem infrastructure. The Certificate Authority uses this name to identify the certificate template.
2725
2802
  */
2726
2803
  certificateTemplateName?: string | null;
2727
2804
  /**
@@ -2757,6 +2834,20 @@ export declare namespace chromemanagement_v1 {
2757
2834
  */
2758
2835
  subjectCommonName?: string | null;
2759
2836
  }
2837
+ /**
2838
+ * Request message for marking a certificate provisioning process as failed.
2839
+ */
2840
+ export interface Schema$GoogleChromeManagementVersionsV1SetFailureRequest {
2841
+ /**
2842
+ * Required. A message describing the failure details. It is displayed on the ChromeOS client device.
2843
+ */
2844
+ errorMessage?: string | null;
2845
+ }
2846
+ /**
2847
+ * Response message for publishing a failure for a certificate provisioning process.
2848
+ */
2849
+ export interface Schema$GoogleChromeManagementVersionsV1SetFailureResponse {
2850
+ }
2760
2851
  /**
2761
2852
  * Metadata for the long-running operation returned by signData.
2762
2853
  */
@@ -2766,6 +2857,19 @@ export declare namespace chromemanagement_v1 {
2766
2857
  */
2767
2858
  startTime?: string | null;
2768
2859
  }
2860
+ /**
2861
+ * Request message for requesting a signature from the client that initated a certificate provisioning process.
2862
+ */
2863
+ export interface Schema$GoogleChromeManagementVersionsV1SignDataRequest {
2864
+ /**
2865
+ * Required. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`.
2866
+ */
2867
+ signatureAlgorithm?: string | null;
2868
+ /**
2869
+ * Required. The data that the client was asked to sign.
2870
+ */
2871
+ signData?: string | null;
2872
+ }
2769
2873
  /**
2770
2874
  * Response message for requesting a signature from the client that initated a certificate provisioning process.
2771
2875
  */
@@ -2784,7 +2888,7 @@ export declare namespace chromemanagement_v1 {
2784
2888
  */
2785
2889
  type?: string | null;
2786
2890
  /**
2787
- * Output only. The value of the subject alternative name with respoect to the `type`.
2891
+ * Output only. The value of the subject alternative name with respect to the `type`.
2788
2892
  */
2789
2893
  value?: string | null;
2790
2894
  }
@@ -2801,6 +2905,71 @@ export declare namespace chromemanagement_v1 {
2801
2905
  */
2802
2906
  orgUnitId?: string | null;
2803
2907
  }
2908
+ /**
2909
+ * Request message for uploading an issued certificate for a certificate provisioning process.
2910
+ */
2911
+ export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateRequest {
2912
+ /**
2913
+ * Required. The issued certificate in PEM format.
2914
+ */
2915
+ certificatePem?: string | null;
2916
+ }
2917
+ /**
2918
+ * Response message for publishing an issued certificate for a certificate provisioning process.
2919
+ */
2920
+ export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse {
2921
+ }
2922
+ /**
2923
+ * The request message for Operations.CancelOperation.
2924
+ */
2925
+ export interface Schema$GoogleLongrunningCancelOperationRequest {
2926
+ }
2927
+ /**
2928
+ * The response message for Operations.ListOperations.
2929
+ */
2930
+ export interface Schema$GoogleLongrunningListOperationsResponse {
2931
+ /**
2932
+ * The standard List next-page token.
2933
+ */
2934
+ nextPageToken?: string | null;
2935
+ /**
2936
+ * A list of operations that matches the specified filter in the request.
2937
+ */
2938
+ operations?: Schema$GoogleLongrunningOperation[];
2939
+ /**
2940
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
2941
+ */
2942
+ unreachable?: string[] | null;
2943
+ }
2944
+ /**
2945
+ * This resource represents a long-running operation that is the result of a network API call.
2946
+ */
2947
+ export interface Schema$GoogleLongrunningOperation {
2948
+ /**
2949
+ * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
2950
+ */
2951
+ done?: boolean | null;
2952
+ /**
2953
+ * The error result of the operation in case of failure or cancellation.
2954
+ */
2955
+ error?: Schema$GoogleRpcStatus;
2956
+ /**
2957
+ * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
2958
+ */
2959
+ metadata?: {
2960
+ [key: string]: any;
2961
+ } | null;
2962
+ /**
2963
+ * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
2964
+ */
2965
+ name?: string | null;
2966
+ /**
2967
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
2968
+ */
2969
+ response?: {
2970
+ [key: string]: any;
2971
+ } | null;
2972
+ }
2804
2973
  /**
2805
2974
  * 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); \}
2806
2975
  */
@@ -2845,6 +3014,7 @@ export declare namespace chromemanagement_v1 {
2845
3014
  export class Resource$Customers {
2846
3015
  context: APIRequestContext;
2847
3016
  apps: Resource$Customers$Apps;
3017
+ certificateProvisioningProcesses: Resource$Customers$Certificateprovisioningprocesses;
2848
3018
  profiles: Resource$Customers$Profiles;
2849
3019
  reports: Resource$Customers$Reports;
2850
3020
  telemetry: Resource$Customers$Telemetry;
@@ -3309,24 +3479,519 @@ export declare namespace chromemanagement_v1 {
3309
3479
  * @param callback - Optional callback that handles the response.
3310
3480
  * @returns A promise if used with async/await, or void if used with a callback.
3311
3481
  */
3312
- get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3313
- get(params?: Params$Resource$Customers$Apps$Chrome$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
3314
- get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3315
- get(params: Params$Resource$Customers$Apps$Chrome$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3316
- get(params: Params$Resource$Customers$Apps$Chrome$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3317
- get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3482
+ get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3483
+ get(params?: Params$Resource$Customers$Apps$Chrome$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
3484
+ get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3485
+ get(params: Params$Resource$Customers$Apps$Chrome$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3486
+ get(params: Params$Resource$Customers$Apps$Chrome$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3487
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3488
+ }
3489
+ export interface Params$Resource$Customers$Apps$Chrome$Get extends StandardParameters {
3490
+ /**
3491
+ * 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.
3492
+ */
3493
+ name?: string;
3494
+ }
3495
+ export class Resource$Customers$Apps$Web {
3496
+ context: APIRequestContext;
3497
+ constructor(context: APIRequestContext);
3498
+ /**
3499
+ * Get a specific app for a customer by its resource name.
3500
+ * @example
3501
+ * ```js
3502
+ * // Before running the sample:
3503
+ * // - Enable the API at:
3504
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3505
+ * // - Login into gcloud by running:
3506
+ * // ```sh
3507
+ * // $ gcloud auth application-default login
3508
+ * // ```
3509
+ * // - Install the npm module by running:
3510
+ * // ```sh
3511
+ * // $ npm install googleapis
3512
+ * // ```
3513
+ *
3514
+ * const {google} = require('googleapis');
3515
+ * const chromemanagement = google.chromemanagement('v1');
3516
+ *
3517
+ * async function main() {
3518
+ * const auth = new google.auth.GoogleAuth({
3519
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3520
+ * scopes: [
3521
+ * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
3522
+ * ],
3523
+ * });
3524
+ *
3525
+ * // Acquire an auth client, and bind it to all future calls
3526
+ * const authClient = await auth.getClient();
3527
+ * google.options({auth: authClient});
3528
+ *
3529
+ * // Do the magic
3530
+ * const res = await chromemanagement.customers.apps.web.get({
3531
+ * // 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.
3532
+ * name: 'customers/my-customer/apps/web/[^/]+',
3533
+ * });
3534
+ * console.log(res.data);
3535
+ *
3536
+ * // Example response
3537
+ * // {
3538
+ * // "androidAppInfo": {},
3539
+ * // "appId": "my_appId",
3540
+ * // "chromeAppInfo": {},
3541
+ * // "description": "my_description",
3542
+ * // "detailUri": "my_detailUri",
3543
+ * // "displayName": "my_displayName",
3544
+ * // "firstPublishTime": "my_firstPublishTime",
3545
+ * // "homepageUri": "my_homepageUri",
3546
+ * // "iconUri": "my_iconUri",
3547
+ * // "isPaidApp": false,
3548
+ * // "latestPublishTime": "my_latestPublishTime",
3549
+ * // "name": "my_name",
3550
+ * // "privacyPolicyUri": "my_privacyPolicyUri",
3551
+ * // "publisher": "my_publisher",
3552
+ * // "reviewNumber": "my_reviewNumber",
3553
+ * // "reviewRating": {},
3554
+ * // "revisionId": "my_revisionId",
3555
+ * // "serviceError": {},
3556
+ * // "type": "my_type"
3557
+ * // }
3558
+ * }
3559
+ *
3560
+ * main().catch(e => {
3561
+ * console.error(e);
3562
+ * throw e;
3563
+ * });
3564
+ *
3565
+ * ```
3566
+ *
3567
+ * @param params - Parameters for request
3568
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3569
+ * @param callback - Optional callback that handles the response.
3570
+ * @returns A promise if used with async/await, or void if used with a callback.
3571
+ */
3572
+ get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3573
+ get(params?: Params$Resource$Customers$Apps$Web$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
3574
+ get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3575
+ get(params: Params$Resource$Customers$Apps$Web$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3576
+ get(params: Params$Resource$Customers$Apps$Web$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3577
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3578
+ }
3579
+ export interface Params$Resource$Customers$Apps$Web$Get extends StandardParameters {
3580
+ /**
3581
+ * 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.
3582
+ */
3583
+ name?: string;
3584
+ }
3585
+ export class Resource$Customers$Certificateprovisioningprocesses {
3586
+ context: APIRequestContext;
3587
+ operations: Resource$Customers$Certificateprovisioningprocesses$Operations;
3588
+ constructor(context: APIRequestContext);
3589
+ /**
3590
+ * Claims a certificate provisioning process. For each certificate provisioning process, this operation can succeed only for one `caller_instance_id`.
3591
+ * @example
3592
+ * ```js
3593
+ * // Before running the sample:
3594
+ * // - Enable the API at:
3595
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3596
+ * // - Login into gcloud by running:
3597
+ * // ```sh
3598
+ * // $ gcloud auth application-default login
3599
+ * // ```
3600
+ * // - Install the npm module by running:
3601
+ * // ```sh
3602
+ * // $ npm install googleapis
3603
+ * // ```
3604
+ *
3605
+ * const {google} = require('googleapis');
3606
+ * const chromemanagement = google.chromemanagement('v1');
3607
+ *
3608
+ * async function main() {
3609
+ * const auth = new google.auth.GoogleAuth({
3610
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3611
+ * scopes: [],
3612
+ * });
3613
+ *
3614
+ * // Acquire an auth client, and bind it to all future calls
3615
+ * const authClient = await auth.getClient();
3616
+ * google.options({auth: authClient});
3617
+ *
3618
+ * // Do the magic
3619
+ * const res =
3620
+ * await chromemanagement.customers.certificateProvisioningProcesses.claim({
3621
+ * // Required. Resource name of the `CertificateProvisioningProcess` to claim. 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.
3622
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
3623
+ *
3624
+ * // Request body metadata
3625
+ * requestBody: {
3626
+ * // request body parameters
3627
+ * // {
3628
+ * // "callerInstanceId": "my_callerInstanceId"
3629
+ * // }
3630
+ * },
3631
+ * });
3632
+ * console.log(res.data);
3633
+ *
3634
+ * // Example response
3635
+ * // {}
3636
+ * }
3637
+ *
3638
+ * main().catch(e => {
3639
+ * console.error(e);
3640
+ * throw e;
3641
+ * });
3642
+ *
3643
+ * ```
3644
+ *
3645
+ * @param params - Parameters for request
3646
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3647
+ * @param callback - Optional callback that handles the response.
3648
+ * @returns A promise if used with async/await, or void if used with a callback.
3649
+ */
3650
+ claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3651
+ claim(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>>;
3652
+ claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3653
+ claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
3654
+ claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
3655
+ claim(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
3656
+ /**
3657
+ * Retrieves a certificate provisioning process.
3658
+ * @example
3659
+ * ```js
3660
+ * // Before running the sample:
3661
+ * // - Enable the API at:
3662
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3663
+ * // - Login into gcloud by running:
3664
+ * // ```sh
3665
+ * // $ gcloud auth application-default login
3666
+ * // ```
3667
+ * // - Install the npm module by running:
3668
+ * // ```sh
3669
+ * // $ npm install googleapis
3670
+ * // ```
3671
+ *
3672
+ * const {google} = require('googleapis');
3673
+ * const chromemanagement = google.chromemanagement('v1');
3674
+ *
3675
+ * async function main() {
3676
+ * const auth = new google.auth.GoogleAuth({
3677
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3678
+ * scopes: [],
3679
+ * });
3680
+ *
3681
+ * // Acquire an auth client, and bind it to all future calls
3682
+ * const authClient = await auth.getClient();
3683
+ * google.options({auth: authClient});
3684
+ *
3685
+ * // Do the magic
3686
+ * const res =
3687
+ * await chromemanagement.customers.certificateProvisioningProcesses.get({
3688
+ * // Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3689
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
3690
+ * });
3691
+ * console.log(res.data);
3692
+ *
3693
+ * // Example response
3694
+ * // {
3695
+ * // "chromeOsDevice": {},
3696
+ * // "chromeOsUserSession": {},
3697
+ * // "failureMessage": "my_failureMessage",
3698
+ * // "genericCaConnection": {},
3699
+ * // "genericProfile": {},
3700
+ * // "issuedCertificate": "my_issuedCertificate",
3701
+ * // "name": "my_name",
3702
+ * // "provisioningProfileId": "my_provisioningProfileId",
3703
+ * // "scepCaConnection": {},
3704
+ * // "scepProfile": {},
3705
+ * // "signData": "my_signData",
3706
+ * // "signature": "my_signature",
3707
+ * // "signatureAlgorithm": "my_signatureAlgorithm",
3708
+ * // "startTime": "my_startTime",
3709
+ * // "subjectPublicKeyInfo": "my_subjectPublicKeyInfo"
3710
+ * // }
3711
+ * }
3712
+ *
3713
+ * main().catch(e => {
3714
+ * console.error(e);
3715
+ * throw e;
3716
+ * });
3717
+ *
3718
+ * ```
3719
+ *
3720
+ * @param params - Parameters for request
3721
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3722
+ * @param callback - Optional callback that handles the response.
3723
+ * @returns A promise if used with async/await, or void if used with a callback.
3724
+ */
3725
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3726
+ get(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>>;
3727
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3728
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
3729
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
3730
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
3731
+ /**
3732
+ * Marks a certificate provisioning process as failed.
3733
+ * @example
3734
+ * ```js
3735
+ * // Before running the sample:
3736
+ * // - Enable the API at:
3737
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3738
+ * // - Login into gcloud by running:
3739
+ * // ```sh
3740
+ * // $ gcloud auth application-default login
3741
+ * // ```
3742
+ * // - Install the npm module by running:
3743
+ * // ```sh
3744
+ * // $ npm install googleapis
3745
+ * // ```
3746
+ *
3747
+ * const {google} = require('googleapis');
3748
+ * const chromemanagement = google.chromemanagement('v1');
3749
+ *
3750
+ * async function main() {
3751
+ * const auth = new google.auth.GoogleAuth({
3752
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3753
+ * scopes: [],
3754
+ * });
3755
+ *
3756
+ * // Acquire an auth client, and bind it to all future calls
3757
+ * const authClient = await auth.getClient();
3758
+ * google.options({auth: authClient});
3759
+ *
3760
+ * // Do the magic
3761
+ * const res =
3762
+ * await chromemanagement.customers.certificateProvisioningProcesses.setFailure(
3763
+ * {
3764
+ * // Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3765
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
3766
+ *
3767
+ * // Request body metadata
3768
+ * requestBody: {
3769
+ * // request body parameters
3770
+ * // {
3771
+ * // "errorMessage": "my_errorMessage"
3772
+ * // }
3773
+ * },
3774
+ * },
3775
+ * );
3776
+ * console.log(res.data);
3777
+ *
3778
+ * // Example response
3779
+ * // {}
3780
+ * }
3781
+ *
3782
+ * main().catch(e => {
3783
+ * console.error(e);
3784
+ * throw e;
3785
+ * });
3786
+ *
3787
+ * ```
3788
+ *
3789
+ * @param params - Parameters for request
3790
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3791
+ * @param callback - Optional callback that handles the response.
3792
+ * @returns A promise if used with async/await, or void if used with a callback.
3793
+ */
3794
+ setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3795
+ setFailure(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>>;
3796
+ setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3797
+ setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
3798
+ setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
3799
+ setFailure(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
3800
+ /**
3801
+ * Requests the client that initiated a certificate provisioning process to sign data. This should only be called after `ClaimCertificateProvisioningProcess` has been successfully executed.
3802
+ * @example
3803
+ * ```js
3804
+ * // Before running the sample:
3805
+ * // - Enable the API at:
3806
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3807
+ * // - Login into gcloud by running:
3808
+ * // ```sh
3809
+ * // $ gcloud auth application-default login
3810
+ * // ```
3811
+ * // - Install the npm module by running:
3812
+ * // ```sh
3813
+ * // $ npm install googleapis
3814
+ * // ```
3815
+ *
3816
+ * const {google} = require('googleapis');
3817
+ * const chromemanagement = google.chromemanagement('v1');
3818
+ *
3819
+ * async function main() {
3820
+ * const auth = new google.auth.GoogleAuth({
3821
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3822
+ * scopes: [],
3823
+ * });
3824
+ *
3825
+ * // Acquire an auth client, and bind it to all future calls
3826
+ * const authClient = await auth.getClient();
3827
+ * google.options({auth: authClient});
3828
+ *
3829
+ * // Do the magic
3830
+ * const res =
3831
+ * await chromemanagement.customers.certificateProvisioningProcesses.signData({
3832
+ * // Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3833
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
3834
+ *
3835
+ * // Request body metadata
3836
+ * requestBody: {
3837
+ * // request body parameters
3838
+ * // {
3839
+ * // "signData": "my_signData",
3840
+ * // "signatureAlgorithm": "my_signatureAlgorithm"
3841
+ * // }
3842
+ * },
3843
+ * });
3844
+ * console.log(res.data);
3845
+ *
3846
+ * // Example response
3847
+ * // {
3848
+ * // "done": false,
3849
+ * // "error": {},
3850
+ * // "metadata": {},
3851
+ * // "name": "my_name",
3852
+ * // "response": {}
3853
+ * // }
3854
+ * }
3855
+ *
3856
+ * main().catch(e => {
3857
+ * console.error(e);
3858
+ * throw e;
3859
+ * });
3860
+ *
3861
+ * ```
3862
+ *
3863
+ * @param params - Parameters for request
3864
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3865
+ * @param callback - Optional callback that handles the response.
3866
+ * @returns A promise if used with async/await, or void if used with a callback.
3867
+ */
3868
+ signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3869
+ signData(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
3870
+ signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3871
+ signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
3872
+ signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
3873
+ signData(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
3874
+ /**
3875
+ * Uploads a successfully issued certificate for a certificate provisioning process.
3876
+ * @example
3877
+ * ```js
3878
+ * // Before running the sample:
3879
+ * // - Enable the API at:
3880
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3881
+ * // - Login into gcloud by running:
3882
+ * // ```sh
3883
+ * // $ gcloud auth application-default login
3884
+ * // ```
3885
+ * // - Install the npm module by running:
3886
+ * // ```sh
3887
+ * // $ npm install googleapis
3888
+ * // ```
3889
+ *
3890
+ * const {google} = require('googleapis');
3891
+ * const chromemanagement = google.chromemanagement('v1');
3892
+ *
3893
+ * async function main() {
3894
+ * const auth = new google.auth.GoogleAuth({
3895
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3896
+ * scopes: [],
3897
+ * });
3898
+ *
3899
+ * // Acquire an auth client, and bind it to all future calls
3900
+ * const authClient = await auth.getClient();
3901
+ * google.options({auth: authClient});
3902
+ *
3903
+ * // Do the magic
3904
+ * const res =
3905
+ * await chromemanagement.customers.certificateProvisioningProcesses.uploadCertificate(
3906
+ * {
3907
+ * // Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3908
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
3909
+ *
3910
+ * // Request body metadata
3911
+ * requestBody: {
3912
+ * // request body parameters
3913
+ * // {
3914
+ * // "certificatePem": "my_certificatePem"
3915
+ * // }
3916
+ * },
3917
+ * },
3918
+ * );
3919
+ * console.log(res.data);
3920
+ *
3921
+ * // Example response
3922
+ * // {}
3923
+ * }
3924
+ *
3925
+ * main().catch(e => {
3926
+ * console.error(e);
3927
+ * throw e;
3928
+ * });
3929
+ *
3930
+ * ```
3931
+ *
3932
+ * @param params - Parameters for request
3933
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3934
+ * @param callback - Optional callback that handles the response.
3935
+ * @returns A promise if used with async/await, or void if used with a callback.
3936
+ */
3937
+ uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3938
+ uploadCertificate(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>>;
3939
+ uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3940
+ uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
3941
+ uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
3942
+ uploadCertificate(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
3318
3943
  }
3319
- export interface Params$Resource$Customers$Apps$Chrome$Get extends StandardParameters {
3944
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Claim extends StandardParameters {
3320
3945
  /**
3321
- * 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.
3946
+ * Required. Resource name of the `CertificateProvisioningProcess` to claim. 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.
3322
3947
  */
3323
3948
  name?: string;
3949
+ /**
3950
+ * Request body metadata
3951
+ */
3952
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest;
3324
3953
  }
3325
- export class Resource$Customers$Apps$Web {
3954
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Get extends StandardParameters {
3955
+ /**
3956
+ * Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3957
+ */
3958
+ name?: string;
3959
+ }
3960
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure extends StandardParameters {
3961
+ /**
3962
+ * Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3963
+ */
3964
+ name?: string;
3965
+ /**
3966
+ * Request body metadata
3967
+ */
3968
+ requestBody?: Schema$GoogleChromeManagementVersionsV1SetFailureRequest;
3969
+ }
3970
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Signdata extends StandardParameters {
3971
+ /**
3972
+ * Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3973
+ */
3974
+ name?: string;
3975
+ /**
3976
+ * Request body metadata
3977
+ */
3978
+ requestBody?: Schema$GoogleChromeManagementVersionsV1SignDataRequest;
3979
+ }
3980
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate extends StandardParameters {
3981
+ /**
3982
+ * Required. Resource name of the `CertificateProvisioningProcess` to return. 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.
3983
+ */
3984
+ name?: string;
3985
+ /**
3986
+ * Request body metadata
3987
+ */
3988
+ requestBody?: Schema$GoogleChromeManagementVersionsV1UploadCertificateRequest;
3989
+ }
3990
+ export class Resource$Customers$Certificateprovisioningprocesses$Operations {
3326
3991
  context: APIRequestContext;
3327
3992
  constructor(context: APIRequestContext);
3328
3993
  /**
3329
- * Get a specific app for a customer by its resource name.
3994
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
3330
3995
  * @example
3331
3996
  * ```js
3332
3997
  * // Before running the sample:
@@ -3347,9 +4012,7 @@ export declare namespace chromemanagement_v1 {
3347
4012
  * async function main() {
3348
4013
  * const auth = new google.auth.GoogleAuth({
3349
4014
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3350
- * scopes: [
3351
- * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
3352
- * ],
4015
+ * scopes: [],
3353
4016
  * });
3354
4017
  *
3355
4018
  * // Acquire an auth client, and bind it to all future calls
@@ -3357,33 +4020,22 @@ export declare namespace chromemanagement_v1 {
3357
4020
  * google.options({auth: authClient});
3358
4021
  *
3359
4022
  * // Do the magic
3360
- * const res = await chromemanagement.customers.apps.web.get({
3361
- * // 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.
3362
- * name: 'customers/my-customer/apps/web/[^/]+',
3363
- * });
4023
+ * const res =
4024
+ * await chromemanagement.customers.certificateProvisioningProcesses.operations.get(
4025
+ * {
4026
+ * // The name of the operation resource.
4027
+ * name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse/operations/my-operation',
4028
+ * },
4029
+ * );
3364
4030
  * console.log(res.data);
3365
4031
  *
3366
4032
  * // Example response
3367
4033
  * // {
3368
- * // "androidAppInfo": {},
3369
- * // "appId": "my_appId",
3370
- * // "chromeAppInfo": {},
3371
- * // "description": "my_description",
3372
- * // "detailUri": "my_detailUri",
3373
- * // "displayName": "my_displayName",
3374
- * // "firstPublishTime": "my_firstPublishTime",
3375
- * // "homepageUri": "my_homepageUri",
3376
- * // "iconUri": "my_iconUri",
3377
- * // "isPaidApp": false,
3378
- * // "latestPublishTime": "my_latestPublishTime",
4034
+ * // "done": false,
4035
+ * // "error": {},
4036
+ * // "metadata": {},
3379
4037
  * // "name": "my_name",
3380
- * // "privacyPolicyUri": "my_privacyPolicyUri",
3381
- * // "publisher": "my_publisher",
3382
- * // "reviewNumber": "my_reviewNumber",
3383
- * // "reviewRating": {},
3384
- * // "revisionId": "my_revisionId",
3385
- * // "serviceError": {},
3386
- * // "type": "my_type"
4038
+ * // "response": {}
3387
4039
  * // }
3388
4040
  * }
3389
4041
  *
@@ -3399,16 +4051,16 @@ export declare namespace chromemanagement_v1 {
3399
4051
  * @param callback - Optional callback that handles the response.
3400
4052
  * @returns A promise if used with async/await, or void if used with a callback.
3401
4053
  */
3402
- get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3403
- get(params?: Params$Resource$Customers$Apps$Web$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
3404
- get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3405
- get(params: Params$Resource$Customers$Apps$Web$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3406
- get(params: Params$Resource$Customers$Apps$Web$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
3407
- get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
4054
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4055
+ get(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
4056
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4057
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
4058
+ get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
4059
+ get(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
3408
4060
  }
3409
- export interface Params$Resource$Customers$Apps$Web$Get extends StandardParameters {
4061
+ export interface Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get extends StandardParameters {
3410
4062
  /**
3411
- * 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.
4063
+ * The name of the operation resource.
3412
4064
  */
3413
4065
  name?: string;
3414
4066
  }
@@ -3539,6 +4191,7 @@ export declare namespace chromemanagement_v1 {
3539
4191
  * // "profileId": "my_profileId",
3540
4192
  * // "profilePermanentId": "my_profilePermanentId",
3541
4193
  * // "reportingData": {},
4194
+ * // "supportsFcmNotifications": false,
3542
4195
  * // "userEmail": "my_userEmail",
3543
4196
  * // "userId": "my_userId"
3544
4197
  * // }
@@ -5758,5 +6411,239 @@ export declare namespace chromemanagement_v1 {
5758
6411
  */
5759
6412
  requestBody?: Schema$GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest;
5760
6413
  }
6414
+ export class Resource$Operations {
6415
+ context: APIRequestContext;
6416
+ constructor(context: APIRequestContext);
6417
+ /**
6418
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
6419
+ * @example
6420
+ * ```js
6421
+ * // Before running the sample:
6422
+ * // - Enable the API at:
6423
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6424
+ * // - Login into gcloud by running:
6425
+ * // ```sh
6426
+ * // $ gcloud auth application-default login
6427
+ * // ```
6428
+ * // - Install the npm module by running:
6429
+ * // ```sh
6430
+ * // $ npm install googleapis
6431
+ * // ```
6432
+ *
6433
+ * const {google} = require('googleapis');
6434
+ * const chromemanagement = google.chromemanagement('v1');
6435
+ *
6436
+ * async function main() {
6437
+ * const auth = new google.auth.GoogleAuth({
6438
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6439
+ * scopes: [],
6440
+ * });
6441
+ *
6442
+ * // Acquire an auth client, and bind it to all future calls
6443
+ * const authClient = await auth.getClient();
6444
+ * google.options({auth: authClient});
6445
+ *
6446
+ * // Do the magic
6447
+ * const res = await chromemanagement.operations.cancel({
6448
+ * // The name of the operation resource to be cancelled.
6449
+ * name: 'operations/.*',
6450
+ *
6451
+ * // Request body metadata
6452
+ * requestBody: {
6453
+ * // request body parameters
6454
+ * // {}
6455
+ * },
6456
+ * });
6457
+ * console.log(res.data);
6458
+ *
6459
+ * // Example response
6460
+ * // {}
6461
+ * }
6462
+ *
6463
+ * main().catch(e => {
6464
+ * console.error(e);
6465
+ * throw e;
6466
+ * });
6467
+ *
6468
+ * ```
6469
+ *
6470
+ * @param params - Parameters for request
6471
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6472
+ * @param callback - Optional callback that handles the response.
6473
+ * @returns A promise if used with async/await, or void if used with a callback.
6474
+ */
6475
+ cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6476
+ cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
6477
+ cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6478
+ cancel(params: Params$Resource$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6479
+ cancel(params: Params$Resource$Operations$Cancel, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6480
+ cancel(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6481
+ /**
6482
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
6483
+ * @example
6484
+ * ```js
6485
+ * // Before running the sample:
6486
+ * // - Enable the API at:
6487
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6488
+ * // - Login into gcloud by running:
6489
+ * // ```sh
6490
+ * // $ gcloud auth application-default login
6491
+ * // ```
6492
+ * // - Install the npm module by running:
6493
+ * // ```sh
6494
+ * // $ npm install googleapis
6495
+ * // ```
6496
+ *
6497
+ * const {google} = require('googleapis');
6498
+ * const chromemanagement = google.chromemanagement('v1');
6499
+ *
6500
+ * async function main() {
6501
+ * const auth = new google.auth.GoogleAuth({
6502
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6503
+ * scopes: [],
6504
+ * });
6505
+ *
6506
+ * // Acquire an auth client, and bind it to all future calls
6507
+ * const authClient = await auth.getClient();
6508
+ * google.options({auth: authClient});
6509
+ *
6510
+ * // Do the magic
6511
+ * const res = await chromemanagement.operations.delete({
6512
+ * // The name of the operation resource to be deleted.
6513
+ * name: 'operations/.*',
6514
+ * });
6515
+ * console.log(res.data);
6516
+ *
6517
+ * // Example response
6518
+ * // {}
6519
+ * }
6520
+ *
6521
+ * main().catch(e => {
6522
+ * console.error(e);
6523
+ * throw e;
6524
+ * });
6525
+ *
6526
+ * ```
6527
+ *
6528
+ * @param params - Parameters for request
6529
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6530
+ * @param callback - Optional callback that handles the response.
6531
+ * @returns A promise if used with async/await, or void if used with a callback.
6532
+ */
6533
+ delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6534
+ delete(params?: Params$Resource$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
6535
+ delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6536
+ delete(params: Params$Resource$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6537
+ delete(params: Params$Resource$Operations$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6538
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
6539
+ /**
6540
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
6541
+ * @example
6542
+ * ```js
6543
+ * // Before running the sample:
6544
+ * // - Enable the API at:
6545
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6546
+ * // - Login into gcloud by running:
6547
+ * // ```sh
6548
+ * // $ gcloud auth application-default login
6549
+ * // ```
6550
+ * // - Install the npm module by running:
6551
+ * // ```sh
6552
+ * // $ npm install googleapis
6553
+ * // ```
6554
+ *
6555
+ * const {google} = require('googleapis');
6556
+ * const chromemanagement = google.chromemanagement('v1');
6557
+ *
6558
+ * async function main() {
6559
+ * const auth = new google.auth.GoogleAuth({
6560
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6561
+ * scopes: [],
6562
+ * });
6563
+ *
6564
+ * // Acquire an auth client, and bind it to all future calls
6565
+ * const authClient = await auth.getClient();
6566
+ * google.options({auth: authClient});
6567
+ *
6568
+ * // Do the magic
6569
+ * const res = await chromemanagement.operations.list({
6570
+ * // The standard list filter.
6571
+ * filter: 'placeholder-value',
6572
+ * // The name of the operation's parent resource.
6573
+ * name: 'operations',
6574
+ * // The standard list page size.
6575
+ * pageSize: 'placeholder-value',
6576
+ * // The standard list page token.
6577
+ * pageToken: 'placeholder-value',
6578
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6579
+ * returnPartialSuccess: 'placeholder-value',
6580
+ * });
6581
+ * console.log(res.data);
6582
+ *
6583
+ * // Example response
6584
+ * // {
6585
+ * // "nextPageToken": "my_nextPageToken",
6586
+ * // "operations": [],
6587
+ * // "unreachable": []
6588
+ * // }
6589
+ * }
6590
+ *
6591
+ * main().catch(e => {
6592
+ * console.error(e);
6593
+ * throw e;
6594
+ * });
6595
+ *
6596
+ * ```
6597
+ *
6598
+ * @param params - Parameters for request
6599
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6600
+ * @param callback - Optional callback that handles the response.
6601
+ * @returns A promise if used with async/await, or void if used with a callback.
6602
+ */
6603
+ list(params: Params$Resource$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6604
+ list(params?: Params$Resource$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>>;
6605
+ list(params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6606
+ list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
6607
+ list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
6608
+ list(callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
6609
+ }
6610
+ export interface Params$Resource$Operations$Cancel extends StandardParameters {
6611
+ /**
6612
+ * The name of the operation resource to be cancelled.
6613
+ */
6614
+ name?: string;
6615
+ /**
6616
+ * Request body metadata
6617
+ */
6618
+ requestBody?: Schema$GoogleLongrunningCancelOperationRequest;
6619
+ }
6620
+ export interface Params$Resource$Operations$Delete extends StandardParameters {
6621
+ /**
6622
+ * The name of the operation resource to be deleted.
6623
+ */
6624
+ name?: string;
6625
+ }
6626
+ export interface Params$Resource$Operations$List extends StandardParameters {
6627
+ /**
6628
+ * The standard list filter.
6629
+ */
6630
+ filter?: string;
6631
+ /**
6632
+ * The name of the operation's parent resource.
6633
+ */
6634
+ name?: string;
6635
+ /**
6636
+ * The standard list page size.
6637
+ */
6638
+ pageSize?: number;
6639
+ /**
6640
+ * The standard list page token.
6641
+ */
6642
+ pageToken?: string;
6643
+ /**
6644
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6645
+ */
6646
+ returnPartialSuccess?: boolean;
6647
+ }
5761
6648
  export {};
5762
6649
  }