google-apis-migrationcenter_v1alpha1 0.50.0 → 0.52.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: 2412701414d6e6cccf9c7ea243c5de1e22af9346a092601a578dcdabeb1480d0
4
+ data.tar.gz: 1df51b0d87dd1ecf7b7a82ec7da7324d864a0793f1c48a85151210452495d788
5
5
  SHA512:
6
- metadata.gz: b21e74ef0b4d4fbdb78575a2eb544cb3f16db220340249b8ed0d8ff4810f052ec37590def3f217bb413608f3f1f8a8488e9d76dfd06a662887ea34a670590ef9
7
- data.tar.gz: fab433009bb09467b19b84e8b0bf857add1acc9fc50776a9876a93c24f3cef89e68bd613805793b1a6138652719f9adf2f07b5f67c78b26c1c29189d3edd744a
6
+ metadata.gz: ac0ebbd566df14a65df814a74badeacb32769de35f8047c554f832ee6dce40a184c873ca6ad19b0321d0dcb2e8bc6fdba5c1027dab1e53fe6a03a4b0333b06ce
7
+ data.tar.gz: 1d274acd7cac62ed0ab0bab31877aee8212fbc6a50c6140263a382283892470f184044f62db6a58243dd7b1ff08ba429e5b75d257fc8cb7c4db66a97b2653f23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.52.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251203
6
+
7
+ ### v0.51.0 (2025-11-16)
8
+
9
+ * Regenerated from discovery document revision 20251106
10
+
3
11
  ### v0.50.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251023
@@ -4693,8 +4693,9 @@ module Google
4693
4693
  attr_accessor :operations
4694
4694
 
4695
4695
  # Unordered list. Unreachable resources. Populated when the request sets `
4696
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
4697
- # when attempting to list all resources across all supported locations.
4696
+ # ListOperationsRequest.return_partial_success` and reads across collections.
4697
+ # For example, when attempting to list all resources across all supported
4698
+ # locations.
4698
4699
  # Corresponds to the JSON property `unreachable`
4699
4700
  # @return [Array<String>]
4700
4701
  attr_accessor :unreachable
@@ -4798,6 +4799,31 @@ module Google
4798
4799
  end
4799
4800
  end
4800
4801
 
4802
+ # Response message for listing report export jobs.
4803
+ class ListReportExportJobsResponse
4804
+ include Google::Apis::Core::Hashable
4805
+
4806
+ # Output only. A token identifying a page of results the server should return.
4807
+ # Corresponds to the JSON property `nextPageToken`
4808
+ # @return [String]
4809
+ attr_accessor :next_page_token
4810
+
4811
+ # Output only. The list of report export jobs.
4812
+ # Corresponds to the JSON property `reportExportJobs`
4813
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportExportJob>]
4814
+ attr_accessor :report_export_jobs
4815
+
4816
+ def initialize(**args)
4817
+ update!(**args)
4818
+ end
4819
+
4820
+ # Update properties of this object
4821
+ def update!(**args)
4822
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4823
+ @report_export_jobs = args[:report_export_jobs] if args.key?(:report_export_jobs)
4824
+ end
4825
+ end
4826
+
4801
4827
  # Response message for listing Reports.
4802
4828
  class ListReportsResponse
4803
4829
  include Google::Apis::Core::Hashable
@@ -6664,6 +6690,124 @@ module Google
6664
6690
  end
6665
6691
  end
6666
6692
 
6693
+ # Execution status of report export operation.
6694
+ class ReportExportExecution
6695
+ include Google::Apis::Core::Hashable
6696
+
6697
+ # Output only. Completion time of the export.
6698
+ # Corresponds to the JSON property `endTime`
6699
+ # @return [String]
6700
+ attr_accessor :end_time
6701
+
6702
+ # Output only. Globally unique identifier of the execution.
6703
+ # Corresponds to the JSON property `executionId`
6704
+ # @return [String]
6705
+ attr_accessor :execution_id
6706
+
6707
+ # Output only. Expiration time for the export and artifacts.
6708
+ # Corresponds to the JSON property `expireTime`
6709
+ # @return [String]
6710
+ attr_accessor :expire_time
6711
+
6712
+ # Output only. Represents the progress of the execution. It reaches 100 when the
6713
+ # execution is successfully completed. When the execution finishes with a
6714
+ # failure, the progress is set to 0.
6715
+ # Corresponds to the JSON property `progressPercentage`
6716
+ # @return [Fixnum]
6717
+ attr_accessor :progress_percentage
6718
+
6719
+ # Contains the result of the report export.
6720
+ # Corresponds to the JSON property `result`
6721
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult]
6722
+ attr_accessor :result
6723
+
6724
+ # Output only. Execution start timestamp.
6725
+ # Corresponds to the JSON property `startTime`
6726
+ # @return [String]
6727
+ attr_accessor :start_time
6728
+
6729
+ def initialize(**args)
6730
+ update!(**args)
6731
+ end
6732
+
6733
+ # Update properties of this object
6734
+ def update!(**args)
6735
+ @end_time = args[:end_time] if args.key?(:end_time)
6736
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
6737
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
6738
+ @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
6739
+ @result = args[:result] if args.key?(:result)
6740
+ @start_time = args[:start_time] if args.key?(:start_time)
6741
+ end
6742
+ end
6743
+
6744
+ # Contains the result of the report export.
6745
+ class ReportExportExecutionResult
6746
+ include Google::Apis::Core::Hashable
6747
+
6748
+ # The `Status` type defines a logical error model that is suitable for different
6749
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6750
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6751
+ # data: error code, error message, and error details. You can find out more
6752
+ # about this error model and how to work with it in the [API Design Guide](https:
6753
+ # //cloud.google.com/apis/design/errors).
6754
+ # Corresponds to the JSON property `error`
6755
+ # @return [Google::Apis::MigrationcenterV1alpha1::Status]
6756
+ attr_accessor :error
6757
+
6758
+ # Contains a list of output files.
6759
+ # Corresponds to the JSON property `outputFiles`
6760
+ # @return [Google::Apis::MigrationcenterV1alpha1::OutputFileList]
6761
+ attr_accessor :output_files
6762
+
6763
+ # Contains a list of Signed URIs.
6764
+ # Corresponds to the JSON property `signedUris`
6765
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUris]
6766
+ attr_accessor :signed_uris
6767
+
6768
+ def initialize(**args)
6769
+ update!(**args)
6770
+ end
6771
+
6772
+ # Update properties of this object
6773
+ def update!(**args)
6774
+ @error = args[:error] if args.key?(:error)
6775
+ @output_files = args[:output_files] if args.key?(:output_files)
6776
+ @signed_uris = args[:signed_uris] if args.key?(:signed_uris)
6777
+ end
6778
+ end
6779
+
6780
+ # Report export job message.
6781
+ class ReportExportJob
6782
+ include Google::Apis::Core::Hashable
6783
+
6784
+ # Output only. Identifier. Resource name.
6785
+ # Corresponds to the JSON property `name`
6786
+ # @return [String]
6787
+ attr_accessor :name
6788
+
6789
+ # Output only. Recent not expired executions of the export report job.
6790
+ # Corresponds to the JSON property `recentExecutions`
6791
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::ReportExportExecution>]
6792
+ attr_accessor :recent_executions
6793
+
6794
+ # Signed URI destination configuration.
6795
+ # Corresponds to the JSON property `signedUriDestination`
6796
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUriDestination]
6797
+ attr_accessor :signed_uri_destination
6798
+
6799
+ def initialize(**args)
6800
+ update!(**args)
6801
+ end
6802
+
6803
+ # Update properties of this object
6804
+ def update!(**args)
6805
+ @name = args[:name] if args.key?(:name)
6806
+ @recent_executions = args[:recent_executions] if args.key?(:recent_executions)
6807
+ @signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
6808
+ end
6809
+ end
6810
+
6667
6811
  # Describes the Summary view of a Report, which contains aggregated values for
6668
6812
  # all the groups and preference sets included in this Report.
6669
6813
  class ReportSummary
@@ -6744,6 +6888,11 @@ module Google
6744
6888
  # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData]
6745
6889
  attr_accessor :operating_system
6746
6890
 
6891
+ # Describes a collection of data points rendered as a Chart.
6892
+ # Corresponds to the JSON property `softwareInstances`
6893
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData]
6894
+ attr_accessor :software_instances
6895
+
6747
6896
  # A Histogram Chart shows a distribution of values into buckets, showing a count
6748
6897
  # of values which fall into a bucket.
6749
6898
  # Corresponds to the JSON property `storageBytesHistogram`
@@ -6794,6 +6943,7 @@ module Google
6794
6943
  @memory_utilization = args[:memory_utilization] if args.key?(:memory_utilization)
6795
6944
  @memory_utilization_chart = args[:memory_utilization_chart] if args.key?(:memory_utilization_chart)
6796
6945
  @operating_system = args[:operating_system] if args.key?(:operating_system)
6946
+ @software_instances = args[:software_instances] if args.key?(:software_instances)
6797
6947
  @storage_bytes_histogram = args[:storage_bytes_histogram] if args.key?(:storage_bytes_histogram)
6798
6948
  @storage_utilization = args[:storage_utilization] if args.key?(:storage_utilization)
6799
6949
  @storage_utilization_chart = args[:storage_utilization_chart] if args.key?(:storage_utilization_chart)
@@ -7468,6 +7618,53 @@ module Google
7468
7618
  end
7469
7619
  end
7470
7620
 
7621
+ # A request to run a report export job.
7622
+ class RunReportExportJobRequest
7623
+ include Google::Apis::Core::Hashable
7624
+
7625
+ # Optional. An optional request ID to identify requests. Specify a unique
7626
+ # request ID so that if you must retry your request, the server will know to
7627
+ # ignore the request if it has already been completed. The server will guarantee
7628
+ # that for at least 60 minutes after the first request. For example, consider a
7629
+ # situation where you make an initial request and the request times out. If you
7630
+ # make the request again with the same request ID, the server can check if
7631
+ # original operation with the same request ID was received, and if so, will
7632
+ # ignore the second request. This prevents clients from accidentally creating
7633
+ # duplicate commitments. The request ID must be a valid UUID with the exception
7634
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
7635
+ # Corresponds to the JSON property `requestId`
7636
+ # @return [String]
7637
+ attr_accessor :request_id
7638
+
7639
+ def initialize(**args)
7640
+ update!(**args)
7641
+ end
7642
+
7643
+ # Update properties of this object
7644
+ def update!(**args)
7645
+ @request_id = args[:request_id] if args.key?(:request_id)
7646
+ end
7647
+ end
7648
+
7649
+ # Response message for running a report export job.
7650
+ class RunReportExportJobResponse
7651
+ include Google::Apis::Core::Hashable
7652
+
7653
+ # Execution status of report export operation.
7654
+ # Corresponds to the JSON property `reportExportExecution`
7655
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportExecution]
7656
+ attr_accessor :report_export_execution
7657
+
7658
+ def initialize(**args)
7659
+ update!(**args)
7660
+ end
7661
+
7662
+ # Update properties of this object
7663
+ def update!(**args)
7664
+ @report_export_execution = args[:report_export_execution] if args.key?(:report_export_execution)
7665
+ end
7666
+ end
7667
+
7471
7668
  # Guest OS running process details.
7472
7669
  class RunningProcess
7473
7670
  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.52.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 = "20251203"
26
26
  end
27
27
  end
28
28
  end
@@ -868,6 +868,12 @@ module Google
868
868
  include Google::Apis::Core::JsonObjectSupport
869
869
  end
870
870
 
871
+ class ListReportExportJobsResponse
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
871
877
  class ListReportsResponse
872
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
879
 
@@ -1180,6 +1186,24 @@ module Google
1180
1186
  include Google::Apis::Core::JsonObjectSupport
1181
1187
  end
1182
1188
 
1189
+ class ReportExportExecution
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class ReportExportExecutionResult
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class ReportExportJob
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1183
1207
  class ReportSummary
1184
1208
  class Representation < Google::Apis::Core::JsonRepresentation; end
1185
1209
 
@@ -1306,6 +1330,18 @@ module Google
1306
1330
  include Google::Apis::Core::JsonObjectSupport
1307
1331
  end
1308
1332
 
1333
+ class RunReportExportJobRequest
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1339
+ class RunReportExportJobResponse
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1309
1345
  class RunningProcess
1310
1346
  class Representation < Google::Apis::Core::JsonRepresentation; end
1311
1347
 
@@ -3015,6 +3051,15 @@ module Google
3015
3051
  end
3016
3052
  end
3017
3053
 
3054
+ class ListReportExportJobsResponse
3055
+ # @private
3056
+ class Representation < Google::Apis::Core::JsonRepresentation
3057
+ property :next_page_token, as: 'nextPageToken'
3058
+ collection :report_export_jobs, as: 'reportExportJobs', class: Google::Apis::MigrationcenterV1alpha1::ReportExportJob, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
3059
+
3060
+ end
3061
+ end
3062
+
3018
3063
  class ListReportsResponse
3019
3064
  # @private
3020
3065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3570,6 +3615,42 @@ module Google
3570
3615
  end
3571
3616
  end
3572
3617
 
3618
+ class ReportExportExecution
3619
+ # @private
3620
+ class Representation < Google::Apis::Core::JsonRepresentation
3621
+ property :end_time, as: 'endTime'
3622
+ property :execution_id, as: 'executionId'
3623
+ property :expire_time, as: 'expireTime'
3624
+ property :progress_percentage, as: 'progressPercentage'
3625
+ property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult::Representation
3626
+
3627
+ property :start_time, as: 'startTime'
3628
+ end
3629
+ end
3630
+
3631
+ class ReportExportExecutionResult
3632
+ # @private
3633
+ class Representation < Google::Apis::Core::JsonRepresentation
3634
+ property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
3635
+
3636
+ property :output_files, as: 'outputFiles', class: Google::Apis::MigrationcenterV1alpha1::OutputFileList, decorator: Google::Apis::MigrationcenterV1alpha1::OutputFileList::Representation
3637
+
3638
+ property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
3639
+
3640
+ end
3641
+ end
3642
+
3643
+ class ReportExportJob
3644
+ # @private
3645
+ class Representation < Google::Apis::Core::JsonRepresentation
3646
+ property :name, as: 'name'
3647
+ collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution::Representation
3648
+
3649
+ property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
3650
+
3651
+ end
3652
+ end
3653
+
3573
3654
  class ReportSummary
3574
3655
  # @private
3575
3656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3601,6 +3682,8 @@ module Google
3601
3682
 
3602
3683
  property :operating_system, as: 'operatingSystem', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
3603
3684
 
3685
+ property :software_instances, as: 'softwareInstances', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
3686
+
3604
3687
  property :storage_bytes_histogram, as: 'storageBytesHistogram', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData::Representation
3605
3688
 
3606
3689
  property :storage_utilization, as: 'storageUtilization', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
@@ -3818,6 +3901,21 @@ module Google
3818
3901
  end
3819
3902
  end
3820
3903
 
3904
+ class RunReportExportJobRequest
3905
+ # @private
3906
+ class Representation < Google::Apis::Core::JsonRepresentation
3907
+ property :request_id, as: 'requestId'
3908
+ end
3909
+ end
3910
+
3911
+ class RunReportExportJobResponse
3912
+ # @private
3913
+ class Representation < Google::Apis::Core::JsonRepresentation
3914
+ property :report_export_execution, as: 'reportExportExecution', class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution, decorator: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution::Representation
3915
+
3916
+ end
3917
+ end
3918
+
3821
3919
  class RunningProcess
3822
3920
  # @private
3823
3921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1817,11 +1817,12 @@ module Google
1817
1817
  # The standard list page token.
1818
1818
  # @param [Boolean] return_partial_success
1819
1819
  # When set to `true`, operations that are reachable are returned as normal, and
1820
- # those that are unreachable are returned in the [ListOperationsResponse.
1821
- # unreachable] field. This can only be `true` when reading across collections e.
1822
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1823
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1824
- # explicitly documented otherwise in service or product specific documentation.
1820
+ # those that are unreachable are returned in the ListOperationsResponse.
1821
+ # unreachable field. This can only be `true` when reading across collections.
1822
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1823
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1824
+ # if set unless explicitly documented otherwise in service or product specific
1825
+ # documentation.
1825
1826
  # @param [String] fields
1826
1827
  # Selector specifying which fields to include in a partial response.
1827
1828
  # @param [String] quota_user
@@ -2483,6 +2484,196 @@ module Google
2483
2484
  execute_or_queue_command(command, &block)
2484
2485
  end
2485
2486
 
2487
+ # Export a Report into a supported destination.
2488
+ # @param [String] parent
2489
+ # Required. The parent resource where this export job will be created.
2490
+ # @param [Google::Apis::MigrationcenterV1alpha1::ReportExportJob] report_export_job_object
2491
+ # @param [String] report_export_job_id
2492
+ # Required. The ID to use for the report export job.
2493
+ # @param [String] request_id
2494
+ # Optional. An optional request ID to identify requests. Specify a unique
2495
+ # request ID so that if you must retry your request, the server will know to
2496
+ # ignore the request if it has already been completed. The server will guarantee
2497
+ # that for at least 60 minutes after the first request. For example, consider a
2498
+ # situation where you make an initial request and the request times out. If you
2499
+ # make the request again with the same request ID, the server can check if
2500
+ # original operation with the same request ID was received, and if so, will
2501
+ # ignore the second request. This prevents clients from accidentally creating
2502
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2503
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2504
+ # @param [String] fields
2505
+ # Selector specifying which fields to include in a partial response.
2506
+ # @param [String] quota_user
2507
+ # Available to use for quota purposes for server-side applications. Can be any
2508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2509
+ # @param [Google::Apis::RequestOptions] options
2510
+ # Request-specific options
2511
+ #
2512
+ # @yield [result, err] Result & error if block supplied
2513
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2514
+ # @yieldparam err [StandardError] error object if request failed
2515
+ #
2516
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2517
+ #
2518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2521
+ 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)
2522
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/reportExportJobs', options)
2523
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
2524
+ command.request_object = report_export_job_object
2525
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2526
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2527
+ command.params['parent'] = parent unless parent.nil?
2528
+ command.query['reportExportJobId'] = report_export_job_id unless report_export_job_id.nil?
2529
+ command.query['requestId'] = request_id unless request_id.nil?
2530
+ command.query['fields'] = fields unless fields.nil?
2531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2532
+ execute_or_queue_command(command, &block)
2533
+ end
2534
+
2535
+ # Deletes an report export job.
2536
+ # @param [String] name
2537
+ # Required. Name of the resource.
2538
+ # @param [String] request_id
2539
+ # Optional. An optional request ID to identify requests. Specify a unique
2540
+ # request ID so that if you must retry your request, the server will know to
2541
+ # ignore the request if it has already been completed. The server will guarantee
2542
+ # that for at least 60 minutes after the first request. For example, consider a
2543
+ # situation where you make an initial request and the request times out. If you
2544
+ # make the request again with the same request ID, the server can check if
2545
+ # original operation with the same request ID was received, and if so, will
2546
+ # ignore the second request. This prevents clients from accidentally creating
2547
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2548
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2549
+ # @param [String] fields
2550
+ # Selector specifying which fields to include in a partial response.
2551
+ # @param [String] quota_user
2552
+ # Available to use for quota purposes for server-side applications. Can be any
2553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2554
+ # @param [Google::Apis::RequestOptions] options
2555
+ # Request-specific options
2556
+ #
2557
+ # @yield [result, err] Result & error if block supplied
2558
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2559
+ # @yieldparam err [StandardError] error object if request failed
2560
+ #
2561
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2562
+ #
2563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2566
+ def delete_project_location_report_config_report_report_export_job(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2567
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2568
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2569
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2570
+ command.params['name'] = name unless name.nil?
2571
+ command.query['requestId'] = request_id unless request_id.nil?
2572
+ command.query['fields'] = fields unless fields.nil?
2573
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2574
+ execute_or_queue_command(command, &block)
2575
+ end
2576
+
2577
+ # Gets the details of a report export job.
2578
+ # @param [String] name
2579
+ # Required. Name of the resource.
2580
+ # @param [String] fields
2581
+ # Selector specifying which fields to include in a partial response.
2582
+ # @param [String] quota_user
2583
+ # Available to use for quota purposes for server-side applications. Can be any
2584
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2585
+ # @param [Google::Apis::RequestOptions] options
2586
+ # Request-specific options
2587
+ #
2588
+ # @yield [result, err] Result & error if block supplied
2589
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ReportExportJob] parsed result object
2590
+ # @yieldparam err [StandardError] error object if request failed
2591
+ #
2592
+ # @return [Google::Apis::MigrationcenterV1alpha1::ReportExportJob]
2593
+ #
2594
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2595
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2596
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2597
+ def get_project_location_report_config_report_report_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
2598
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2599
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation
2600
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportExportJob
2601
+ command.params['name'] = name unless name.nil?
2602
+ command.query['fields'] = fields unless fields.nil?
2603
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2604
+ execute_or_queue_command(command, &block)
2605
+ end
2606
+
2607
+ # Lists all the report export jobs for a given report.
2608
+ # @param [String] parent
2609
+ # Required. Parent report owning the export jobs.
2610
+ # @param [Fixnum] page_size
2611
+ # Optional. Requested page size. The server may return fewer items than
2612
+ # requested. If unspecified, the server will pick an appropriate default value.
2613
+ # @param [String] page_token
2614
+ # Optional. A token identifying a page of results that the server should return.
2615
+ # @param [String] fields
2616
+ # Selector specifying which fields to include in a partial response.
2617
+ # @param [String] quota_user
2618
+ # Available to use for quota purposes for server-side applications. Can be any
2619
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2620
+ # @param [Google::Apis::RequestOptions] options
2621
+ # Request-specific options
2622
+ #
2623
+ # @yield [result, err] Result & error if block supplied
2624
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse] parsed result object
2625
+ # @yieldparam err [StandardError] error object if request failed
2626
+ #
2627
+ # @return [Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse]
2628
+ #
2629
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2630
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2631
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2632
+ 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)
2633
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/reportExportJobs', options)
2634
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse::Representation
2635
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse
2636
+ command.params['parent'] = parent unless parent.nil?
2637
+ command.query['pageSize'] = page_size unless page_size.nil?
2638
+ command.query['pageToken'] = page_token unless page_token.nil?
2639
+ command.query['fields'] = fields unless fields.nil?
2640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2641
+ execute_or_queue_command(command, &block)
2642
+ end
2643
+
2644
+ # Runs a report export job.
2645
+ # @param [String] name
2646
+ # Required. Name of the resource.
2647
+ # @param [Google::Apis::MigrationcenterV1alpha1::RunReportExportJobRequest] run_report_export_job_request_object
2648
+ # @param [String] fields
2649
+ # Selector specifying which fields to include in a partial response.
2650
+ # @param [String] quota_user
2651
+ # Available to use for quota purposes for server-side applications. Can be any
2652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2653
+ # @param [Google::Apis::RequestOptions] options
2654
+ # Request-specific options
2655
+ #
2656
+ # @yield [result, err] Result & error if block supplied
2657
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
2658
+ # @yieldparam err [StandardError] error object if request failed
2659
+ #
2660
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
2661
+ #
2662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2665
+ def run_report_export_job(name, run_report_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2666
+ command = make_simple_command(:post, 'v1alpha1/{+name}:run', options)
2667
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunReportExportJobRequest::Representation
2668
+ command.request_object = run_report_export_job_request_object
2669
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
2670
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
2671
+ command.params['name'] = name unless name.nil?
2672
+ command.query['fields'] = fields unless fields.nil?
2673
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2674
+ execute_or_queue_command(command, &block)
2675
+ end
2676
+
2486
2677
  # Creates a new source in a given project and location.
2487
2678
  # @param [String] parent
2488
2679
  # 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.52.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.52.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: