google-apis-migrationcenter_v1 0.27.0 → 0.28.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 +44 -0
- data/lib/google/apis/migrationcenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1/representations.rb +27 -0
- data/lib/google/apis/migrationcenter_v1/service.rb +33 -0
- 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: b8c12caf26375034e94c88a7ba0c5b2e434fe45bb228e62249a60e7284a8ead6
|
|
4
|
+
data.tar.gz: 152aec393ab07c3c3b9721155d6f7bf99bf8233dc801736a21a658bb14158e15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: babc3f89b03a5af80b1ac11e4be0f660828f188ceb6e0939f1604f331fca1bdd3866f95c08a6ec5598a80b41e46edede112c0a7f05d5707316e4f8dfbf85f397
|
|
7
|
+
data.tar.gz: f0eaa5f0140e4cc8efcf3f6ca3d081161f17d89af7d7538e398d57590c8037d860d9776fcbfe41833b69b75325c38b4359b13fc5d6c025c4719d38fb6e18b915
|
data/CHANGELOG.md
CHANGED
|
@@ -2175,6 +2175,25 @@ 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
|
+
|
|
2178
2197
|
# A generic insight about an asset.
|
|
2179
2198
|
class GenericInsight
|
|
2180
2199
|
include Google::Apis::Core::Hashable
|
|
@@ -4786,6 +4805,31 @@ module Google
|
|
|
4786
4805
|
end
|
|
4787
4806
|
end
|
|
4788
4807
|
|
|
4808
|
+
# Describes a link to a generated artifact of the report.
|
|
4809
|
+
class ReportArtifactLink
|
|
4810
|
+
include Google::Apis::Core::Hashable
|
|
4811
|
+
|
|
4812
|
+
# Output only. URI of the artifact.
|
|
4813
|
+
# Corresponds to the JSON property `uri`
|
|
4814
|
+
# @return [String]
|
|
4815
|
+
attr_accessor :uri
|
|
4816
|
+
|
|
4817
|
+
# Output only. Expiration time of the URI.
|
|
4818
|
+
# Corresponds to the JSON property `uriExpirationTime`
|
|
4819
|
+
# @return [String]
|
|
4820
|
+
attr_accessor :uri_expiration_time
|
|
4821
|
+
|
|
4822
|
+
def initialize(**args)
|
|
4823
|
+
update!(**args)
|
|
4824
|
+
end
|
|
4825
|
+
|
|
4826
|
+
# Update properties of this object
|
|
4827
|
+
def update!(**args)
|
|
4828
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
4829
|
+
@uri_expiration_time = args[:uri_expiration_time] if args.key?(:uri_expiration_time)
|
|
4830
|
+
end
|
|
4831
|
+
end
|
|
4832
|
+
|
|
4789
4833
|
# A response to a call to `ReportAssetFrame`.
|
|
4790
4834
|
class ReportAssetFramesResponse
|
|
4791
4835
|
include Google::Apis::Core::Hashable
|
|
@@ -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.28.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 = "20251106"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -412,6 +412,12 @@ 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
|
+
|
|
415
421
|
class GenericInsight
|
|
416
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
423
|
|
|
@@ -856,6 +862,12 @@ module Google
|
|
|
856
862
|
include Google::Apis::Core::JsonObjectSupport
|
|
857
863
|
end
|
|
858
864
|
|
|
865
|
+
class ReportArtifactLink
|
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
|
+
|
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
869
|
+
end
|
|
870
|
+
|
|
859
871
|
class ReportAssetFramesResponse
|
|
860
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
861
873
|
|
|
@@ -1783,6 +1795,13 @@ module Google
|
|
|
1783
1795
|
end
|
|
1784
1796
|
end
|
|
1785
1797
|
|
|
1798
|
+
class GenerateReportArtifactLinkRequest
|
|
1799
|
+
# @private
|
|
1800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1801
|
+
property :artifact_type, as: 'artifactType'
|
|
1802
|
+
end
|
|
1803
|
+
end
|
|
1804
|
+
|
|
1786
1805
|
class GenericInsight
|
|
1787
1806
|
# @private
|
|
1788
1807
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2562,6 +2581,14 @@ module Google
|
|
|
2562
2581
|
end
|
|
2563
2582
|
end
|
|
2564
2583
|
|
|
2584
|
+
class ReportArtifactLink
|
|
2585
|
+
# @private
|
|
2586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2587
|
+
property :uri, as: 'uri'
|
|
2588
|
+
property :uri_expiration_time, as: 'uriExpirationTime'
|
|
2589
|
+
end
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2565
2592
|
class ReportAssetFramesResponse
|
|
2566
2593
|
# @private
|
|
2567
2594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2138,6 +2138,39 @@ module Google
|
|
|
2138
2138
|
execute_or_queue_command(command, &block)
|
|
2139
2139
|
end
|
|
2140
2140
|
|
|
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
|
+
|
|
2141
2174
|
# Creates a report.
|
|
2142
2175
|
# @param [String] parent
|
|
2143
2176
|
# 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.28.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.28.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:
|