google-apis-migrationcenter_v1 0.29.0 → 0.30.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_v1/classes.rb +11 -48
- data/lib/google/apis/migrationcenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1/representations.rb +2 -27
- data/lib/google/apis/migrationcenter_v1/service.rb +6 -38
- 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: a3aef1492ad59e8b648d2276d1392a97c508c2fb6ba66ad57a779f09d7c9da27
|
|
4
|
+
data.tar.gz: c63bb7607350d673e3173dd0e2e12dbddd9c01d2a3b99fd02a3492d320ecd2a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f765080f77a2a9dbbcf11852516096695359c1e281ec1995f158d74558f5dcbf23b2f6a3cba96a708d1942e8e7ccb3cdbd5fedbd47987c722ba0ef762ce07b0
|
|
7
|
+
data.tar.gz: fa9cf2e6e837619367b37d33794df160b0d4f0e8f7342668d85d581364615270d40776ca3276dad232d4cfd7eb7e9a8b97e341493f4bec81a18cee8d13785b59
|
data/CHANGELOG.md
CHANGED
|
@@ -81,7 +81,7 @@ module Google
|
|
|
81
81
|
# @return [String]
|
|
82
82
|
attr_accessor :filter
|
|
83
83
|
|
|
84
|
-
# Optional. When this value is set to 'true
|
|
84
|
+
# Optional. When this value is set to 'true' the response will include all
|
|
85
85
|
# assets, including those that are hidden.
|
|
86
86
|
# Corresponds to the JSON property `showHidden`
|
|
87
87
|
# @return [Boolean]
|
|
@@ -2175,25 +2175,6 @@ module Google
|
|
|
2175
2175
|
end
|
|
2176
2176
|
end
|
|
2177
2177
|
|
|
2178
|
-
# A request to generate a link to an artifact for a Report.
|
|
2179
|
-
class GenerateReportArtifactLinkRequest
|
|
2180
|
-
include Google::Apis::Core::Hashable
|
|
2181
|
-
|
|
2182
|
-
# Required. Type of the artifact requested.
|
|
2183
|
-
# Corresponds to the JSON property `artifactType`
|
|
2184
|
-
# @return [String]
|
|
2185
|
-
attr_accessor :artifact_type
|
|
2186
|
-
|
|
2187
|
-
def initialize(**args)
|
|
2188
|
-
update!(**args)
|
|
2189
|
-
end
|
|
2190
|
-
|
|
2191
|
-
# Update properties of this object
|
|
2192
|
-
def update!(**args)
|
|
2193
|
-
@artifact_type = args[:artifact_type] if args.key?(:artifact_type)
|
|
2194
|
-
end
|
|
2195
|
-
end
|
|
2196
|
-
|
|
2197
2178
|
# A generic insight about an asset.
|
|
2198
2179
|
class GenericInsight
|
|
2199
2180
|
include Google::Apis::Core::Hashable
|
|
@@ -2576,7 +2557,7 @@ module Google
|
|
|
2576
2557
|
# @return [String]
|
|
2577
2558
|
attr_accessor :create_time
|
|
2578
2559
|
|
|
2579
|
-
# User-friendly display name. Maximum length is 63 characters.
|
|
2560
|
+
# Optional. User-friendly display name. Maximum length is 63 characters.
|
|
2580
2561
|
# Corresponds to the JSON property `displayName`
|
|
2581
2562
|
# @return [String]
|
|
2582
2563
|
attr_accessor :display_name
|
|
@@ -3122,8 +3103,9 @@ module Google
|
|
|
3122
3103
|
attr_accessor :operations
|
|
3123
3104
|
|
|
3124
3105
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3125
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
3126
|
-
# when attempting to list all resources across all supported
|
|
3106
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
3107
|
+
# For example, when attempting to list all resources across all supported
|
|
3108
|
+
# locations.
|
|
3127
3109
|
# Corresponds to the JSON property `unreachable`
|
|
3128
3110
|
# @return [Array<String>]
|
|
3129
3111
|
attr_accessor :unreachable
|
|
@@ -4811,31 +4793,6 @@ module Google
|
|
|
4811
4793
|
end
|
|
4812
4794
|
end
|
|
4813
4795
|
|
|
4814
|
-
# Describes a link to a generated artifact of the report.
|
|
4815
|
-
class ReportArtifactLink
|
|
4816
|
-
include Google::Apis::Core::Hashable
|
|
4817
|
-
|
|
4818
|
-
# Output only. URI of the artifact.
|
|
4819
|
-
# Corresponds to the JSON property `uri`
|
|
4820
|
-
# @return [String]
|
|
4821
|
-
attr_accessor :uri
|
|
4822
|
-
|
|
4823
|
-
# Output only. Expiration time of the URI.
|
|
4824
|
-
# Corresponds to the JSON property `uriExpirationTime`
|
|
4825
|
-
# @return [String]
|
|
4826
|
-
attr_accessor :uri_expiration_time
|
|
4827
|
-
|
|
4828
|
-
def initialize(**args)
|
|
4829
|
-
update!(**args)
|
|
4830
|
-
end
|
|
4831
|
-
|
|
4832
|
-
# Update properties of this object
|
|
4833
|
-
def update!(**args)
|
|
4834
|
-
@uri = args[:uri] if args.key?(:uri)
|
|
4835
|
-
@uri_expiration_time = args[:uri_expiration_time] if args.key?(:uri_expiration_time)
|
|
4836
|
-
end
|
|
4837
|
-
end
|
|
4838
|
-
|
|
4839
4796
|
# A response to a call to `ReportAssetFrame`.
|
|
4840
4797
|
class ReportAssetFramesResponse
|
|
4841
4798
|
include Google::Apis::Core::Hashable
|
|
@@ -4976,6 +4933,11 @@ module Google
|
|
|
4976
4933
|
# @return [Google::Apis::MigrationcenterV1::ReportSummaryChartData]
|
|
4977
4934
|
attr_accessor :operating_system
|
|
4978
4935
|
|
|
4936
|
+
# Describes a collection of data points rendered as a Chart.
|
|
4937
|
+
# Corresponds to the JSON property `softwareInstances`
|
|
4938
|
+
# @return [Google::Apis::MigrationcenterV1::ReportSummaryChartData]
|
|
4939
|
+
attr_accessor :software_instances
|
|
4940
|
+
|
|
4979
4941
|
# A Histogram Chart shows a distribution of values into buckets, showing a count
|
|
4980
4942
|
# of values which fall into a bucket.
|
|
4981
4943
|
# Corresponds to the JSON property `storageBytesHistogram`
|
|
@@ -5018,6 +4980,7 @@ module Google
|
|
|
5018
4980
|
@memory_bytes_histogram = args[:memory_bytes_histogram] if args.key?(:memory_bytes_histogram)
|
|
5019
4981
|
@memory_utilization_chart = args[:memory_utilization_chart] if args.key?(:memory_utilization_chart)
|
|
5020
4982
|
@operating_system = args[:operating_system] if args.key?(:operating_system)
|
|
4983
|
+
@software_instances = args[:software_instances] if args.key?(:software_instances)
|
|
5021
4984
|
@storage_bytes_histogram = args[:storage_bytes_histogram] if args.key?(:storage_bytes_histogram)
|
|
5022
4985
|
@storage_utilization_chart = args[:storage_utilization_chart] if args.key?(:storage_utilization_chart)
|
|
5023
4986
|
@total_assets = args[:total_assets] if args.key?(:total_assets)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module MigrationcenterV1
|
|
18
18
|
# Version of the google-apis-migrationcenter_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.30.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
|
|
@@ -412,12 +412,6 @@ module Google
|
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
413
413
|
end
|
|
414
414
|
|
|
415
|
-
class GenerateReportArtifactLinkRequest
|
|
416
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
-
|
|
418
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
-
end
|
|
420
|
-
|
|
421
415
|
class GenericInsight
|
|
422
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
417
|
|
|
@@ -862,12 +856,6 @@ module Google
|
|
|
862
856
|
include Google::Apis::Core::JsonObjectSupport
|
|
863
857
|
end
|
|
864
858
|
|
|
865
|
-
class ReportArtifactLink
|
|
866
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
|
-
|
|
868
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
869
|
-
end
|
|
870
|
-
|
|
871
859
|
class ReportAssetFramesResponse
|
|
872
860
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
873
861
|
|
|
@@ -1795,13 +1783,6 @@ module Google
|
|
|
1795
1783
|
end
|
|
1796
1784
|
end
|
|
1797
1785
|
|
|
1798
|
-
class GenerateReportArtifactLinkRequest
|
|
1799
|
-
# @private
|
|
1800
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1801
|
-
property :artifact_type, as: 'artifactType'
|
|
1802
|
-
end
|
|
1803
|
-
end
|
|
1804
|
-
|
|
1805
1786
|
class GenericInsight
|
|
1806
1787
|
# @private
|
|
1807
1788
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2582,14 +2563,6 @@ module Google
|
|
|
2582
2563
|
end
|
|
2583
2564
|
end
|
|
2584
2565
|
|
|
2585
|
-
class ReportArtifactLink
|
|
2586
|
-
# @private
|
|
2587
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2588
|
-
property :uri, as: 'uri'
|
|
2589
|
-
property :uri_expiration_time, as: 'uriExpirationTime'
|
|
2590
|
-
end
|
|
2591
|
-
end
|
|
2592
|
-
|
|
2593
2566
|
class ReportAssetFramesResponse
|
|
2594
2567
|
# @private
|
|
2595
2568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2638,6 +2611,8 @@ module Google
|
|
|
2638
2611
|
|
|
2639
2612
|
property :operating_system, as: 'operatingSystem', class: Google::Apis::MigrationcenterV1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1::ReportSummaryChartData::Representation
|
|
2640
2613
|
|
|
2614
|
+
property :software_instances, as: 'softwareInstances', class: Google::Apis::MigrationcenterV1::ReportSummaryChartData, decorator: Google::Apis::MigrationcenterV1::ReportSummaryChartData::Representation
|
|
2615
|
+
|
|
2641
2616
|
property :storage_bytes_histogram, as: 'storageBytesHistogram', class: Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartData, decorator: Google::Apis::MigrationcenterV1::ReportSummaryHistogramChartData::Representation
|
|
2642
2617
|
|
|
2643
2618
|
property :storage_utilization_chart, as: 'storageUtilizationChart', class: Google::Apis::MigrationcenterV1::ReportSummaryUtilizationChartData, decorator: Google::Apis::MigrationcenterV1::ReportSummaryUtilizationChartData::Representation
|
|
@@ -1639,11 +1639,12 @@ module Google
|
|
|
1639
1639
|
# The standard list page token.
|
|
1640
1640
|
# @param [Boolean] return_partial_success
|
|
1641
1641
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1642
|
-
# those that are unreachable are returned in the
|
|
1643
|
-
# unreachable
|
|
1644
|
-
#
|
|
1645
|
-
# by default
|
|
1646
|
-
# explicitly documented otherwise in service or product specific
|
|
1642
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
1643
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
1644
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
1645
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
1646
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
1647
|
+
# documentation.
|
|
1647
1648
|
# @param [String] fields
|
|
1648
1649
|
# Selector specifying which fields to include in a partial response.
|
|
1649
1650
|
# @param [String] quota_user
|
|
@@ -2138,39 +2139,6 @@ module Google
|
|
|
2138
2139
|
execute_or_queue_command(command, &block)
|
|
2139
2140
|
end
|
|
2140
2141
|
|
|
2141
|
-
# Gets the link to the generated artifact of a given type for a Report.
|
|
2142
|
-
# @param [String] name
|
|
2143
|
-
# Required. Name of the resource.
|
|
2144
|
-
# @param [Google::Apis::MigrationcenterV1::GenerateReportArtifactLinkRequest] generate_report_artifact_link_request_object
|
|
2145
|
-
# @param [String] fields
|
|
2146
|
-
# Selector specifying which fields to include in a partial response.
|
|
2147
|
-
# @param [String] quota_user
|
|
2148
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2149
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2150
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2151
|
-
# Request-specific options
|
|
2152
|
-
#
|
|
2153
|
-
# @yield [result, err] Result & error if block supplied
|
|
2154
|
-
# @yieldparam result [Google::Apis::MigrationcenterV1::ReportArtifactLink] parsed result object
|
|
2155
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2156
|
-
#
|
|
2157
|
-
# @return [Google::Apis::MigrationcenterV1::ReportArtifactLink]
|
|
2158
|
-
#
|
|
2159
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2160
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2161
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2162
|
-
def artifact_project_location_report_config_report_link(name, generate_report_artifact_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2163
|
-
command = make_simple_command(:post, 'v1/{+name}:artifactLink', options)
|
|
2164
|
-
command.request_representation = Google::Apis::MigrationcenterV1::GenerateReportArtifactLinkRequest::Representation
|
|
2165
|
-
command.request_object = generate_report_artifact_link_request_object
|
|
2166
|
-
command.response_representation = Google::Apis::MigrationcenterV1::ReportArtifactLink::Representation
|
|
2167
|
-
command.response_class = Google::Apis::MigrationcenterV1::ReportArtifactLink
|
|
2168
|
-
command.params['name'] = name unless name.nil?
|
|
2169
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2170
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2171
|
-
execute_or_queue_command(command, &block)
|
|
2172
|
-
end
|
|
2173
|
-
|
|
2174
2142
|
# Creates a report.
|
|
2175
2143
|
# @param [String] parent
|
|
2176
2144
|
# Required. Value for parent.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-migrationcenter_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.30.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.30.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|