google-apis-migrationcenter_v1alpha1 0.51.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +9 -110
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +2 -69
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +6 -71
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2412701414d6e6cccf9c7ea243c5de1e22af9346a092601a578dcdabeb1480d0
|
|
4
|
+
data.tar.gz: 1df51b0d87dd1ecf7b7a82ec7da7324d864a0793f1c48a85151210452495d788
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac0ebbd566df14a65df814a74badeacb32769de35f8047c554f832ee6dce40a184c873ca6ad19b0321d0dcb2e8bc6fdba5c1027dab1e53fe6a03a4b0333b06ce
|
|
7
|
+
data.tar.gz: 1d274acd7cac62ed0ab0bab31877aee8212fbc6a50c6140263a382283892470f184044f62db6a58243dd7b1ff08ba429e5b75d257fc8cb7c4db66a97b2653f23
|
data/CHANGELOG.md
CHANGED
|
@@ -3322,38 +3322,6 @@ 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
|
-
|
|
3357
3325
|
# A resource that aggregates the validation errors found in an import job file.
|
|
3358
3326
|
class FileValidationReport
|
|
3359
3327
|
include Google::Apis::Core::Hashable
|
|
@@ -3550,25 +3518,6 @@ module Google
|
|
|
3550
3518
|
end
|
|
3551
3519
|
end
|
|
3552
3520
|
|
|
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
|
-
|
|
3572
3521
|
# A generic insight about an asset.
|
|
3573
3522
|
class GenericInsight
|
|
3574
3523
|
include Google::Apis::Core::Hashable
|
|
@@ -4744,8 +4693,9 @@ module Google
|
|
|
4744
4693
|
attr_accessor :operations
|
|
4745
4694
|
|
|
4746
4695
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
4747
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
4748
|
-
# when attempting to list all resources across all supported
|
|
4696
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
4697
|
+
# For example, when attempting to list all resources across all supported
|
|
4698
|
+
# locations.
|
|
4749
4699
|
# Corresponds to the JSON property `unreachable`
|
|
4750
4700
|
# @return [Array<String>]
|
|
4751
4701
|
attr_accessor :unreachable
|
|
@@ -6626,11 +6576,6 @@ module Google
|
|
|
6626
6576
|
# @return [Google::Apis::MigrationcenterV1alpha1::ReportSummary]
|
|
6627
6577
|
attr_accessor :summary
|
|
6628
6578
|
|
|
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
|
-
|
|
6634
6579
|
# Report type.
|
|
6635
6580
|
# Corresponds to the JSON property `type`
|
|
6636
6581
|
# @return [String]
|
|
@@ -6653,43 +6598,11 @@ module Google
|
|
|
6653
6598
|
@name = args[:name] if args.key?(:name)
|
|
6654
6599
|
@state = args[:state] if args.key?(:state)
|
|
6655
6600
|
@summary = args[:summary] if args.key?(:summary)
|
|
6656
|
-
@tco_details = args[:tco_details] if args.key?(:tco_details)
|
|
6657
6601
|
@type = args[:type] if args.key?(:type)
|
|
6658
6602
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
6659
6603
|
end
|
|
6660
6604
|
end
|
|
6661
6605
|
|
|
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
|
-
|
|
6693
6606
|
# A response to a call to `ReportAssetFrame`.
|
|
6694
6607
|
class ReportAssetFramesResponse
|
|
6695
6608
|
include Google::Apis::Core::Hashable
|
|
@@ -6975,6 +6888,11 @@ module Google
|
|
|
6975
6888
|
# @return [Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData]
|
|
6976
6889
|
attr_accessor :operating_system
|
|
6977
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
|
+
|
|
6978
6896
|
# A Histogram Chart shows a distribution of values into buckets, showing a count
|
|
6979
6897
|
# of values which fall into a bucket.
|
|
6980
6898
|
# Corresponds to the JSON property `storageBytesHistogram`
|
|
@@ -7025,6 +6943,7 @@ module Google
|
|
|
7025
6943
|
@memory_utilization = args[:memory_utilization] if args.key?(:memory_utilization)
|
|
7026
6944
|
@memory_utilization_chart = args[:memory_utilization_chart] if args.key?(:memory_utilization_chart)
|
|
7027
6945
|
@operating_system = args[:operating_system] if args.key?(:operating_system)
|
|
6946
|
+
@software_instances = args[:software_instances] if args.key?(:software_instances)
|
|
7028
6947
|
@storage_bytes_histogram = args[:storage_bytes_histogram] if args.key?(:storage_bytes_histogram)
|
|
7029
6948
|
@storage_utilization = args[:storage_utilization] if args.key?(:storage_utilization)
|
|
7030
6949
|
@storage_utilization_chart = args[:storage_utilization_chart] if args.key?(:storage_utilization_chart)
|
|
@@ -7605,26 +7524,6 @@ module Google
|
|
|
7605
7524
|
end
|
|
7606
7525
|
end
|
|
7607
7526
|
|
|
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
|
-
|
|
7628
7527
|
# Location of a resource.
|
|
7629
7528
|
class ResourceLocation
|
|
7630
7529
|
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.
|
|
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 = "
|
|
25
|
+
REVISION = "20251203"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -604,18 +604,6 @@ 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
|
-
|
|
619
607
|
class FileValidationReport
|
|
620
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
621
609
|
|
|
@@ -658,12 +646,6 @@ module Google
|
|
|
658
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
659
647
|
end
|
|
660
648
|
|
|
661
|
-
class GenerateReportArtifactLinkRequest
|
|
662
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
|
-
|
|
664
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
665
|
-
end
|
|
666
|
-
|
|
667
649
|
class GenericInsight
|
|
668
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
651
|
|
|
@@ -1186,12 +1168,6 @@ module Google
|
|
|
1186
1168
|
include Google::Apis::Core::JsonObjectSupport
|
|
1187
1169
|
end
|
|
1188
1170
|
|
|
1189
|
-
class ReportArtifactLink
|
|
1190
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1191
|
-
|
|
1192
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1193
|
-
end
|
|
1194
|
-
|
|
1195
1171
|
class ReportAssetFramesResponse
|
|
1196
1172
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1197
1173
|
|
|
@@ -1330,12 +1306,6 @@ module Google
|
|
|
1330
1306
|
include Google::Apis::Core::JsonObjectSupport
|
|
1331
1307
|
end
|
|
1332
1308
|
|
|
1333
|
-
class ReportTotalCostOfOwnershipDetails
|
|
1334
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1335
|
-
|
|
1336
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1337
|
-
end
|
|
1338
|
-
|
|
1339
1309
|
class ResourceLocation
|
|
1340
1310
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1341
1311
|
|
|
@@ -2623,20 +2593,6 @@ module Google
|
|
|
2623
2593
|
end
|
|
2624
2594
|
end
|
|
2625
2595
|
|
|
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
|
-
|
|
2640
2596
|
class FileValidationReport
|
|
2641
2597
|
# @private
|
|
2642
2598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2700,13 +2656,6 @@ module Google
|
|
|
2700
2656
|
end
|
|
2701
2657
|
end
|
|
2702
2658
|
|
|
2703
|
-
class GenerateReportArtifactLinkRequest
|
|
2704
|
-
# @private
|
|
2705
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2706
|
-
property :artifact_type, as: 'artifactType'
|
|
2707
|
-
end
|
|
2708
|
-
end
|
|
2709
|
-
|
|
2710
2659
|
class GenericInsight
|
|
2711
2660
|
# @private
|
|
2712
2661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3634,22 +3583,11 @@ module Google
|
|
|
3634
3583
|
property :state, as: 'state'
|
|
3635
3584
|
property :summary, as: 'summary', class: Google::Apis::MigrationcenterV1alpha1::ReportSummary, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummary::Representation
|
|
3636
3585
|
|
|
3637
|
-
property :tco_details, as: 'tcoDetails', class: Google::Apis::MigrationcenterV1alpha1::ReportTotalCostOfOwnershipDetails, decorator: Google::Apis::MigrationcenterV1alpha1::ReportTotalCostOfOwnershipDetails::Representation
|
|
3638
|
-
|
|
3639
3586
|
property :type, as: 'type'
|
|
3640
3587
|
property :update_time, as: 'updateTime'
|
|
3641
3588
|
end
|
|
3642
3589
|
end
|
|
3643
3590
|
|
|
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
|
-
|
|
3653
3591
|
class ReportAssetFramesResponse
|
|
3654
3592
|
# @private
|
|
3655
3593
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3744,6 +3682,8 @@ module Google
|
|
|
3744
3682
|
|
|
3745
3683
|
property :operating_system, as: 'operatingSystem', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
|
3746
3684
|
|
|
3685
|
+
property :software_instances, as: 'softwareInstances', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
|
3686
|
+
|
|
3747
3687
|
property :storage_bytes_histogram, as: 'storageBytesHistogram', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryHistogramChartData::Representation
|
|
3748
3688
|
|
|
3749
3689
|
property :storage_utilization, as: 'storageUtilization', class: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1alpha1::ReportSummaryChartData::Representation
|
|
@@ -3932,13 +3872,6 @@ module Google
|
|
|
3932
3872
|
end
|
|
3933
3873
|
end
|
|
3934
3874
|
|
|
3935
|
-
class ReportTotalCostOfOwnershipDetails
|
|
3936
|
-
# @private
|
|
3937
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3938
|
-
property :has_pricing_data, as: 'hasPricingData'
|
|
3939
|
-
end
|
|
3940
|
-
end
|
|
3941
|
-
|
|
3942
3875
|
class ResourceLocation
|
|
3943
3876
|
# @private
|
|
3944
3877
|
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
|
|
1821
|
-
# unreachable
|
|
1822
|
-
#
|
|
1823
|
-
# by default
|
|
1824
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
@@ -2310,39 +2311,6 @@ module Google
|
|
|
2310
2311
|
execute_or_queue_command(command, &block)
|
|
2311
2312
|
end
|
|
2312
2313
|
|
|
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
|
-
|
|
2346
2314
|
# Creates a report.
|
|
2347
2315
|
# @param [String] parent
|
|
2348
2316
|
# Required. Value for parent.
|
|
@@ -2437,39 +2405,6 @@ module Google
|
|
|
2437
2405
|
execute_or_queue_command(command, &block)
|
|
2438
2406
|
end
|
|
2439
2407
|
|
|
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
|
-
|
|
2473
2408
|
# Gets details of a single Report.
|
|
2474
2409
|
# @param [String] name
|
|
2475
2410
|
# Required. Name of the resource.
|
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.
|
|
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.
|
|
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:
|