@googleapis/chromemanagement 22.0.0 → 23.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/CHANGELOG.md +18 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +878 -49
- package/build/v1.js +322 -0
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +3222 -1622
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
|
/**
|
|
@@ -2280,7 +2281,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2280
2281
|
*/
|
|
2281
2282
|
signature?: string | null;
|
|
2282
2283
|
/**
|
|
2283
|
-
* Output only. The signature algorithm that the
|
|
2284
|
+
* 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
2285
|
*/
|
|
2285
2286
|
signatureAlgorithm?: string | null;
|
|
2286
2287
|
/**
|
|
@@ -2396,6 +2397,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
2396
2397
|
* Output only. Detailed reporting data of the profile. This information is only available when the profile reporting policy is enabled.
|
|
2397
2398
|
*/
|
|
2398
2399
|
reportingData?: Schema$GoogleChromeManagementVersionsV1ReportingData;
|
|
2400
|
+
/**
|
|
2401
|
+
* Output only. Whether the profile supports FCM notifications.
|
|
2402
|
+
*/
|
|
2403
|
+
supportsFcmNotifications?: boolean | null;
|
|
2399
2404
|
/**
|
|
2400
2405
|
* Output only. Email address of the user to which the profile belongs.
|
|
2401
2406
|
*/
|
|
@@ -2487,6 +2492,20 @@ export declare namespace chromemanagement_v1 {
|
|
|
2487
2492
|
*/
|
|
2488
2493
|
userPrimaryEmail?: string | null;
|
|
2489
2494
|
}
|
|
2495
|
+
/**
|
|
2496
|
+
* Request message for claiming a certificate provisioning process.
|
|
2497
|
+
*/
|
|
2498
|
+
export interface Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest {
|
|
2499
|
+
/**
|
|
2500
|
+
* Required. The instance id of the caller.
|
|
2501
|
+
*/
|
|
2502
|
+
callerInstanceId?: string | null;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* Response message for claiming a certificate provisioning process.
|
|
2506
|
+
*/
|
|
2507
|
+
export interface Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse {
|
|
2508
|
+
}
|
|
2490
2509
|
/**
|
|
2491
2510
|
* Information of a device that runs a Chrome browser profile.
|
|
2492
2511
|
*/
|
|
@@ -2513,7 +2532,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2513
2532
|
*/
|
|
2514
2533
|
export interface Schema$GoogleChromeManagementVersionsV1GenericCaConnection {
|
|
2515
2534
|
/**
|
|
2516
|
-
* Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
2535
|
+
* Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
2517
2536
|
*/
|
|
2518
2537
|
caConnectionAdapterConfigReference?: string | null;
|
|
2519
2538
|
}
|
|
@@ -2522,7 +2541,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2522
2541
|
*/
|
|
2523
2542
|
export interface Schema$GoogleChromeManagementVersionsV1GenericProfile {
|
|
2524
2543
|
/**
|
|
2525
|
-
* Output only. A string that references the administrator-provided configuration for the certificate provisioning profile.
|
|
2544
|
+
* Output only. A string that references the administrator-provided configuration for the certificate provisioning profile.
|
|
2526
2545
|
*/
|
|
2527
2546
|
profileAdapterConfigReference?: string | null;
|
|
2528
2547
|
}
|
|
@@ -2712,7 +2731,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2712
2731
|
*/
|
|
2713
2732
|
export interface Schema$GoogleChromeManagementVersionsV1ScepCaConnection {
|
|
2714
2733
|
/**
|
|
2715
|
-
* Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
2734
|
+
* Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
2716
2735
|
*/
|
|
2717
2736
|
caConnectionAdapterConfigReference?: string | null;
|
|
2718
2737
|
}
|
|
@@ -2721,7 +2740,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2721
2740
|
*/
|
|
2722
2741
|
export interface Schema$GoogleChromeManagementVersionsV1ScepProfile {
|
|
2723
2742
|
/**
|
|
2724
|
-
* Output only. The certificate template name as defined by the admin on their on-prem infrastructure.
|
|
2743
|
+
* 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
2744
|
*/
|
|
2726
2745
|
certificateTemplateName?: string | null;
|
|
2727
2746
|
/**
|
|
@@ -2757,6 +2776,20 @@ export declare namespace chromemanagement_v1 {
|
|
|
2757
2776
|
*/
|
|
2758
2777
|
subjectCommonName?: string | null;
|
|
2759
2778
|
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Request message for marking a certificate provisioning process as failed.
|
|
2781
|
+
*/
|
|
2782
|
+
export interface Schema$GoogleChromeManagementVersionsV1SetFailureRequest {
|
|
2783
|
+
/**
|
|
2784
|
+
* Required. A message describing the failure details. It is displayed on the ChromeOS client device.
|
|
2785
|
+
*/
|
|
2786
|
+
errorMessage?: string | null;
|
|
2787
|
+
}
|
|
2788
|
+
/**
|
|
2789
|
+
* Response message for publishing a failure for a certificate provisioning process.
|
|
2790
|
+
*/
|
|
2791
|
+
export interface Schema$GoogleChromeManagementVersionsV1SetFailureResponse {
|
|
2792
|
+
}
|
|
2760
2793
|
/**
|
|
2761
2794
|
* Metadata for the long-running operation returned by signData.
|
|
2762
2795
|
*/
|
|
@@ -2766,6 +2799,19 @@ export declare namespace chromemanagement_v1 {
|
|
|
2766
2799
|
*/
|
|
2767
2800
|
startTime?: string | null;
|
|
2768
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
* Request message for requesting a signature from the client that initated a certificate provisioning process.
|
|
2804
|
+
*/
|
|
2805
|
+
export interface Schema$GoogleChromeManagementVersionsV1SignDataRequest {
|
|
2806
|
+
/**
|
|
2807
|
+
* Required. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`.
|
|
2808
|
+
*/
|
|
2809
|
+
signatureAlgorithm?: string | null;
|
|
2810
|
+
/**
|
|
2811
|
+
* Required. The data that the client was asked to sign.
|
|
2812
|
+
*/
|
|
2813
|
+
signData?: string | null;
|
|
2814
|
+
}
|
|
2769
2815
|
/**
|
|
2770
2816
|
* Response message for requesting a signature from the client that initated a certificate provisioning process.
|
|
2771
2817
|
*/
|
|
@@ -2784,7 +2830,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2784
2830
|
*/
|
|
2785
2831
|
type?: string | null;
|
|
2786
2832
|
/**
|
|
2787
|
-
* Output only. The value of the subject alternative name with
|
|
2833
|
+
* Output only. The value of the subject alternative name with respect to the `type`.
|
|
2788
2834
|
*/
|
|
2789
2835
|
value?: string | null;
|
|
2790
2836
|
}
|
|
@@ -2801,6 +2847,71 @@ export declare namespace chromemanagement_v1 {
|
|
|
2801
2847
|
*/
|
|
2802
2848
|
orgUnitId?: string | null;
|
|
2803
2849
|
}
|
|
2850
|
+
/**
|
|
2851
|
+
* Request message for uploading an issued certificate for a certificate provisioning process.
|
|
2852
|
+
*/
|
|
2853
|
+
export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateRequest {
|
|
2854
|
+
/**
|
|
2855
|
+
* Required. The issued certificate in PEM format.
|
|
2856
|
+
*/
|
|
2857
|
+
certificatePem?: string | null;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* Response message for publishing an issued certificate for a certificate provisioning process.
|
|
2861
|
+
*/
|
|
2862
|
+
export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse {
|
|
2863
|
+
}
|
|
2864
|
+
/**
|
|
2865
|
+
* The request message for Operations.CancelOperation.
|
|
2866
|
+
*/
|
|
2867
|
+
export interface Schema$GoogleLongrunningCancelOperationRequest {
|
|
2868
|
+
}
|
|
2869
|
+
/**
|
|
2870
|
+
* The response message for Operations.ListOperations.
|
|
2871
|
+
*/
|
|
2872
|
+
export interface Schema$GoogleLongrunningListOperationsResponse {
|
|
2873
|
+
/**
|
|
2874
|
+
* The standard List next-page token.
|
|
2875
|
+
*/
|
|
2876
|
+
nextPageToken?: string | null;
|
|
2877
|
+
/**
|
|
2878
|
+
* A list of operations that matches the specified filter in the request.
|
|
2879
|
+
*/
|
|
2880
|
+
operations?: Schema$GoogleLongrunningOperation[];
|
|
2881
|
+
/**
|
|
2882
|
+
* 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.
|
|
2883
|
+
*/
|
|
2884
|
+
unreachable?: string[] | null;
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* This resource represents a long-running operation that is the result of a network API call.
|
|
2888
|
+
*/
|
|
2889
|
+
export interface Schema$GoogleLongrunningOperation {
|
|
2890
|
+
/**
|
|
2891
|
+
* 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.
|
|
2892
|
+
*/
|
|
2893
|
+
done?: boolean | null;
|
|
2894
|
+
/**
|
|
2895
|
+
* The error result of the operation in case of failure or cancellation.
|
|
2896
|
+
*/
|
|
2897
|
+
error?: Schema$GoogleRpcStatus;
|
|
2898
|
+
/**
|
|
2899
|
+
* 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.
|
|
2900
|
+
*/
|
|
2901
|
+
metadata?: {
|
|
2902
|
+
[key: string]: any;
|
|
2903
|
+
} | null;
|
|
2904
|
+
/**
|
|
2905
|
+
* 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\}`.
|
|
2906
|
+
*/
|
|
2907
|
+
name?: string | null;
|
|
2908
|
+
/**
|
|
2909
|
+
* 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`.
|
|
2910
|
+
*/
|
|
2911
|
+
response?: {
|
|
2912
|
+
[key: string]: any;
|
|
2913
|
+
} | null;
|
|
2914
|
+
}
|
|
2804
2915
|
/**
|
|
2805
2916
|
* 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
2917
|
*/
|
|
@@ -2845,6 +2956,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
2845
2956
|
export class Resource$Customers {
|
|
2846
2957
|
context: APIRequestContext;
|
|
2847
2958
|
apps: Resource$Customers$Apps;
|
|
2959
|
+
certificateProvisioningProcesses: Resource$Customers$Certificateprovisioningprocesses;
|
|
2848
2960
|
profiles: Resource$Customers$Profiles;
|
|
2849
2961
|
reports: Resource$Customers$Reports;
|
|
2850
2962
|
telemetry: Resource$Customers$Telemetry;
|
|
@@ -3309,24 +3421,519 @@ export declare namespace chromemanagement_v1 {
|
|
|
3309
3421
|
* @param callback - Optional callback that handles the response.
|
|
3310
3422
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3311
3423
|
*/
|
|
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;
|
|
3424
|
+
get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3425
|
+
get(params?: Params$Resource$Customers$Apps$Chrome$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
|
|
3426
|
+
get(params: Params$Resource$Customers$Apps$Chrome$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3427
|
+
get(params: Params$Resource$Customers$Apps$Chrome$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3428
|
+
get(params: Params$Resource$Customers$Apps$Chrome$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3429
|
+
get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3430
|
+
}
|
|
3431
|
+
export interface Params$Resource$Customers$Apps$Chrome$Get extends StandardParameters {
|
|
3432
|
+
/**
|
|
3433
|
+
* 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.
|
|
3434
|
+
*/
|
|
3435
|
+
name?: string;
|
|
3436
|
+
}
|
|
3437
|
+
export class Resource$Customers$Apps$Web {
|
|
3438
|
+
context: APIRequestContext;
|
|
3439
|
+
constructor(context: APIRequestContext);
|
|
3440
|
+
/**
|
|
3441
|
+
* Get a specific app for a customer by its resource name.
|
|
3442
|
+
* @example
|
|
3443
|
+
* ```js
|
|
3444
|
+
* // Before running the sample:
|
|
3445
|
+
* // - Enable the API at:
|
|
3446
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3447
|
+
* // - Login into gcloud by running:
|
|
3448
|
+
* // ```sh
|
|
3449
|
+
* // $ gcloud auth application-default login
|
|
3450
|
+
* // ```
|
|
3451
|
+
* // - Install the npm module by running:
|
|
3452
|
+
* // ```sh
|
|
3453
|
+
* // $ npm install googleapis
|
|
3454
|
+
* // ```
|
|
3455
|
+
*
|
|
3456
|
+
* const {google} = require('googleapis');
|
|
3457
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3458
|
+
*
|
|
3459
|
+
* async function main() {
|
|
3460
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3461
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3462
|
+
* scopes: [
|
|
3463
|
+
* 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
|
|
3464
|
+
* ],
|
|
3465
|
+
* });
|
|
3466
|
+
*
|
|
3467
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3468
|
+
* const authClient = await auth.getClient();
|
|
3469
|
+
* google.options({auth: authClient});
|
|
3470
|
+
*
|
|
3471
|
+
* // Do the magic
|
|
3472
|
+
* const res = await chromemanagement.customers.apps.web.get({
|
|
3473
|
+
* // 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.
|
|
3474
|
+
* name: 'customers/my-customer/apps/web/[^/]+',
|
|
3475
|
+
* });
|
|
3476
|
+
* console.log(res.data);
|
|
3477
|
+
*
|
|
3478
|
+
* // Example response
|
|
3479
|
+
* // {
|
|
3480
|
+
* // "androidAppInfo": {},
|
|
3481
|
+
* // "appId": "my_appId",
|
|
3482
|
+
* // "chromeAppInfo": {},
|
|
3483
|
+
* // "description": "my_description",
|
|
3484
|
+
* // "detailUri": "my_detailUri",
|
|
3485
|
+
* // "displayName": "my_displayName",
|
|
3486
|
+
* // "firstPublishTime": "my_firstPublishTime",
|
|
3487
|
+
* // "homepageUri": "my_homepageUri",
|
|
3488
|
+
* // "iconUri": "my_iconUri",
|
|
3489
|
+
* // "isPaidApp": false,
|
|
3490
|
+
* // "latestPublishTime": "my_latestPublishTime",
|
|
3491
|
+
* // "name": "my_name",
|
|
3492
|
+
* // "privacyPolicyUri": "my_privacyPolicyUri",
|
|
3493
|
+
* // "publisher": "my_publisher",
|
|
3494
|
+
* // "reviewNumber": "my_reviewNumber",
|
|
3495
|
+
* // "reviewRating": {},
|
|
3496
|
+
* // "revisionId": "my_revisionId",
|
|
3497
|
+
* // "serviceError": {},
|
|
3498
|
+
* // "type": "my_type"
|
|
3499
|
+
* // }
|
|
3500
|
+
* }
|
|
3501
|
+
*
|
|
3502
|
+
* main().catch(e => {
|
|
3503
|
+
* console.error(e);
|
|
3504
|
+
* throw e;
|
|
3505
|
+
* });
|
|
3506
|
+
*
|
|
3507
|
+
* ```
|
|
3508
|
+
*
|
|
3509
|
+
* @param params - Parameters for request
|
|
3510
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3511
|
+
* @param callback - Optional callback that handles the response.
|
|
3512
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3513
|
+
*/
|
|
3514
|
+
get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3515
|
+
get(params?: Params$Resource$Customers$Apps$Web$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1AppDetails>>;
|
|
3516
|
+
get(params: Params$Resource$Customers$Apps$Web$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3517
|
+
get(params: Params$Resource$Customers$Apps$Web$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3518
|
+
get(params: Params$Resource$Customers$Apps$Web$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3519
|
+
get(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1AppDetails>): void;
|
|
3520
|
+
}
|
|
3521
|
+
export interface Params$Resource$Customers$Apps$Web$Get extends StandardParameters {
|
|
3522
|
+
/**
|
|
3523
|
+
* 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.
|
|
3524
|
+
*/
|
|
3525
|
+
name?: string;
|
|
3526
|
+
}
|
|
3527
|
+
export class Resource$Customers$Certificateprovisioningprocesses {
|
|
3528
|
+
context: APIRequestContext;
|
|
3529
|
+
operations: Resource$Customers$Certificateprovisioningprocesses$Operations;
|
|
3530
|
+
constructor(context: APIRequestContext);
|
|
3531
|
+
/**
|
|
3532
|
+
* Claims a certificate provisioning process. For each certificate provisioning process, this operation can succeed only for one `caller_instance_id`.
|
|
3533
|
+
* @example
|
|
3534
|
+
* ```js
|
|
3535
|
+
* // Before running the sample:
|
|
3536
|
+
* // - Enable the API at:
|
|
3537
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3538
|
+
* // - Login into gcloud by running:
|
|
3539
|
+
* // ```sh
|
|
3540
|
+
* // $ gcloud auth application-default login
|
|
3541
|
+
* // ```
|
|
3542
|
+
* // - Install the npm module by running:
|
|
3543
|
+
* // ```sh
|
|
3544
|
+
* // $ npm install googleapis
|
|
3545
|
+
* // ```
|
|
3546
|
+
*
|
|
3547
|
+
* const {google} = require('googleapis');
|
|
3548
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3549
|
+
*
|
|
3550
|
+
* async function main() {
|
|
3551
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3552
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3553
|
+
* scopes: [],
|
|
3554
|
+
* });
|
|
3555
|
+
*
|
|
3556
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3557
|
+
* const authClient = await auth.getClient();
|
|
3558
|
+
* google.options({auth: authClient});
|
|
3559
|
+
*
|
|
3560
|
+
* // Do the magic
|
|
3561
|
+
* const res =
|
|
3562
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.claim({
|
|
3563
|
+
* // 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.
|
|
3564
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
|
|
3565
|
+
*
|
|
3566
|
+
* // Request body metadata
|
|
3567
|
+
* requestBody: {
|
|
3568
|
+
* // request body parameters
|
|
3569
|
+
* // {
|
|
3570
|
+
* // "callerInstanceId": "my_callerInstanceId"
|
|
3571
|
+
* // }
|
|
3572
|
+
* },
|
|
3573
|
+
* });
|
|
3574
|
+
* console.log(res.data);
|
|
3575
|
+
*
|
|
3576
|
+
* // Example response
|
|
3577
|
+
* // {}
|
|
3578
|
+
* }
|
|
3579
|
+
*
|
|
3580
|
+
* main().catch(e => {
|
|
3581
|
+
* console.error(e);
|
|
3582
|
+
* throw e;
|
|
3583
|
+
* });
|
|
3584
|
+
*
|
|
3585
|
+
* ```
|
|
3586
|
+
*
|
|
3587
|
+
* @param params - Parameters for request
|
|
3588
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3589
|
+
* @param callback - Optional callback that handles the response.
|
|
3590
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3591
|
+
*/
|
|
3592
|
+
claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3593
|
+
claim(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>>;
|
|
3594
|
+
claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3595
|
+
claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
|
|
3596
|
+
claim(params: Params$Resource$Customers$Certificateprovisioningprocesses$Claim, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
|
|
3597
|
+
claim(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse>): void;
|
|
3598
|
+
/**
|
|
3599
|
+
* Retrieves a certificate provisioning process.
|
|
3600
|
+
* @example
|
|
3601
|
+
* ```js
|
|
3602
|
+
* // Before running the sample:
|
|
3603
|
+
* // - Enable the API at:
|
|
3604
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3605
|
+
* // - Login into gcloud by running:
|
|
3606
|
+
* // ```sh
|
|
3607
|
+
* // $ gcloud auth application-default login
|
|
3608
|
+
* // ```
|
|
3609
|
+
* // - Install the npm module by running:
|
|
3610
|
+
* // ```sh
|
|
3611
|
+
* // $ npm install googleapis
|
|
3612
|
+
* // ```
|
|
3613
|
+
*
|
|
3614
|
+
* const {google} = require('googleapis');
|
|
3615
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3616
|
+
*
|
|
3617
|
+
* async function main() {
|
|
3618
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3619
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3620
|
+
* scopes: [],
|
|
3621
|
+
* });
|
|
3622
|
+
*
|
|
3623
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3624
|
+
* const authClient = await auth.getClient();
|
|
3625
|
+
* google.options({auth: authClient});
|
|
3626
|
+
*
|
|
3627
|
+
* // Do the magic
|
|
3628
|
+
* const res =
|
|
3629
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.get({
|
|
3630
|
+
* // 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.
|
|
3631
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
|
|
3632
|
+
* });
|
|
3633
|
+
* console.log(res.data);
|
|
3634
|
+
*
|
|
3635
|
+
* // Example response
|
|
3636
|
+
* // {
|
|
3637
|
+
* // "chromeOsDevice": {},
|
|
3638
|
+
* // "chromeOsUserSession": {},
|
|
3639
|
+
* // "failureMessage": "my_failureMessage",
|
|
3640
|
+
* // "genericCaConnection": {},
|
|
3641
|
+
* // "genericProfile": {},
|
|
3642
|
+
* // "issuedCertificate": "my_issuedCertificate",
|
|
3643
|
+
* // "name": "my_name",
|
|
3644
|
+
* // "provisioningProfileId": "my_provisioningProfileId",
|
|
3645
|
+
* // "scepCaConnection": {},
|
|
3646
|
+
* // "scepProfile": {},
|
|
3647
|
+
* // "signData": "my_signData",
|
|
3648
|
+
* // "signature": "my_signature",
|
|
3649
|
+
* // "signatureAlgorithm": "my_signatureAlgorithm",
|
|
3650
|
+
* // "startTime": "my_startTime",
|
|
3651
|
+
* // "subjectPublicKeyInfo": "my_subjectPublicKeyInfo"
|
|
3652
|
+
* // }
|
|
3653
|
+
* }
|
|
3654
|
+
*
|
|
3655
|
+
* main().catch(e => {
|
|
3656
|
+
* console.error(e);
|
|
3657
|
+
* throw e;
|
|
3658
|
+
* });
|
|
3659
|
+
*
|
|
3660
|
+
* ```
|
|
3661
|
+
*
|
|
3662
|
+
* @param params - Parameters for request
|
|
3663
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3664
|
+
* @param callback - Optional callback that handles the response.
|
|
3665
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3666
|
+
*/
|
|
3667
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3668
|
+
get(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>>;
|
|
3669
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3670
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
|
|
3671
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
|
|
3672
|
+
get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess>): void;
|
|
3673
|
+
/**
|
|
3674
|
+
* Marks a certificate provisioning process as failed.
|
|
3675
|
+
* @example
|
|
3676
|
+
* ```js
|
|
3677
|
+
* // Before running the sample:
|
|
3678
|
+
* // - Enable the API at:
|
|
3679
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3680
|
+
* // - Login into gcloud by running:
|
|
3681
|
+
* // ```sh
|
|
3682
|
+
* // $ gcloud auth application-default login
|
|
3683
|
+
* // ```
|
|
3684
|
+
* // - Install the npm module by running:
|
|
3685
|
+
* // ```sh
|
|
3686
|
+
* // $ npm install googleapis
|
|
3687
|
+
* // ```
|
|
3688
|
+
*
|
|
3689
|
+
* const {google} = require('googleapis');
|
|
3690
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3691
|
+
*
|
|
3692
|
+
* async function main() {
|
|
3693
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3694
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3695
|
+
* scopes: [],
|
|
3696
|
+
* });
|
|
3697
|
+
*
|
|
3698
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3699
|
+
* const authClient = await auth.getClient();
|
|
3700
|
+
* google.options({auth: authClient});
|
|
3701
|
+
*
|
|
3702
|
+
* // Do the magic
|
|
3703
|
+
* const res =
|
|
3704
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.setFailure(
|
|
3705
|
+
* {
|
|
3706
|
+
* // 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.
|
|
3707
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
|
|
3708
|
+
*
|
|
3709
|
+
* // Request body metadata
|
|
3710
|
+
* requestBody: {
|
|
3711
|
+
* // request body parameters
|
|
3712
|
+
* // {
|
|
3713
|
+
* // "errorMessage": "my_errorMessage"
|
|
3714
|
+
* // }
|
|
3715
|
+
* },
|
|
3716
|
+
* },
|
|
3717
|
+
* );
|
|
3718
|
+
* console.log(res.data);
|
|
3719
|
+
*
|
|
3720
|
+
* // Example response
|
|
3721
|
+
* // {}
|
|
3722
|
+
* }
|
|
3723
|
+
*
|
|
3724
|
+
* main().catch(e => {
|
|
3725
|
+
* console.error(e);
|
|
3726
|
+
* throw e;
|
|
3727
|
+
* });
|
|
3728
|
+
*
|
|
3729
|
+
* ```
|
|
3730
|
+
*
|
|
3731
|
+
* @param params - Parameters for request
|
|
3732
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3733
|
+
* @param callback - Optional callback that handles the response.
|
|
3734
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3735
|
+
*/
|
|
3736
|
+
setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3737
|
+
setFailure(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>>;
|
|
3738
|
+
setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3739
|
+
setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
|
|
3740
|
+
setFailure(params: Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
|
|
3741
|
+
setFailure(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1SetFailureResponse>): void;
|
|
3742
|
+
/**
|
|
3743
|
+
* Requests the client that initiated a certificate provisioning process to sign data. This should only be called after `ClaimCertificateProvisioningProcess` has been successfully executed.
|
|
3744
|
+
* @example
|
|
3745
|
+
* ```js
|
|
3746
|
+
* // Before running the sample:
|
|
3747
|
+
* // - Enable the API at:
|
|
3748
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3749
|
+
* // - Login into gcloud by running:
|
|
3750
|
+
* // ```sh
|
|
3751
|
+
* // $ gcloud auth application-default login
|
|
3752
|
+
* // ```
|
|
3753
|
+
* // - Install the npm module by running:
|
|
3754
|
+
* // ```sh
|
|
3755
|
+
* // $ npm install googleapis
|
|
3756
|
+
* // ```
|
|
3757
|
+
*
|
|
3758
|
+
* const {google} = require('googleapis');
|
|
3759
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3760
|
+
*
|
|
3761
|
+
* async function main() {
|
|
3762
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3763
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3764
|
+
* scopes: [],
|
|
3765
|
+
* });
|
|
3766
|
+
*
|
|
3767
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3768
|
+
* const authClient = await auth.getClient();
|
|
3769
|
+
* google.options({auth: authClient});
|
|
3770
|
+
*
|
|
3771
|
+
* // Do the magic
|
|
3772
|
+
* const res =
|
|
3773
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.signData({
|
|
3774
|
+
* // 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.
|
|
3775
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
|
|
3776
|
+
*
|
|
3777
|
+
* // Request body metadata
|
|
3778
|
+
* requestBody: {
|
|
3779
|
+
* // request body parameters
|
|
3780
|
+
* // {
|
|
3781
|
+
* // "signData": "my_signData",
|
|
3782
|
+
* // "signatureAlgorithm": "my_signatureAlgorithm"
|
|
3783
|
+
* // }
|
|
3784
|
+
* },
|
|
3785
|
+
* });
|
|
3786
|
+
* console.log(res.data);
|
|
3787
|
+
*
|
|
3788
|
+
* // Example response
|
|
3789
|
+
* // {
|
|
3790
|
+
* // "done": false,
|
|
3791
|
+
* // "error": {},
|
|
3792
|
+
* // "metadata": {},
|
|
3793
|
+
* // "name": "my_name",
|
|
3794
|
+
* // "response": {}
|
|
3795
|
+
* // }
|
|
3796
|
+
* }
|
|
3797
|
+
*
|
|
3798
|
+
* main().catch(e => {
|
|
3799
|
+
* console.error(e);
|
|
3800
|
+
* throw e;
|
|
3801
|
+
* });
|
|
3802
|
+
*
|
|
3803
|
+
* ```
|
|
3804
|
+
*
|
|
3805
|
+
* @param params - Parameters for request
|
|
3806
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3807
|
+
* @param callback - Optional callback that handles the response.
|
|
3808
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3809
|
+
*/
|
|
3810
|
+
signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3811
|
+
signData(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
3812
|
+
signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3813
|
+
signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
3814
|
+
signData(params: Params$Resource$Customers$Certificateprovisioningprocesses$Signdata, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
3815
|
+
signData(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
3816
|
+
/**
|
|
3817
|
+
* Uploads a successfully issued certificate for a certificate provisioning process.
|
|
3818
|
+
* @example
|
|
3819
|
+
* ```js
|
|
3820
|
+
* // Before running the sample:
|
|
3821
|
+
* // - Enable the API at:
|
|
3822
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
3823
|
+
* // - Login into gcloud by running:
|
|
3824
|
+
* // ```sh
|
|
3825
|
+
* // $ gcloud auth application-default login
|
|
3826
|
+
* // ```
|
|
3827
|
+
* // - Install the npm module by running:
|
|
3828
|
+
* // ```sh
|
|
3829
|
+
* // $ npm install googleapis
|
|
3830
|
+
* // ```
|
|
3831
|
+
*
|
|
3832
|
+
* const {google} = require('googleapis');
|
|
3833
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
3834
|
+
*
|
|
3835
|
+
* async function main() {
|
|
3836
|
+
* const auth = new google.auth.GoogleAuth({
|
|
3837
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
3838
|
+
* scopes: [],
|
|
3839
|
+
* });
|
|
3840
|
+
*
|
|
3841
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
3842
|
+
* const authClient = await auth.getClient();
|
|
3843
|
+
* google.options({auth: authClient});
|
|
3844
|
+
*
|
|
3845
|
+
* // Do the magic
|
|
3846
|
+
* const res =
|
|
3847
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.uploadCertificate(
|
|
3848
|
+
* {
|
|
3849
|
+
* // 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.
|
|
3850
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse',
|
|
3851
|
+
*
|
|
3852
|
+
* // Request body metadata
|
|
3853
|
+
* requestBody: {
|
|
3854
|
+
* // request body parameters
|
|
3855
|
+
* // {
|
|
3856
|
+
* // "certificatePem": "my_certificatePem"
|
|
3857
|
+
* // }
|
|
3858
|
+
* },
|
|
3859
|
+
* },
|
|
3860
|
+
* );
|
|
3861
|
+
* console.log(res.data);
|
|
3862
|
+
*
|
|
3863
|
+
* // Example response
|
|
3864
|
+
* // {}
|
|
3865
|
+
* }
|
|
3866
|
+
*
|
|
3867
|
+
* main().catch(e => {
|
|
3868
|
+
* console.error(e);
|
|
3869
|
+
* throw e;
|
|
3870
|
+
* });
|
|
3871
|
+
*
|
|
3872
|
+
* ```
|
|
3873
|
+
*
|
|
3874
|
+
* @param params - Parameters for request
|
|
3875
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3876
|
+
* @param callback - Optional callback that handles the response.
|
|
3877
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3878
|
+
*/
|
|
3879
|
+
uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3880
|
+
uploadCertificate(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>>;
|
|
3881
|
+
uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3882
|
+
uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
|
|
3883
|
+
uploadCertificate(params: Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
|
|
3884
|
+
uploadCertificate(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse>): void;
|
|
3318
3885
|
}
|
|
3319
|
-
export interface Params$Resource$Customers$
|
|
3886
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Claim extends StandardParameters {
|
|
3320
3887
|
/**
|
|
3321
|
-
* Required.
|
|
3888
|
+
* 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
3889
|
*/
|
|
3323
3890
|
name?: string;
|
|
3891
|
+
/**
|
|
3892
|
+
* Request body metadata
|
|
3893
|
+
*/
|
|
3894
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest;
|
|
3324
3895
|
}
|
|
3325
|
-
export
|
|
3896
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Get extends StandardParameters {
|
|
3897
|
+
/**
|
|
3898
|
+
* 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.
|
|
3899
|
+
*/
|
|
3900
|
+
name?: string;
|
|
3901
|
+
}
|
|
3902
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Setfailure extends StandardParameters {
|
|
3903
|
+
/**
|
|
3904
|
+
* 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.
|
|
3905
|
+
*/
|
|
3906
|
+
name?: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* Request body metadata
|
|
3909
|
+
*/
|
|
3910
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1SetFailureRequest;
|
|
3911
|
+
}
|
|
3912
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Signdata extends StandardParameters {
|
|
3913
|
+
/**
|
|
3914
|
+
* 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.
|
|
3915
|
+
*/
|
|
3916
|
+
name?: string;
|
|
3917
|
+
/**
|
|
3918
|
+
* Request body metadata
|
|
3919
|
+
*/
|
|
3920
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1SignDataRequest;
|
|
3921
|
+
}
|
|
3922
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Uploadcertificate extends StandardParameters {
|
|
3923
|
+
/**
|
|
3924
|
+
* 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.
|
|
3925
|
+
*/
|
|
3926
|
+
name?: string;
|
|
3927
|
+
/**
|
|
3928
|
+
* Request body metadata
|
|
3929
|
+
*/
|
|
3930
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1UploadCertificateRequest;
|
|
3931
|
+
}
|
|
3932
|
+
export class Resource$Customers$Certificateprovisioningprocesses$Operations {
|
|
3326
3933
|
context: APIRequestContext;
|
|
3327
3934
|
constructor(context: APIRequestContext);
|
|
3328
3935
|
/**
|
|
3329
|
-
*
|
|
3936
|
+
* 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
3937
|
* @example
|
|
3331
3938
|
* ```js
|
|
3332
3939
|
* // Before running the sample:
|
|
@@ -3347,9 +3954,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
3347
3954
|
* async function main() {
|
|
3348
3955
|
* const auth = new google.auth.GoogleAuth({
|
|
3349
3956
|
* // 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
|
-
* ],
|
|
3957
|
+
* scopes: [],
|
|
3353
3958
|
* });
|
|
3354
3959
|
*
|
|
3355
3960
|
* // Acquire an auth client, and bind it to all future calls
|
|
@@ -3357,33 +3962,22 @@ export declare namespace chromemanagement_v1 {
|
|
|
3357
3962
|
* google.options({auth: authClient});
|
|
3358
3963
|
*
|
|
3359
3964
|
* // Do the magic
|
|
3360
|
-
* const res =
|
|
3361
|
-
*
|
|
3362
|
-
*
|
|
3363
|
-
*
|
|
3965
|
+
* const res =
|
|
3966
|
+
* await chromemanagement.customers.certificateProvisioningProcesses.operations.get(
|
|
3967
|
+
* {
|
|
3968
|
+
* // The name of the operation resource.
|
|
3969
|
+
* name: 'customers/my-customer/certificateProvisioningProcesses/my-certificateProvisioningProcesse/operations/my-operation',
|
|
3970
|
+
* },
|
|
3971
|
+
* );
|
|
3364
3972
|
* console.log(res.data);
|
|
3365
3973
|
*
|
|
3366
3974
|
* // Example response
|
|
3367
3975
|
* // {
|
|
3368
|
-
* // "
|
|
3369
|
-
* // "
|
|
3370
|
-
* // "
|
|
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",
|
|
3976
|
+
* // "done": false,
|
|
3977
|
+
* // "error": {},
|
|
3978
|
+
* // "metadata": {},
|
|
3379
3979
|
* // "name": "my_name",
|
|
3380
|
-
* // "
|
|
3381
|
-
* // "publisher": "my_publisher",
|
|
3382
|
-
* // "reviewNumber": "my_reviewNumber",
|
|
3383
|
-
* // "reviewRating": {},
|
|
3384
|
-
* // "revisionId": "my_revisionId",
|
|
3385
|
-
* // "serviceError": {},
|
|
3386
|
-
* // "type": "my_type"
|
|
3980
|
+
* // "response": {}
|
|
3387
3981
|
* // }
|
|
3388
3982
|
* }
|
|
3389
3983
|
*
|
|
@@ -3399,16 +3993,16 @@ export declare namespace chromemanagement_v1 {
|
|
|
3399
3993
|
* @param callback - Optional callback that handles the response.
|
|
3400
3994
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3401
3995
|
*/
|
|
3402
|
-
get(params: Params$Resource$Customers$
|
|
3403
|
-
get(params?: Params$Resource$Customers$
|
|
3404
|
-
get(params: Params$Resource$Customers$
|
|
3405
|
-
get(params: Params$Resource$Customers$
|
|
3406
|
-
get(params: Params$Resource$Customers$
|
|
3407
|
-
get(callback: BodyResponseCallback<Schema$
|
|
3996
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3997
|
+
get(params?: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
3998
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3999
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4000
|
+
get(params: Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4001
|
+
get(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
3408
4002
|
}
|
|
3409
|
-
export interface Params$Resource$Customers$
|
|
4003
|
+
export interface Params$Resource$Customers$Certificateprovisioningprocesses$Operations$Get extends StandardParameters {
|
|
3410
4004
|
/**
|
|
3411
|
-
*
|
|
4005
|
+
* The name of the operation resource.
|
|
3412
4006
|
*/
|
|
3413
4007
|
name?: string;
|
|
3414
4008
|
}
|
|
@@ -3539,6 +4133,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
3539
4133
|
* // "profileId": "my_profileId",
|
|
3540
4134
|
* // "profilePermanentId": "my_profilePermanentId",
|
|
3541
4135
|
* // "reportingData": {},
|
|
4136
|
+
* // "supportsFcmNotifications": false,
|
|
3542
4137
|
* // "userEmail": "my_userEmail",
|
|
3543
4138
|
* // "userId": "my_userId"
|
|
3544
4139
|
* // }
|
|
@@ -5758,5 +6353,239 @@ export declare namespace chromemanagement_v1 {
|
|
|
5758
6353
|
*/
|
|
5759
6354
|
requestBody?: Schema$GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest;
|
|
5760
6355
|
}
|
|
6356
|
+
export class Resource$Operations {
|
|
6357
|
+
context: APIRequestContext;
|
|
6358
|
+
constructor(context: APIRequestContext);
|
|
6359
|
+
/**
|
|
6360
|
+
* 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`.
|
|
6361
|
+
* @example
|
|
6362
|
+
* ```js
|
|
6363
|
+
* // Before running the sample:
|
|
6364
|
+
* // - Enable the API at:
|
|
6365
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
6366
|
+
* // - Login into gcloud by running:
|
|
6367
|
+
* // ```sh
|
|
6368
|
+
* // $ gcloud auth application-default login
|
|
6369
|
+
* // ```
|
|
6370
|
+
* // - Install the npm module by running:
|
|
6371
|
+
* // ```sh
|
|
6372
|
+
* // $ npm install googleapis
|
|
6373
|
+
* // ```
|
|
6374
|
+
*
|
|
6375
|
+
* const {google} = require('googleapis');
|
|
6376
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
6377
|
+
*
|
|
6378
|
+
* async function main() {
|
|
6379
|
+
* const auth = new google.auth.GoogleAuth({
|
|
6380
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6381
|
+
* scopes: [],
|
|
6382
|
+
* });
|
|
6383
|
+
*
|
|
6384
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
6385
|
+
* const authClient = await auth.getClient();
|
|
6386
|
+
* google.options({auth: authClient});
|
|
6387
|
+
*
|
|
6388
|
+
* // Do the magic
|
|
6389
|
+
* const res = await chromemanagement.operations.cancel({
|
|
6390
|
+
* // The name of the operation resource to be cancelled.
|
|
6391
|
+
* name: 'operations/.*',
|
|
6392
|
+
*
|
|
6393
|
+
* // Request body metadata
|
|
6394
|
+
* requestBody: {
|
|
6395
|
+
* // request body parameters
|
|
6396
|
+
* // {}
|
|
6397
|
+
* },
|
|
6398
|
+
* });
|
|
6399
|
+
* console.log(res.data);
|
|
6400
|
+
*
|
|
6401
|
+
* // Example response
|
|
6402
|
+
* // {}
|
|
6403
|
+
* }
|
|
6404
|
+
*
|
|
6405
|
+
* main().catch(e => {
|
|
6406
|
+
* console.error(e);
|
|
6407
|
+
* throw e;
|
|
6408
|
+
* });
|
|
6409
|
+
*
|
|
6410
|
+
* ```
|
|
6411
|
+
*
|
|
6412
|
+
* @param params - Parameters for request
|
|
6413
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6414
|
+
* @param callback - Optional callback that handles the response.
|
|
6415
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6416
|
+
*/
|
|
6417
|
+
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6418
|
+
cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
6419
|
+
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6420
|
+
cancel(params: Params$Resource$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6421
|
+
cancel(params: Params$Resource$Operations$Cancel, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6422
|
+
cancel(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6423
|
+
/**
|
|
6424
|
+
* 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`.
|
|
6425
|
+
* @example
|
|
6426
|
+
* ```js
|
|
6427
|
+
* // Before running the sample:
|
|
6428
|
+
* // - Enable the API at:
|
|
6429
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
6430
|
+
* // - Login into gcloud by running:
|
|
6431
|
+
* // ```sh
|
|
6432
|
+
* // $ gcloud auth application-default login
|
|
6433
|
+
* // ```
|
|
6434
|
+
* // - Install the npm module by running:
|
|
6435
|
+
* // ```sh
|
|
6436
|
+
* // $ npm install googleapis
|
|
6437
|
+
* // ```
|
|
6438
|
+
*
|
|
6439
|
+
* const {google} = require('googleapis');
|
|
6440
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
6441
|
+
*
|
|
6442
|
+
* async function main() {
|
|
6443
|
+
* const auth = new google.auth.GoogleAuth({
|
|
6444
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6445
|
+
* scopes: [],
|
|
6446
|
+
* });
|
|
6447
|
+
*
|
|
6448
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
6449
|
+
* const authClient = await auth.getClient();
|
|
6450
|
+
* google.options({auth: authClient});
|
|
6451
|
+
*
|
|
6452
|
+
* // Do the magic
|
|
6453
|
+
* const res = await chromemanagement.operations.delete({
|
|
6454
|
+
* // The name of the operation resource to be deleted.
|
|
6455
|
+
* name: 'operations/.*',
|
|
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
|
+
delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6476
|
+
delete(params?: Params$Resource$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
6477
|
+
delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6478
|
+
delete(params: Params$Resource$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6479
|
+
delete(params: Params$Resource$Operations$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6480
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
6481
|
+
/**
|
|
6482
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `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.list({
|
|
6512
|
+
* // The standard list filter.
|
|
6513
|
+
* filter: 'placeholder-value',
|
|
6514
|
+
* // The name of the operation's parent resource.
|
|
6515
|
+
* name: 'operations',
|
|
6516
|
+
* // The standard list page size.
|
|
6517
|
+
* pageSize: 'placeholder-value',
|
|
6518
|
+
* // The standard list page token.
|
|
6519
|
+
* pageToken: 'placeholder-value',
|
|
6520
|
+
* // 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.
|
|
6521
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
6522
|
+
* });
|
|
6523
|
+
* console.log(res.data);
|
|
6524
|
+
*
|
|
6525
|
+
* // Example response
|
|
6526
|
+
* // {
|
|
6527
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
6528
|
+
* // "operations": [],
|
|
6529
|
+
* // "unreachable": []
|
|
6530
|
+
* // }
|
|
6531
|
+
* }
|
|
6532
|
+
*
|
|
6533
|
+
* main().catch(e => {
|
|
6534
|
+
* console.error(e);
|
|
6535
|
+
* throw e;
|
|
6536
|
+
* });
|
|
6537
|
+
*
|
|
6538
|
+
* ```
|
|
6539
|
+
*
|
|
6540
|
+
* @param params - Parameters for request
|
|
6541
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6542
|
+
* @param callback - Optional callback that handles the response.
|
|
6543
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6544
|
+
*/
|
|
6545
|
+
list(params: Params$Resource$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6546
|
+
list(params?: Params$Resource$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>>;
|
|
6547
|
+
list(params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6548
|
+
list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
|
|
6549
|
+
list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
|
|
6550
|
+
list(callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
|
|
6551
|
+
}
|
|
6552
|
+
export interface Params$Resource$Operations$Cancel extends StandardParameters {
|
|
6553
|
+
/**
|
|
6554
|
+
* The name of the operation resource to be cancelled.
|
|
6555
|
+
*/
|
|
6556
|
+
name?: string;
|
|
6557
|
+
/**
|
|
6558
|
+
* Request body metadata
|
|
6559
|
+
*/
|
|
6560
|
+
requestBody?: Schema$GoogleLongrunningCancelOperationRequest;
|
|
6561
|
+
}
|
|
6562
|
+
export interface Params$Resource$Operations$Delete extends StandardParameters {
|
|
6563
|
+
/**
|
|
6564
|
+
* The name of the operation resource to be deleted.
|
|
6565
|
+
*/
|
|
6566
|
+
name?: string;
|
|
6567
|
+
}
|
|
6568
|
+
export interface Params$Resource$Operations$List extends StandardParameters {
|
|
6569
|
+
/**
|
|
6570
|
+
* The standard list filter.
|
|
6571
|
+
*/
|
|
6572
|
+
filter?: string;
|
|
6573
|
+
/**
|
|
6574
|
+
* The name of the operation's parent resource.
|
|
6575
|
+
*/
|
|
6576
|
+
name?: string;
|
|
6577
|
+
/**
|
|
6578
|
+
* The standard list page size.
|
|
6579
|
+
*/
|
|
6580
|
+
pageSize?: number;
|
|
6581
|
+
/**
|
|
6582
|
+
* The standard list page token.
|
|
6583
|
+
*/
|
|
6584
|
+
pageToken?: string;
|
|
6585
|
+
/**
|
|
6586
|
+
* 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.
|
|
6587
|
+
*/
|
|
6588
|
+
returnPartialSuccess?: boolean;
|
|
6589
|
+
}
|
|
5761
6590
|
export {};
|
|
5762
6591
|
}
|