@maxim_mazurok/gapi.client.managedidentities-v1alpha1 0.0.20221227 → 0.0.20230323

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 +19 -21
  2. package/package.json +1 -1
  3. package/tests.ts +3 -7
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://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20221227
12
+ // Revision: 20230323
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -58,14 +58,14 @@ declare namespace gapi.client {
58
58
  * Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
59
59
  * `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
60
60
  * account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
61
- * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
62
- * identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
63
- * `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
64
- * a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
65
- * reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
66
- * identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
67
- * `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
68
- * example, `google.com` or `example.com`.
61
+ * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
62
+ * users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
63
+ * been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
64
+ * the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
65
+ * deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
66
+ * the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
67
+ * has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
68
+ * retains the role in the binding.
69
69
  */
70
70
  members?: string[];
71
71
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
@@ -169,6 +169,8 @@ declare namespace gapi.client {
169
169
  updateTime?: string;
170
170
  }
171
171
  interface DomainJoinMachineRequest {
172
+ /** Optional. force if True, forces domain join even if the computer account already exists. */
173
+ force?: boolean;
172
174
  /** Optional. OU name where the VM needs to be domain joined */
173
175
  ouName?: string;
174
176
  /**
@@ -259,8 +261,9 @@ declare namespace gapi.client {
259
261
  }
260
262
  interface GoogleCloudSaasacceleratorManagementProvidersV1Instance {
261
263
  /**
262
- * consumer_defined_name is the name that is set by the consumer. On the other hand Name field represents system-assigned id of an instance so consumers are not necessarily aware of
263
- * it. consumer_defined_name is used for notification/UI purposes for consumer to recognize their instances.
264
+ * consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the
265
+ * instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications
266
+ * (go/slm-rollout-maintenance-policies#prerequisites).
264
267
  */
265
268
  consumerDefinedName?: string;
266
269
  /** Output only. Timestamp when the resource was created. */
@@ -274,8 +277,8 @@ declare namespace gapi.client {
274
277
  /** 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. */
275
278
  labels?: { [P in string]: string };
276
279
  /**
277
- * 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
278
- * the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
280
+ * 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 referenced
281
+ * policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_settings.maintenance_policies is set.
279
282
  */
280
283
  maintenancePolicyNames?: { [P in string]: string };
281
284
  /** The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions. */
@@ -341,8 +344,8 @@ declare namespace gapi.client {
341
344
  isRollback?: boolean;
342
345
  /**
343
346
  * 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
344
- * 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
345
- * MaintenancePolicy.name.
347
+ * policy must define the same policy type. For details, please refer to go/cloud-saas-mw-ug. Should not be set if maintenance_policy_names is set. If only the name is needed, then
348
+ * only populate MaintenancePolicy.name.
346
349
  */
347
350
  maintenancePolicies?: { [P in string]: MaintenancePolicy };
348
351
  }
@@ -2276,12 +2279,7 @@ declare namespace gapi.client {
2276
2279
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2277
2280
  uploadType?: string;
2278
2281
  }): Request<Operation>;
2279
- /**
2280
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
2281
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
2282
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
2283
- * ensure the name binding is the parent resource, without the operations collection id.
2284
- */
2282
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2285
2283
  list(request?: {
2286
2284
  /** V1 error format. */
2287
2285
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.managedidentities-v1alpha1",
3
- "version": "0.0.20221227",
3
+ "version": "0.0.20230323",
4
4
  "description": "TypeScript typings for Managed Service for Microsoft Active Directory API v1alpha1",
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: 20221227
6
+ // Revision: 20230323
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -139,6 +139,7 @@ gapi.load('client', async () => {
139
139
  await gapi.client.managedidentities.projects.locations.global.domains.domainJoinMachine({
140
140
  domain: "Test string",
141
141
  }, {
142
+ force: true,
142
143
  ouName: "Test string",
143
144
  vmIdToken: "Test string",
144
145
  });
@@ -448,12 +449,7 @@ gapi.load('client', async () => {
448
449
  await gapi.client.managedidentities.projects.locations.global.operations.get({
449
450
  name: "Test string",
450
451
  });
451
- /**
452
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
453
- * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
454
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
455
- * ensure the name binding is the parent resource, without the operations collection id.
456
- */
452
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
457
453
  await gapi.client.managedidentities.projects.locations.global.operations.list({
458
454
  filter: "Test string",
459
455
  name: "Test string",