google-apis-migrationcenter_v1 0.20.0 → 0.21.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 +5 -0
- data/lib/google/apis/migrationcenter_v1/classes.rb +130 -4
- data/lib/google/apis/migrationcenter_v1/gem_version.rb +3 -3
- data/lib/google/apis/migrationcenter_v1/representations.rb +64 -0
- data/lib/google/apis/migrationcenter_v1/service.rb +74 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4a33f2e9d22209c812ed2d711f7765482d033ddf3103f7f4487f30d9aaff02b
|
4
|
+
data.tar.gz: cc0222064947ae068fbca5d7906328985a128bf4aa5cd3893e264b295f4d3797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dfdd0aaf68672e2285eba374ecd16567ceb88cf2edca6195c94204eb13d50f5bb53431717a9c31d59c26ec229b1e5f0991ee8501ef6ee6018757bc366c25382
|
7
|
+
data.tar.gz: 66c9781b91a33085ea459bd93d614dc17a133c578b8ad9fafa6f23f0a3ef27ec7f55fa15894b15293021e5d9251c183ca71360dab75934f133e243853c64fcd4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-migrationcenter_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250220
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.20.0 (2024-12-15)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241205
|
@@ -607,6 +607,19 @@ module Google
|
|
607
607
|
end
|
608
608
|
end
|
609
609
|
|
610
|
+
# Specific details for an AWS RDS database deployment.
|
611
|
+
class AwsRds
|
612
|
+
include Google::Apis::Core::Hashable
|
613
|
+
|
614
|
+
def initialize(**args)
|
615
|
+
update!(**args)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Update properties of this object
|
619
|
+
def update!(**args)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
610
623
|
# Azure VM specific details.
|
611
624
|
class AzureVmPlatformDetails
|
612
625
|
include Google::Apis::Core::Hashable
|
@@ -1122,6 +1135,11 @@ module Google
|
|
1122
1135
|
# @return [Google::Apis::MigrationcenterV1::DatabaseDeploymentDetailsAggregatedStats]
|
1123
1136
|
attr_accessor :aggregated_stats
|
1124
1137
|
|
1138
|
+
# Specific details for an AWS RDS database deployment.
|
1139
|
+
# Corresponds to the JSON property `awsRds`
|
1140
|
+
# @return [Google::Apis::MigrationcenterV1::AwsRds]
|
1141
|
+
attr_accessor :aws_rds
|
1142
|
+
|
1125
1143
|
# Optional. The database deployment edition.
|
1126
1144
|
# Corresponds to the JSON property `edition`
|
1127
1145
|
# @return [String]
|
@@ -1169,6 +1187,7 @@ module Google
|
|
1169
1187
|
# Update properties of this object
|
1170
1188
|
def update!(**args)
|
1171
1189
|
@aggregated_stats = args[:aggregated_stats] if args.key?(:aggregated_stats)
|
1190
|
+
@aws_rds = args[:aws_rds] if args.key?(:aws_rds)
|
1172
1191
|
@edition = args[:edition] if args.key?(:edition)
|
1173
1192
|
@generated_id = args[:generated_id] if args.key?(:generated_id)
|
1174
1193
|
@manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
|
@@ -1715,7 +1734,7 @@ module Google
|
|
1715
1734
|
# @return [Fixnum]
|
1716
1735
|
attr_accessor :free_bytes
|
1717
1736
|
|
1718
|
-
# Mount
|
1737
|
+
# Mount point (Linux/Windows) or drive letter (Windows).
|
1719
1738
|
# Corresponds to the JSON property `mountPoint`
|
1720
1739
|
# @return [String]
|
1721
1740
|
attr_accessor :mount_point
|
@@ -1751,6 +1770,37 @@ module Google
|
|
1751
1770
|
end
|
1752
1771
|
end
|
1753
1772
|
|
1773
|
+
# Disk partition details.
|
1774
|
+
class DiskPartitionDetails
|
1775
|
+
include Google::Apis::Core::Hashable
|
1776
|
+
|
1777
|
+
# Output only. Total free space of all partitions.
|
1778
|
+
# Corresponds to the JSON property `freeSpaceBytes`
|
1779
|
+
# @return [Fixnum]
|
1780
|
+
attr_accessor :free_space_bytes
|
1781
|
+
|
1782
|
+
# Disk partition list.
|
1783
|
+
# Corresponds to the JSON property `partitions`
|
1784
|
+
# @return [Google::Apis::MigrationcenterV1::DiskPartitionList]
|
1785
|
+
attr_accessor :partitions
|
1786
|
+
|
1787
|
+
# Output only. Total capacity of all partitions.
|
1788
|
+
# Corresponds to the JSON property `totalCapacityBytes`
|
1789
|
+
# @return [Fixnum]
|
1790
|
+
attr_accessor :total_capacity_bytes
|
1791
|
+
|
1792
|
+
def initialize(**args)
|
1793
|
+
update!(**args)
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
# Update properties of this object
|
1797
|
+
def update!(**args)
|
1798
|
+
@free_space_bytes = args[:free_space_bytes] if args.key?(:free_space_bytes)
|
1799
|
+
@partitions = args[:partitions] if args.key?(:partitions)
|
1800
|
+
@total_capacity_bytes = args[:total_capacity_bytes] if args.key?(:total_capacity_bytes)
|
1801
|
+
end
|
1802
|
+
end
|
1803
|
+
|
1754
1804
|
# Disk partition list.
|
1755
1805
|
class DiskPartitionList
|
1756
1806
|
include Google::Apis::Core::Hashable
|
@@ -1774,19 +1824,21 @@ module Google
|
|
1774
1824
|
class DiskUsageSample
|
1775
1825
|
include Google::Apis::Core::Hashable
|
1776
1826
|
|
1777
|
-
# Optional. Average IOPS sampled over a short window. Must be non-negative.
|
1778
|
-
#
|
1779
|
-
#
|
1827
|
+
# Optional. Average IOPS sampled over a short window. Must be non-negative. If
|
1828
|
+
# read or write are set, the sum of read and write will override the value of
|
1829
|
+
# the average_iops.
|
1780
1830
|
# Corresponds to the JSON property `averageIops`
|
1781
1831
|
# @return [Float]
|
1782
1832
|
attr_accessor :average_iops
|
1783
1833
|
|
1784
1834
|
# Optional. Average read IOPS sampled over a short window. Must be non-negative.
|
1835
|
+
# If both read and write are zero they are ignored.
|
1785
1836
|
# Corresponds to the JSON property `averageReadIops`
|
1786
1837
|
# @return [Float]
|
1787
1838
|
attr_accessor :average_read_iops
|
1788
1839
|
|
1789
1840
|
# Optional. Average write IOPS sampled over a short window. Must be non-negative.
|
1841
|
+
# If both read and write are zero they are ignored.
|
1790
1842
|
# Corresponds to the JSON property `averageWriteIops`
|
1791
1843
|
# @return [Float]
|
1792
1844
|
attr_accessor :average_write_iops
|
@@ -3027,6 +3079,31 @@ module Google
|
|
3027
3079
|
end
|
3028
3080
|
end
|
3029
3081
|
|
3082
|
+
# Response message for listing relations.
|
3083
|
+
class ListRelationsResponse
|
3084
|
+
include Google::Apis::Core::Hashable
|
3085
|
+
|
3086
|
+
# A token identifying a page of results the server should return.
|
3087
|
+
# Corresponds to the JSON property `nextPageToken`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :next_page_token
|
3090
|
+
|
3091
|
+
# A list of relations.
|
3092
|
+
# Corresponds to the JSON property `relations`
|
3093
|
+
# @return [Array<Google::Apis::MigrationcenterV1::Relation>]
|
3094
|
+
attr_accessor :relations
|
3095
|
+
|
3096
|
+
def initialize(**args)
|
3097
|
+
update!(**args)
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
# Update properties of this object
|
3101
|
+
def update!(**args)
|
3102
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3103
|
+
@relations = args[:relations] if args.key?(:relations)
|
3104
|
+
end
|
3105
|
+
end
|
3106
|
+
|
3030
3107
|
# Response message for listing report configs.
|
3031
3108
|
class ListReportConfigsResponse
|
3032
3109
|
include Google::Apis::Core::Hashable
|
@@ -3254,6 +3331,11 @@ module Google
|
|
3254
3331
|
# @return [String]
|
3255
3332
|
attr_accessor :create_time
|
3256
3333
|
|
3334
|
+
# Disk partition details.
|
3335
|
+
# Corresponds to the JSON property `diskPartitions`
|
3336
|
+
# @return [Google::Apis::MigrationcenterV1::DiskPartitionDetails]
|
3337
|
+
attr_accessor :disk_partitions
|
3338
|
+
|
3257
3339
|
# Details of machine disks.
|
3258
3340
|
# Corresponds to the JSON property `disks`
|
3259
3341
|
# @return [Google::Apis::MigrationcenterV1::MachineDiskDetails]
|
@@ -3303,6 +3385,7 @@ module Google
|
|
3303
3385
|
@architecture = args[:architecture] if args.key?(:architecture)
|
3304
3386
|
@core_count = args[:core_count] if args.key?(:core_count)
|
3305
3387
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3388
|
+
@disk_partitions = args[:disk_partitions] if args.key?(:disk_partitions)
|
3306
3389
|
@disks = args[:disks] if args.key?(:disks)
|
3307
3390
|
@guest_os = args[:guest_os] if args.key?(:guest_os)
|
3308
3391
|
@machine_name = args[:machine_name] if args.key?(:machine_name)
|
@@ -4481,6 +4564,49 @@ module Google
|
|
4481
4564
|
end
|
4482
4565
|
end
|
4483
4566
|
|
4567
|
+
# Message representing a relation between 2 resource.
|
4568
|
+
class Relation
|
4569
|
+
include Google::Apis::Core::Hashable
|
4570
|
+
|
4571
|
+
# Output only. The timestamp when the relation was created.
|
4572
|
+
# Corresponds to the JSON property `createTime`
|
4573
|
+
# @return [String]
|
4574
|
+
attr_accessor :create_time
|
4575
|
+
|
4576
|
+
# Output only. The destination asset name in the relation.
|
4577
|
+
# Corresponds to the JSON property `dstAsset`
|
4578
|
+
# @return [String]
|
4579
|
+
attr_accessor :dst_asset
|
4580
|
+
|
4581
|
+
# Output only. Identifier. The identifier of the relation.
|
4582
|
+
# Corresponds to the JSON property `name`
|
4583
|
+
# @return [String]
|
4584
|
+
attr_accessor :name
|
4585
|
+
|
4586
|
+
# Output only. The source asset name in the relation.
|
4587
|
+
# Corresponds to the JSON property `srcAsset`
|
4588
|
+
# @return [String]
|
4589
|
+
attr_accessor :src_asset
|
4590
|
+
|
4591
|
+
# Optional. The type of the relation.
|
4592
|
+
# Corresponds to the JSON property `type`
|
4593
|
+
# @return [String]
|
4594
|
+
attr_accessor :type
|
4595
|
+
|
4596
|
+
def initialize(**args)
|
4597
|
+
update!(**args)
|
4598
|
+
end
|
4599
|
+
|
4600
|
+
# Update properties of this object
|
4601
|
+
def update!(**args)
|
4602
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4603
|
+
@dst_asset = args[:dst_asset] if args.key?(:dst_asset)
|
4604
|
+
@name = args[:name] if args.key?(:name)
|
4605
|
+
@src_asset = args[:src_asset] if args.key?(:src_asset)
|
4606
|
+
@type = args[:type] if args.key?(:type)
|
4607
|
+
end
|
4608
|
+
end
|
4609
|
+
|
4484
4610
|
# A request to remove assets from a group.
|
4485
4611
|
class RemoveAssetsFromGroupRequest
|
4486
4612
|
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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250220"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class AwsRds
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class AzureVmPlatformDetails
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -322,6 +328,12 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class DiskPartitionDetails
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
325
337
|
class DiskPartitionList
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
339
|
|
@@ -556,6 +568,12 @@ module Google
|
|
556
568
|
include Google::Apis::Core::JsonObjectSupport
|
557
569
|
end
|
558
570
|
|
571
|
+
class ListRelationsResponse
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
559
577
|
class ListReportConfigsResponse
|
560
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
579
|
|
@@ -808,6 +826,12 @@ module Google
|
|
808
826
|
include Google::Apis::Core::JsonObjectSupport
|
809
827
|
end
|
810
828
|
|
829
|
+
class Relation
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
|
+
|
832
|
+
include Google::Apis::Core::JsonObjectSupport
|
833
|
+
end
|
834
|
+
|
811
835
|
class RemoveAssetsFromGroupRequest
|
812
836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
837
|
|
@@ -1271,6 +1295,12 @@ module Google
|
|
1271
1295
|
end
|
1272
1296
|
end
|
1273
1297
|
|
1298
|
+
class AwsRds
|
1299
|
+
# @private
|
1300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1301
|
+
end
|
1302
|
+
end
|
1303
|
+
|
1274
1304
|
class AzureVmPlatformDetails
|
1275
1305
|
# @private
|
1276
1306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1439,6 +1469,8 @@ module Google
|
|
1439
1469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1440
1470
|
property :aggregated_stats, as: 'aggregatedStats', class: Google::Apis::MigrationcenterV1::DatabaseDeploymentDetailsAggregatedStats, decorator: Google::Apis::MigrationcenterV1::DatabaseDeploymentDetailsAggregatedStats::Representation
|
1441
1471
|
|
1472
|
+
property :aws_rds, as: 'awsRds', class: Google::Apis::MigrationcenterV1::AwsRds, decorator: Google::Apis::MigrationcenterV1::AwsRds::Representation
|
1473
|
+
|
1442
1474
|
property :edition, as: 'edition'
|
1443
1475
|
property :generated_id, as: 'generatedId'
|
1444
1476
|
property :manual_unique_id, as: 'manualUniqueId'
|
@@ -1609,6 +1641,16 @@ module Google
|
|
1609
1641
|
end
|
1610
1642
|
end
|
1611
1643
|
|
1644
|
+
class DiskPartitionDetails
|
1645
|
+
# @private
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1647
|
+
property :free_space_bytes, :numeric_string => true, as: 'freeSpaceBytes'
|
1648
|
+
property :partitions, as: 'partitions', class: Google::Apis::MigrationcenterV1::DiskPartitionList, decorator: Google::Apis::MigrationcenterV1::DiskPartitionList::Representation
|
1649
|
+
|
1650
|
+
property :total_capacity_bytes, :numeric_string => true, as: 'totalCapacityBytes'
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1612
1654
|
class DiskPartitionList
|
1613
1655
|
# @private
|
1614
1656
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2008,6 +2050,15 @@ module Google
|
|
2008
2050
|
end
|
2009
2051
|
end
|
2010
2052
|
|
2053
|
+
class ListRelationsResponse
|
2054
|
+
# @private
|
2055
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2056
|
+
property :next_page_token, as: 'nextPageToken'
|
2057
|
+
collection :relations, as: 'relations', class: Google::Apis::MigrationcenterV1::Relation, decorator: Google::Apis::MigrationcenterV1::Relation::Representation
|
2058
|
+
|
2059
|
+
end
|
2060
|
+
end
|
2061
|
+
|
2011
2062
|
class ListReportConfigsResponse
|
2012
2063
|
# @private
|
2013
2064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2072,6 +2123,8 @@ module Google
|
|
2072
2123
|
|
2073
2124
|
property :core_count, as: 'coreCount'
|
2074
2125
|
property :create_time, as: 'createTime'
|
2126
|
+
property :disk_partitions, as: 'diskPartitions', class: Google::Apis::MigrationcenterV1::DiskPartitionDetails, decorator: Google::Apis::MigrationcenterV1::DiskPartitionDetails::Representation
|
2127
|
+
|
2075
2128
|
property :disks, as: 'disks', class: Google::Apis::MigrationcenterV1::MachineDiskDetails, decorator: Google::Apis::MigrationcenterV1::MachineDiskDetails::Representation
|
2076
2129
|
|
2077
2130
|
property :guest_os, as: 'guestOs', class: Google::Apis::MigrationcenterV1::GuestOsDetails, decorator: Google::Apis::MigrationcenterV1::GuestOsDetails::Representation
|
@@ -2440,6 +2493,17 @@ module Google
|
|
2440
2493
|
end
|
2441
2494
|
end
|
2442
2495
|
|
2496
|
+
class Relation
|
2497
|
+
# @private
|
2498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2499
|
+
property :create_time, as: 'createTime'
|
2500
|
+
property :dst_asset, as: 'dstAsset'
|
2501
|
+
property :name, as: 'name'
|
2502
|
+
property :src_asset, as: 'srcAsset'
|
2503
|
+
property :type, as: 'type'
|
2504
|
+
end
|
2505
|
+
end
|
2506
|
+
|
2443
2507
|
class RemoveAssetsFromGroupRequest
|
2444
2508
|
# @private
|
2445
2509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1876,6 +1876,80 @@ module Google
|
|
1876
1876
|
execute_or_queue_command(command, &block)
|
1877
1877
|
end
|
1878
1878
|
|
1879
|
+
# Gets the details of an relation.
|
1880
|
+
# @param [String] name
|
1881
|
+
# Required. Name of the resource.
|
1882
|
+
# @param [String] fields
|
1883
|
+
# Selector specifying which fields to include in a partial response.
|
1884
|
+
# @param [String] quota_user
|
1885
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1886
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1887
|
+
# @param [Google::Apis::RequestOptions] options
|
1888
|
+
# Request-specific options
|
1889
|
+
#
|
1890
|
+
# @yield [result, err] Result & error if block supplied
|
1891
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1::Relation] parsed result object
|
1892
|
+
# @yieldparam err [StandardError] error object if request failed
|
1893
|
+
#
|
1894
|
+
# @return [Google::Apis::MigrationcenterV1::Relation]
|
1895
|
+
#
|
1896
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1897
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1898
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1899
|
+
def get_project_location_relation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1900
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1901
|
+
command.response_representation = Google::Apis::MigrationcenterV1::Relation::Representation
|
1902
|
+
command.response_class = Google::Apis::MigrationcenterV1::Relation
|
1903
|
+
command.params['name'] = name unless name.nil?
|
1904
|
+
command.query['fields'] = fields unless fields.nil?
|
1905
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1906
|
+
execute_or_queue_command(command, &block)
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
# Lists all the relations in a given project and location.
|
1910
|
+
# @param [String] parent
|
1911
|
+
# Required. Parent value for `ListRelationsRequest`.
|
1912
|
+
# @param [String] filter
|
1913
|
+
# Optional. Filtering results.
|
1914
|
+
# @param [String] order_by
|
1915
|
+
# Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
|
1916
|
+
# details.
|
1917
|
+
# @param [Fixnum] page_size
|
1918
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
1919
|
+
# If unspecified, server will pick an appropriate default.
|
1920
|
+
# @param [String] page_token
|
1921
|
+
# Optional. A token identifying a page of results the server should return.
|
1922
|
+
# @param [String] fields
|
1923
|
+
# Selector specifying which fields to include in a partial response.
|
1924
|
+
# @param [String] quota_user
|
1925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1927
|
+
# @param [Google::Apis::RequestOptions] options
|
1928
|
+
# Request-specific options
|
1929
|
+
#
|
1930
|
+
# @yield [result, err] Result & error if block supplied
|
1931
|
+
# @yieldparam result [Google::Apis::MigrationcenterV1::ListRelationsResponse] parsed result object
|
1932
|
+
# @yieldparam err [StandardError] error object if request failed
|
1933
|
+
#
|
1934
|
+
# @return [Google::Apis::MigrationcenterV1::ListRelationsResponse]
|
1935
|
+
#
|
1936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1939
|
+
def list_project_location_relations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1940
|
+
command = make_simple_command(:get, 'v1/{+parent}/relations', options)
|
1941
|
+
command.response_representation = Google::Apis::MigrationcenterV1::ListRelationsResponse::Representation
|
1942
|
+
command.response_class = Google::Apis::MigrationcenterV1::ListRelationsResponse
|
1943
|
+
command.params['parent'] = parent unless parent.nil?
|
1944
|
+
command.query['filter'] = filter unless filter.nil?
|
1945
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1946
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1947
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1948
|
+
command.query['fields'] = fields unless fields.nil?
|
1949
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1950
|
+
execute_or_queue_command(command, &block)
|
1951
|
+
end
|
1952
|
+
|
1879
1953
|
# Creates a report configuration.
|
1880
1954
|
# @param [String] parent
|
1881
1955
|
# Required. Value for parent.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1/v0.21.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-migrationcenter_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Migration Center API V1
|
82
79
|
test_files: []
|