@maxim_mazurok/gapi.client.datamigration-v1beta1 0.2.20261103 → 0.3.20261103

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 +1208 -1213
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -523,1016 +523,11 @@ declare namespace gapi.client {
523
523
  /** The name of the VPC network to peer with the Cloud SQL private network. */
524
524
  vpc?: string;
525
525
  }
526
- interface ConnectionProfilesResource {
527
- /** Creates a new connection profile in a given project and location. */
528
- create(request: {
529
- /** V1 error format. */
530
- '$.xgafv'?: '1' | '2';
531
- /** OAuth access token. */
532
- access_token?: string;
533
- /** Data format for response. */
534
- alt?: 'json' | 'media' | 'proto';
535
- /** JSONP */
536
- callback?: string;
537
- /** Required. The connection profile identifier. */
538
- connectionProfileId?: string;
539
- /** Selector specifying which fields to include in a partial response. */
540
- fields?: string;
541
- /** 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. */
542
- key?: string;
543
- /** OAuth 2.0 token for the current user. */
544
- oauth_token?: string;
545
- /** Required. The parent, which owns this collection of connection profiles. */
546
- parent: string;
547
- /** Returns response with indentations and line breaks. */
548
- prettyPrint?: boolean;
549
- /** 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. */
550
- quotaUser?: string;
551
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
552
- requestId?: string;
553
- /** Upload protocol for media (e.g. "raw", "multipart"). */
554
- upload_protocol?: string;
555
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
556
- uploadType?: string;
557
- /** Request body */
558
- resource: ConnectionProfile;
559
- }): Request<Operation>;
560
- create(
561
- request: {
562
- /** V1 error format. */
563
- '$.xgafv'?: '1' | '2';
564
- /** OAuth access token. */
565
- access_token?: string;
566
- /** Data format for response. */
567
- alt?: 'json' | 'media' | 'proto';
568
- /** JSONP */
569
- callback?: string;
570
- /** Required. The connection profile identifier. */
571
- connectionProfileId?: string;
572
- /** Selector specifying which fields to include in a partial response. */
573
- fields?: string;
574
- /** 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. */
575
- key?: string;
576
- /** OAuth 2.0 token for the current user. */
577
- oauth_token?: string;
578
- /** Required. The parent, which owns this collection of connection profiles. */
579
- parent: string;
580
- /** Returns response with indentations and line breaks. */
581
- prettyPrint?: boolean;
582
- /** 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. */
583
- quotaUser?: string;
584
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
585
- requestId?: string;
586
- /** Upload protocol for media (e.g. "raw", "multipart"). */
587
- upload_protocol?: string;
588
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
589
- uploadType?: string;
590
- },
591
- body: ConnectionProfile,
592
- ): Request<Operation>;
593
- /** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
594
- delete(request?: {
595
- /** V1 error format. */
596
- '$.xgafv'?: '1' | '2';
597
- /** OAuth access token. */
598
- access_token?: string;
599
- /** Data format for response. */
600
- alt?: 'json' | 'media' | 'proto';
601
- /** JSONP */
602
- callback?: string;
603
- /** Selector specifying which fields to include in a partial response. */
604
- fields?: string;
605
- /** In case of force delete, the CloudSQL replica database is also deleted (only for CloudSQL connection profile). */
606
- force?: boolean;
607
- /** 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. */
608
- key?: string;
609
- /** Required. Name of the connection profile resource to delete. */
610
- name: string;
611
- /** OAuth 2.0 token for the current user. */
612
- oauth_token?: string;
613
- /** Returns response with indentations and line breaks. */
614
- prettyPrint?: boolean;
615
- /** 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. */
616
- quotaUser?: string;
617
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
618
- requestId?: string;
619
- /** Upload protocol for media (e.g. "raw", "multipart"). */
620
- upload_protocol?: string;
621
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
622
- uploadType?: string;
623
- }): Request<Operation>;
624
- /** Gets details of a single connection profile. */
625
- get(request?: {
626
- /** V1 error format. */
627
- '$.xgafv'?: '1' | '2';
628
- /** OAuth access token. */
629
- access_token?: string;
630
- /** Data format for response. */
631
- alt?: 'json' | 'media' | 'proto';
632
- /** JSONP */
633
- callback?: string;
634
- /** Selector specifying which fields to include in a partial response. */
635
- fields?: string;
636
- /** 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. */
637
- key?: string;
638
- /** Required. Name of the connection profile resource to get. */
639
- name: string;
640
- /** OAuth 2.0 token for the current user. */
641
- oauth_token?: string;
642
- /** Returns response with indentations and line breaks. */
643
- prettyPrint?: boolean;
644
- /** 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. */
645
- quotaUser?: string;
646
- /** Upload protocol for media (e.g. "raw", "multipart"). */
647
- upload_protocol?: string;
648
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
649
- uploadType?: string;
650
- }): Request<ConnectionProfile>;
651
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
652
- getIamPolicy(request?: {
653
- /** V1 error format. */
654
- '$.xgafv'?: '1' | '2';
655
- /** OAuth access token. */
656
- access_token?: string;
657
- /** Data format for response. */
658
- alt?: 'json' | 'media' | 'proto';
659
- /** JSONP */
660
- callback?: string;
661
- /** Selector specifying which fields to include in a partial response. */
662
- fields?: string;
663
- /** 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. */
664
- key?: string;
665
- /** OAuth 2.0 token for the current user. */
666
- oauth_token?: string;
667
- /** 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). */
668
- 'options.requestedPolicyVersion'?: number;
669
- /** Returns response with indentations and line breaks. */
670
- prettyPrint?: boolean;
671
- /** 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. */
672
- quotaUser?: string;
673
- /** 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. */
674
- resource: string;
675
- /** Upload protocol for media (e.g. "raw", "multipart"). */
676
- upload_protocol?: string;
677
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
678
- uploadType?: string;
679
- }): Request<Policy>;
680
- /** Retrieve a list of all connection profiles in a given project and location. */
681
- list(request?: {
682
- /** V1 error format. */
683
- '$.xgafv'?: '1' | '2';
684
- /** OAuth access token. */
685
- access_token?: string;
686
- /** Data format for response. */
687
- alt?: 'json' | 'media' | 'proto';
688
- /** JSONP */
689
- callback?: string;
690
- /** Selector specifying which fields to include in a partial response. */
691
- fields?: string;
692
- /** A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. */
693
- filter?: string;
694
- /** 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. */
695
- key?: string;
696
- /** OAuth 2.0 token for the current user. */
697
- oauth_token?: string;
698
- /** the order by fields for the result. */
699
- orderBy?: string;
700
- /** The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
701
- pageSize?: number;
702
- /** A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. */
703
- pageToken?: string;
704
- /** Required. The parent, which owns this collection of connection profiles. */
705
- parent: string;
706
- /** Returns response with indentations and line breaks. */
707
- prettyPrint?: boolean;
708
- /** 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. */
709
- quotaUser?: string;
710
- /** Upload protocol for media (e.g. "raw", "multipart"). */
711
- upload_protocol?: string;
712
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
713
- uploadType?: string;
714
- }): Request<ListConnectionProfilesResponse>;
715
- /** Update the configuration of a single connection profile. */
716
- patch(request: {
717
- /** V1 error format. */
718
- '$.xgafv'?: '1' | '2';
719
- /** OAuth access token. */
720
- access_token?: string;
721
- /** Data format for response. */
722
- alt?: 'json' | 'media' | 'proto';
723
- /** JSONP */
724
- callback?: string;
725
- /** Selector specifying which fields to include in a partial response. */
726
- fields?: string;
727
- /** 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. */
728
- key?: string;
729
- /** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
730
- name: string;
731
- /** OAuth 2.0 token for the current user. */
732
- oauth_token?: string;
733
- /** Returns response with indentations and line breaks. */
734
- prettyPrint?: boolean;
735
- /** 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. */
736
- quotaUser?: string;
737
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
738
- requestId?: string;
739
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
740
- updateMask?: string;
741
- /** Upload protocol for media (e.g. "raw", "multipart"). */
742
- upload_protocol?: string;
743
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
744
- uploadType?: string;
745
- /** Request body */
746
- resource: ConnectionProfile;
747
- }): Request<Operation>;
748
- patch(
749
- request: {
750
- /** V1 error format. */
751
- '$.xgafv'?: '1' | '2';
752
- /** OAuth access token. */
753
- access_token?: string;
754
- /** Data format for response. */
755
- alt?: 'json' | 'media' | 'proto';
756
- /** JSONP */
757
- callback?: string;
758
- /** Selector specifying which fields to include in a partial response. */
759
- fields?: string;
760
- /** 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. */
761
- key?: string;
762
- /** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
763
- name: string;
764
- /** OAuth 2.0 token for the current user. */
765
- oauth_token?: string;
766
- /** Returns response with indentations and line breaks. */
767
- prettyPrint?: boolean;
768
- /** 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. */
769
- quotaUser?: string;
770
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
771
- requestId?: string;
772
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
773
- updateMask?: string;
774
- /** Upload protocol for media (e.g. "raw", "multipart"). */
775
- upload_protocol?: string;
776
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
777
- uploadType?: string;
778
- },
779
- body: ConnectionProfile,
780
- ): Request<Operation>;
781
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
782
- setIamPolicy(
783
- request: {
784
- /** V1 error format. */
785
- '$.xgafv'?: '1' | '2';
786
- /** OAuth access token. */
787
- access_token?: string;
788
- /** Data format for response. */
789
- alt?: 'json' | 'media' | 'proto';
790
- /** JSONP */
791
- callback?: string;
792
- /** Selector specifying which fields to include in a partial response. */
793
- fields?: string;
794
- /** 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. */
795
- key?: string;
796
- /** OAuth 2.0 token for the current user. */
797
- oauth_token?: string;
798
- /** Returns response with indentations and line breaks. */
799
- prettyPrint?: boolean;
800
- /** 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. */
801
- quotaUser?: string;
802
- /** 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. */
803
- resource: string;
804
- /** Upload protocol for media (e.g. "raw", "multipart"). */
805
- upload_protocol?: string;
806
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
807
- uploadType?: string;
808
- },
809
- body: SetIamPolicyRequest,
810
- ): Request<Policy>;
811
- /** 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. */
812
- testIamPermissions(
813
- request: {
814
- /** V1 error format. */
815
- '$.xgafv'?: '1' | '2';
816
- /** OAuth access token. */
817
- access_token?: string;
818
- /** Data format for response. */
819
- alt?: 'json' | 'media' | 'proto';
820
- /** JSONP */
821
- callback?: string;
822
- /** Selector specifying which fields to include in a partial response. */
823
- fields?: string;
824
- /** 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. */
825
- key?: string;
826
- /** OAuth 2.0 token for the current user. */
827
- oauth_token?: string;
828
- /** Returns response with indentations and line breaks. */
829
- prettyPrint?: boolean;
830
- /** 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. */
831
- quotaUser?: string;
832
- /** 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. */
833
- resource: string;
834
- /** Upload protocol for media (e.g. "raw", "multipart"). */
835
- upload_protocol?: string;
836
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
837
- uploadType?: string;
838
- },
839
- body: TestIamPermissionsRequest,
840
- ): Request<TestIamPermissionsResponse>;
841
- }
842
- interface MigrationJobsResource {
843
- /** Creates a new migration job in a given project and location. */
844
- create(request: {
845
- /** V1 error format. */
846
- '$.xgafv'?: '1' | '2';
847
- /** OAuth access token. */
848
- access_token?: string;
849
- /** Data format for response. */
850
- alt?: 'json' | 'media' | 'proto';
851
- /** JSONP */
852
- callback?: string;
853
- /** Selector specifying which fields to include in a partial response. */
854
- fields?: string;
855
- /** 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. */
856
- key?: string;
857
- /** Required. The ID of the instance to create. */
858
- migrationJobId?: string;
859
- /** OAuth 2.0 token for the current user. */
860
- oauth_token?: string;
861
- /** Required. The parent, which owns this collection of migration jobs. */
862
- parent: string;
863
- /** Returns response with indentations and line breaks. */
864
- prettyPrint?: boolean;
865
- /** 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. */
866
- quotaUser?: string;
867
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
868
- requestId?: string;
869
- /** Upload protocol for media (e.g. "raw", "multipart"). */
870
- upload_protocol?: string;
871
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
- uploadType?: string;
873
- /** Request body */
874
- resource: MigrationJob;
875
- }): Request<Operation>;
876
- create(
877
- request: {
878
- /** V1 error format. */
879
- '$.xgafv'?: '1' | '2';
880
- /** OAuth access token. */
881
- access_token?: string;
882
- /** Data format for response. */
883
- alt?: 'json' | 'media' | 'proto';
884
- /** JSONP */
885
- callback?: string;
886
- /** Selector specifying which fields to include in a partial response. */
887
- fields?: string;
888
- /** 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. */
889
- key?: string;
890
- /** Required. The ID of the instance to create. */
891
- migrationJobId?: string;
892
- /** OAuth 2.0 token for the current user. */
893
- oauth_token?: string;
894
- /** Required. The parent, which owns this collection of migration jobs. */
895
- parent: string;
896
- /** Returns response with indentations and line breaks. */
897
- prettyPrint?: boolean;
898
- /** 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. */
899
- quotaUser?: string;
900
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
901
- requestId?: string;
902
- /** Upload protocol for media (e.g. "raw", "multipart"). */
903
- upload_protocol?: string;
904
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
905
- uploadType?: string;
906
- },
907
- body: MigrationJob,
908
- ): Request<Operation>;
909
- /** Deletes a single migration job. */
910
- delete(request?: {
911
- /** V1 error format. */
912
- '$.xgafv'?: '1' | '2';
913
- /** OAuth access token. */
914
- access_token?: string;
915
- /** Data format for response. */
916
- alt?: 'json' | 'media' | 'proto';
917
- /** JSONP */
918
- callback?: string;
919
- /** Selector specifying which fields to include in a partial response. */
920
- fields?: string;
921
- /** The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. */
922
- force?: boolean;
923
- /** 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. */
924
- key?: string;
925
- /** Required. Name of the migration job resource to delete. */
926
- name: string;
927
- /** OAuth 2.0 token for the current user. */
928
- oauth_token?: string;
929
- /** Returns response with indentations and line breaks. */
930
- prettyPrint?: boolean;
931
- /** 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. */
932
- quotaUser?: string;
933
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
934
- requestId?: string;
935
- /** Upload protocol for media (e.g. "raw", "multipart"). */
936
- upload_protocol?: string;
937
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
938
- uploadType?: string;
939
- }): Request<Operation>;
940
- /** Generate a SSH configuration script to configure the reverse SSH connectivity. */
941
- generateSshScript(request: {
942
- /** V1 error format. */
943
- '$.xgafv'?: '1' | '2';
944
- /** OAuth access token. */
945
- access_token?: string;
946
- /** Data format for response. */
947
- alt?: 'json' | 'media' | 'proto';
948
- /** JSONP */
949
- callback?: string;
950
- /** Selector specifying which fields to include in a partial response. */
951
- fields?: string;
952
- /** 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. */
953
- key?: string;
954
- /** Name of the migration job resource to generate the SSH script. */
955
- migrationJob: string;
956
- /** OAuth 2.0 token for the current user. */
957
- oauth_token?: string;
958
- /** Returns response with indentations and line breaks. */
959
- prettyPrint?: boolean;
960
- /** 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. */
961
- quotaUser?: string;
962
- /** Upload protocol for media (e.g. "raw", "multipart"). */
963
- upload_protocol?: string;
964
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
965
- uploadType?: string;
966
- /** Request body */
967
- resource: GenerateSshScriptRequest;
968
- }): Request<SshScript>;
969
- generateSshScript(
970
- request: {
971
- /** V1 error format. */
972
- '$.xgafv'?: '1' | '2';
973
- /** OAuth access token. */
974
- access_token?: string;
975
- /** Data format for response. */
976
- alt?: 'json' | 'media' | 'proto';
977
- /** JSONP */
978
- callback?: string;
979
- /** Selector specifying which fields to include in a partial response. */
980
- fields?: string;
981
- /** 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. */
982
- key?: string;
983
- /** Name of the migration job resource to generate the SSH script. */
984
- migrationJob: string;
985
- /** OAuth 2.0 token for the current user. */
986
- oauth_token?: string;
987
- /** Returns response with indentations and line breaks. */
988
- prettyPrint?: boolean;
989
- /** 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. */
990
- quotaUser?: string;
991
- /** Upload protocol for media (e.g. "raw", "multipart"). */
992
- upload_protocol?: string;
993
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
994
- uploadType?: string;
995
- },
996
- body: GenerateSshScriptRequest,
997
- ): Request<SshScript>;
998
- /** Gets details of a single migration job. */
999
- get(request?: {
1000
- /** V1 error format. */
1001
- '$.xgafv'?: '1' | '2';
1002
- /** OAuth access token. */
1003
- access_token?: string;
1004
- /** Data format for response. */
1005
- alt?: 'json' | 'media' | 'proto';
1006
- /** JSONP */
1007
- callback?: string;
1008
- /** Selector specifying which fields to include in a partial response. */
1009
- fields?: string;
1010
- /** 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. */
1011
- key?: string;
1012
- /** Required. Name of the migration job resource to get. */
1013
- name: string;
1014
- /** OAuth 2.0 token for the current user. */
1015
- oauth_token?: string;
1016
- /** Returns response with indentations and line breaks. */
1017
- prettyPrint?: boolean;
1018
- /** 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. */
1019
- quotaUser?: string;
1020
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1021
- upload_protocol?: string;
1022
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1023
- uploadType?: string;
1024
- }): Request<MigrationJob>;
1025
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1026
- getIamPolicy(request?: {
1027
- /** V1 error format. */
1028
- '$.xgafv'?: '1' | '2';
1029
- /** OAuth access token. */
1030
- access_token?: string;
1031
- /** Data format for response. */
1032
- alt?: 'json' | 'media' | 'proto';
1033
- /** JSONP */
1034
- callback?: string;
1035
- /** Selector specifying which fields to include in a partial response. */
1036
- fields?: string;
1037
- /** 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. */
1038
- key?: string;
1039
- /** OAuth 2.0 token for the current user. */
1040
- oauth_token?: string;
1041
- /** 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). */
1042
- 'options.requestedPolicyVersion'?: number;
1043
- /** Returns response with indentations and line breaks. */
1044
- prettyPrint?: boolean;
1045
- /** 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. */
1046
- quotaUser?: string;
1047
- /** 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. */
1048
- resource: string;
1049
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1050
- upload_protocol?: string;
1051
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1052
- uploadType?: string;
1053
- }): Request<Policy>;
1054
- /** Lists migration jobs in a given project and location. */
1055
- list(request?: {
1056
- /** V1 error format. */
1057
- '$.xgafv'?: '1' | '2';
1058
- /** OAuth access token. */
1059
- access_token?: string;
1060
- /** Data format for response. */
1061
- alt?: 'json' | 'media' | 'proto';
1062
- /** JSONP */
1063
- callback?: string;
1064
- /** Selector specifying which fields to include in a partial response. */
1065
- fields?: string;
1066
- /** A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. */
1067
- filter?: string;
1068
- /** 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. */
1069
- key?: string;
1070
- /** OAuth 2.0 token for the current user. */
1071
- oauth_token?: string;
1072
- /** Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". */
1073
- orderBy?: string;
1074
- /** The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1075
- pageSize?: number;
1076
- /** The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. */
1077
- pageToken?: string;
1078
- /** Required. The parent, which owns this collection of migrationJobs. */
1079
- parent: string;
1080
- /** Returns response with indentations and line breaks. */
1081
- prettyPrint?: boolean;
1082
- /** 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. */
1083
- quotaUser?: string;
1084
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1085
- upload_protocol?: string;
1086
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1087
- uploadType?: string;
1088
- }): Request<ListMigrationJobsResponse>;
1089
- /** Updates the parameters of a single migration job. */
1090
- patch(request: {
1091
- /** V1 error format. */
1092
- '$.xgafv'?: '1' | '2';
1093
- /** OAuth access token. */
1094
- access_token?: string;
1095
- /** Data format for response. */
1096
- alt?: 'json' | 'media' | 'proto';
1097
- /** JSONP */
1098
- callback?: string;
1099
- /** Selector specifying which fields to include in a partial response. */
1100
- fields?: string;
1101
- /** 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. */
1102
- key?: string;
1103
- /** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
1104
- name: string;
1105
- /** OAuth 2.0 token for the current user. */
1106
- oauth_token?: string;
1107
- /** Returns response with indentations and line breaks. */
1108
- prettyPrint?: boolean;
1109
- /** 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. */
1110
- quotaUser?: string;
1111
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1112
- requestId?: string;
1113
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
1114
- updateMask?: string;
1115
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1116
- upload_protocol?: string;
1117
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1118
- uploadType?: string;
1119
- /** Request body */
1120
- resource: MigrationJob;
1121
- }): Request<Operation>;
1122
- patch(
1123
- request: {
1124
- /** V1 error format. */
1125
- '$.xgafv'?: '1' | '2';
1126
- /** OAuth access token. */
1127
- access_token?: string;
1128
- /** Data format for response. */
1129
- alt?: 'json' | 'media' | 'proto';
1130
- /** JSONP */
1131
- callback?: string;
1132
- /** Selector specifying which fields to include in a partial response. */
1133
- fields?: string;
1134
- /** 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. */
1135
- key?: string;
1136
- /** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
1137
- name: string;
1138
- /** OAuth 2.0 token for the current user. */
1139
- oauth_token?: string;
1140
- /** Returns response with indentations and line breaks. */
1141
- prettyPrint?: boolean;
1142
- /** 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. */
1143
- quotaUser?: string;
1144
- /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1145
- requestId?: string;
1146
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
1147
- updateMask?: string;
1148
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1149
- upload_protocol?: string;
1150
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1151
- uploadType?: string;
1152
- },
1153
- body: MigrationJob,
1154
- ): Request<Operation>;
1155
- /** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
1156
- promote(request: {
1157
- /** V1 error format. */
1158
- '$.xgafv'?: '1' | '2';
1159
- /** OAuth access token. */
1160
- access_token?: string;
1161
- /** Data format for response. */
1162
- alt?: 'json' | 'media' | 'proto';
1163
- /** JSONP */
1164
- callback?: string;
1165
- /** Selector specifying which fields to include in a partial response. */
1166
- fields?: string;
1167
- /** 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. */
1168
- key?: string;
1169
- /** Name of the migration job resource to promote. */
1170
- name: string;
1171
- /** OAuth 2.0 token for the current user. */
1172
- oauth_token?: string;
1173
- /** Returns response with indentations and line breaks. */
1174
- prettyPrint?: boolean;
1175
- /** 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. */
1176
- quotaUser?: string;
1177
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1178
- upload_protocol?: string;
1179
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1180
- uploadType?: string;
1181
- /** Request body */
1182
- resource: PromoteMigrationJobRequest;
1183
- }): Request<Operation>;
1184
- promote(
1185
- request: {
1186
- /** V1 error format. */
1187
- '$.xgafv'?: '1' | '2';
1188
- /** OAuth access token. */
1189
- access_token?: string;
1190
- /** Data format for response. */
1191
- alt?: 'json' | 'media' | 'proto';
1192
- /** JSONP */
1193
- callback?: string;
1194
- /** Selector specifying which fields to include in a partial response. */
1195
- fields?: string;
1196
- /** 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. */
1197
- key?: string;
1198
- /** Name of the migration job resource to promote. */
1199
- name: string;
1200
- /** OAuth 2.0 token for the current user. */
1201
- oauth_token?: string;
1202
- /** Returns response with indentations and line breaks. */
1203
- prettyPrint?: boolean;
1204
- /** 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. */
1205
- quotaUser?: string;
1206
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1207
- upload_protocol?: string;
1208
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1209
- uploadType?: string;
1210
- },
1211
- body: PromoteMigrationJobRequest,
1212
- ): Request<Operation>;
1213
- /** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
1214
- restart(request: {
1215
- /** V1 error format. */
1216
- '$.xgafv'?: '1' | '2';
1217
- /** OAuth access token. */
1218
- access_token?: string;
1219
- /** Data format for response. */
1220
- alt?: 'json' | 'media' | 'proto';
1221
- /** JSONP */
1222
- callback?: string;
1223
- /** Selector specifying which fields to include in a partial response. */
1224
- fields?: string;
1225
- /** 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. */
1226
- key?: string;
1227
- /** Name of the migration job resource to restart. */
1228
- name: string;
1229
- /** OAuth 2.0 token for the current user. */
1230
- oauth_token?: string;
1231
- /** Returns response with indentations and line breaks. */
1232
- prettyPrint?: boolean;
1233
- /** 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. */
1234
- quotaUser?: string;
1235
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1236
- upload_protocol?: string;
1237
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1238
- uploadType?: string;
1239
- /** Request body */
1240
- resource: RestartMigrationJobRequest;
1241
- }): Request<Operation>;
1242
- restart(
1243
- request: {
1244
- /** V1 error format. */
1245
- '$.xgafv'?: '1' | '2';
1246
- /** OAuth access token. */
1247
- access_token?: string;
1248
- /** Data format for response. */
1249
- alt?: 'json' | 'media' | 'proto';
1250
- /** JSONP */
1251
- callback?: string;
1252
- /** Selector specifying which fields to include in a partial response. */
1253
- fields?: string;
1254
- /** 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. */
1255
- key?: string;
1256
- /** Name of the migration job resource to restart. */
1257
- name: string;
1258
- /** OAuth 2.0 token for the current user. */
1259
- oauth_token?: string;
1260
- /** Returns response with indentations and line breaks. */
1261
- prettyPrint?: boolean;
1262
- /** 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. */
1263
- quotaUser?: string;
1264
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1265
- upload_protocol?: string;
1266
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1267
- uploadType?: string;
1268
- },
1269
- body: RestartMigrationJobRequest,
1270
- ): Request<Operation>;
1271
- /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
1272
- resume(request: {
1273
- /** V1 error format. */
1274
- '$.xgafv'?: '1' | '2';
1275
- /** OAuth access token. */
1276
- access_token?: string;
1277
- /** Data format for response. */
1278
- alt?: 'json' | 'media' | 'proto';
1279
- /** JSONP */
1280
- callback?: string;
1281
- /** Selector specifying which fields to include in a partial response. */
1282
- fields?: string;
1283
- /** 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. */
1284
- key?: string;
1285
- /** Name of the migration job resource to resume. */
1286
- name: string;
1287
- /** OAuth 2.0 token for the current user. */
1288
- oauth_token?: string;
1289
- /** Returns response with indentations and line breaks. */
1290
- prettyPrint?: boolean;
1291
- /** 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. */
1292
- quotaUser?: string;
1293
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1294
- upload_protocol?: string;
1295
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1296
- uploadType?: string;
1297
- /** Request body */
1298
- resource: ResumeMigrationJobRequest;
1299
- }): Request<Operation>;
1300
- resume(
1301
- request: {
1302
- /** V1 error format. */
1303
- '$.xgafv'?: '1' | '2';
1304
- /** OAuth access token. */
1305
- access_token?: string;
1306
- /** Data format for response. */
1307
- alt?: 'json' | 'media' | 'proto';
1308
- /** JSONP */
1309
- callback?: string;
1310
- /** Selector specifying which fields to include in a partial response. */
1311
- fields?: string;
1312
- /** 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. */
1313
- key?: string;
1314
- /** Name of the migration job resource to resume. */
1315
- name: string;
1316
- /** OAuth 2.0 token for the current user. */
1317
- oauth_token?: string;
1318
- /** Returns response with indentations and line breaks. */
1319
- prettyPrint?: boolean;
1320
- /** 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. */
1321
- quotaUser?: string;
1322
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1323
- upload_protocol?: string;
1324
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1325
- uploadType?: string;
1326
- },
1327
- body: ResumeMigrationJobRequest,
1328
- ): Request<Operation>;
1329
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1330
- setIamPolicy(
1331
- request: {
1332
- /** V1 error format. */
1333
- '$.xgafv'?: '1' | '2';
1334
- /** OAuth access token. */
1335
- access_token?: string;
1336
- /** Data format for response. */
1337
- alt?: 'json' | 'media' | 'proto';
1338
- /** JSONP */
1339
- callback?: string;
1340
- /** Selector specifying which fields to include in a partial response. */
1341
- fields?: string;
1342
- /** 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. */
1343
- key?: string;
1344
- /** OAuth 2.0 token for the current user. */
1345
- oauth_token?: string;
1346
- /** Returns response with indentations and line breaks. */
1347
- prettyPrint?: boolean;
1348
- /** 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. */
1349
- quotaUser?: string;
1350
- /** 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. */
1351
- resource: string;
1352
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1353
- upload_protocol?: string;
1354
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1355
- uploadType?: string;
1356
- },
1357
- body: SetIamPolicyRequest,
1358
- ): Request<Policy>;
1359
- /** Start an already created migration job. */
1360
- start(request: {
1361
- /** V1 error format. */
1362
- '$.xgafv'?: '1' | '2';
1363
- /** OAuth access token. */
1364
- access_token?: string;
1365
- /** Data format for response. */
1366
- alt?: 'json' | 'media' | 'proto';
1367
- /** JSONP */
1368
- callback?: string;
1369
- /** Selector specifying which fields to include in a partial response. */
1370
- fields?: string;
1371
- /** 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. */
1372
- key?: string;
1373
- /** Name of the migration job resource to start. */
1374
- name: string;
1375
- /** OAuth 2.0 token for the current user. */
1376
- oauth_token?: string;
1377
- /** Returns response with indentations and line breaks. */
1378
- prettyPrint?: boolean;
1379
- /** 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. */
1380
- quotaUser?: string;
1381
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1382
- upload_protocol?: string;
1383
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1384
- uploadType?: string;
1385
- /** Request body */
1386
- resource: StartMigrationJobRequest;
1387
- }): Request<Operation>;
1388
- start(
1389
- request: {
1390
- /** V1 error format. */
1391
- '$.xgafv'?: '1' | '2';
1392
- /** OAuth access token. */
1393
- access_token?: string;
1394
- /** Data format for response. */
1395
- alt?: 'json' | 'media' | 'proto';
1396
- /** JSONP */
1397
- callback?: string;
1398
- /** Selector specifying which fields to include in a partial response. */
1399
- fields?: string;
1400
- /** 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. */
1401
- key?: string;
1402
- /** Name of the migration job resource to start. */
1403
- name: string;
1404
- /** OAuth 2.0 token for the current user. */
1405
- oauth_token?: string;
1406
- /** Returns response with indentations and line breaks. */
1407
- prettyPrint?: boolean;
1408
- /** 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. */
1409
- quotaUser?: string;
1410
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1411
- upload_protocol?: string;
1412
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1413
- uploadType?: string;
1414
- },
1415
- body: StartMigrationJobRequest,
1416
- ): Request<Operation>;
1417
- /** Stops a running migration job. */
1418
- stop(request: {
1419
- /** V1 error format. */
1420
- '$.xgafv'?: '1' | '2';
1421
- /** OAuth access token. */
1422
- access_token?: string;
1423
- /** Data format for response. */
1424
- alt?: 'json' | 'media' | 'proto';
1425
- /** JSONP */
1426
- callback?: string;
1427
- /** Selector specifying which fields to include in a partial response. */
1428
- fields?: string;
1429
- /** 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. */
1430
- key?: string;
1431
- /** Name of the migration job resource to stop. */
1432
- name: string;
1433
- /** OAuth 2.0 token for the current user. */
1434
- oauth_token?: string;
1435
- /** Returns response with indentations and line breaks. */
1436
- prettyPrint?: boolean;
1437
- /** 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. */
1438
- quotaUser?: string;
1439
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1440
- upload_protocol?: string;
1441
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1442
- uploadType?: string;
1443
- /** Request body */
1444
- resource: StopMigrationJobRequest;
1445
- }): Request<Operation>;
1446
- stop(
1447
- request: {
1448
- /** V1 error format. */
1449
- '$.xgafv'?: '1' | '2';
1450
- /** OAuth access token. */
1451
- access_token?: string;
1452
- /** Data format for response. */
1453
- alt?: 'json' | 'media' | 'proto';
1454
- /** JSONP */
1455
- callback?: string;
1456
- /** Selector specifying which fields to include in a partial response. */
1457
- fields?: string;
1458
- /** 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. */
1459
- key?: string;
1460
- /** Name of the migration job resource to stop. */
1461
- name: string;
1462
- /** OAuth 2.0 token for the current user. */
1463
- oauth_token?: string;
1464
- /** Returns response with indentations and line breaks. */
1465
- prettyPrint?: boolean;
1466
- /** 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. */
1467
- quotaUser?: string;
1468
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1469
- upload_protocol?: string;
1470
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1471
- uploadType?: string;
1472
- },
1473
- body: StopMigrationJobRequest,
1474
- ): Request<Operation>;
1475
- /** 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. */
1476
- testIamPermissions(
1477
- request: {
1478
- /** V1 error format. */
1479
- '$.xgafv'?: '1' | '2';
1480
- /** OAuth access token. */
1481
- access_token?: string;
1482
- /** Data format for response. */
1483
- alt?: 'json' | 'media' | 'proto';
1484
- /** JSONP */
1485
- callback?: string;
1486
- /** Selector specifying which fields to include in a partial response. */
1487
- fields?: string;
1488
- /** 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. */
1489
- key?: string;
1490
- /** OAuth 2.0 token for the current user. */
1491
- oauth_token?: string;
1492
- /** Returns response with indentations and line breaks. */
1493
- prettyPrint?: boolean;
1494
- /** 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. */
1495
- quotaUser?: string;
1496
- /** 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. */
1497
- resource: string;
1498
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1499
- upload_protocol?: string;
1500
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1501
- uploadType?: string;
1502
- },
1503
- body: TestIamPermissionsRequest,
1504
- ): Request<TestIamPermissionsResponse>;
1505
- /** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
1506
- verify(request: {
1507
- /** V1 error format. */
1508
- '$.xgafv'?: '1' | '2';
1509
- /** OAuth access token. */
1510
- access_token?: string;
1511
- /** Data format for response. */
1512
- alt?: 'json' | 'media' | 'proto';
1513
- /** JSONP */
1514
- callback?: string;
1515
- /** Selector specifying which fields to include in a partial response. */
1516
- fields?: string;
1517
- /** 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. */
1518
- key?: string;
1519
- /** Name of the migration job resource to verify. */
1520
- name: string;
1521
- /** OAuth 2.0 token for the current user. */
1522
- oauth_token?: string;
1523
- /** Returns response with indentations and line breaks. */
1524
- prettyPrint?: boolean;
1525
- /** 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. */
1526
- quotaUser?: string;
1527
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1528
- upload_protocol?: string;
1529
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1530
- uploadType?: string;
1531
- /** Request body */
1532
- resource: VerifyMigrationJobRequest;
1533
- }): Request<Operation>;
1534
- verify(
1535
- request: {
526
+
527
+ const projects: {
528
+ locations: {
529
+ /** Gets information about a location. */
530
+ get(request?: {
1536
531
  /** V1 error format. */
1537
532
  '$.xgafv'?: '1' | '2';
1538
533
  /** OAuth access token. */
@@ -1545,7 +540,7 @@ declare namespace gapi.client {
1545
540
  fields?: string;
1546
541
  /** 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. */
1547
542
  key?: string;
1548
- /** Name of the migration job resource to verify. */
543
+ /** Resource name for the location. */
1549
544
  name: string;
1550
545
  /** OAuth 2.0 token for the current user. */
1551
546
  oauth_token?: string;
@@ -1557,42 +552,9 @@ declare namespace gapi.client {
1557
552
  upload_protocol?: string;
1558
553
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1559
554
  uploadType?: string;
1560
- },
1561
- body: VerifyMigrationJobRequest,
1562
- ): Request<Operation>;
1563
- }
1564
- interface OperationsResource {
1565
- /** 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`. */
1566
- cancel(request: {
1567
- /** V1 error format. */
1568
- '$.xgafv'?: '1' | '2';
1569
- /** OAuth access token. */
1570
- access_token?: string;
1571
- /** Data format for response. */
1572
- alt?: 'json' | 'media' | 'proto';
1573
- /** JSONP */
1574
- callback?: string;
1575
- /** Selector specifying which fields to include in a partial response. */
1576
- fields?: string;
1577
- /** 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. */
1578
- key?: string;
1579
- /** The name of the operation resource to be cancelled. */
1580
- name: string;
1581
- /** OAuth 2.0 token for the current user. */
1582
- oauth_token?: string;
1583
- /** Returns response with indentations and line breaks. */
1584
- prettyPrint?: boolean;
1585
- /** 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. */
1586
- quotaUser?: string;
1587
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1588
- upload_protocol?: string;
1589
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1590
- uploadType?: string;
1591
- /** Request body */
1592
- resource: CancelOperationRequest;
1593
- }): Request<{}>;
1594
- cancel(
1595
- request: {
555
+ }): Request<Location>;
556
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
557
+ list(request?: {
1596
558
  /** V1 error format. */
1597
559
  '$.xgafv'?: '1' | '2';
1598
560
  /** OAuth access token. */
@@ -1601,14 +563,22 @@ declare namespace gapi.client {
1601
563
  alt?: 'json' | 'media' | 'proto';
1602
564
  /** JSONP */
1603
565
  callback?: string;
566
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
567
+ extraLocationTypes?: string | string[];
1604
568
  /** Selector specifying which fields to include in a partial response. */
1605
569
  fields?: string;
570
+ /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
571
+ filter?: string;
1606
572
  /** 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. */
1607
573
  key?: string;
1608
- /** The name of the operation resource to be cancelled. */
574
+ /** The resource that owns the locations collection, if applicable. */
1609
575
  name: string;
1610
576
  /** OAuth 2.0 token for the current user. */
1611
577
  oauth_token?: string;
578
+ /** The maximum number of results to return. If not set, the service selects a default. */
579
+ pageSize?: number;
580
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
581
+ pageToken?: string;
1612
582
  /** Returns response with indentations and line breaks. */
1613
583
  prettyPrint?: boolean;
1614
584
  /** 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. */
@@ -1617,170 +587,1195 @@ declare namespace gapi.client {
1617
587
  upload_protocol?: string;
1618
588
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1619
589
  uploadType?: string;
1620
- },
1621
- body: CancelOperationRequest,
1622
- ): Request<{}>;
1623
- /** 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`. */
1624
- delete(request?: {
1625
- /** V1 error format. */
1626
- '$.xgafv'?: '1' | '2';
1627
- /** OAuth access token. */
1628
- access_token?: string;
1629
- /** Data format for response. */
1630
- alt?: 'json' | 'media' | 'proto';
1631
- /** JSONP */
1632
- callback?: string;
1633
- /** Selector specifying which fields to include in a partial response. */
1634
- fields?: string;
1635
- /** 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. */
1636
- key?: string;
1637
- /** The name of the operation resource to be deleted. */
1638
- name: string;
1639
- /** OAuth 2.0 token for the current user. */
1640
- oauth_token?: string;
1641
- /** Returns response with indentations and line breaks. */
1642
- prettyPrint?: boolean;
1643
- /** 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. */
1644
- quotaUser?: string;
1645
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1646
- upload_protocol?: string;
1647
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1648
- uploadType?: string;
1649
- }): Request<{}>;
1650
- /** 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. */
1651
- get(request?: {
1652
- /** V1 error format. */
1653
- '$.xgafv'?: '1' | '2';
1654
- /** OAuth access token. */
1655
- access_token?: string;
1656
- /** Data format for response. */
1657
- alt?: 'json' | 'media' | 'proto';
1658
- /** JSONP */
1659
- callback?: string;
1660
- /** Selector specifying which fields to include in a partial response. */
1661
- fields?: string;
1662
- /** 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. */
1663
- key?: string;
1664
- /** The name of the operation resource. */
1665
- name: string;
1666
- /** OAuth 2.0 token for the current user. */
1667
- oauth_token?: string;
1668
- /** Returns response with indentations and line breaks. */
1669
- prettyPrint?: boolean;
1670
- /** 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. */
1671
- quotaUser?: string;
1672
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1673
- upload_protocol?: string;
1674
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1675
- uploadType?: string;
1676
- }): Request<Operation>;
1677
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1678
- list(request?: {
1679
- /** V1 error format. */
1680
- '$.xgafv'?: '1' | '2';
1681
- /** OAuth access token. */
1682
- access_token?: string;
1683
- /** Data format for response. */
1684
- alt?: 'json' | 'media' | 'proto';
1685
- /** JSONP */
1686
- callback?: string;
1687
- /** Selector specifying which fields to include in a partial response. */
1688
- fields?: string;
1689
- /** The standard list filter. */
1690
- filter?: string;
1691
- /** 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. */
1692
- key?: string;
1693
- /** The name of the operation's parent resource. */
1694
- name: string;
1695
- /** OAuth 2.0 token for the current user. */
1696
- oauth_token?: string;
1697
- /** The standard list page size. */
1698
- pageSize?: number;
1699
- /** The standard list page token. */
1700
- pageToken?: string;
1701
- /** Returns response with indentations and line breaks. */
1702
- prettyPrint?: boolean;
1703
- /** 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. */
1704
- quotaUser?: string;
1705
- /** 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. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1706
- returnPartialSuccess?: boolean;
1707
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1708
- upload_protocol?: string;
1709
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1710
- uploadType?: string;
1711
- }): Request<ListOperationsResponse>;
1712
- }
1713
- interface LocationsResource {
1714
- /** Gets information about a location. */
1715
- get(request?: {
1716
- /** V1 error format. */
1717
- '$.xgafv'?: '1' | '2';
1718
- /** OAuth access token. */
1719
- access_token?: string;
1720
- /** Data format for response. */
1721
- alt?: 'json' | 'media' | 'proto';
1722
- /** JSONP */
1723
- callback?: string;
1724
- /** Selector specifying which fields to include in a partial response. */
1725
- fields?: string;
1726
- /** 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. */
1727
- key?: string;
1728
- /** Resource name for the location. */
1729
- name: string;
1730
- /** OAuth 2.0 token for the current user. */
1731
- oauth_token?: string;
1732
- /** Returns response with indentations and line breaks. */
1733
- prettyPrint?: boolean;
1734
- /** 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. */
1735
- quotaUser?: string;
1736
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1737
- upload_protocol?: string;
1738
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1739
- uploadType?: string;
1740
- }): Request<Location>;
1741
- /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
1742
- list(request?: {
1743
- /** V1 error format. */
1744
- '$.xgafv'?: '1' | '2';
1745
- /** OAuth access token. */
1746
- access_token?: string;
1747
- /** Data format for response. */
1748
- alt?: 'json' | 'media' | 'proto';
1749
- /** JSONP */
1750
- callback?: string;
1751
- /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
1752
- extraLocationTypes?: string | string[];
1753
- /** Selector specifying which fields to include in a partial response. */
1754
- fields?: string;
1755
- /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
1756
- filter?: string;
1757
- /** 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. */
1758
- key?: string;
1759
- /** The resource that owns the locations collection, if applicable. */
1760
- name: string;
1761
- /** OAuth 2.0 token for the current user. */
1762
- oauth_token?: string;
1763
- /** The maximum number of results to return. If not set, the service selects a default. */
1764
- pageSize?: number;
1765
- /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1766
- pageToken?: string;
1767
- /** Returns response with indentations and line breaks. */
1768
- prettyPrint?: boolean;
1769
- /** 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. */
1770
- quotaUser?: string;
1771
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1772
- upload_protocol?: string;
1773
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1774
- uploadType?: string;
1775
- }): Request<ListLocationsResponse>;
1776
- connectionProfiles: ConnectionProfilesResource;
1777
- migrationJobs: MigrationJobsResource;
1778
- operations: OperationsResource;
1779
- }
1780
- interface ProjectsResource {
1781
- locations: LocationsResource;
1782
- }
1783
-
1784
- const projects: ProjectsResource;
590
+ }): Request<ListLocationsResponse>;
591
+ connectionProfiles: {
592
+ /** Creates a new connection profile in a given project and location. */
593
+ create(request: {
594
+ /** V1 error format. */
595
+ '$.xgafv'?: '1' | '2';
596
+ /** OAuth access token. */
597
+ access_token?: string;
598
+ /** Data format for response. */
599
+ alt?: 'json' | 'media' | 'proto';
600
+ /** JSONP */
601
+ callback?: string;
602
+ /** Required. The connection profile identifier. */
603
+ connectionProfileId?: string;
604
+ /** Selector specifying which fields to include in a partial response. */
605
+ fields?: string;
606
+ /** 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. */
607
+ key?: string;
608
+ /** OAuth 2.0 token for the current user. */
609
+ oauth_token?: string;
610
+ /** Required. The parent, which owns this collection of connection profiles. */
611
+ parent: string;
612
+ /** Returns response with indentations and line breaks. */
613
+ prettyPrint?: boolean;
614
+ /** 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. */
615
+ quotaUser?: string;
616
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
617
+ requestId?: string;
618
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
619
+ upload_protocol?: string;
620
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
621
+ uploadType?: string;
622
+ /** Request body */
623
+ resource: ConnectionProfile;
624
+ }): Request<Operation>;
625
+ create(
626
+ request: {
627
+ /** V1 error format. */
628
+ '$.xgafv'?: '1' | '2';
629
+ /** OAuth access token. */
630
+ access_token?: string;
631
+ /** Data format for response. */
632
+ alt?: 'json' | 'media' | 'proto';
633
+ /** JSONP */
634
+ callback?: string;
635
+ /** Required. The connection profile identifier. */
636
+ connectionProfileId?: string;
637
+ /** Selector specifying which fields to include in a partial response. */
638
+ fields?: string;
639
+ /** 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. */
640
+ key?: string;
641
+ /** OAuth 2.0 token for the current user. */
642
+ oauth_token?: string;
643
+ /** Required. The parent, which owns this collection of connection profiles. */
644
+ parent: string;
645
+ /** Returns response with indentations and line breaks. */
646
+ prettyPrint?: boolean;
647
+ /** 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. */
648
+ quotaUser?: string;
649
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
650
+ requestId?: string;
651
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
652
+ upload_protocol?: string;
653
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
654
+ uploadType?: string;
655
+ },
656
+ body: ConnectionProfile,
657
+ ): Request<Operation>;
658
+ /** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
659
+ delete(request?: {
660
+ /** V1 error format. */
661
+ '$.xgafv'?: '1' | '2';
662
+ /** OAuth access token. */
663
+ access_token?: string;
664
+ /** Data format for response. */
665
+ alt?: 'json' | 'media' | 'proto';
666
+ /** JSONP */
667
+ callback?: string;
668
+ /** Selector specifying which fields to include in a partial response. */
669
+ fields?: string;
670
+ /** In case of force delete, the CloudSQL replica database is also deleted (only for CloudSQL connection profile). */
671
+ force?: boolean;
672
+ /** 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. */
673
+ key?: string;
674
+ /** Required. Name of the connection profile resource to delete. */
675
+ name: string;
676
+ /** OAuth 2.0 token for the current user. */
677
+ oauth_token?: string;
678
+ /** Returns response with indentations and line breaks. */
679
+ prettyPrint?: boolean;
680
+ /** 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. */
681
+ quotaUser?: string;
682
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
683
+ requestId?: string;
684
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
685
+ upload_protocol?: string;
686
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
687
+ uploadType?: string;
688
+ }): Request<Operation>;
689
+ /** Gets details of a single connection profile. */
690
+ get(request?: {
691
+ /** V1 error format. */
692
+ '$.xgafv'?: '1' | '2';
693
+ /** OAuth access token. */
694
+ access_token?: string;
695
+ /** Data format for response. */
696
+ alt?: 'json' | 'media' | 'proto';
697
+ /** JSONP */
698
+ callback?: string;
699
+ /** Selector specifying which fields to include in a partial response. */
700
+ fields?: string;
701
+ /** 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. */
702
+ key?: string;
703
+ /** Required. Name of the connection profile resource to get. */
704
+ name: string;
705
+ /** OAuth 2.0 token for the current user. */
706
+ oauth_token?: string;
707
+ /** Returns response with indentations and line breaks. */
708
+ prettyPrint?: boolean;
709
+ /** 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. */
710
+ quotaUser?: string;
711
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
712
+ upload_protocol?: string;
713
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
714
+ uploadType?: string;
715
+ }): Request<ConnectionProfile>;
716
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
717
+ getIamPolicy(request?: {
718
+ /** V1 error format. */
719
+ '$.xgafv'?: '1' | '2';
720
+ /** OAuth access token. */
721
+ access_token?: string;
722
+ /** Data format for response. */
723
+ alt?: 'json' | 'media' | 'proto';
724
+ /** JSONP */
725
+ callback?: string;
726
+ /** Selector specifying which fields to include in a partial response. */
727
+ fields?: string;
728
+ /** 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. */
729
+ key?: string;
730
+ /** OAuth 2.0 token for the current user. */
731
+ oauth_token?: string;
732
+ /** 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). */
733
+ 'options.requestedPolicyVersion'?: number;
734
+ /** Returns response with indentations and line breaks. */
735
+ prettyPrint?: boolean;
736
+ /** 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. */
737
+ quotaUser?: string;
738
+ /** 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. */
739
+ resource: string;
740
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
741
+ upload_protocol?: string;
742
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
+ uploadType?: string;
744
+ }): Request<Policy>;
745
+ /** Retrieve a list of all connection profiles in a given project and location. */
746
+ list(request?: {
747
+ /** V1 error format. */
748
+ '$.xgafv'?: '1' | '2';
749
+ /** OAuth access token. */
750
+ access_token?: string;
751
+ /** Data format for response. */
752
+ alt?: 'json' | 'media' | 'proto';
753
+ /** JSONP */
754
+ callback?: string;
755
+ /** Selector specifying which fields to include in a partial response. */
756
+ fields?: string;
757
+ /** A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username. */
758
+ filter?: string;
759
+ /** 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. */
760
+ key?: string;
761
+ /** OAuth 2.0 token for the current user. */
762
+ oauth_token?: string;
763
+ /** the order by fields for the result. */
764
+ orderBy?: string;
765
+ /** The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
766
+ pageSize?: number;
767
+ /** A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token. */
768
+ pageToken?: string;
769
+ /** Required. The parent, which owns this collection of connection profiles. */
770
+ parent: string;
771
+ /** Returns response with indentations and line breaks. */
772
+ prettyPrint?: boolean;
773
+ /** 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. */
774
+ quotaUser?: string;
775
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
776
+ upload_protocol?: string;
777
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
778
+ uploadType?: string;
779
+ }): Request<ListConnectionProfilesResponse>;
780
+ /** Update the configuration of a single connection profile. */
781
+ patch(request: {
782
+ /** V1 error format. */
783
+ '$.xgafv'?: '1' | '2';
784
+ /** OAuth access token. */
785
+ access_token?: string;
786
+ /** Data format for response. */
787
+ alt?: 'json' | 'media' | 'proto';
788
+ /** JSONP */
789
+ callback?: string;
790
+ /** Selector specifying which fields to include in a partial response. */
791
+ fields?: string;
792
+ /** 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. */
793
+ key?: string;
794
+ /** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
795
+ name: string;
796
+ /** OAuth 2.0 token for the current user. */
797
+ oauth_token?: string;
798
+ /** Returns response with indentations and line breaks. */
799
+ prettyPrint?: boolean;
800
+ /** 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. */
801
+ quotaUser?: string;
802
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
803
+ requestId?: string;
804
+ /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
805
+ updateMask?: string;
806
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
807
+ upload_protocol?: string;
808
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
809
+ uploadType?: string;
810
+ /** Request body */
811
+ resource: ConnectionProfile;
812
+ }): Request<Operation>;
813
+ patch(
814
+ request: {
815
+ /** V1 error format. */
816
+ '$.xgafv'?: '1' | '2';
817
+ /** OAuth access token. */
818
+ access_token?: string;
819
+ /** Data format for response. */
820
+ alt?: 'json' | 'media' | 'proto';
821
+ /** JSONP */
822
+ callback?: string;
823
+ /** Selector specifying which fields to include in a partial response. */
824
+ fields?: string;
825
+ /** 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. */
826
+ key?: string;
827
+ /** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
828
+ name: string;
829
+ /** OAuth 2.0 token for the current user. */
830
+ oauth_token?: string;
831
+ /** Returns response with indentations and line breaks. */
832
+ prettyPrint?: boolean;
833
+ /** 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. */
834
+ quotaUser?: string;
835
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
836
+ requestId?: string;
837
+ /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
838
+ updateMask?: string;
839
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
840
+ upload_protocol?: string;
841
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
842
+ uploadType?: string;
843
+ },
844
+ body: ConnectionProfile,
845
+ ): Request<Operation>;
846
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
847
+ setIamPolicy(
848
+ request: {
849
+ /** V1 error format. */
850
+ '$.xgafv'?: '1' | '2';
851
+ /** OAuth access token. */
852
+ access_token?: string;
853
+ /** Data format for response. */
854
+ alt?: 'json' | 'media' | 'proto';
855
+ /** JSONP */
856
+ callback?: string;
857
+ /** Selector specifying which fields to include in a partial response. */
858
+ fields?: string;
859
+ /** 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. */
860
+ key?: string;
861
+ /** OAuth 2.0 token for the current user. */
862
+ oauth_token?: string;
863
+ /** Returns response with indentations and line breaks. */
864
+ prettyPrint?: boolean;
865
+ /** 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. */
866
+ quotaUser?: string;
867
+ /** 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. */
868
+ resource: string;
869
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
870
+ upload_protocol?: string;
871
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
+ uploadType?: string;
873
+ },
874
+ body: SetIamPolicyRequest,
875
+ ): Request<Policy>;
876
+ /** 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. */
877
+ testIamPermissions(
878
+ request: {
879
+ /** V1 error format. */
880
+ '$.xgafv'?: '1' | '2';
881
+ /** OAuth access token. */
882
+ access_token?: string;
883
+ /** Data format for response. */
884
+ alt?: 'json' | 'media' | 'proto';
885
+ /** JSONP */
886
+ callback?: string;
887
+ /** Selector specifying which fields to include in a partial response. */
888
+ fields?: string;
889
+ /** 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. */
890
+ key?: string;
891
+ /** OAuth 2.0 token for the current user. */
892
+ oauth_token?: string;
893
+ /** Returns response with indentations and line breaks. */
894
+ prettyPrint?: boolean;
895
+ /** 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. */
896
+ quotaUser?: string;
897
+ /** 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. */
898
+ resource: string;
899
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
900
+ upload_protocol?: string;
901
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
902
+ uploadType?: string;
903
+ },
904
+ body: TestIamPermissionsRequest,
905
+ ): Request<TestIamPermissionsResponse>;
906
+ };
907
+ migrationJobs: {
908
+ /** Creates a new migration job in a given project and location. */
909
+ create(request: {
910
+ /** V1 error format. */
911
+ '$.xgafv'?: '1' | '2';
912
+ /** OAuth access token. */
913
+ access_token?: string;
914
+ /** Data format for response. */
915
+ alt?: 'json' | 'media' | 'proto';
916
+ /** JSONP */
917
+ callback?: string;
918
+ /** Selector specifying which fields to include in a partial response. */
919
+ fields?: string;
920
+ /** 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. */
921
+ key?: string;
922
+ /** Required. The ID of the instance to create. */
923
+ migrationJobId?: string;
924
+ /** OAuth 2.0 token for the current user. */
925
+ oauth_token?: string;
926
+ /** Required. The parent, which owns this collection of migration jobs. */
927
+ parent: string;
928
+ /** Returns response with indentations and line breaks. */
929
+ prettyPrint?: boolean;
930
+ /** 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. */
931
+ quotaUser?: string;
932
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
933
+ requestId?: string;
934
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
935
+ upload_protocol?: string;
936
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
937
+ uploadType?: string;
938
+ /** Request body */
939
+ resource: MigrationJob;
940
+ }): Request<Operation>;
941
+ create(
942
+ request: {
943
+ /** V1 error format. */
944
+ '$.xgafv'?: '1' | '2';
945
+ /** OAuth access token. */
946
+ access_token?: string;
947
+ /** Data format for response. */
948
+ alt?: 'json' | 'media' | 'proto';
949
+ /** JSONP */
950
+ callback?: string;
951
+ /** Selector specifying which fields to include in a partial response. */
952
+ fields?: string;
953
+ /** 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. */
954
+ key?: string;
955
+ /** Required. The ID of the instance to create. */
956
+ migrationJobId?: string;
957
+ /** OAuth 2.0 token for the current user. */
958
+ oauth_token?: string;
959
+ /** Required. The parent, which owns this collection of migration jobs. */
960
+ parent: string;
961
+ /** Returns response with indentations and line breaks. */
962
+ prettyPrint?: boolean;
963
+ /** 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. */
964
+ quotaUser?: string;
965
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
966
+ requestId?: string;
967
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
968
+ upload_protocol?: string;
969
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
970
+ uploadType?: string;
971
+ },
972
+ body: MigrationJob,
973
+ ): Request<Operation>;
974
+ /** Deletes a single migration job. */
975
+ delete(request?: {
976
+ /** V1 error format. */
977
+ '$.xgafv'?: '1' | '2';
978
+ /** OAuth access token. */
979
+ access_token?: string;
980
+ /** Data format for response. */
981
+ alt?: 'json' | 'media' | 'proto';
982
+ /** JSONP */
983
+ callback?: string;
984
+ /** Selector specifying which fields to include in a partial response. */
985
+ fields?: string;
986
+ /** The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. */
987
+ force?: boolean;
988
+ /** 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. */
989
+ key?: string;
990
+ /** Required. Name of the migration job resource to delete. */
991
+ name: string;
992
+ /** OAuth 2.0 token for the current user. */
993
+ oauth_token?: string;
994
+ /** Returns response with indentations and line breaks. */
995
+ prettyPrint?: boolean;
996
+ /** 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. */
997
+ quotaUser?: string;
998
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
999
+ requestId?: string;
1000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1001
+ upload_protocol?: string;
1002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1003
+ uploadType?: string;
1004
+ }): Request<Operation>;
1005
+ /** Generate a SSH configuration script to configure the reverse SSH connectivity. */
1006
+ generateSshScript(request: {
1007
+ /** V1 error format. */
1008
+ '$.xgafv'?: '1' | '2';
1009
+ /** OAuth access token. */
1010
+ access_token?: string;
1011
+ /** Data format for response. */
1012
+ alt?: 'json' | 'media' | 'proto';
1013
+ /** JSONP */
1014
+ callback?: string;
1015
+ /** Selector specifying which fields to include in a partial response. */
1016
+ fields?: string;
1017
+ /** 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. */
1018
+ key?: string;
1019
+ /** Name of the migration job resource to generate the SSH script. */
1020
+ migrationJob: string;
1021
+ /** OAuth 2.0 token for the current user. */
1022
+ oauth_token?: string;
1023
+ /** Returns response with indentations and line breaks. */
1024
+ prettyPrint?: boolean;
1025
+ /** 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. */
1026
+ quotaUser?: string;
1027
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1028
+ upload_protocol?: string;
1029
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1030
+ uploadType?: string;
1031
+ /** Request body */
1032
+ resource: GenerateSshScriptRequest;
1033
+ }): Request<SshScript>;
1034
+ generateSshScript(
1035
+ request: {
1036
+ /** V1 error format. */
1037
+ '$.xgafv'?: '1' | '2';
1038
+ /** OAuth access token. */
1039
+ access_token?: string;
1040
+ /** Data format for response. */
1041
+ alt?: 'json' | 'media' | 'proto';
1042
+ /** JSONP */
1043
+ callback?: string;
1044
+ /** Selector specifying which fields to include in a partial response. */
1045
+ fields?: string;
1046
+ /** 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. */
1047
+ key?: string;
1048
+ /** Name of the migration job resource to generate the SSH script. */
1049
+ migrationJob: string;
1050
+ /** OAuth 2.0 token for the current user. */
1051
+ oauth_token?: string;
1052
+ /** Returns response with indentations and line breaks. */
1053
+ prettyPrint?: boolean;
1054
+ /** 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. */
1055
+ quotaUser?: string;
1056
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1057
+ upload_protocol?: string;
1058
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1059
+ uploadType?: string;
1060
+ },
1061
+ body: GenerateSshScriptRequest,
1062
+ ): Request<SshScript>;
1063
+ /** Gets details of a single migration job. */
1064
+ get(request?: {
1065
+ /** V1 error format. */
1066
+ '$.xgafv'?: '1' | '2';
1067
+ /** OAuth access token. */
1068
+ access_token?: string;
1069
+ /** Data format for response. */
1070
+ alt?: 'json' | 'media' | 'proto';
1071
+ /** JSONP */
1072
+ callback?: string;
1073
+ /** Selector specifying which fields to include in a partial response. */
1074
+ fields?: string;
1075
+ /** 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. */
1076
+ key?: string;
1077
+ /** Required. Name of the migration job resource to get. */
1078
+ name: string;
1079
+ /** OAuth 2.0 token for the current user. */
1080
+ oauth_token?: string;
1081
+ /** Returns response with indentations and line breaks. */
1082
+ prettyPrint?: boolean;
1083
+ /** 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. */
1084
+ quotaUser?: string;
1085
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1086
+ upload_protocol?: string;
1087
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1088
+ uploadType?: string;
1089
+ }): Request<MigrationJob>;
1090
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1091
+ getIamPolicy(request?: {
1092
+ /** V1 error format. */
1093
+ '$.xgafv'?: '1' | '2';
1094
+ /** OAuth access token. */
1095
+ access_token?: string;
1096
+ /** Data format for response. */
1097
+ alt?: 'json' | 'media' | 'proto';
1098
+ /** JSONP */
1099
+ callback?: string;
1100
+ /** Selector specifying which fields to include in a partial response. */
1101
+ fields?: string;
1102
+ /** 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. */
1103
+ key?: string;
1104
+ /** OAuth 2.0 token for the current user. */
1105
+ oauth_token?: string;
1106
+ /** 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). */
1107
+ 'options.requestedPolicyVersion'?: number;
1108
+ /** Returns response with indentations and line breaks. */
1109
+ prettyPrint?: boolean;
1110
+ /** 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. */
1111
+ quotaUser?: string;
1112
+ /** 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. */
1113
+ resource: string;
1114
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1115
+ upload_protocol?: string;
1116
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1117
+ uploadType?: string;
1118
+ }): Request<Policy>;
1119
+ /** Lists migration jobs in a given project and location. */
1120
+ list(request?: {
1121
+ /** V1 error format. */
1122
+ '$.xgafv'?: '1' | '2';
1123
+ /** OAuth access token. */
1124
+ access_token?: string;
1125
+ /** Data format for response. */
1126
+ alt?: 'json' | 'media' | 'proto';
1127
+ /** JSONP */
1128
+ callback?: string;
1129
+ /** Selector specifying which fields to include in a partial response. */
1130
+ fields?: string;
1131
+ /** A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion. */
1132
+ filter?: string;
1133
+ /** 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. */
1134
+ key?: string;
1135
+ /** OAuth 2.0 token for the current user. */
1136
+ oauth_token?: string;
1137
+ /** Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". */
1138
+ orderBy?: string;
1139
+ /** The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1140
+ pageSize?: number;
1141
+ /** The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token. */
1142
+ pageToken?: string;
1143
+ /** Required. The parent, which owns this collection of migrationJobs. */
1144
+ parent: string;
1145
+ /** Returns response with indentations and line breaks. */
1146
+ prettyPrint?: boolean;
1147
+ /** 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. */
1148
+ quotaUser?: string;
1149
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1150
+ upload_protocol?: string;
1151
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1152
+ uploadType?: string;
1153
+ }): Request<ListMigrationJobsResponse>;
1154
+ /** Updates the parameters of a single migration job. */
1155
+ patch(request: {
1156
+ /** V1 error format. */
1157
+ '$.xgafv'?: '1' | '2';
1158
+ /** OAuth access token. */
1159
+ access_token?: string;
1160
+ /** Data format for response. */
1161
+ alt?: 'json' | 'media' | 'proto';
1162
+ /** JSONP */
1163
+ callback?: string;
1164
+ /** Selector specifying which fields to include in a partial response. */
1165
+ fields?: string;
1166
+ /** 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. */
1167
+ key?: string;
1168
+ /** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
1169
+ name: string;
1170
+ /** OAuth 2.0 token for the current user. */
1171
+ oauth_token?: string;
1172
+ /** Returns response with indentations and line breaks. */
1173
+ prettyPrint?: boolean;
1174
+ /** 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. */
1175
+ quotaUser?: string;
1176
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1177
+ requestId?: string;
1178
+ /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
1179
+ updateMask?: string;
1180
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1181
+ upload_protocol?: string;
1182
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1183
+ uploadType?: string;
1184
+ /** Request body */
1185
+ resource: MigrationJob;
1186
+ }): Request<Operation>;
1187
+ patch(
1188
+ request: {
1189
+ /** V1 error format. */
1190
+ '$.xgafv'?: '1' | '2';
1191
+ /** OAuth access token. */
1192
+ access_token?: string;
1193
+ /** Data format for response. */
1194
+ alt?: 'json' | 'media' | 'proto';
1195
+ /** JSONP */
1196
+ callback?: string;
1197
+ /** Selector specifying which fields to include in a partial response. */
1198
+ fields?: string;
1199
+ /** 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. */
1200
+ key?: string;
1201
+ /** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
1202
+ name: string;
1203
+ /** OAuth 2.0 token for the current user. */
1204
+ oauth_token?: string;
1205
+ /** Returns response with indentations and line breaks. */
1206
+ prettyPrint?: boolean;
1207
+ /** 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. */
1208
+ quotaUser?: string;
1209
+ /** A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1210
+ requestId?: string;
1211
+ /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
1212
+ updateMask?: string;
1213
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1214
+ upload_protocol?: string;
1215
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1216
+ uploadType?: string;
1217
+ },
1218
+ body: MigrationJob,
1219
+ ): Request<Operation>;
1220
+ /** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
1221
+ promote(request: {
1222
+ /** V1 error format. */
1223
+ '$.xgafv'?: '1' | '2';
1224
+ /** OAuth access token. */
1225
+ access_token?: string;
1226
+ /** Data format for response. */
1227
+ alt?: 'json' | 'media' | 'proto';
1228
+ /** JSONP */
1229
+ callback?: string;
1230
+ /** Selector specifying which fields to include in a partial response. */
1231
+ fields?: string;
1232
+ /** 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. */
1233
+ key?: string;
1234
+ /** Name of the migration job resource to promote. */
1235
+ name: string;
1236
+ /** OAuth 2.0 token for the current user. */
1237
+ oauth_token?: string;
1238
+ /** Returns response with indentations and line breaks. */
1239
+ prettyPrint?: boolean;
1240
+ /** 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. */
1241
+ quotaUser?: string;
1242
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1243
+ upload_protocol?: string;
1244
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1245
+ uploadType?: string;
1246
+ /** Request body */
1247
+ resource: PromoteMigrationJobRequest;
1248
+ }): Request<Operation>;
1249
+ promote(
1250
+ request: {
1251
+ /** V1 error format. */
1252
+ '$.xgafv'?: '1' | '2';
1253
+ /** OAuth access token. */
1254
+ access_token?: string;
1255
+ /** Data format for response. */
1256
+ alt?: 'json' | 'media' | 'proto';
1257
+ /** JSONP */
1258
+ callback?: string;
1259
+ /** Selector specifying which fields to include in a partial response. */
1260
+ fields?: string;
1261
+ /** 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. */
1262
+ key?: string;
1263
+ /** Name of the migration job resource to promote. */
1264
+ name: string;
1265
+ /** OAuth 2.0 token for the current user. */
1266
+ oauth_token?: string;
1267
+ /** Returns response with indentations and line breaks. */
1268
+ prettyPrint?: boolean;
1269
+ /** 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. */
1270
+ quotaUser?: string;
1271
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1272
+ upload_protocol?: string;
1273
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1274
+ uploadType?: string;
1275
+ },
1276
+ body: PromoteMigrationJobRequest,
1277
+ ): Request<Operation>;
1278
+ /** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
1279
+ restart(request: {
1280
+ /** V1 error format. */
1281
+ '$.xgafv'?: '1' | '2';
1282
+ /** OAuth access token. */
1283
+ access_token?: string;
1284
+ /** Data format for response. */
1285
+ alt?: 'json' | 'media' | 'proto';
1286
+ /** JSONP */
1287
+ callback?: string;
1288
+ /** Selector specifying which fields to include in a partial response. */
1289
+ fields?: string;
1290
+ /** 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. */
1291
+ key?: string;
1292
+ /** Name of the migration job resource to restart. */
1293
+ name: string;
1294
+ /** OAuth 2.0 token for the current user. */
1295
+ oauth_token?: string;
1296
+ /** Returns response with indentations and line breaks. */
1297
+ prettyPrint?: boolean;
1298
+ /** 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. */
1299
+ quotaUser?: string;
1300
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1301
+ upload_protocol?: string;
1302
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1303
+ uploadType?: string;
1304
+ /** Request body */
1305
+ resource: RestartMigrationJobRequest;
1306
+ }): Request<Operation>;
1307
+ restart(
1308
+ request: {
1309
+ /** V1 error format. */
1310
+ '$.xgafv'?: '1' | '2';
1311
+ /** OAuth access token. */
1312
+ access_token?: string;
1313
+ /** Data format for response. */
1314
+ alt?: 'json' | 'media' | 'proto';
1315
+ /** JSONP */
1316
+ callback?: string;
1317
+ /** Selector specifying which fields to include in a partial response. */
1318
+ fields?: string;
1319
+ /** 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. */
1320
+ key?: string;
1321
+ /** Name of the migration job resource to restart. */
1322
+ name: string;
1323
+ /** OAuth 2.0 token for the current user. */
1324
+ oauth_token?: string;
1325
+ /** Returns response with indentations and line breaks. */
1326
+ prettyPrint?: boolean;
1327
+ /** 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. */
1328
+ quotaUser?: string;
1329
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1330
+ upload_protocol?: string;
1331
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1332
+ uploadType?: string;
1333
+ },
1334
+ body: RestartMigrationJobRequest,
1335
+ ): Request<Operation>;
1336
+ /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
1337
+ resume(request: {
1338
+ /** V1 error format. */
1339
+ '$.xgafv'?: '1' | '2';
1340
+ /** OAuth access token. */
1341
+ access_token?: string;
1342
+ /** Data format for response. */
1343
+ alt?: 'json' | 'media' | 'proto';
1344
+ /** JSONP */
1345
+ callback?: string;
1346
+ /** Selector specifying which fields to include in a partial response. */
1347
+ fields?: string;
1348
+ /** 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. */
1349
+ key?: string;
1350
+ /** Name of the migration job resource to resume. */
1351
+ name: string;
1352
+ /** OAuth 2.0 token for the current user. */
1353
+ oauth_token?: string;
1354
+ /** Returns response with indentations and line breaks. */
1355
+ prettyPrint?: boolean;
1356
+ /** 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. */
1357
+ quotaUser?: string;
1358
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1359
+ upload_protocol?: string;
1360
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1361
+ uploadType?: string;
1362
+ /** Request body */
1363
+ resource: ResumeMigrationJobRequest;
1364
+ }): Request<Operation>;
1365
+ resume(
1366
+ request: {
1367
+ /** V1 error format. */
1368
+ '$.xgafv'?: '1' | '2';
1369
+ /** OAuth access token. */
1370
+ access_token?: string;
1371
+ /** Data format for response. */
1372
+ alt?: 'json' | 'media' | 'proto';
1373
+ /** JSONP */
1374
+ callback?: string;
1375
+ /** Selector specifying which fields to include in a partial response. */
1376
+ fields?: string;
1377
+ /** 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. */
1378
+ key?: string;
1379
+ /** Name of the migration job resource to resume. */
1380
+ name: string;
1381
+ /** OAuth 2.0 token for the current user. */
1382
+ oauth_token?: string;
1383
+ /** Returns response with indentations and line breaks. */
1384
+ prettyPrint?: boolean;
1385
+ /** 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. */
1386
+ quotaUser?: string;
1387
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1388
+ upload_protocol?: string;
1389
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1390
+ uploadType?: string;
1391
+ },
1392
+ body: ResumeMigrationJobRequest,
1393
+ ): Request<Operation>;
1394
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1395
+ setIamPolicy(
1396
+ request: {
1397
+ /** V1 error format. */
1398
+ '$.xgafv'?: '1' | '2';
1399
+ /** OAuth access token. */
1400
+ access_token?: string;
1401
+ /** Data format for response. */
1402
+ alt?: 'json' | 'media' | 'proto';
1403
+ /** JSONP */
1404
+ callback?: string;
1405
+ /** Selector specifying which fields to include in a partial response. */
1406
+ fields?: string;
1407
+ /** 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. */
1408
+ key?: string;
1409
+ /** OAuth 2.0 token for the current user. */
1410
+ oauth_token?: string;
1411
+ /** Returns response with indentations and line breaks. */
1412
+ prettyPrint?: boolean;
1413
+ /** 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. */
1414
+ quotaUser?: string;
1415
+ /** 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. */
1416
+ resource: string;
1417
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1418
+ upload_protocol?: string;
1419
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1420
+ uploadType?: string;
1421
+ },
1422
+ body: SetIamPolicyRequest,
1423
+ ): Request<Policy>;
1424
+ /** Start an already created migration job. */
1425
+ start(request: {
1426
+ /** V1 error format. */
1427
+ '$.xgafv'?: '1' | '2';
1428
+ /** OAuth access token. */
1429
+ access_token?: string;
1430
+ /** Data format for response. */
1431
+ alt?: 'json' | 'media' | 'proto';
1432
+ /** JSONP */
1433
+ callback?: string;
1434
+ /** Selector specifying which fields to include in a partial response. */
1435
+ fields?: string;
1436
+ /** 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. */
1437
+ key?: string;
1438
+ /** Name of the migration job resource to start. */
1439
+ name: string;
1440
+ /** OAuth 2.0 token for the current user. */
1441
+ oauth_token?: string;
1442
+ /** Returns response with indentations and line breaks. */
1443
+ prettyPrint?: boolean;
1444
+ /** 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. */
1445
+ quotaUser?: string;
1446
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1447
+ upload_protocol?: string;
1448
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1449
+ uploadType?: string;
1450
+ /** Request body */
1451
+ resource: StartMigrationJobRequest;
1452
+ }): Request<Operation>;
1453
+ start(
1454
+ request: {
1455
+ /** V1 error format. */
1456
+ '$.xgafv'?: '1' | '2';
1457
+ /** OAuth access token. */
1458
+ access_token?: string;
1459
+ /** Data format for response. */
1460
+ alt?: 'json' | 'media' | 'proto';
1461
+ /** JSONP */
1462
+ callback?: string;
1463
+ /** Selector specifying which fields to include in a partial response. */
1464
+ fields?: string;
1465
+ /** 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. */
1466
+ key?: string;
1467
+ /** Name of the migration job resource to start. */
1468
+ name: string;
1469
+ /** OAuth 2.0 token for the current user. */
1470
+ oauth_token?: string;
1471
+ /** Returns response with indentations and line breaks. */
1472
+ prettyPrint?: boolean;
1473
+ /** 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. */
1474
+ quotaUser?: string;
1475
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1476
+ upload_protocol?: string;
1477
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1478
+ uploadType?: string;
1479
+ },
1480
+ body: StartMigrationJobRequest,
1481
+ ): Request<Operation>;
1482
+ /** Stops a running migration job. */
1483
+ stop(request: {
1484
+ /** V1 error format. */
1485
+ '$.xgafv'?: '1' | '2';
1486
+ /** OAuth access token. */
1487
+ access_token?: string;
1488
+ /** Data format for response. */
1489
+ alt?: 'json' | 'media' | 'proto';
1490
+ /** JSONP */
1491
+ callback?: string;
1492
+ /** Selector specifying which fields to include in a partial response. */
1493
+ fields?: string;
1494
+ /** 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. */
1495
+ key?: string;
1496
+ /** Name of the migration job resource to stop. */
1497
+ name: string;
1498
+ /** OAuth 2.0 token for the current user. */
1499
+ oauth_token?: string;
1500
+ /** Returns response with indentations and line breaks. */
1501
+ prettyPrint?: boolean;
1502
+ /** 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. */
1503
+ quotaUser?: string;
1504
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1505
+ upload_protocol?: string;
1506
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1507
+ uploadType?: string;
1508
+ /** Request body */
1509
+ resource: StopMigrationJobRequest;
1510
+ }): Request<Operation>;
1511
+ stop(
1512
+ request: {
1513
+ /** V1 error format. */
1514
+ '$.xgafv'?: '1' | '2';
1515
+ /** OAuth access token. */
1516
+ access_token?: string;
1517
+ /** Data format for response. */
1518
+ alt?: 'json' | 'media' | 'proto';
1519
+ /** JSONP */
1520
+ callback?: string;
1521
+ /** Selector specifying which fields to include in a partial response. */
1522
+ fields?: string;
1523
+ /** 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. */
1524
+ key?: string;
1525
+ /** Name of the migration job resource to stop. */
1526
+ name: string;
1527
+ /** OAuth 2.0 token for the current user. */
1528
+ oauth_token?: string;
1529
+ /** Returns response with indentations and line breaks. */
1530
+ prettyPrint?: boolean;
1531
+ /** 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. */
1532
+ quotaUser?: string;
1533
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1534
+ upload_protocol?: string;
1535
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1536
+ uploadType?: string;
1537
+ },
1538
+ body: StopMigrationJobRequest,
1539
+ ): Request<Operation>;
1540
+ /** 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. */
1541
+ testIamPermissions(
1542
+ request: {
1543
+ /** V1 error format. */
1544
+ '$.xgafv'?: '1' | '2';
1545
+ /** OAuth access token. */
1546
+ access_token?: string;
1547
+ /** Data format for response. */
1548
+ alt?: 'json' | 'media' | 'proto';
1549
+ /** JSONP */
1550
+ callback?: string;
1551
+ /** Selector specifying which fields to include in a partial response. */
1552
+ fields?: string;
1553
+ /** 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. */
1554
+ key?: string;
1555
+ /** OAuth 2.0 token for the current user. */
1556
+ oauth_token?: string;
1557
+ /** Returns response with indentations and line breaks. */
1558
+ prettyPrint?: boolean;
1559
+ /** 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. */
1560
+ quotaUser?: string;
1561
+ /** 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. */
1562
+ resource: string;
1563
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1564
+ upload_protocol?: string;
1565
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1566
+ uploadType?: string;
1567
+ },
1568
+ body: TestIamPermissionsRequest,
1569
+ ): Request<TestIamPermissionsResponse>;
1570
+ /** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
1571
+ verify(request: {
1572
+ /** V1 error format. */
1573
+ '$.xgafv'?: '1' | '2';
1574
+ /** OAuth access token. */
1575
+ access_token?: string;
1576
+ /** Data format for response. */
1577
+ alt?: 'json' | 'media' | 'proto';
1578
+ /** JSONP */
1579
+ callback?: string;
1580
+ /** Selector specifying which fields to include in a partial response. */
1581
+ fields?: string;
1582
+ /** 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. */
1583
+ key?: string;
1584
+ /** Name of the migration job resource to verify. */
1585
+ name: string;
1586
+ /** OAuth 2.0 token for the current user. */
1587
+ oauth_token?: string;
1588
+ /** Returns response with indentations and line breaks. */
1589
+ prettyPrint?: boolean;
1590
+ /** 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. */
1591
+ quotaUser?: string;
1592
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1593
+ upload_protocol?: string;
1594
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1595
+ uploadType?: string;
1596
+ /** Request body */
1597
+ resource: VerifyMigrationJobRequest;
1598
+ }): Request<Operation>;
1599
+ verify(
1600
+ request: {
1601
+ /** V1 error format. */
1602
+ '$.xgafv'?: '1' | '2';
1603
+ /** OAuth access token. */
1604
+ access_token?: string;
1605
+ /** Data format for response. */
1606
+ alt?: 'json' | 'media' | 'proto';
1607
+ /** JSONP */
1608
+ callback?: string;
1609
+ /** Selector specifying which fields to include in a partial response. */
1610
+ fields?: string;
1611
+ /** 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. */
1612
+ key?: string;
1613
+ /** Name of the migration job resource to verify. */
1614
+ name: string;
1615
+ /** OAuth 2.0 token for the current user. */
1616
+ oauth_token?: string;
1617
+ /** Returns response with indentations and line breaks. */
1618
+ prettyPrint?: boolean;
1619
+ /** 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. */
1620
+ quotaUser?: string;
1621
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1622
+ upload_protocol?: string;
1623
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1624
+ uploadType?: string;
1625
+ },
1626
+ body: VerifyMigrationJobRequest,
1627
+ ): Request<Operation>;
1628
+ };
1629
+ operations: {
1630
+ /** 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`. */
1631
+ cancel(request: {
1632
+ /** V1 error format. */
1633
+ '$.xgafv'?: '1' | '2';
1634
+ /** OAuth access token. */
1635
+ access_token?: string;
1636
+ /** Data format for response. */
1637
+ alt?: 'json' | 'media' | 'proto';
1638
+ /** JSONP */
1639
+ callback?: string;
1640
+ /** Selector specifying which fields to include in a partial response. */
1641
+ fields?: string;
1642
+ /** 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. */
1643
+ key?: string;
1644
+ /** The name of the operation resource to be cancelled. */
1645
+ name: string;
1646
+ /** OAuth 2.0 token for the current user. */
1647
+ oauth_token?: string;
1648
+ /** Returns response with indentations and line breaks. */
1649
+ prettyPrint?: boolean;
1650
+ /** 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. */
1651
+ quotaUser?: string;
1652
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1653
+ upload_protocol?: string;
1654
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1655
+ uploadType?: string;
1656
+ /** Request body */
1657
+ resource: CancelOperationRequest;
1658
+ }): Request<{}>;
1659
+ cancel(
1660
+ request: {
1661
+ /** V1 error format. */
1662
+ '$.xgafv'?: '1' | '2';
1663
+ /** OAuth access token. */
1664
+ access_token?: string;
1665
+ /** Data format for response. */
1666
+ alt?: 'json' | 'media' | 'proto';
1667
+ /** JSONP */
1668
+ callback?: string;
1669
+ /** Selector specifying which fields to include in a partial response. */
1670
+ fields?: string;
1671
+ /** 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. */
1672
+ key?: string;
1673
+ /** The name of the operation resource to be cancelled. */
1674
+ name: string;
1675
+ /** OAuth 2.0 token for the current user. */
1676
+ oauth_token?: string;
1677
+ /** Returns response with indentations and line breaks. */
1678
+ prettyPrint?: boolean;
1679
+ /** 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. */
1680
+ quotaUser?: string;
1681
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1682
+ upload_protocol?: string;
1683
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1684
+ uploadType?: string;
1685
+ },
1686
+ body: CancelOperationRequest,
1687
+ ): Request<{}>;
1688
+ /** 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`. */
1689
+ delete(request?: {
1690
+ /** V1 error format. */
1691
+ '$.xgafv'?: '1' | '2';
1692
+ /** OAuth access token. */
1693
+ access_token?: string;
1694
+ /** Data format for response. */
1695
+ alt?: 'json' | 'media' | 'proto';
1696
+ /** JSONP */
1697
+ callback?: string;
1698
+ /** Selector specifying which fields to include in a partial response. */
1699
+ fields?: string;
1700
+ /** 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. */
1701
+ key?: string;
1702
+ /** The name of the operation resource to be deleted. */
1703
+ name: string;
1704
+ /** OAuth 2.0 token for the current user. */
1705
+ oauth_token?: string;
1706
+ /** Returns response with indentations and line breaks. */
1707
+ prettyPrint?: boolean;
1708
+ /** 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. */
1709
+ quotaUser?: string;
1710
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1711
+ upload_protocol?: string;
1712
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1713
+ uploadType?: string;
1714
+ }): Request<{}>;
1715
+ /** 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. */
1716
+ get(request?: {
1717
+ /** V1 error format. */
1718
+ '$.xgafv'?: '1' | '2';
1719
+ /** OAuth access token. */
1720
+ access_token?: string;
1721
+ /** Data format for response. */
1722
+ alt?: 'json' | 'media' | 'proto';
1723
+ /** JSONP */
1724
+ callback?: string;
1725
+ /** Selector specifying which fields to include in a partial response. */
1726
+ fields?: string;
1727
+ /** 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. */
1728
+ key?: string;
1729
+ /** The name of the operation resource. */
1730
+ name: string;
1731
+ /** OAuth 2.0 token for the current user. */
1732
+ oauth_token?: string;
1733
+ /** Returns response with indentations and line breaks. */
1734
+ prettyPrint?: boolean;
1735
+ /** 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. */
1736
+ quotaUser?: string;
1737
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1738
+ upload_protocol?: string;
1739
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1740
+ uploadType?: string;
1741
+ }): Request<Operation>;
1742
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1743
+ list(request?: {
1744
+ /** V1 error format. */
1745
+ '$.xgafv'?: '1' | '2';
1746
+ /** OAuth access token. */
1747
+ access_token?: string;
1748
+ /** Data format for response. */
1749
+ alt?: 'json' | 'media' | 'proto';
1750
+ /** JSONP */
1751
+ callback?: string;
1752
+ /** Selector specifying which fields to include in a partial response. */
1753
+ fields?: string;
1754
+ /** The standard list filter. */
1755
+ filter?: string;
1756
+ /** 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. */
1757
+ key?: string;
1758
+ /** The name of the operation's parent resource. */
1759
+ name: string;
1760
+ /** OAuth 2.0 token for the current user. */
1761
+ oauth_token?: string;
1762
+ /** The standard list page size. */
1763
+ pageSize?: number;
1764
+ /** The standard list page token. */
1765
+ pageToken?: string;
1766
+ /** Returns response with indentations and line breaks. */
1767
+ prettyPrint?: boolean;
1768
+ /** 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. */
1769
+ quotaUser?: string;
1770
+ /** 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. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1771
+ returnPartialSuccess?: boolean;
1772
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1773
+ upload_protocol?: string;
1774
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1775
+ uploadType?: string;
1776
+ }): Request<ListOperationsResponse>;
1777
+ };
1778
+ };
1779
+ };
1785
1780
  }
1786
1781
  }