google-apis-migrationcenter_v1alpha1 0.28.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MigrationcenterV1alpha1
18
18
  # Version of the google-apis-migrationcenter_v1alpha1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240421"
25
+ REVISION = "20240523"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,36 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class AssetsExportJob
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class AssetsExportJobExecution
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class AssetsExportJobExecutionResult
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class AssetsExportJobExportCondition
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class AssetsExportJobNetworkDependencies
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class AwsEc2PlatformDetails
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -610,6 +640,12 @@ module Google
610
640
  include Google::Apis::Core::JsonObjectSupport
611
641
  end
612
642
 
643
+ class ListAssetsExportJobsResponse
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
613
649
  class ListAssetsResponse
614
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
651
 
@@ -724,6 +760,30 @@ module Google
724
760
  include Google::Apis::Core::JsonObjectSupport
725
761
  end
726
762
 
763
+ class MySqlProperty
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class MySqlSchemaDetails
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class MySqlStorageEngineDetails
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class MySqlVariable
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
727
787
  class MysqlDatabaseDeployment
728
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
789
 
@@ -838,6 +898,30 @@ module Google
838
898
  include Google::Apis::Core::JsonObjectSupport
839
899
  end
840
900
 
901
+ class PostgreSqlExtension
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class PostgreSqlProperty
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class PostgreSqlSchemaDetails
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class PostgreSqlSetting
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
841
925
  class PreferenceSet
842
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
927
 
@@ -982,6 +1066,18 @@ module Google
982
1066
  include Google::Apis::Core::JsonObjectSupport
983
1067
  end
984
1068
 
1069
+ class RunAssetsExportJobRequest
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1075
+ class RunAssetsExportJobResponse
1076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1077
+
1078
+ include Google::Apis::Core::JsonObjectSupport
1079
+ end
1080
+
985
1081
  class RunImportJobRequest
986
1082
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1083
 
@@ -1036,6 +1132,24 @@ module Google
1036
1132
  include Google::Apis::Core::JsonObjectSupport
1037
1133
  end
1038
1134
 
1135
+ class SignedUri
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1141
+ class SignedUriDestination
1142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1143
+
1144
+ include Google::Apis::Core::JsonObjectSupport
1145
+ end
1146
+
1147
+ class SignedUris
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1039
1153
  class SoftwareInsight
1040
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1041
1155
 
@@ -1072,6 +1186,12 @@ module Google
1072
1186
  include Google::Apis::Core::JsonObjectSupport
1073
1187
  end
1074
1188
 
1189
+ class SqlServerSchemaDetails
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1075
1195
  class SqlServerServerFlag
1076
1196
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1197
 
@@ -1368,6 +1488,60 @@ module Google
1368
1488
  end
1369
1489
  end
1370
1490
 
1491
+ class AssetsExportJob
1492
+ # @private
1493
+ class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :condition, as: 'condition', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition::Representation
1495
+
1496
+ property :create_time, as: 'createTime'
1497
+ hash :labels, as: 'labels'
1498
+ property :name, as: 'name'
1499
+ property :network_dependencies, as: 'networkDependencies', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies::Representation
1500
+
1501
+ collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
1502
+
1503
+ property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
1504
+
1505
+ property :update_time, as: 'updateTime'
1506
+ end
1507
+ end
1508
+
1509
+ class AssetsExportJobExecution
1510
+ # @private
1511
+ class Representation < Google::Apis::Core::JsonRepresentation
1512
+ property :end_time, as: 'endTime'
1513
+ property :execution_id, as: 'executionId'
1514
+ property :expire_time, as: 'expireTime'
1515
+ property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult::Representation
1516
+
1517
+ property :start_time, as: 'startTime'
1518
+ end
1519
+ end
1520
+
1521
+ class AssetsExportJobExecutionResult
1522
+ # @private
1523
+ class Representation < Google::Apis::Core::JsonRepresentation
1524
+ property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
1525
+
1526
+ property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
1527
+
1528
+ end
1529
+ end
1530
+
1531
+ class AssetsExportJobExportCondition
1532
+ # @private
1533
+ class Representation < Google::Apis::Core::JsonRepresentation
1534
+ property :filter, as: 'filter'
1535
+ end
1536
+ end
1537
+
1538
+ class AssetsExportJobNetworkDependencies
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ property :max_days, as: 'maxDays'
1542
+ end
1543
+ end
1544
+
1371
1545
  class AwsEc2PlatformDetails
1372
1546
  # @private
1373
1547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1737,9 +1911,15 @@ module Google
1737
1911
  class DatabaseSchema
1738
1912
  # @private
1739
1913
  class Representation < Google::Apis::Core::JsonRepresentation
1914
+ property :mysql, as: 'mysql', class: Google::Apis::MigrationcenterV1alpha1::MySqlSchemaDetails, decorator: Google::Apis::MigrationcenterV1alpha1::MySqlSchemaDetails::Representation
1915
+
1740
1916
  collection :objects, as: 'objects', class: Google::Apis::MigrationcenterV1alpha1::DatabaseObjects, decorator: Google::Apis::MigrationcenterV1alpha1::DatabaseObjects::Representation
1741
1917
 
1918
+ property :postgresql, as: 'postgresql', class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails, decorator: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails::Representation
1919
+
1742
1920
  property :schema_name, as: 'schemaName'
1921
+ property :sql_server, as: 'sqlServer', class: Google::Apis::MigrationcenterV1alpha1::SqlServerSchemaDetails, decorator: Google::Apis::MigrationcenterV1alpha1::SqlServerSchemaDetails::Representation
1922
+
1743
1923
  property :tables_size_bytes, :numeric_string => true, as: 'tablesSizeBytes'
1744
1924
  end
1745
1925
  end
@@ -2206,6 +2386,15 @@ module Google
2206
2386
  end
2207
2387
  end
2208
2388
 
2389
+ class ListAssetsExportJobsResponse
2390
+ # @private
2391
+ class Representation < Google::Apis::Core::JsonRepresentation
2392
+ collection :assets_export_jobs, as: 'assetsExportJobs', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
2393
+
2394
+ property :next_page_token, as: 'nextPageToken'
2395
+ end
2396
+ end
2397
+
2209
2398
  class ListAssetsResponse
2210
2399
  # @private
2211
2400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2395,11 +2584,51 @@ module Google
2395
2584
  end
2396
2585
  end
2397
2586
 
2587
+ class MySqlProperty
2588
+ # @private
2589
+ class Representation < Google::Apis::Core::JsonRepresentation
2590
+ property :enabled, as: 'enabled'
2591
+ property :numeric_value, :numeric_string => true, as: 'numericValue'
2592
+ property :property, as: 'property'
2593
+ end
2594
+ end
2595
+
2596
+ class MySqlSchemaDetails
2597
+ # @private
2598
+ class Representation < Google::Apis::Core::JsonRepresentation
2599
+ collection :storage_engines, as: 'storageEngines', class: Google::Apis::MigrationcenterV1alpha1::MySqlStorageEngineDetails, decorator: Google::Apis::MigrationcenterV1alpha1::MySqlStorageEngineDetails::Representation
2600
+
2601
+ end
2602
+ end
2603
+
2604
+ class MySqlStorageEngineDetails
2605
+ # @private
2606
+ class Representation < Google::Apis::Core::JsonRepresentation
2607
+ property :encrypted_table_count, as: 'encryptedTableCount'
2608
+ property :engine, as: 'engine'
2609
+ property :table_count, as: 'tableCount'
2610
+ end
2611
+ end
2612
+
2613
+ class MySqlVariable
2614
+ # @private
2615
+ class Representation < Google::Apis::Core::JsonRepresentation
2616
+ property :category, as: 'category'
2617
+ property :value, as: 'value'
2618
+ property :variable, as: 'variable'
2619
+ end
2620
+ end
2621
+
2398
2622
  class MysqlDatabaseDeployment
2399
2623
  # @private
2400
2624
  class Representation < Google::Apis::Core::JsonRepresentation
2401
2625
  collection :plugins, as: 'plugins', class: Google::Apis::MigrationcenterV1alpha1::MySqlPlugin, decorator: Google::Apis::MigrationcenterV1alpha1::MySqlPlugin::Representation
2402
2626
 
2627
+ collection :properties, as: 'properties', class: Google::Apis::MigrationcenterV1alpha1::MySqlProperty, decorator: Google::Apis::MigrationcenterV1alpha1::MySqlProperty::Representation
2628
+
2629
+ property :resource_groups_count, as: 'resourceGroupsCount'
2630
+ collection :variables, as: 'variables', class: Google::Apis::MigrationcenterV1alpha1::MySqlVariable, decorator: Google::Apis::MigrationcenterV1alpha1::MySqlVariable::Representation
2631
+
2403
2632
  end
2404
2633
  end
2405
2634
 
@@ -2578,6 +2807,49 @@ module Google
2578
2807
  class PostgreSqlDatabaseDeployment
2579
2808
  # @private
2580
2809
  class Representation < Google::Apis::Core::JsonRepresentation
2810
+ collection :properties, as: 'properties', class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlProperty, decorator: Google::Apis::MigrationcenterV1alpha1::PostgreSqlProperty::Representation
2811
+
2812
+ collection :settings, as: 'settings', class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSetting, decorator: Google::Apis::MigrationcenterV1alpha1::PostgreSqlSetting::Representation
2813
+
2814
+ end
2815
+ end
2816
+
2817
+ class PostgreSqlExtension
2818
+ # @private
2819
+ class Representation < Google::Apis::Core::JsonRepresentation
2820
+ property :extension, as: 'extension'
2821
+ property :version, as: 'version'
2822
+ end
2823
+ end
2824
+
2825
+ class PostgreSqlProperty
2826
+ # @private
2827
+ class Representation < Google::Apis::Core::JsonRepresentation
2828
+ property :enabled, as: 'enabled'
2829
+ property :numeric_value, :numeric_string => true, as: 'numericValue'
2830
+ property :property, as: 'property'
2831
+ end
2832
+ end
2833
+
2834
+ class PostgreSqlSchemaDetails
2835
+ # @private
2836
+ class Representation < Google::Apis::Core::JsonRepresentation
2837
+ property :foreign_tables_count, as: 'foreignTablesCount'
2838
+ collection :postgresql_extensions, as: 'postgresqlExtensions', class: Google::Apis::MigrationcenterV1alpha1::PostgreSqlExtension, decorator: Google::Apis::MigrationcenterV1alpha1::PostgreSqlExtension::Representation
2839
+
2840
+ end
2841
+ end
2842
+
2843
+ class PostgreSqlSetting
2844
+ # @private
2845
+ class Representation < Google::Apis::Core::JsonRepresentation
2846
+ property :bool_value, as: 'boolValue'
2847
+ property :int_value, :numeric_string => true, as: 'intValue'
2848
+ property :real_value, as: 'realValue'
2849
+ property :setting, as: 'setting'
2850
+ property :source, as: 'source'
2851
+ property :string_value, as: 'stringValue'
2852
+ property :unit, as: 'unit'
2581
2853
  end
2582
2854
  end
2583
2855
 
@@ -2872,6 +3144,21 @@ module Google
2872
3144
  end
2873
3145
  end
2874
3146
 
3147
+ class RunAssetsExportJobRequest
3148
+ # @private
3149
+ class Representation < Google::Apis::Core::JsonRepresentation
3150
+ property :request_id, as: 'requestId'
3151
+ end
3152
+ end
3153
+
3154
+ class RunAssetsExportJobResponse
3155
+ # @private
3156
+ class Representation < Google::Apis::Core::JsonRepresentation
3157
+ property :assets_export_job_execution, as: 'assetsExportJobExecution', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
3158
+
3159
+ end
3160
+ end
3161
+
2875
3162
  class RunImportJobRequest
2876
3163
  # @private
2877
3164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2956,6 +3243,28 @@ module Google
2956
3243
  end
2957
3244
  end
2958
3245
 
3246
+ class SignedUri
3247
+ # @private
3248
+ class Representation < Google::Apis::Core::JsonRepresentation
3249
+ property :file, as: 'file'
3250
+ property :uri, as: 'uri'
3251
+ end
3252
+ end
3253
+
3254
+ class SignedUriDestination
3255
+ # @private
3256
+ class Representation < Google::Apis::Core::JsonRepresentation
3257
+ end
3258
+ end
3259
+
3260
+ class SignedUris
3261
+ # @private
3262
+ class Representation < Google::Apis::Core::JsonRepresentation
3263
+ collection :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUri, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUri::Representation
3264
+
3265
+ end
3266
+ end
3267
+
2959
3268
  class SoftwareInsight
2960
3269
  # @private
2961
3270
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3019,6 +3328,12 @@ module Google
3019
3328
  end
3020
3329
  end
3021
3330
 
3331
+ class SqlServerSchemaDetails
3332
+ # @private
3333
+ class Representation < Google::Apis::Core::JsonRepresentation
3334
+ end
3335
+ end
3336
+
3022
3337
  class SqlServerServerFlag
3023
3338
  # @private
3024
3339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -519,6 +519,184 @@ module Google
519
519
  execute_or_queue_command(command, &block)
520
520
  end
521
521
 
522
+ # Creates a new assets export job.
523
+ # @param [String] parent
524
+ # Required. The parent resource where the assts export job will be created.
525
+ # @param [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] assets_export_job_object
526
+ # @param [String] assets_export_job_id
527
+ # Required. The ID to use for the asset export job.
528
+ # @param [String] request_id
529
+ # Optional. An optional request ID to identify requests. Specify a unique
530
+ # request ID so that if you must retry your request, the server will know to
531
+ # ignore the request if it has already been completed. The server will guarantee
532
+ # that for at least 60 minutes after the first request. For example, consider a
533
+ # situation where you make an initial request and the request times out. If you
534
+ # make the request again with the same request ID, the server can check if
535
+ # original operation with the same request ID was received, and if so, will
536
+ # ignore the second request. This prevents clients from accidentally creating
537
+ # duplicate commitments. The request ID must be a valid UUID with the exception
538
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
539
+ # @param [String] fields
540
+ # Selector specifying which fields to include in a partial response.
541
+ # @param [String] quota_user
542
+ # Available to use for quota purposes for server-side applications. Can be any
543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
544
+ # @param [Google::Apis::RequestOptions] options
545
+ # Request-specific options
546
+ #
547
+ # @yield [result, err] Result & error if block supplied
548
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
549
+ # @yieldparam err [StandardError] error object if request failed
550
+ #
551
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
552
+ #
553
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
556
+ def create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
557
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/assetsExportJobs', options)
558
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
559
+ command.request_object = assets_export_job_object
560
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
561
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
562
+ command.params['parent'] = parent unless parent.nil?
563
+ command.query['assetsExportJobId'] = assets_export_job_id unless assets_export_job_id.nil?
564
+ command.query['requestId'] = request_id unless request_id.nil?
565
+ command.query['fields'] = fields unless fields.nil?
566
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
567
+ execute_or_queue_command(command, &block)
568
+ end
569
+
570
+ # Deletes an assets export job.
571
+ # @param [String] name
572
+ # Required. The name of the assets export job to delete.
573
+ # @param [String] fields
574
+ # Selector specifying which fields to include in a partial response.
575
+ # @param [String] quota_user
576
+ # Available to use for quota purposes for server-side applications. Can be any
577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
578
+ # @param [Google::Apis::RequestOptions] options
579
+ # Request-specific options
580
+ #
581
+ # @yield [result, err] Result & error if block supplied
582
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
583
+ # @yieldparam err [StandardError] error object if request failed
584
+ #
585
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
586
+ #
587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
590
+ def delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
591
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
592
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
593
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
594
+ command.params['name'] = name unless name.nil?
595
+ command.query['fields'] = fields unless fields.nil?
596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
597
+ execute_or_queue_command(command, &block)
598
+ end
599
+
600
+ # Gets the details of an assets export job.
601
+ # @param [String] name
602
+ # Required. Name of the resource.
603
+ # @param [String] fields
604
+ # Selector specifying which fields to include in a partial response.
605
+ # @param [String] quota_user
606
+ # Available to use for quota purposes for server-side applications. Can be any
607
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
608
+ # @param [Google::Apis::RequestOptions] options
609
+ # Request-specific options
610
+ #
611
+ # @yield [result, err] Result & error if block supplied
612
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] parsed result object
613
+ # @yieldparam err [StandardError] error object if request failed
614
+ #
615
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob]
616
+ #
617
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
618
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
619
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
620
+ def get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
621
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
622
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
623
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob
624
+ command.params['name'] = name unless name.nil?
625
+ command.query['fields'] = fields unless fields.nil?
626
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
627
+ execute_or_queue_command(command, &block)
628
+ end
629
+
630
+ # Lists all the assets export jobs in a given project and location.
631
+ # @param [String] parent
632
+ # Required. Parent resource.
633
+ # @param [Fixnum] page_size
634
+ # Optional. Requested page size. The server may return fewer items than
635
+ # requested. If unspecified, the server will pick an appropriate default value.
636
+ # @param [String] page_token
637
+ # Optional. A token identifying a page of results that the server should return.
638
+ # @param [String] fields
639
+ # Selector specifying which fields to include in a partial response.
640
+ # @param [String] quota_user
641
+ # Available to use for quota purposes for server-side applications. Can be any
642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
643
+ # @param [Google::Apis::RequestOptions] options
644
+ # Request-specific options
645
+ #
646
+ # @yield [result, err] Result & error if block supplied
647
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse] parsed result object
648
+ # @yieldparam err [StandardError] error object if request failed
649
+ #
650
+ # @return [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse]
651
+ #
652
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
655
+ def list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
656
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/assetsExportJobs', options)
657
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse::Representation
658
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse
659
+ command.params['parent'] = parent unless parent.nil?
660
+ command.query['pageSize'] = page_size unless page_size.nil?
661
+ command.query['pageToken'] = page_token unless page_token.nil?
662
+ command.query['fields'] = fields unless fields.nil?
663
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
664
+ execute_or_queue_command(command, &block)
665
+ end
666
+
667
+ # Runs an assets export job, returning an AssetsExportJobExecution.
668
+ # @param [String] name
669
+ # Required. Name of the resource.
670
+ # @param [Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest] run_assets_export_job_request_object
671
+ # @param [String] fields
672
+ # Selector specifying which fields to include in a partial response.
673
+ # @param [String] quota_user
674
+ # Available to use for quota purposes for server-side applications. Can be any
675
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
676
+ # @param [Google::Apis::RequestOptions] options
677
+ # Request-specific options
678
+ #
679
+ # @yield [result, err] Result & error if block supplied
680
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
681
+ # @yieldparam err [StandardError] error object if request failed
682
+ #
683
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
684
+ #
685
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
686
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
687
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
688
+ def run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
689
+ command = make_simple_command(:post, 'v1alpha1/{+name}:run', options)
690
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest::Representation
691
+ command.request_object = run_assets_export_job_request_object
692
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
693
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
694
+ command.params['name'] = name unless name.nil?
695
+ command.query['fields'] = fields unless fields.nil?
696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
697
+ execute_or_queue_command(command, &block)
698
+ end
699
+
522
700
  # Creates a new discovery client.
523
701
  # @param [String] parent
524
702
  # Required. Parent resource.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-migrationcenter_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []