@maxim_mazurok/gapi.client.datamigration-v1 0.0.20240721 → 0.0.20240812

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 (2) hide show
  1. package/index.d.ts +111 -1
  2. package/package.json +1 -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://datamigration.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240721
12
+ // Revision: 20240812
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -806,6 +806,22 @@ declare namespace gapi.client {
806
806
  /** 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`. */
807
807
  response?: {[P in string]: any};
808
808
  }
809
+ interface OracleAsmConfig {
810
+ /** Required. ASM service name for the Oracle ASM connection. */
811
+ asmService?: string;
812
+ /** Required. Hostname for the Oracle ASM connection. */
813
+ hostname?: string;
814
+ /** Required. Input only. Password for the Oracle ASM connection. */
815
+ password?: string;
816
+ /** Output only. Indicates whether a new password is included in the request. */
817
+ passwordSet?: boolean;
818
+ /** Required. Port for the Oracle ASM connection. */
819
+ port?: number;
820
+ /** Optional. SSL configuration for the Oracle connection. */
821
+ ssl?: SslConfig;
822
+ /** Required. Username for the Oracle ASM connection. */
823
+ username?: string;
824
+ }
809
825
  interface OracleConnectionProfile {
810
826
  /** Required. Database service for the Oracle connection. */
811
827
  databaseService?: string;
@@ -813,6 +829,8 @@ declare namespace gapi.client {
813
829
  forwardSshConnectivity?: ForwardSshTunnelConnectivity;
814
830
  /** Required. The IP or hostname of the source Oracle database. */
815
831
  host?: string;
832
+ /** Optional. Configuration for Oracle ASM connection. */
833
+ oracleAsmConfig?: OracleAsmConfig;
816
834
  /** Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. */
817
835
  password?: string;
818
836
  /** Output only. Indicates whether a new password is included in the request. */
@@ -2558,6 +2576,97 @@ declare namespace gapi.client {
2558
2576
  ): Request<TestIamPermissionsResponse>;
2559
2577
  mappingRules: MappingRulesResource;
2560
2578
  }
2579
+ interface ObjectsResource {
2580
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2581
+ getIamPolicy(request?: {
2582
+ /** V1 error format. */
2583
+ '$.xgafv'?: string;
2584
+ /** OAuth access token. */
2585
+ access_token?: string;
2586
+ /** Data format for response. */
2587
+ alt?: string;
2588
+ /** JSONP */
2589
+ callback?: string;
2590
+ /** Selector specifying which fields to include in a partial response. */
2591
+ fields?: string;
2592
+ /** 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. */
2593
+ key?: string;
2594
+ /** OAuth 2.0 token for the current user. */
2595
+ oauth_token?: string;
2596
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
2597
+ 'options.requestedPolicyVersion'?: number;
2598
+ /** Returns response with indentations and line breaks. */
2599
+ prettyPrint?: boolean;
2600
+ /** 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. */
2601
+ quotaUser?: string;
2602
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2603
+ resource: string;
2604
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2605
+ upload_protocol?: string;
2606
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2607
+ uploadType?: string;
2608
+ }): Request<Policy>;
2609
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2610
+ setIamPolicy(
2611
+ request: {
2612
+ /** V1 error format. */
2613
+ '$.xgafv'?: string;
2614
+ /** OAuth access token. */
2615
+ access_token?: string;
2616
+ /** Data format for response. */
2617
+ alt?: string;
2618
+ /** JSONP */
2619
+ callback?: string;
2620
+ /** Selector specifying which fields to include in a partial response. */
2621
+ fields?: string;
2622
+ /** 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. */
2623
+ key?: string;
2624
+ /** OAuth 2.0 token for the current user. */
2625
+ oauth_token?: string;
2626
+ /** Returns response with indentations and line breaks. */
2627
+ prettyPrint?: boolean;
2628
+ /** 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. */
2629
+ quotaUser?: string;
2630
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2631
+ resource: string;
2632
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2633
+ upload_protocol?: string;
2634
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2635
+ uploadType?: string;
2636
+ },
2637
+ body: SetIamPolicyRequest
2638
+ ): Request<Policy>;
2639
+ /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2640
+ testIamPermissions(
2641
+ request: {
2642
+ /** V1 error format. */
2643
+ '$.xgafv'?: string;
2644
+ /** OAuth access token. */
2645
+ access_token?: string;
2646
+ /** Data format for response. */
2647
+ alt?: string;
2648
+ /** JSONP */
2649
+ callback?: string;
2650
+ /** Selector specifying which fields to include in a partial response. */
2651
+ fields?: string;
2652
+ /** 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. */
2653
+ key?: string;
2654
+ /** OAuth 2.0 token for the current user. */
2655
+ oauth_token?: string;
2656
+ /** Returns response with indentations and line breaks. */
2657
+ prettyPrint?: boolean;
2658
+ /** 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. */
2659
+ quotaUser?: string;
2660
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
2661
+ resource: string;
2662
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2663
+ upload_protocol?: string;
2664
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2665
+ uploadType?: string;
2666
+ },
2667
+ body: TestIamPermissionsRequest
2668
+ ): Request<TestIamPermissionsResponse>;
2669
+ }
2561
2670
  interface MigrationJobsResource {
2562
2671
  /** Creates a new migration job in a given project and location. */
2563
2672
  create(request: {
@@ -3395,6 +3504,7 @@ declare namespace gapi.client {
3395
3504
  },
3396
3505
  body: VerifyMigrationJobRequest
3397
3506
  ): Request<Operation>;
3507
+ objects: ObjectsResource;
3398
3508
  }
3399
3509
  interface OperationsResource {
3400
3510
  /** 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`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20240721",
3
+ "version": "0.0.20240812",
4
4
  "description": "TypeScript typings for Database Migration API v1",
5
5
  "repository": {
6
6
  "type": "git",