google-apis-migrationcenter_v1alpha1 0.18.0 → 0.20.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 +8 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +80 -2
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +34 -0
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c07e961679c22537029e88bc7a5c7600e03696e173e53a09b6fafc71e42249ae
|
4
|
+
data.tar.gz: 181f20c34015c7a419e1c65d2c1b21be87ce3be613fb3eb0758df69843c05f0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 312049fc7175f0c758ced26747ddde0eaf696ad5539538e0f6ae5cd8d3114183ef646052fcff8b75572eec317ca3508326fd22c770f79b01785fca302b43536d
|
7
|
+
data.tar.gz: 79e6f5661dcbbf2079d8ccbe29d0cb67c13e7dd26fd5bea5a7a23d3bc4dd30ea08ac7ca7194c1b8de2151fdd4d7d8e7df1f8f6063a7e8a276fe0db4ba6b0dad1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-migrationcenter_v1alpha1
|
2
2
|
|
3
|
+
### v0.20.0 (2023-11-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231027
|
6
|
+
|
7
|
+
### v0.19.0 (2023-10-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231013
|
10
|
+
|
3
11
|
### v0.18.0 (2023-10-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230928
|
@@ -80,6 +80,13 @@ module Google
|
|
80
80
|
# @return [String]
|
81
81
|
attr_accessor :filter
|
82
82
|
|
83
|
+
# Optional. When this value is set to 'true' the response will include all
|
84
|
+
# assets, including those that are hidden.
|
85
|
+
# Corresponds to the JSON property `showHidden`
|
86
|
+
# @return [Boolean]
|
87
|
+
attr_accessor :show_hidden
|
88
|
+
alias_method :show_hidden?, :show_hidden
|
89
|
+
|
83
90
|
def initialize(**args)
|
84
91
|
update!(**args)
|
85
92
|
end
|
@@ -88,6 +95,7 @@ module Google
|
|
88
95
|
def update!(**args)
|
89
96
|
@aggregations = args[:aggregations] if args.key?(:aggregations)
|
90
97
|
@filter = args[:filter] if args.key?(:filter)
|
98
|
+
@show_hidden = args[:show_hidden] if args.key?(:show_hidden)
|
91
99
|
end
|
92
100
|
end
|
93
101
|
|
@@ -393,6 +401,22 @@ module Google
|
|
393
401
|
# @return [String]
|
394
402
|
attr_accessor :create_time
|
395
403
|
|
404
|
+
# Optional. Indicates if the asset is hidden.
|
405
|
+
# Corresponds to the JSON property `hidden`
|
406
|
+
# @return [Boolean]
|
407
|
+
attr_accessor :hidden
|
408
|
+
alias_method :hidden?, :hidden
|
409
|
+
|
410
|
+
# Optional. An optional reason for marking this asset as hidden.
|
411
|
+
# Corresponds to the JSON property `hideReason`
|
412
|
+
# @return [String]
|
413
|
+
attr_accessor :hide_reason
|
414
|
+
|
415
|
+
# Output only. The timestamp when the asset was marked as hidden.
|
416
|
+
# Corresponds to the JSON property `hideTime`
|
417
|
+
# @return [String]
|
418
|
+
attr_accessor :hide_time
|
419
|
+
|
396
420
|
# Message containing insights list.
|
397
421
|
# Corresponds to the JSON property `insightList`
|
398
422
|
# @return [Google::Apis::MigrationcenterV1alpha1::InsightList]
|
@@ -437,6 +461,9 @@ module Google
|
|
437
461
|
@assigned_groups = args[:assigned_groups] if args.key?(:assigned_groups)
|
438
462
|
@attributes = args[:attributes] if args.key?(:attributes)
|
439
463
|
@create_time = args[:create_time] if args.key?(:create_time)
|
464
|
+
@hidden = args[:hidden] if args.key?(:hidden)
|
465
|
+
@hide_reason = args[:hide_reason] if args.key?(:hide_reason)
|
466
|
+
@hide_time = args[:hide_time] if args.key?(:hide_time)
|
440
467
|
@insight_list = args[:insight_list] if args.key?(:insight_list)
|
441
468
|
@labels = args[:labels] if args.key?(:labels)
|
442
469
|
@name = args[:name] if args.key?(:name)
|
@@ -1168,6 +1195,32 @@ module Google
|
|
1168
1195
|
end
|
1169
1196
|
end
|
1170
1197
|
|
1198
|
+
# Information about software detected on an asset.
|
1199
|
+
class DetectedSoftware
|
1200
|
+
include Google::Apis::Core::Hashable
|
1201
|
+
|
1202
|
+
# Output only. Software family of the detected software, e.g. Database, SAP
|
1203
|
+
# family.
|
1204
|
+
# Corresponds to the JSON property `softwareFamily`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :software_family
|
1207
|
+
|
1208
|
+
# Output only. Software's name.
|
1209
|
+
# Corresponds to the JSON property `softwareName`
|
1210
|
+
# @return [String]
|
1211
|
+
attr_accessor :software_name
|
1212
|
+
|
1213
|
+
def initialize(**args)
|
1214
|
+
update!(**args)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Update properties of this object
|
1218
|
+
def update!(**args)
|
1219
|
+
@software_family = args[:software_family] if args.key?(:software_family)
|
1220
|
+
@software_name = args[:software_name] if args.key?(:software_name)
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
|
1171
1224
|
# Single disk entry.
|
1172
1225
|
class DiskEntry
|
1173
1226
|
include Google::Apis::Core::Hashable
|
@@ -1718,12 +1771,12 @@ module Google
|
|
1718
1771
|
# @return [String]
|
1719
1772
|
attr_accessor :create_time
|
1720
1773
|
|
1721
|
-
# The description of the
|
1774
|
+
# Optional. The description of the group.
|
1722
1775
|
# Corresponds to the JSON property `description`
|
1723
1776
|
# @return [String]
|
1724
1777
|
attr_accessor :description
|
1725
1778
|
|
1726
|
-
# User-friendly display name.
|
1779
|
+
# Optional. User-friendly display name.
|
1727
1780
|
# Corresponds to the JSON property `displayName`
|
1728
1781
|
# @return [String]
|
1729
1782
|
attr_accessor :display_name
|
@@ -2235,6 +2288,11 @@ module Google
|
|
2235
2288
|
# @return [Google::Apis::MigrationcenterV1alpha1::MigrationInsight]
|
2236
2289
|
attr_accessor :migration_insight
|
2237
2290
|
|
2291
|
+
# An insight regarding software detected on an asset.
|
2292
|
+
# Corresponds to the JSON property `softwareInsight`
|
2293
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::SoftwareInsight]
|
2294
|
+
attr_accessor :software_insight
|
2295
|
+
|
2238
2296
|
def initialize(**args)
|
2239
2297
|
update!(**args)
|
2240
2298
|
end
|
@@ -2243,6 +2301,7 @@ module Google
|
|
2243
2301
|
def update!(**args)
|
2244
2302
|
@generic_insight = args[:generic_insight] if args.key?(:generic_insight)
|
2245
2303
|
@migration_insight = args[:migration_insight] if args.key?(:migration_insight)
|
2304
|
+
@software_insight = args[:software_insight] if args.key?(:software_insight)
|
2246
2305
|
end
|
2247
2306
|
end
|
2248
2307
|
|
@@ -4496,6 +4555,25 @@ module Google
|
|
4496
4555
|
end
|
4497
4556
|
end
|
4498
4557
|
|
4558
|
+
# An insight regarding software detected on an asset.
|
4559
|
+
class SoftwareInsight
|
4560
|
+
include Google::Apis::Core::Hashable
|
4561
|
+
|
4562
|
+
# Information about software detected on an asset.
|
4563
|
+
# Corresponds to the JSON property `detectedSoftware`
|
4564
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::DetectedSoftware]
|
4565
|
+
attr_accessor :detected_software
|
4566
|
+
|
4567
|
+
def initialize(**args)
|
4568
|
+
update!(**args)
|
4569
|
+
end
|
4570
|
+
|
4571
|
+
# Update properties of this object
|
4572
|
+
def update!(**args)
|
4573
|
+
@detected_software = args[:detected_software] if args.key?(:detected_software)
|
4574
|
+
end
|
4575
|
+
end
|
4576
|
+
|
4499
4577
|
# Preferences concerning Sole Tenancy nodes and VMs.
|
4500
4578
|
class SoleTenancyPreferences
|
4501
4579
|
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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231027"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,6 +250,12 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class DetectedSoftware
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
253
259
|
class DiskEntry
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
261
|
|
@@ -838,6 +844,12 @@ module Google
|
|
838
844
|
include Google::Apis::Core::JsonObjectSupport
|
839
845
|
end
|
840
846
|
|
847
|
+
class SoftwareInsight
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
841
853
|
class SoleTenancyPreferences
|
842
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
855
|
|
@@ -974,6 +986,7 @@ module Google
|
|
974
986
|
collection :aggregations, as: 'aggregations', class: Google::Apis::MigrationcenterV1alpha1::Aggregation, decorator: Google::Apis::MigrationcenterV1alpha1::Aggregation::Representation
|
975
987
|
|
976
988
|
property :filter, as: 'filter'
|
989
|
+
property :show_hidden, as: 'showHidden'
|
977
990
|
end
|
978
991
|
end
|
979
992
|
|
@@ -1084,6 +1097,9 @@ module Google
|
|
1084
1097
|
collection :assigned_groups, as: 'assignedGroups'
|
1085
1098
|
hash :attributes, as: 'attributes'
|
1086
1099
|
property :create_time, as: 'createTime'
|
1100
|
+
property :hidden, as: 'hidden'
|
1101
|
+
property :hide_reason, as: 'hideReason'
|
1102
|
+
property :hide_time, as: 'hideTime'
|
1087
1103
|
property :insight_list, as: 'insightList', class: Google::Apis::MigrationcenterV1alpha1::InsightList, decorator: Google::Apis::MigrationcenterV1alpha1::InsightList::Representation
|
1088
1104
|
|
1089
1105
|
hash :labels, as: 'labels'
|
@@ -1315,6 +1331,14 @@ module Google
|
|
1315
1331
|
end
|
1316
1332
|
end
|
1317
1333
|
|
1334
|
+
class DetectedSoftware
|
1335
|
+
# @private
|
1336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1337
|
+
property :software_family, as: 'softwareFamily'
|
1338
|
+
property :software_name, as: 'softwareName'
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1318
1342
|
class DiskEntry
|
1319
1343
|
# @private
|
1320
1344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1646,6 +1670,8 @@ module Google
|
|
1646
1670
|
|
1647
1671
|
property :migration_insight, as: 'migrationInsight', class: Google::Apis::MigrationcenterV1alpha1::MigrationInsight, decorator: Google::Apis::MigrationcenterV1alpha1::MigrationInsight::Representation
|
1648
1672
|
|
1673
|
+
property :software_insight, as: 'softwareInsight', class: Google::Apis::MigrationcenterV1alpha1::SoftwareInsight, decorator: Google::Apis::MigrationcenterV1alpha1::SoftwareInsight::Representation
|
1674
|
+
|
1649
1675
|
end
|
1650
1676
|
end
|
1651
1677
|
|
@@ -2331,6 +2357,14 @@ module Google
|
|
2331
2357
|
end
|
2332
2358
|
end
|
2333
2359
|
|
2360
|
+
class SoftwareInsight
|
2361
|
+
# @private
|
2362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2363
|
+
property :detected_software, as: 'detectedSoftware', class: Google::Apis::MigrationcenterV1alpha1::DetectedSoftware, decorator: Google::Apis::MigrationcenterV1alpha1::DetectedSoftware::Representation
|
2364
|
+
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2334
2368
|
class SoleTenancyPreferences
|
2335
2369
|
# @private
|
2336
2370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -391,6 +391,9 @@ module Google
|
|
391
391
|
# unspecified, server will pick an appropriate default.
|
392
392
|
# @param [String] page_token
|
393
393
|
# A token identifying a page of results the server should return.
|
394
|
+
# @param [Boolean] show_hidden
|
395
|
+
# Optional. When this value is set to 'true' the response will include all
|
396
|
+
# assets, including those that are hidden.
|
394
397
|
# @param [String] view
|
395
398
|
# View of the assets. Defaults to BASIC.
|
396
399
|
# @param [String] fields
|
@@ -410,7 +413,7 @@ module Google
|
|
410
413
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
411
414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
412
415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
413
|
-
def list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
416
|
+
def list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_hidden: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
414
417
|
command = make_simple_command(:get, 'v1alpha1/{+parent}/assets', options)
|
415
418
|
command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse::Representation
|
416
419
|
command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse
|
@@ -419,6 +422,7 @@ module Google
|
|
419
422
|
command.query['orderBy'] = order_by unless order_by.nil?
|
420
423
|
command.query['pageSize'] = page_size unless page_size.nil?
|
421
424
|
command.query['pageToken'] = page_token unless page_token.nil?
|
425
|
+
command.query['showHidden'] = show_hidden unless show_hidden.nil?
|
422
426
|
command.query['view'] = view unless view.nil?
|
423
427
|
command.query['fields'] = fields unless fields.nil?
|
424
428
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|