@maxim_mazurok/gapi.client.chromemanagement-v1 0.1.20250915 → 0.1.20251007
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/index.d.ts +467 -7
- package/package.json +1 -1
- package/readme.md +14 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://chromemanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251007
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1084,7 +1084,7 @@ declare namespace gapi.client {
|
|
|
1084
1084
|
scepProfile?: GoogleChromeManagementVersionsV1ScepProfile;
|
|
1085
1085
|
/** Output only. The signature of `signature_algorithm`, generated using the client's private key using `signature_algorithm`. This field is only present after the `SignData` operation has finished. */
|
|
1086
1086
|
signature?: string;
|
|
1087
|
-
/** Output only. The signature algorithm that the
|
|
1087
|
+
/** 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. */
|
|
1088
1088
|
signatureAlgorithm?: string;
|
|
1089
1089
|
/** Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated. */
|
|
1090
1090
|
signData?: string;
|
|
@@ -1142,6 +1142,8 @@ declare namespace gapi.client {
|
|
|
1142
1142
|
profilePermanentId?: string;
|
|
1143
1143
|
/** Output only. Detailed reporting data of the profile. This information is only available when the profile reporting policy is enabled. */
|
|
1144
1144
|
reportingData?: GoogleChromeManagementVersionsV1ReportingData;
|
|
1145
|
+
/** Output only. Whether the profile supports FCM notifications. */
|
|
1146
|
+
supportsFcmNotifications?: boolean;
|
|
1145
1147
|
/** Output only. Email address of the user to which the profile belongs. */
|
|
1146
1148
|
userEmail?: string;
|
|
1147
1149
|
/** Output only. Unique Directory API ID of the user that can be used in Admin SDK Users API. */
|
|
@@ -1185,6 +1187,11 @@ declare namespace gapi.client {
|
|
|
1185
1187
|
/** Output only. The primary e-mail address of the user. */
|
|
1186
1188
|
userPrimaryEmail?: string;
|
|
1187
1189
|
}
|
|
1190
|
+
interface GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest {
|
|
1191
|
+
/** Required. The instance id of the caller. */
|
|
1192
|
+
callerInstanceId?: string;
|
|
1193
|
+
}
|
|
1194
|
+
interface GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse {}
|
|
1188
1195
|
interface GoogleChromeManagementVersionsV1DeviceInfo {
|
|
1189
1196
|
/** Output only. Device ID that identifies the affiliated device on which the profile exists. If the device type is CHROME_BROWSER, then this represents a unique Directory API ID of the device that can be used in Admin SDK Browsers API. */
|
|
1190
1197
|
affiliatedDeviceId?: string;
|
|
@@ -1196,11 +1203,11 @@ declare namespace gapi.client {
|
|
|
1196
1203
|
machine?: string;
|
|
1197
1204
|
}
|
|
1198
1205
|
interface GoogleChromeManagementVersionsV1GenericCaConnection {
|
|
1199
|
-
/** Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
1206
|
+
/** Output only. A string that references the administrator-provided configuration for the certification authority service. */
|
|
1200
1207
|
caConnectionAdapterConfigReference?: string;
|
|
1201
1208
|
}
|
|
1202
1209
|
interface GoogleChromeManagementVersionsV1GenericProfile {
|
|
1203
|
-
/** Output only. A string that references the administrator-provided configuration for the certificate provisioning profile.
|
|
1210
|
+
/** Output only. A string that references the administrator-provided configuration for the certificate provisioning profile. */
|
|
1204
1211
|
profileAdapterConfigReference?: string;
|
|
1205
1212
|
}
|
|
1206
1213
|
interface GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse {
|
|
@@ -1290,11 +1297,11 @@ declare namespace gapi.client {
|
|
|
1290
1297
|
value?: string;
|
|
1291
1298
|
}
|
|
1292
1299
|
interface GoogleChromeManagementVersionsV1ScepCaConnection {
|
|
1293
|
-
/** Output only. A string that references the administrator-provided configuration for the certification authority service.
|
|
1300
|
+
/** Output only. A string that references the administrator-provided configuration for the certification authority service. */
|
|
1294
1301
|
caConnectionAdapterConfigReference?: string;
|
|
1295
1302
|
}
|
|
1296
1303
|
interface GoogleChromeManagementVersionsV1ScepProfile {
|
|
1297
|
-
/** Output only. The certificate template name as defined by the admin on their on-prem infrastructure.
|
|
1304
|
+
/** 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. */
|
|
1298
1305
|
certificateTemplateName?: string;
|
|
1299
1306
|
/** Output only. The country of the subject. */
|
|
1300
1307
|
country?: string;
|
|
@@ -1313,10 +1320,21 @@ declare namespace gapi.client {
|
|
|
1313
1320
|
/** Output only. The common name of the subject. */
|
|
1314
1321
|
subjectCommonName?: string;
|
|
1315
1322
|
}
|
|
1323
|
+
interface GoogleChromeManagementVersionsV1SetFailureRequest {
|
|
1324
|
+
/** Required. A message describing the failure details. It is displayed on the ChromeOS client device. */
|
|
1325
|
+
errorMessage?: string;
|
|
1326
|
+
}
|
|
1327
|
+
interface GoogleChromeManagementVersionsV1SetFailureResponse {}
|
|
1316
1328
|
interface GoogleChromeManagementVersionsV1SignDataMetadata {
|
|
1317
1329
|
/** Output only. Start time of the SignData operation. */
|
|
1318
1330
|
startTime?: string;
|
|
1319
1331
|
}
|
|
1332
|
+
interface GoogleChromeManagementVersionsV1SignDataRequest {
|
|
1333
|
+
/** Required. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`. */
|
|
1334
|
+
signatureAlgorithm?: string;
|
|
1335
|
+
/** Required. The data that the client was asked to sign. */
|
|
1336
|
+
signData?: string;
|
|
1337
|
+
}
|
|
1320
1338
|
interface GoogleChromeManagementVersionsV1SignDataResponse {
|
|
1321
1339
|
/** Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`. */
|
|
1322
1340
|
certificateProvisioningProcess?: GoogleChromeManagementVersionsV1CertificateProvisioningProcess;
|
|
@@ -1324,7 +1342,7 @@ declare namespace gapi.client {
|
|
|
1324
1342
|
interface GoogleChromeManagementVersionsV1SubjectAltName {
|
|
1325
1343
|
/** Output only. The type of the SubjectAltName extension. */
|
|
1326
1344
|
type?: string;
|
|
1327
|
-
/** Output only. The value of the subject alternative name with
|
|
1345
|
+
/** Output only. The value of the subject alternative name with respect to the `type`. */
|
|
1328
1346
|
value?: string;
|
|
1329
1347
|
}
|
|
1330
1348
|
interface GoogleChromeManagementVersionsV1ThirdPartyProfileUser {
|
|
@@ -1333,6 +1351,32 @@ declare namespace gapi.client {
|
|
|
1333
1351
|
/** Output only. The ID of the organizational unit assigned to the user. */
|
|
1334
1352
|
orgUnitId?: string;
|
|
1335
1353
|
}
|
|
1354
|
+
interface GoogleChromeManagementVersionsV1UploadCertificateRequest {
|
|
1355
|
+
/** Required. The issued certificate in PEM format. */
|
|
1356
|
+
certificatePem?: string;
|
|
1357
|
+
}
|
|
1358
|
+
interface GoogleChromeManagementVersionsV1UploadCertificateResponse {}
|
|
1359
|
+
interface GoogleLongrunningCancelOperationRequest {}
|
|
1360
|
+
interface GoogleLongrunningListOperationsResponse {
|
|
1361
|
+
/** The standard List next-page token. */
|
|
1362
|
+
nextPageToken?: string;
|
|
1363
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
1364
|
+
operations?: GoogleLongrunningOperation[];
|
|
1365
|
+
/** 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. */
|
|
1366
|
+
unreachable?: string[];
|
|
1367
|
+
}
|
|
1368
|
+
interface GoogleLongrunningOperation {
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
done?: boolean;
|
|
1371
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
1372
|
+
error?: GoogleRpcStatus;
|
|
1373
|
+
/** 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. */
|
|
1374
|
+
metadata?: {[P in string]: any};
|
|
1375
|
+
/** 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}`. */
|
|
1376
|
+
name?: string;
|
|
1377
|
+
/** 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`. */
|
|
1378
|
+
response?: {[P in string]: any};
|
|
1379
|
+
}
|
|
1336
1380
|
interface GoogleProtobufEmpty {}
|
|
1337
1381
|
interface GoogleRpcStatus {
|
|
1338
1382
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
@@ -1547,6 +1591,297 @@ declare namespace gapi.client {
|
|
|
1547
1591
|
chrome: ChromeResource;
|
|
1548
1592
|
web: WebResource;
|
|
1549
1593
|
}
|
|
1594
|
+
interface OperationsResource {
|
|
1595
|
+
/** 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. */
|
|
1596
|
+
get(request?: {
|
|
1597
|
+
/** V1 error format. */
|
|
1598
|
+
'$.xgafv'?: string;
|
|
1599
|
+
/** OAuth access token. */
|
|
1600
|
+
access_token?: string;
|
|
1601
|
+
/** Data format for response. */
|
|
1602
|
+
alt?: string;
|
|
1603
|
+
/** JSONP */
|
|
1604
|
+
callback?: string;
|
|
1605
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1606
|
+
fields?: string;
|
|
1607
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1608
|
+
key?: string;
|
|
1609
|
+
/** The name of the operation resource. */
|
|
1610
|
+
name: string;
|
|
1611
|
+
/** OAuth 2.0 token for the current user. */
|
|
1612
|
+
oauth_token?: string;
|
|
1613
|
+
/** Returns response with indentations and line breaks. */
|
|
1614
|
+
prettyPrint?: boolean;
|
|
1615
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1616
|
+
quotaUser?: string;
|
|
1617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1618
|
+
upload_protocol?: string;
|
|
1619
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1620
|
+
uploadType?: string;
|
|
1621
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1622
|
+
}
|
|
1623
|
+
interface CertificateProvisioningProcessesResource {
|
|
1624
|
+
/** Claims a certificate provisioning process. For each certificate provisioning process, this operation can succeed only for one `caller_instance_id`. */
|
|
1625
|
+
claim(request: {
|
|
1626
|
+
/** V1 error format. */
|
|
1627
|
+
'$.xgafv'?: string;
|
|
1628
|
+
/** OAuth access token. */
|
|
1629
|
+
access_token?: string;
|
|
1630
|
+
/** Data format for response. */
|
|
1631
|
+
alt?: string;
|
|
1632
|
+
/** JSONP */
|
|
1633
|
+
callback?: string;
|
|
1634
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1635
|
+
fields?: string;
|
|
1636
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1637
|
+
key?: string;
|
|
1638
|
+
/** 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. */
|
|
1639
|
+
name: string;
|
|
1640
|
+
/** OAuth 2.0 token for the current user. */
|
|
1641
|
+
oauth_token?: string;
|
|
1642
|
+
/** Returns response with indentations and line breaks. */
|
|
1643
|
+
prettyPrint?: boolean;
|
|
1644
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1645
|
+
quotaUser?: string;
|
|
1646
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1647
|
+
upload_protocol?: string;
|
|
1648
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1649
|
+
uploadType?: string;
|
|
1650
|
+
/** Request body */
|
|
1651
|
+
resource: GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest;
|
|
1652
|
+
}): Request<{}>;
|
|
1653
|
+
claim(
|
|
1654
|
+
request: {
|
|
1655
|
+
/** V1 error format. */
|
|
1656
|
+
'$.xgafv'?: string;
|
|
1657
|
+
/** OAuth access token. */
|
|
1658
|
+
access_token?: string;
|
|
1659
|
+
/** Data format for response. */
|
|
1660
|
+
alt?: string;
|
|
1661
|
+
/** JSONP */
|
|
1662
|
+
callback?: string;
|
|
1663
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1664
|
+
fields?: string;
|
|
1665
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1666
|
+
key?: string;
|
|
1667
|
+
/** 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. */
|
|
1668
|
+
name: string;
|
|
1669
|
+
/** OAuth 2.0 token for the current user. */
|
|
1670
|
+
oauth_token?: string;
|
|
1671
|
+
/** Returns response with indentations and line breaks. */
|
|
1672
|
+
prettyPrint?: boolean;
|
|
1673
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1674
|
+
quotaUser?: string;
|
|
1675
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1676
|
+
upload_protocol?: string;
|
|
1677
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1678
|
+
uploadType?: string;
|
|
1679
|
+
},
|
|
1680
|
+
body: GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest,
|
|
1681
|
+
): Request<{}>;
|
|
1682
|
+
/** Retrieves a certificate provisioning process. */
|
|
1683
|
+
get(request?: {
|
|
1684
|
+
/** V1 error format. */
|
|
1685
|
+
'$.xgafv'?: string;
|
|
1686
|
+
/** OAuth access token. */
|
|
1687
|
+
access_token?: string;
|
|
1688
|
+
/** Data format for response. */
|
|
1689
|
+
alt?: string;
|
|
1690
|
+
/** JSONP */
|
|
1691
|
+
callback?: string;
|
|
1692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1693
|
+
fields?: string;
|
|
1694
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1695
|
+
key?: string;
|
|
1696
|
+
/** 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. */
|
|
1697
|
+
name: string;
|
|
1698
|
+
/** OAuth 2.0 token for the current user. */
|
|
1699
|
+
oauth_token?: string;
|
|
1700
|
+
/** Returns response with indentations and line breaks. */
|
|
1701
|
+
prettyPrint?: boolean;
|
|
1702
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1703
|
+
quotaUser?: string;
|
|
1704
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1705
|
+
upload_protocol?: string;
|
|
1706
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1707
|
+
uploadType?: string;
|
|
1708
|
+
}): Request<GoogleChromeManagementVersionsV1CertificateProvisioningProcess>;
|
|
1709
|
+
/** Marks a certificate provisioning process as failed. */
|
|
1710
|
+
setFailure(request: {
|
|
1711
|
+
/** V1 error format. */
|
|
1712
|
+
'$.xgafv'?: string;
|
|
1713
|
+
/** OAuth access token. */
|
|
1714
|
+
access_token?: string;
|
|
1715
|
+
/** Data format for response. */
|
|
1716
|
+
alt?: string;
|
|
1717
|
+
/** JSONP */
|
|
1718
|
+
callback?: string;
|
|
1719
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1720
|
+
fields?: string;
|
|
1721
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1722
|
+
key?: string;
|
|
1723
|
+
/** 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. */
|
|
1724
|
+
name: string;
|
|
1725
|
+
/** OAuth 2.0 token for the current user. */
|
|
1726
|
+
oauth_token?: string;
|
|
1727
|
+
/** Returns response with indentations and line breaks. */
|
|
1728
|
+
prettyPrint?: boolean;
|
|
1729
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1730
|
+
quotaUser?: string;
|
|
1731
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1732
|
+
upload_protocol?: string;
|
|
1733
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1734
|
+
uploadType?: string;
|
|
1735
|
+
/** Request body */
|
|
1736
|
+
resource: GoogleChromeManagementVersionsV1SetFailureRequest;
|
|
1737
|
+
}): Request<{}>;
|
|
1738
|
+
setFailure(
|
|
1739
|
+
request: {
|
|
1740
|
+
/** V1 error format. */
|
|
1741
|
+
'$.xgafv'?: string;
|
|
1742
|
+
/** OAuth access token. */
|
|
1743
|
+
access_token?: string;
|
|
1744
|
+
/** Data format for response. */
|
|
1745
|
+
alt?: string;
|
|
1746
|
+
/** JSONP */
|
|
1747
|
+
callback?: string;
|
|
1748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1749
|
+
fields?: string;
|
|
1750
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1751
|
+
key?: string;
|
|
1752
|
+
/** 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. */
|
|
1753
|
+
name: string;
|
|
1754
|
+
/** OAuth 2.0 token for the current user. */
|
|
1755
|
+
oauth_token?: string;
|
|
1756
|
+
/** Returns response with indentations and line breaks. */
|
|
1757
|
+
prettyPrint?: boolean;
|
|
1758
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1759
|
+
quotaUser?: string;
|
|
1760
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1761
|
+
upload_protocol?: string;
|
|
1762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1763
|
+
uploadType?: string;
|
|
1764
|
+
},
|
|
1765
|
+
body: GoogleChromeManagementVersionsV1SetFailureRequest,
|
|
1766
|
+
): Request<{}>;
|
|
1767
|
+
/** Requests the client that initiated a certificate provisioning process to sign data. This should only be called after `ClaimCertificateProvisioningProcess` has been successfully executed. */
|
|
1768
|
+
signData(request: {
|
|
1769
|
+
/** V1 error format. */
|
|
1770
|
+
'$.xgafv'?: string;
|
|
1771
|
+
/** OAuth access token. */
|
|
1772
|
+
access_token?: string;
|
|
1773
|
+
/** Data format for response. */
|
|
1774
|
+
alt?: string;
|
|
1775
|
+
/** JSONP */
|
|
1776
|
+
callback?: string;
|
|
1777
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1778
|
+
fields?: string;
|
|
1779
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1780
|
+
key?: string;
|
|
1781
|
+
/** 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. */
|
|
1782
|
+
name: string;
|
|
1783
|
+
/** OAuth 2.0 token for the current user. */
|
|
1784
|
+
oauth_token?: string;
|
|
1785
|
+
/** Returns response with indentations and line breaks. */
|
|
1786
|
+
prettyPrint?: boolean;
|
|
1787
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1788
|
+
quotaUser?: string;
|
|
1789
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1790
|
+
upload_protocol?: string;
|
|
1791
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1792
|
+
uploadType?: string;
|
|
1793
|
+
/** Request body */
|
|
1794
|
+
resource: GoogleChromeManagementVersionsV1SignDataRequest;
|
|
1795
|
+
}): Request<GoogleLongrunningOperation>;
|
|
1796
|
+
signData(
|
|
1797
|
+
request: {
|
|
1798
|
+
/** V1 error format. */
|
|
1799
|
+
'$.xgafv'?: string;
|
|
1800
|
+
/** OAuth access token. */
|
|
1801
|
+
access_token?: string;
|
|
1802
|
+
/** Data format for response. */
|
|
1803
|
+
alt?: string;
|
|
1804
|
+
/** JSONP */
|
|
1805
|
+
callback?: string;
|
|
1806
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1807
|
+
fields?: string;
|
|
1808
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1809
|
+
key?: string;
|
|
1810
|
+
/** 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. */
|
|
1811
|
+
name: string;
|
|
1812
|
+
/** OAuth 2.0 token for the current user. */
|
|
1813
|
+
oauth_token?: string;
|
|
1814
|
+
/** Returns response with indentations and line breaks. */
|
|
1815
|
+
prettyPrint?: boolean;
|
|
1816
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1817
|
+
quotaUser?: string;
|
|
1818
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1819
|
+
upload_protocol?: string;
|
|
1820
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1821
|
+
uploadType?: string;
|
|
1822
|
+
},
|
|
1823
|
+
body: GoogleChromeManagementVersionsV1SignDataRequest,
|
|
1824
|
+
): Request<GoogleLongrunningOperation>;
|
|
1825
|
+
/** Uploads a successfully issued certificate for a certificate provisioning process. */
|
|
1826
|
+
uploadCertificate(request: {
|
|
1827
|
+
/** V1 error format. */
|
|
1828
|
+
'$.xgafv'?: string;
|
|
1829
|
+
/** OAuth access token. */
|
|
1830
|
+
access_token?: string;
|
|
1831
|
+
/** Data format for response. */
|
|
1832
|
+
alt?: string;
|
|
1833
|
+
/** JSONP */
|
|
1834
|
+
callback?: string;
|
|
1835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1836
|
+
fields?: string;
|
|
1837
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1838
|
+
key?: string;
|
|
1839
|
+
/** 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. */
|
|
1840
|
+
name: string;
|
|
1841
|
+
/** OAuth 2.0 token for the current user. */
|
|
1842
|
+
oauth_token?: string;
|
|
1843
|
+
/** Returns response with indentations and line breaks. */
|
|
1844
|
+
prettyPrint?: boolean;
|
|
1845
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1846
|
+
quotaUser?: string;
|
|
1847
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1848
|
+
upload_protocol?: string;
|
|
1849
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1850
|
+
uploadType?: string;
|
|
1851
|
+
/** Request body */
|
|
1852
|
+
resource: GoogleChromeManagementVersionsV1UploadCertificateRequest;
|
|
1853
|
+
}): Request<{}>;
|
|
1854
|
+
uploadCertificate(
|
|
1855
|
+
request: {
|
|
1856
|
+
/** V1 error format. */
|
|
1857
|
+
'$.xgafv'?: string;
|
|
1858
|
+
/** OAuth access token. */
|
|
1859
|
+
access_token?: string;
|
|
1860
|
+
/** Data format for response. */
|
|
1861
|
+
alt?: string;
|
|
1862
|
+
/** JSONP */
|
|
1863
|
+
callback?: string;
|
|
1864
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1865
|
+
fields?: string;
|
|
1866
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1867
|
+
key?: string;
|
|
1868
|
+
/** 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. */
|
|
1869
|
+
name: string;
|
|
1870
|
+
/** OAuth 2.0 token for the current user. */
|
|
1871
|
+
oauth_token?: string;
|
|
1872
|
+
/** Returns response with indentations and line breaks. */
|
|
1873
|
+
prettyPrint?: boolean;
|
|
1874
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1875
|
+
quotaUser?: string;
|
|
1876
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1877
|
+
upload_protocol?: string;
|
|
1878
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1879
|
+
uploadType?: string;
|
|
1880
|
+
},
|
|
1881
|
+
body: GoogleChromeManagementVersionsV1UploadCertificateRequest,
|
|
1882
|
+
): Request<{}>;
|
|
1883
|
+
operations: OperationsResource;
|
|
1884
|
+
}
|
|
1550
1885
|
interface CommandsResource {
|
|
1551
1886
|
/** Creates a Chrome browser profile remote command. */
|
|
1552
1887
|
create(request: {
|
|
@@ -2495,12 +2830,137 @@ declare namespace gapi.client {
|
|
|
2495
2830
|
}
|
|
2496
2831
|
interface CustomersResource {
|
|
2497
2832
|
apps: AppsResource;
|
|
2833
|
+
certificateProvisioningProcesses: CertificateProvisioningProcessesResource;
|
|
2498
2834
|
profiles: ProfilesResource;
|
|
2499
2835
|
reports: ReportsResource;
|
|
2500
2836
|
telemetry: TelemetryResource;
|
|
2501
2837
|
thirdPartyProfileUsers: ThirdPartyProfileUsersResource;
|
|
2502
2838
|
}
|
|
2839
|
+
interface OperationsResource {
|
|
2840
|
+
/** 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`. */
|
|
2841
|
+
cancel(request: {
|
|
2842
|
+
/** V1 error format. */
|
|
2843
|
+
'$.xgafv'?: string;
|
|
2844
|
+
/** OAuth access token. */
|
|
2845
|
+
access_token?: string;
|
|
2846
|
+
/** Data format for response. */
|
|
2847
|
+
alt?: string;
|
|
2848
|
+
/** JSONP */
|
|
2849
|
+
callback?: string;
|
|
2850
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2851
|
+
fields?: string;
|
|
2852
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2853
|
+
key?: string;
|
|
2854
|
+
/** The name of the operation resource to be cancelled. */
|
|
2855
|
+
name: string;
|
|
2856
|
+
/** OAuth 2.0 token for the current user. */
|
|
2857
|
+
oauth_token?: string;
|
|
2858
|
+
/** Returns response with indentations and line breaks. */
|
|
2859
|
+
prettyPrint?: boolean;
|
|
2860
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2861
|
+
quotaUser?: string;
|
|
2862
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2863
|
+
upload_protocol?: string;
|
|
2864
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2865
|
+
uploadType?: string;
|
|
2866
|
+
/** Request body */
|
|
2867
|
+
resource: GoogleLongrunningCancelOperationRequest;
|
|
2868
|
+
}): Request<{}>;
|
|
2869
|
+
cancel(
|
|
2870
|
+
request: {
|
|
2871
|
+
/** V1 error format. */
|
|
2872
|
+
'$.xgafv'?: string;
|
|
2873
|
+
/** OAuth access token. */
|
|
2874
|
+
access_token?: string;
|
|
2875
|
+
/** Data format for response. */
|
|
2876
|
+
alt?: string;
|
|
2877
|
+
/** JSONP */
|
|
2878
|
+
callback?: string;
|
|
2879
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2880
|
+
fields?: string;
|
|
2881
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2882
|
+
key?: string;
|
|
2883
|
+
/** The name of the operation resource to be cancelled. */
|
|
2884
|
+
name: string;
|
|
2885
|
+
/** OAuth 2.0 token for the current user. */
|
|
2886
|
+
oauth_token?: string;
|
|
2887
|
+
/** Returns response with indentations and line breaks. */
|
|
2888
|
+
prettyPrint?: boolean;
|
|
2889
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2890
|
+
quotaUser?: string;
|
|
2891
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2892
|
+
upload_protocol?: string;
|
|
2893
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2894
|
+
uploadType?: string;
|
|
2895
|
+
},
|
|
2896
|
+
body: GoogleLongrunningCancelOperationRequest,
|
|
2897
|
+
): Request<{}>;
|
|
2898
|
+
/** 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`. */
|
|
2899
|
+
delete(request?: {
|
|
2900
|
+
/** V1 error format. */
|
|
2901
|
+
'$.xgafv'?: string;
|
|
2902
|
+
/** OAuth access token. */
|
|
2903
|
+
access_token?: string;
|
|
2904
|
+
/** Data format for response. */
|
|
2905
|
+
alt?: string;
|
|
2906
|
+
/** JSONP */
|
|
2907
|
+
callback?: string;
|
|
2908
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2909
|
+
fields?: string;
|
|
2910
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2911
|
+
key?: string;
|
|
2912
|
+
/** The name of the operation resource to be deleted. */
|
|
2913
|
+
name: string;
|
|
2914
|
+
/** OAuth 2.0 token for the current user. */
|
|
2915
|
+
oauth_token?: string;
|
|
2916
|
+
/** Returns response with indentations and line breaks. */
|
|
2917
|
+
prettyPrint?: boolean;
|
|
2918
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2919
|
+
quotaUser?: string;
|
|
2920
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2921
|
+
upload_protocol?: string;
|
|
2922
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2923
|
+
uploadType?: string;
|
|
2924
|
+
}): Request<{}>;
|
|
2925
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2926
|
+
list(request?: {
|
|
2927
|
+
/** V1 error format. */
|
|
2928
|
+
'$.xgafv'?: string;
|
|
2929
|
+
/** OAuth access token. */
|
|
2930
|
+
access_token?: string;
|
|
2931
|
+
/** Data format for response. */
|
|
2932
|
+
alt?: string;
|
|
2933
|
+
/** JSONP */
|
|
2934
|
+
callback?: string;
|
|
2935
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2936
|
+
fields?: string;
|
|
2937
|
+
/** The standard list filter. */
|
|
2938
|
+
filter?: string;
|
|
2939
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2940
|
+
key?: string;
|
|
2941
|
+
/** The name of the operation's parent resource. */
|
|
2942
|
+
name: string;
|
|
2943
|
+
/** OAuth 2.0 token for the current user. */
|
|
2944
|
+
oauth_token?: string;
|
|
2945
|
+
/** The standard list page size. */
|
|
2946
|
+
pageSize?: number;
|
|
2947
|
+
/** The standard list page token. */
|
|
2948
|
+
pageToken?: string;
|
|
2949
|
+
/** Returns response with indentations and line breaks. */
|
|
2950
|
+
prettyPrint?: boolean;
|
|
2951
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2952
|
+
quotaUser?: string;
|
|
2953
|
+
/** 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. */
|
|
2954
|
+
returnPartialSuccess?: boolean;
|
|
2955
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2956
|
+
upload_protocol?: string;
|
|
2957
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2958
|
+
uploadType?: string;
|
|
2959
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2960
|
+
}
|
|
2503
2961
|
|
|
2504
2962
|
const customers: CustomersResource;
|
|
2963
|
+
|
|
2964
|
+
const operations: OperationsResource;
|
|
2505
2965
|
}
|
|
2506
2966
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -81,7 +81,20 @@ gapi.auth.authorize(
|
|
|
81
81
|
After that you can use Chrome Management API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
82
82
|
|
|
83
83
|
```typescript
|
|
84
|
-
|
|
84
|
+
/*
|
|
85
|
+
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`.
|
|
86
|
+
*/
|
|
87
|
+
await gapi.client.chromemanagement.operations.cancel({name: 'name'});
|
|
88
|
+
|
|
89
|
+
/*
|
|
90
|
+
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`.
|
|
91
|
+
*/
|
|
92
|
+
await gapi.client.chromemanagement.operations.delete({name: 'name'});
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
96
|
+
*/
|
|
97
|
+
await gapi.client.chromemanagement.operations.list({name: 'name'});
|
|
85
98
|
```
|
|
86
99
|
|
|
87
100
|
For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.chromemanagement-v1#Provenance:~:text=none-,Provenance,-Built%20and%20signed)
|