@maxim_mazurok/gapi.client.managedidentities-v1 0.0.20220609 → 0.0.20220823

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.
Files changed (3) hide show
  1. package/index.d.ts +73 -7
  2. package/package.json +1 -1
  3. package/tests.ts +9 -1
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://managedidentities.googleapis.com/$discovery/rest?version=v1
13
- // Revision: 20220609
13
+ // Revision: 20220823
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -54,8 +54,10 @@ declare namespace gapi.client {
54
54
  * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
55
55
  * the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
56
56
  * account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
57
- * represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example,
58
- * `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
57
+ * represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
58
+ * for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
59
+ * `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
60
+ * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
59
61
  * `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
60
62
  * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
61
63
  * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
@@ -164,6 +166,14 @@ declare namespace gapi.client {
164
166
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
165
167
  title?: string;
166
168
  }
169
+ interface ExtendSchemaRequest {
170
+ /** Required. Description for Schema Change. */
171
+ description?: string;
172
+ /** File uploaded as a byte stream input. */
173
+ fileContents?: string;
174
+ /** File stored in Cloud Storage bucket and represented in the form projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same project as the domain. */
175
+ gcsPath?: string;
176
+ }
167
177
  interface GoogleCloudManagedidentitiesV1alpha1OpMetadata {
168
178
  /** Output only. API version used to start the operation. */
169
179
  apiVersion?: string;
@@ -232,8 +242,8 @@ declare namespace gapi.client {
232
242
  /** Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user. */
233
243
  labels?: { [P in string]: string };
234
244
  /**
235
- * Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the
236
- * referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
245
+ * Optional. Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and
246
+ * the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
237
247
  */
238
248
  maintenancePolicyNames?: { [P in string]: string };
239
249
  /** The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions. */
@@ -299,8 +309,8 @@ declare namespace gapi.client {
299
309
  isRollback?: boolean;
300
310
  /**
301
311
  * Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded
302
- * policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. If only the name is needed (like in the deprecated
303
- * Instance.maintenance_policy_names field) then only populate MaintenancePolicy.name.
312
+ * policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. If only the name is needed, then only populate
313
+ * MaintenancePolicy.name.
304
314
  */
305
315
  maintenancePolicies?: { [P in string]: MaintenancePolicy };
306
316
  }
@@ -1271,6 +1281,62 @@ declare namespace gapi.client {
1271
1281
  uploadType?: string;
1272
1282
  },
1273
1283
  body: DetachTrustRequest): Request<Operation>;
1284
+ /** Extend Schema for Domain */
1285
+ extendSchema(request: {
1286
+ /** V1 error format. */
1287
+ "$.xgafv"?: string;
1288
+ /** OAuth access token. */
1289
+ access_token?: string;
1290
+ /** Data format for response. */
1291
+ alt?: string;
1292
+ /** JSONP */
1293
+ callback?: string;
1294
+ /** Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` */
1295
+ domain: string;
1296
+ /** Selector specifying which fields to include in a partial response. */
1297
+ fields?: string;
1298
+ /** 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. */
1299
+ key?: string;
1300
+ /** OAuth 2.0 token for the current user. */
1301
+ oauth_token?: string;
1302
+ /** Returns response with indentations and line breaks. */
1303
+ prettyPrint?: boolean;
1304
+ /** 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. */
1305
+ quotaUser?: string;
1306
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1307
+ upload_protocol?: string;
1308
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1309
+ uploadType?: string;
1310
+ /** Request body */
1311
+ resource: ExtendSchemaRequest;
1312
+ }): Request<Operation>;
1313
+ extendSchema(request: {
1314
+ /** V1 error format. */
1315
+ "$.xgafv"?: string;
1316
+ /** OAuth access token. */
1317
+ access_token?: string;
1318
+ /** Data format for response. */
1319
+ alt?: string;
1320
+ /** JSONP */
1321
+ callback?: string;
1322
+ /** Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` */
1323
+ domain: string;
1324
+ /** Selector specifying which fields to include in a partial response. */
1325
+ fields?: string;
1326
+ /** 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. */
1327
+ key?: string;
1328
+ /** OAuth 2.0 token for the current user. */
1329
+ oauth_token?: string;
1330
+ /** Returns response with indentations and line breaks. */
1331
+ prettyPrint?: boolean;
1332
+ /** 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. */
1333
+ quotaUser?: string;
1334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1335
+ upload_protocol?: string;
1336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1337
+ uploadType?: string;
1338
+ },
1339
+ body: ExtendSchemaRequest): Request<Operation>;
1274
1340
  /** Gets information about a domain. */
1275
1341
  get(request?: {
1276
1342
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.managedidentities-v1",
3
- "version": "0.0.20220609",
3
+ "version": "0.0.20220823",
4
4
  "description": "TypeScript typings for Managed Service for Microsoft Active Directory API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220609
6
+ // Revision: 20220823
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -125,6 +125,14 @@ gapi.load('client', async () => {
125
125
  updateTime: "Test string",
126
126
  },
127
127
  });
128
+ /** Extend Schema for Domain */
129
+ await gapi.client.managedidentities.projects.locations.global.domains.extendSchema({
130
+ domain: "Test string",
131
+ }, {
132
+ description: "Test string",
133
+ fileContents: "Test string",
134
+ gcsPath: "Test string",
135
+ });
128
136
  /** Gets information about a domain. */
129
137
  await gapi.client.managedidentities.projects.locations.global.domains.get({
130
138
  name: "Test string",