google-apis-migrationcenter_v1alpha1 0.50.0 → 0.51.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6633ef5218f31f831c0c11de003accbbafbe1a65d3b1b1b5be5848cd43e8bf1
4
- data.tar.gz: d6fa0905923e7cc6b2f27289f39adf303cd397ef94c2c9d360ef754268449266
3
+ metadata.gz: 3c5b24e3c2cfe700d0e52ba69ce97eecc50186e368394963eafaf9cf7e650d77
4
+ data.tar.gz: '079e87261d90e5bcb67aadf222c38b32741a7d5db9030979f2b8f1ee00f26bba'
5
5
  SHA512:
6
- metadata.gz: b21e74ef0b4d4fbdb78575a2eb544cb3f16db220340249b8ed0d8ff4810f052ec37590def3f217bb413608f3f1f8a8488e9d76dfd06a662887ea34a670590ef9
7
- data.tar.gz: fab433009bb09467b19b84e8b0bf857add1acc9fc50776a9876a93c24f3cef89e68bd613805793b1a6138652719f9adf2f07b5f67c78b26c1c29189d3edd744a
6
+ metadata.gz: 9f913cb6c12f27604c0d26a268fb3072c8aa3622335e21cb28fd2fa57650ac1727cf73d54dbc56ed696ff972bbdfa81f9a50009478d4f4a60a1420d0d780a472
7
+ data.tar.gz: 3089f5ec304e409a6eea88b77dd7f618156b58f528ea165348053e49452ea07aa85f5b752b91774d24327d8abafa9471f296f0d377c05842452e541832ec46df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.51.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251106
6
+
3
7
  ### v0.50.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251023
@@ -3322,6 +3322,38 @@ module Google
3322
3322
  end
3323
3323
  end
3324
3324
 
3325
+ # Request to export a detailed pricing report.
3326
+ class ExportReportRequest
3327
+ include Google::Apis::Core::Hashable
3328
+
3329
+ def initialize(**args)
3330
+ update!(**args)
3331
+ end
3332
+
3333
+ # Update properties of this object
3334
+ def update!(**args)
3335
+ end
3336
+ end
3337
+
3338
+ # Response message for exporting report.
3339
+ class ExportReportResponse
3340
+ include Google::Apis::Core::Hashable
3341
+
3342
+ # For large generated report, we may return multiple links
3343
+ # Corresponds to the JSON property `reportArtifactLinks`
3344
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink>]
3345
+ attr_accessor :report_artifact_links
3346
+
3347
+ def initialize(**args)
3348
+ update!(**args)
3349
+ end
3350
+
3351
+ # Update properties of this object
3352
+ def update!(**args)
3353
+ @report_artifact_links = args[:report_artifact_links] if args.key?(:report_artifact_links)
3354
+ end
3355
+ end
3356
+
3325
3357
  # A resource that aggregates the validation errors found in an import job file.
3326
3358
  class FileValidationReport
3327
3359
  include Google::Apis::Core::Hashable
@@ -3518,6 +3550,25 @@ module Google
3518
3550
  end
3519
3551
  end
3520
3552
 
3553
+ # A request to generate a link to an artifact for a Report.
3554
+ class GenerateReportArtifactLinkRequest
3555
+ include Google::Apis::Core::Hashable
3556
+
3557
+ # Required. Type of the artifact requested.
3558
+ # Corresponds to the JSON property `artifactType`
3559
+ # @return [String]
3560
+ attr_accessor :artifact_type
3561
+
3562
+ def initialize(**args)
3563
+ update!(**args)
3564
+ end
3565
+
3566
+ # Update properties of this object
3567
+ def update!(**args)
3568
+ @artifact_type = args[:artifact_type] if args.key?(:artifact_type)
3569
+ end
3570
+ end
3571
+
3521
3572
  # A generic insight about an asset.
3522
3573
  class GenericInsight
3523
3574
  include Google::Apis::Core::Hashable
@@ -4798,6 +4849,31 @@ module Google
4798
4849
  end
4799
4850
  end
4800
4851
 
4852
+ # Response message for listing report export jobs.
4853
+ class ListReportExportJobsResponse
4854
+ include Google::Apis::Core::Hashable
4855
+
4856
+ # Output only. A token identifying a page of results the server should return.
4857
+ # Corresponds to the JSON property `nextPageToken`
4858
+ # @return [String]
4859
+ attr_accessor :next_page_token
4860
+
4861
+ # Output only. The list of report export jobs.
4862
+ # Corresponds to the JSON property `reportExportJobs`
4863
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportExportJob>]
4864
+ attr_accessor :report_export_jobs
4865
+
4866
+ def initialize(**args)
4867
+ update!(**args)
4868
+ end
4869
+
4870
+ # Update properties of this object
4871
+ def update!(**args)
4872
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4873
+ @report_export_jobs = args[:report_export_jobs] if args.key?(:report_export_jobs)
4874
+ end
4875
+ end
4876
+
4801
4877
  # Response message for listing Reports.
4802
4878
  class ListReportsResponse
4803
4879
  include Google::Apis::Core::Hashable
@@ -6550,6 +6626,11 @@ module Google
6550
6626
  # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummary]
6551
6627
  attr_accessor :summary
6552
6628
 
6629
+ # Detailed data related to Total Cost of Ownership (TCO) pricing.
6630
+ # Corresponds to the JSON property `tcoDetails`
6631
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportTotalCostOfOwnershipDetails]
6632
+ attr_accessor :tco_details
6633
+
6553
6634
  # Report type.
6554
6635
  # Corresponds to the JSON property `type`
6555
6636
  # @return [String]
@@ -6572,11 +6653,43 @@ module Google
6572
6653
  @name = args[:name] if args.key?(:name)
6573
6654
  @state = args[:state] if args.key?(:state)
6574
6655
  @summary = args[:summary] if args.key?(:summary)
6656
+ @tco_details = args[:tco_details] if args.key?(:tco_details)
6575
6657
  @type = args[:type] if args.key?(:type)
6576
6658
  @update_time = args[:update_time] if args.key?(:update_time)
6577
6659
  end
6578
6660
  end
6579
6661
 
6662
+ # Describes a link to a generated artifact of the report.
6663
+ class ReportArtifactLink
6664
+ include Google::Apis::Core::Hashable
6665
+
6666
+ # Output only. Human friendly display name of the artifact.
6667
+ # Corresponds to the JSON property `displayName`
6668
+ # @return [String]
6669
+ attr_accessor :display_name
6670
+
6671
+ # Output only. URI of the artifact.
6672
+ # Corresponds to the JSON property `uri`
6673
+ # @return [String]
6674
+ attr_accessor :uri
6675
+
6676
+ # Output only. Expiration time of the URI.
6677
+ # Corresponds to the JSON property `uriExpirationTime`
6678
+ # @return [String]
6679
+ attr_accessor :uri_expiration_time
6680
+
6681
+ def initialize(**args)
6682
+ update!(**args)
6683
+ end
6684
+
6685
+ # Update properties of this object
6686
+ def update!(**args)
6687
+ @display_name = args[:display_name] if args.key?(:display_name)
6688
+ @uri = args[:uri] if args.key?(:uri)
6689
+ @uri_expiration_time = args[:uri_expiration_time] if args.key?(:uri_expiration_time)
6690
+ end
6691
+ end
6692
+
6580
6693
  # A response to a call to `ReportAssetFrame`.
6581
6694
  class ReportAssetFramesResponse
6582
6695
  include Google::Apis::Core::Hashable
@@ -6664,6 +6777,124 @@ module Google
6664
6777
  end
6665
6778
  end
6666
6779
 
6780
+ # Execution status of report export operation.
6781
+ class ReportExportExecution
6782
+ include Google::Apis::Core::Hashable
6783
+
6784
+ # Output only. Completion time of the export.
6785
+ # Corresponds to the JSON property `endTime`
6786
+ # @return [String]
6787
+ attr_accessor :end_time
6788
+
6789
+ # Output only. Globally unique identifier of the execution.
6790
+ # Corresponds to the JSON property `executionId`
6791
+ # @return [String]
6792
+ attr_accessor :execution_id
6793
+
6794
+ # Output only. Expiration time for the export and artifacts.
6795
+ # Corresponds to the JSON property `expireTime`
6796
+ # @return [String]
6797
+ attr_accessor :expire_time
6798
+
6799
+ # Output only. Represents the progress of the execution. It reaches 100 when the
6800
+ # execution is successfully completed. When the execution finishes with a
6801
+ # failure, the progress is set to 0.
6802
+ # Corresponds to the JSON property `progressPercentage`
6803
+ # @return [Fixnum]
6804
+ attr_accessor :progress_percentage
6805
+
6806
+ # Contains the result of the report export.
6807
+ # Corresponds to the JSON property `result`
6808
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult]
6809
+ attr_accessor :result
6810
+
6811
+ # Output only. Execution start timestamp.
6812
+ # Corresponds to the JSON property `startTime`
6813
+ # @return [String]
6814
+ attr_accessor :start_time
6815
+
6816
+ def initialize(**args)
6817
+ update!(**args)
6818
+ end
6819
+
6820
+ # Update properties of this object
6821
+ def update!(**args)
6822
+ @end_time = args[:end_time] if args.key?(:end_time)
6823
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
6824
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
6825
+ @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
6826
+ @result = args[:result] if args.key?(:result)
6827
+ @start_time = args[:start_time] if args.key?(:start_time)
6828
+ end
6829
+ end
6830
+
6831
+ # Contains the result of the report export.
6832
+ class ReportExportExecutionResult
6833
+ include Google::Apis::Core::Hashable
6834
+
6835
+ # The `Status` type defines a logical error model that is suitable for different
6836
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6837
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6838
+ # data: error code, error message, and error details. You can find out more
6839
+ # about this error model and how to work with it in the [API Design Guide](https:
6840
+ # //cloud.google.com/apis/design/errors).
6841
+ # Corresponds to the JSON property `error`
6842
+ # @return [Google::Apis::MigrationcenterV1alpha1::Status]
6843
+ attr_accessor :error
6844
+
6845
+ # Contains a list of output files.
6846
+ # Corresponds to the JSON property `outputFiles`
6847
+ # @return [Google::Apis::MigrationcenterV1alpha1::OutputFileList]
6848
+ attr_accessor :output_files
6849
+
6850
+ # Contains a list of Signed URIs.
6851
+ # Corresponds to the JSON property `signedUris`
6852
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUris]
6853
+ attr_accessor :signed_uris
6854
+
6855
+ def initialize(**args)
6856
+ update!(**args)
6857
+ end
6858
+
6859
+ # Update properties of this object
6860
+ def update!(**args)
6861
+ @error = args[:error] if args.key?(:error)
6862
+ @output_files = args[:output_files] if args.key?(:output_files)
6863
+ @signed_uris = args[:signed_uris] if args.key?(:signed_uris)
6864
+ end
6865
+ end
6866
+
6867
+ # Report export job message.
6868
+ class ReportExportJob
6869
+ include Google::Apis::Core::Hashable
6870
+
6871
+ # Output only. Identifier. Resource name.
6872
+ # Corresponds to the JSON property `name`
6873
+ # @return [String]
6874
+ attr_accessor :name
6875
+
6876
+ # Output only. Recent not expired executions of the export report job.
6877
+ # Corresponds to the JSON property `recentExecutions`
6878
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportExportExecution>]
6879
+ attr_accessor :recent_executions
6880
+
6881
+ # Signed URI destination configuration.
6882
+ # Corresponds to the JSON property `signedUriDestination`
6883
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUriDestination]
6884
+ attr_accessor :signed_uri_destination
6885
+
6886
+ def initialize(**args)
6887
+ update!(**args)
6888
+ end
6889
+
6890
+ # Update properties of this object
6891
+ def update!(**args)
6892
+ @name = args[:name] if args.key?(:name)
6893
+ @recent_executions = args[:recent_executions] if args.key?(:recent_executions)
6894
+ @signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
6895
+ end
6896
+ end
6897
+
6667
6898
  # Describes the Summary view of a Report, which contains aggregated values for
6668
6899
  # all the groups and preference sets included in this Report.
6669
6900
  class ReportSummary
@@ -7374,6 +7605,26 @@ module Google
7374
7605
  end
7375
7606
  end
7376
7607
 
7608
+ # Detailed data related to Total Cost of Ownership (TCO) pricing.
7609
+ class ReportTotalCostOfOwnershipDetails
7610
+ include Google::Apis::Core::Hashable
7611
+
7612
+ # Output only. Whether the report has detailed pricing data.
7613
+ # Corresponds to the JSON property `hasPricingData`
7614
+ # @return [Boolean]
7615
+ attr_accessor :has_pricing_data
7616
+ alias_method :has_pricing_data?, :has_pricing_data
7617
+
7618
+ def initialize(**args)
7619
+ update!(**args)
7620
+ end
7621
+
7622
+ # Update properties of this object
7623
+ def update!(**args)
7624
+ @has_pricing_data = args[:has_pricing_data] if args.key?(:has_pricing_data)
7625
+ end
7626
+ end
7627
+
7377
7628
  # Location of a resource.
7378
7629
  class ResourceLocation
7379
7630
  include Google::Apis::Core::Hashable
@@ -7468,6 +7719,53 @@ module Google
7468
7719
  end
7469
7720
  end
7470
7721
 
7722
+ # A request to run a report export job.
7723
+ class RunReportExportJobRequest
7724
+ include Google::Apis::Core::Hashable
7725
+
7726
+ # Optional. An optional request ID to identify requests. Specify a unique
7727
+ # request ID so that if you must retry your request, the server will know to
7728
+ # ignore the request if it has already been completed. The server will guarantee
7729
+ # that for at least 60 minutes after the first request. For example, consider a
7730
+ # situation where you make an initial request and the request times out. If you
7731
+ # make the request again with the same request ID, the server can check if
7732
+ # original operation with the same request ID was received, and if so, will
7733
+ # ignore the second request. This prevents clients from accidentally creating
7734
+ # duplicate commitments. The request ID must be a valid UUID with the exception
7735
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
7736
+ # Corresponds to the JSON property `requestId`
7737
+ # @return [String]
7738
+ attr_accessor :request_id
7739
+
7740
+ def initialize(**args)
7741
+ update!(**args)
7742
+ end
7743
+
7744
+ # Update properties of this object
7745
+ def update!(**args)
7746
+ @request_id = args[:request_id] if args.key?(:request_id)
7747
+ end
7748
+ end
7749
+
7750
+ # Response message for running a report export job.
7751
+ class RunReportExportJobResponse
7752
+ include Google::Apis::Core::Hashable
7753
+
7754
+ # Execution status of report export operation.
7755
+ # Corresponds to the JSON property `reportExportExecution`
7756
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportExecution]
7757
+ attr_accessor :report_export_execution
7758
+
7759
+ def initialize(**args)
7760
+ update!(**args)
7761
+ end
7762
+
7763
+ # Update properties of this object
7764
+ def update!(**args)
7765
+ @report_export_execution = args[:report_export_execution] if args.key?(:report_export_execution)
7766
+ end
7767
+ end
7768
+
7471
7769
  # Guest OS running process details.
7472
7770
  class RunningProcess
7473
7771
  include Google::Apis::Core::Hashable
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251023"
25
+ REVISION = "20251106"
26
26
  end
27
27
  end
28
28
  end
@@ -604,6 +604,18 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class ExportReportRequest
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class ExportReportResponse
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class FileValidationReport
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -646,6 +658,12 @@ module Google
646
658
  include Google::Apis::Core::JsonObjectSupport
647
659
  end
648
660
 
661
+ class GenerateReportArtifactLinkRequest
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
649
667
  class GenericInsight
650
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
669
 
@@ -868,6 +886,12 @@ module Google
868
886
  include Google::Apis::Core::JsonObjectSupport
869
887
  end
870
888
 
889
+ class ListReportExportJobsResponse
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
871
895
  class ListReportsResponse
872
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
897
 
@@ -1162,6 +1186,12 @@ module Google
1162
1186
  include Google::Apis::Core::JsonObjectSupport
1163
1187
  end
1164
1188
 
1189
+ class ReportArtifactLink
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1165
1195
  class ReportAssetFramesResponse
1166
1196
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1197
 
@@ -1180,6 +1210,24 @@ module Google
1180
1210
  include Google::Apis::Core::JsonObjectSupport
1181
1211
  end
1182
1212
 
1213
+ class ReportExportExecution
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1219
+ class ReportExportExecutionResult
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1225
+ class ReportExportJob
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1183
1231
  class ReportSummary
1184
1232
  class Representation < Google::Apis::Core::JsonRepresentation; end
1185
1233
 
@@ -1282,6 +1330,12 @@ module Google
1282
1330
  include Google::Apis::Core::JsonObjectSupport
1283
1331
  end
1284
1332
 
1333
+ class ReportTotalCostOfOwnershipDetails
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1285
1339
  class ResourceLocation
1286
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1341
 
@@ -1306,6 +1360,18 @@ module Google
1306
1360
  include Google::Apis::Core::JsonObjectSupport
1307
1361
  end
1308
1362
 
1363
+ class RunReportExportJobRequest
1364
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1365
+
1366
+ include Google::Apis::Core::JsonObjectSupport
1367
+ end
1368
+
1369
+ class RunReportExportJobResponse
1370
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1371
+
1372
+ include Google::Apis::Core::JsonObjectSupport
1373
+ end
1374
+
1309
1375
  class RunningProcess
1310
1376
  class Representation < Google::Apis::Core::JsonRepresentation; end
1311
1377
 
@@ -2557,6 +2623,20 @@ module Google
2557
2623
  end
2558
2624
  end
2559
2625
 
2626
+ class ExportReportRequest
2627
+ # @private
2628
+ class Representation < Google::Apis::Core::JsonRepresentation
2629
+ end
2630
+ end
2631
+
2632
+ class ExportReportResponse
2633
+ # @private
2634
+ class Representation < Google::Apis::Core::JsonRepresentation
2635
+ collection :report_artifact_links, as: 'reportArtifactLinks', class: Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink, decorator: Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink::Representation
2636
+
2637
+ end
2638
+ end
2639
+
2560
2640
  class FileValidationReport
2561
2641
  # @private
2562
2642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2620,6 +2700,13 @@ module Google
2620
2700
  end
2621
2701
  end
2622
2702
 
2703
+ class GenerateReportArtifactLinkRequest
2704
+ # @private
2705
+ class Representation < Google::Apis::Core::JsonRepresentation
2706
+ property :artifact_type, as: 'artifactType'
2707
+ end
2708
+ end
2709
+
2623
2710
  class GenericInsight
2624
2711
  # @private
2625
2712
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3015,6 +3102,15 @@ module Google
3015
3102
  end
3016
3103
  end
3017
3104
 
3105
+ class ListReportExportJobsResponse
3106
+ # @private
3107
+ class Representation < Google::Apis::Core::JsonRepresentation
3108
+ property :next_page_token, as: 'nextPageToken'
3109
+ collection :report_export_jobs, as: 'reportExportJobs', class: Google::Apis::MigrationcenterV1alpha1::ReportExportJob, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
3110
+
3111
+ end
3112
+ end
3113
+
3018
3114
  class ListReportsResponse
3019
3115
  # @private
3020
3116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3538,11 +3634,22 @@ module Google
3538
3634
  property :state, as: 'state'
3539
3635
  property :summary, as: 'summary', class: Google::Apis::MigrationcenterV1alpha1::ReportSummary, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummary::Representation
3540
3636
 
3637
+ property :tco_details, as: 'tcoDetails', class: Google::Apis::MigrationcenterV1alpha1::ReportTotalCostOfOwnershipDetails, decorator: Google::Apis::MigrationcenterV1alpha1::ReportTotalCostOfOwnershipDetails::Representation
3638
+
3541
3639
  property :type, as: 'type'
3542
3640
  property :update_time, as: 'updateTime'
3543
3641
  end
3544
3642
  end
3545
3643
 
3644
+ class ReportArtifactLink
3645
+ # @private
3646
+ class Representation < Google::Apis::Core::JsonRepresentation
3647
+ property :display_name, as: 'displayName'
3648
+ property :uri, as: 'uri'
3649
+ property :uri_expiration_time, as: 'uriExpirationTime'
3650
+ end
3651
+ end
3652
+
3546
3653
  class ReportAssetFramesResponse
3547
3654
  # @private
3548
3655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3570,6 +3677,42 @@ module Google
3570
3677
  end
3571
3678
  end
3572
3679
 
3680
+ class ReportExportExecution
3681
+ # @private
3682
+ class Representation < Google::Apis::Core::JsonRepresentation
3683
+ property :end_time, as: 'endTime'
3684
+ property :execution_id, as: 'executionId'
3685
+ property :expire_time, as: 'expireTime'
3686
+ property :progress_percentage, as: 'progressPercentage'
3687
+ property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult::Representation
3688
+
3689
+ property :start_time, as: 'startTime'
3690
+ end
3691
+ end
3692
+
3693
+ class ReportExportExecutionResult
3694
+ # @private
3695
+ class Representation < Google::Apis::Core::JsonRepresentation
3696
+ property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
3697
+
3698
+ property :output_files, as: 'outputFiles', class: Google::Apis::MigrationcenterV1alpha1::OutputFileList, decorator: Google::Apis::MigrationcenterV1alpha1::OutputFileList::Representation
3699
+
3700
+ property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
3701
+
3702
+ end
3703
+ end
3704
+
3705
+ class ReportExportJob
3706
+ # @private
3707
+ class Representation < Google::Apis::Core::JsonRepresentation
3708
+ property :name, as: 'name'
3709
+ collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution::Representation
3710
+
3711
+ property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
3712
+
3713
+ end
3714
+ end
3715
+
3573
3716
  class ReportSummary
3574
3717
  # @private
3575
3718
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3789,6 +3932,13 @@ module Google
3789
3932
  end
3790
3933
  end
3791
3934
 
3935
+ class ReportTotalCostOfOwnershipDetails
3936
+ # @private
3937
+ class Representation < Google::Apis::Core::JsonRepresentation
3938
+ property :has_pricing_data, as: 'hasPricingData'
3939
+ end
3940
+ end
3941
+
3792
3942
  class ResourceLocation
3793
3943
  # @private
3794
3944
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3818,6 +3968,21 @@ module Google
3818
3968
  end
3819
3969
  end
3820
3970
 
3971
+ class RunReportExportJobRequest
3972
+ # @private
3973
+ class Representation < Google::Apis::Core::JsonRepresentation
3974
+ property :request_id, as: 'requestId'
3975
+ end
3976
+ end
3977
+
3978
+ class RunReportExportJobResponse
3979
+ # @private
3980
+ class Representation < Google::Apis::Core::JsonRepresentation
3981
+ property :report_export_execution, as: 'reportExportExecution', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution::Representation
3982
+
3983
+ end
3984
+ end
3985
+
3821
3986
  class RunningProcess
3822
3987
  # @private
3823
3988
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2310,6 +2310,39 @@ module Google
2310
2310
  execute_or_queue_command(command, &block)
2311
2311
  end
2312
2312
 
2313
+ # Gets the link to the generated artifact of a given type for a Report.
2314
+ # @param [String] name
2315
+ # Required. Name of the resource.
2316
+ # @param [Google::Apis::MigrationcenterV1alpha1::GenerateReportArtifactLinkRequest] generate_report_artifact_link_request_object
2317
+ # @param [String] fields
2318
+ # Selector specifying which fields to include in a partial response.
2319
+ # @param [String] quota_user
2320
+ # Available to use for quota purposes for server-side applications. Can be any
2321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2322
+ # @param [Google::Apis::RequestOptions] options
2323
+ # Request-specific options
2324
+ #
2325
+ # @yield [result, err] Result & error if block supplied
2326
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink] parsed result object
2327
+ # @yieldparam err [StandardError] error object if request failed
2328
+ #
2329
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink]
2330
+ #
2331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2334
+ def artifact_project_location_report_config_report_link(name, generate_report_artifact_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2335
+ command = make_simple_command(:post, 'v1alpha1/{+name}:artifactLink', options)
2336
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::GenerateReportArtifactLinkRequest::Representation
2337
+ command.request_object = generate_report_artifact_link_request_object
2338
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink::Representation
2339
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportArtifactLink
2340
+ command.params['name'] = name unless name.nil?
2341
+ command.query['fields'] = fields unless fields.nil?
2342
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2343
+ execute_or_queue_command(command, &block)
2344
+ end
2345
+
2313
2346
  # Creates a report.
2314
2347
  # @param [String] parent
2315
2348
  # Required. Value for parent.
@@ -2404,6 +2437,39 @@ module Google
2404
2437
  execute_or_queue_command(command, &block)
2405
2438
  end
2406
2439
 
2440
+ # Export a Report into a supported format.
2441
+ # @param [String] name
2442
+ # Required. Name of the resource.
2443
+ # @param [Google::Apis::MigrationcenterV1alpha1::ExportReportRequest] export_report_request_object
2444
+ # @param [String] fields
2445
+ # Selector specifying which fields to include in a partial response.
2446
+ # @param [String] quota_user
2447
+ # Available to use for quota purposes for server-side applications. Can be any
2448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2449
+ # @param [Google::Apis::RequestOptions] options
2450
+ # Request-specific options
2451
+ #
2452
+ # @yield [result, err] Result & error if block supplied
2453
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2454
+ # @yieldparam err [StandardError] error object if request failed
2455
+ #
2456
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2457
+ #
2458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2461
+ def export_report(name, export_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2462
+ command = make_simple_command(:post, 'v1alpha1/{+name}:export', options)
2463
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::ExportReportRequest::Representation
2464
+ command.request_object = export_report_request_object
2465
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2466
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2467
+ command.params['name'] = name unless name.nil?
2468
+ command.query['fields'] = fields unless fields.nil?
2469
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2470
+ execute_or_queue_command(command, &block)
2471
+ end
2472
+
2407
2473
  # Gets details of a single Report.
2408
2474
  # @param [String] name
2409
2475
  # Required. Name of the resource.
@@ -2483,6 +2549,196 @@ module Google
2483
2549
  execute_or_queue_command(command, &block)
2484
2550
  end
2485
2551
 
2552
+ # Export a Report into a supported destination.
2553
+ # @param [String] parent
2554
+ # Required. The parent resource where this export job will be created.
2555
+ # @param [Google::Apis::MigrationcenterV1alpha1::ReportExportJob] report_export_job_object
2556
+ # @param [String] report_export_job_id
2557
+ # Required. The ID to use for the report export job.
2558
+ # @param [String] request_id
2559
+ # Optional. An optional request ID to identify requests. Specify a unique
2560
+ # request ID so that if you must retry your request, the server will know to
2561
+ # ignore the request if it has already been completed. The server will guarantee
2562
+ # that for at least 60 minutes after the first request. For example, consider a
2563
+ # situation where you make an initial request and the request times out. If you
2564
+ # make the request again with the same request ID, the server can check if
2565
+ # original operation with the same request ID was received, and if so, will
2566
+ # ignore the second request. This prevents clients from accidentally creating
2567
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2568
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2569
+ # @param [String] fields
2570
+ # Selector specifying which fields to include in a partial response.
2571
+ # @param [String] quota_user
2572
+ # Available to use for quota purposes for server-side applications. Can be any
2573
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2574
+ # @param [Google::Apis::RequestOptions] options
2575
+ # Request-specific options
2576
+ #
2577
+ # @yield [result, err] Result & error if block supplied
2578
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2579
+ # @yieldparam err [StandardError] error object if request failed
2580
+ #
2581
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2582
+ #
2583
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2584
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2585
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2586
+ def create_project_location_report_config_report_report_export_job(parent, report_export_job_object = nil, report_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2587
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/reportExportJobs', options)
2588
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
2589
+ command.request_object = report_export_job_object
2590
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2591
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2592
+ command.params['parent'] = parent unless parent.nil?
2593
+ command.query['reportExportJobId'] = report_export_job_id unless report_export_job_id.nil?
2594
+ command.query['requestId'] = request_id unless request_id.nil?
2595
+ command.query['fields'] = fields unless fields.nil?
2596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2597
+ execute_or_queue_command(command, &block)
2598
+ end
2599
+
2600
+ # Deletes an report export job.
2601
+ # @param [String] name
2602
+ # Required. Name of the resource.
2603
+ # @param [String] request_id
2604
+ # Optional. An optional request ID to identify requests. Specify a unique
2605
+ # request ID so that if you must retry your request, the server will know to
2606
+ # ignore the request if it has already been completed. The server will guarantee
2607
+ # that for at least 60 minutes after the first request. For example, consider a
2608
+ # situation where you make an initial request and the request times out. If you
2609
+ # make the request again with the same request ID, the server can check if
2610
+ # original operation with the same request ID was received, and if so, will
2611
+ # ignore the second request. This prevents clients from accidentally creating
2612
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2613
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2614
+ # @param [String] fields
2615
+ # Selector specifying which fields to include in a partial response.
2616
+ # @param [String] quota_user
2617
+ # Available to use for quota purposes for server-side applications. Can be any
2618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2619
+ # @param [Google::Apis::RequestOptions] options
2620
+ # Request-specific options
2621
+ #
2622
+ # @yield [result, err] Result & error if block supplied
2623
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2624
+ # @yieldparam err [StandardError] error object if request failed
2625
+ #
2626
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2627
+ #
2628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2631
+ def delete_project_location_report_config_report_report_export_job(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2632
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2633
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2634
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2635
+ command.params['name'] = name unless name.nil?
2636
+ command.query['requestId'] = request_id unless request_id.nil?
2637
+ command.query['fields'] = fields unless fields.nil?
2638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2639
+ execute_or_queue_command(command, &block)
2640
+ end
2641
+
2642
+ # Gets the details of a report export job.
2643
+ # @param [String] name
2644
+ # Required. Name of the resource.
2645
+ # @param [String] fields
2646
+ # Selector specifying which fields to include in a partial response.
2647
+ # @param [String] quota_user
2648
+ # Available to use for quota purposes for server-side applications. Can be any
2649
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2650
+ # @param [Google::Apis::RequestOptions] options
2651
+ # Request-specific options
2652
+ #
2653
+ # @yield [result, err] Result & error if block supplied
2654
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ReportExportJob] parsed result object
2655
+ # @yieldparam err [StandardError] error object if request failed
2656
+ #
2657
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportJob]
2658
+ #
2659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2662
+ def get_project_location_report_config_report_report_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
2663
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2664
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
2665
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportExportJob
2666
+ command.params['name'] = name unless name.nil?
2667
+ command.query['fields'] = fields unless fields.nil?
2668
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2669
+ execute_or_queue_command(command, &block)
2670
+ end
2671
+
2672
+ # Lists all the report export jobs for a given report.
2673
+ # @param [String] parent
2674
+ # Required. Parent report owning the export jobs.
2675
+ # @param [Fixnum] page_size
2676
+ # Optional. Requested page size. The server may return fewer items than
2677
+ # requested. If unspecified, the server will pick an appropriate default value.
2678
+ # @param [String] page_token
2679
+ # Optional. A token identifying a page of results that the server should return.
2680
+ # @param [String] fields
2681
+ # Selector specifying which fields to include in a partial response.
2682
+ # @param [String] quota_user
2683
+ # Available to use for quota purposes for server-side applications. Can be any
2684
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2685
+ # @param [Google::Apis::RequestOptions] options
2686
+ # Request-specific options
2687
+ #
2688
+ # @yield [result, err] Result & error if block supplied
2689
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse] parsed result object
2690
+ # @yieldparam err [StandardError] error object if request failed
2691
+ #
2692
+ # @return [Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse]
2693
+ #
2694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2697
+ def list_project_location_report_config_report_report_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2698
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/reportExportJobs', options)
2699
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse::Representation
2700
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse
2701
+ command.params['parent'] = parent unless parent.nil?
2702
+ command.query['pageSize'] = page_size unless page_size.nil?
2703
+ command.query['pageToken'] = page_token unless page_token.nil?
2704
+ command.query['fields'] = fields unless fields.nil?
2705
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2706
+ execute_or_queue_command(command, &block)
2707
+ end
2708
+
2709
+ # Runs a report export job.
2710
+ # @param [String] name
2711
+ # Required. Name of the resource.
2712
+ # @param [Google::Apis::MigrationcenterV1alpha1::RunReportExportJobRequest] run_report_export_job_request_object
2713
+ # @param [String] fields
2714
+ # Selector specifying which fields to include in a partial response.
2715
+ # @param [String] quota_user
2716
+ # Available to use for quota purposes for server-side applications. Can be any
2717
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2718
+ # @param [Google::Apis::RequestOptions] options
2719
+ # Request-specific options
2720
+ #
2721
+ # @yield [result, err] Result & error if block supplied
2722
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2723
+ # @yieldparam err [StandardError] error object if request failed
2724
+ #
2725
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2726
+ #
2727
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2728
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2729
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2730
+ def run_report_export_job(name, run_report_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2731
+ command = make_simple_command(:post, 'v1alpha1/{+name}:run', options)
2732
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunReportExportJobRequest::Representation
2733
+ command.request_object = run_report_export_job_request_object
2734
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2735
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2736
+ command.params['name'] = name unless name.nil?
2737
+ command.query['fields'] = fields unless fields.nil?
2738
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2739
+ execute_or_queue_command(command, &block)
2740
+ end
2741
+
2486
2742
  # Creates a new source in a given project and location.
2487
2743
  # @param [String] parent
2488
2744
  # Required. Value for parent.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-migrationcenter_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.51.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: