google-apis-migrationcenter_v1alpha1 0.32.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240620"
25
+ REVISION = "20241027"
26
26
  end
27
27
  end
28
28
  end
@@ -154,12 +154,24 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class AssetsExportJobInventory
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class AssetsExportJobNetworkDependencies
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class AssetsExportJobPerformanceData
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class AwsEc2PlatformDetails
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -202,6 +214,18 @@ module Google
202
214
  include Google::Apis::Core::JsonObjectSupport
203
215
  end
204
216
 
217
+ class CascadeLogicalDBsRule
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class CascadingRule
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
205
229
  class CloudDatabaseMigrationTarget
206
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
231
 
@@ -262,6 +286,12 @@ module Google
262
286
  include Google::Apis::Core::JsonObjectSupport
263
287
  end
264
288
 
289
+ class CsvOutputFile
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
265
295
  class DailyResourceUsageAggregation
266
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
297
 
@@ -334,6 +364,12 @@ module Google
334
364
  include Google::Apis::Core::JsonObjectSupport
335
365
  end
336
366
 
367
+ class DatabaseInstanceNetwork
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
337
373
  class DatabaseObjects
338
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
375
 
@@ -598,12 +634,6 @@ module Google
598
634
  include Google::Apis::Core::JsonObjectSupport
599
635
  end
600
636
 
601
- class ImportRowErrorJsonErrorDetails
602
- class Representation < Google::Apis::Core::JsonRepresentation; end
603
-
604
- include Google::Apis::Core::JsonObjectSupport
605
- end
606
-
607
637
  class ImportRowErrorXlsxErrorDetails
608
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
639
 
@@ -700,6 +730,12 @@ module Google
700
730
  include Google::Apis::Core::JsonObjectSupport
701
731
  end
702
732
 
733
+ class ListRelationsResponse
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
703
739
  class ListReportConfigsResponse
704
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
741
 
@@ -880,6 +916,18 @@ module Google
880
916
  include Google::Apis::Core::JsonObjectSupport
881
917
  end
882
918
 
919
+ class OutputFile
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class OutputFileList
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
883
931
  class PayloadFile
884
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
933
 
@@ -946,6 +994,12 @@ module Google
946
994
  include Google::Apis::Core::JsonObjectSupport
947
995
  end
948
996
 
997
+ class Relation
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
949
1003
  class RemoveAssetsFromGroupRequest
950
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
951
1005
 
@@ -1240,6 +1294,12 @@ module Google
1240
1294
  include Google::Apis::Core::JsonObjectSupport
1241
1295
  end
1242
1296
 
1297
+ class VMwareEngineMachinePreferences
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1243
1303
  class ValidateImportJobRequest
1244
1304
  class Representation < Google::Apis::Core::JsonRepresentation; end
1245
1305
 
@@ -1506,12 +1566,17 @@ module Google
1506
1566
  property :condition, as: 'condition', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition::Representation
1507
1567
 
1508
1568
  property :create_time, as: 'createTime'
1569
+ property :inventory, as: 'inventory', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobInventory, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobInventory::Representation
1570
+
1509
1571
  hash :labels, as: 'labels'
1510
1572
  property :name, as: 'name'
1511
1573
  property :network_dependencies, as: 'networkDependencies', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies::Representation
1512
1574
 
1575
+ property :performance_data, as: 'performanceData', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobPerformanceData, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobPerformanceData::Representation
1576
+
1513
1577
  collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
1514
1578
 
1579
+ property :show_hidden, as: 'showHidden'
1515
1580
  property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
1516
1581
 
1517
1582
  property :update_time, as: 'updateTime'
@@ -1524,6 +1589,7 @@ module Google
1524
1589
  property :end_time, as: 'endTime'
1525
1590
  property :execution_id, as: 'executionId'
1526
1591
  property :expire_time, as: 'expireTime'
1592
+ property :requested_asset_count, as: 'requestedAssetCount'
1527
1593
  property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult::Representation
1528
1594
 
1529
1595
  property :start_time, as: 'startTime'
@@ -1535,6 +1601,8 @@ module Google
1535
1601
  class Representation < Google::Apis::Core::JsonRepresentation
1536
1602
  property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
1537
1603
 
1604
+ property :output_files, as: 'outputFiles', class: Google::Apis::MigrationcenterV1alpha1::OutputFileList, decorator: Google::Apis::MigrationcenterV1alpha1::OutputFileList::Representation
1605
+
1538
1606
  property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
1539
1607
 
1540
1608
  end
@@ -1547,6 +1615,12 @@ module Google
1547
1615
  end
1548
1616
  end
1549
1617
 
1618
+ class AssetsExportJobInventory
1619
+ # @private
1620
+ class Representation < Google::Apis::Core::JsonRepresentation
1621
+ end
1622
+ end
1623
+
1550
1624
  class AssetsExportJobNetworkDependencies
1551
1625
  # @private
1552
1626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1554,9 +1628,17 @@ module Google
1554
1628
  end
1555
1629
  end
1556
1630
 
1631
+ class AssetsExportJobPerformanceData
1632
+ # @private
1633
+ class Representation < Google::Apis::Core::JsonRepresentation
1634
+ property :max_days, as: 'maxDays'
1635
+ end
1636
+ end
1637
+
1557
1638
  class AwsEc2PlatformDetails
1558
1639
  # @private
1559
1640
  class Representation < Google::Apis::Core::JsonRepresentation
1641
+ property :hyperthreading, as: 'hyperthreading'
1560
1642
  property :location, as: 'location'
1561
1643
  property :machine_type_label, as: 'machineTypeLabel'
1562
1644
  end
@@ -1565,6 +1647,7 @@ module Google
1565
1647
  class AzureVmPlatformDetails
1566
1648
  # @private
1567
1649
  class Representation < Google::Apis::Core::JsonRepresentation
1650
+ property :hyperthreading, as: 'hyperthreading'
1568
1651
  property :location, as: 'location'
1569
1652
  property :machine_type_label, as: 'machineTypeLabel'
1570
1653
  property :provisioning_state, as: 'provisioningState'
@@ -1575,6 +1658,8 @@ module Google
1575
1658
  # @private
1576
1659
  class Representation < Google::Apis::Core::JsonRepresentation
1577
1660
  property :allow_missing, as: 'allowMissing'
1661
+ collection :cascading_rules, as: 'cascadingRules', class: Google::Apis::MigrationcenterV1alpha1::CascadingRule, decorator: Google::Apis::MigrationcenterV1alpha1::CascadingRule::Representation
1662
+
1578
1663
  collection :names, as: 'names'
1579
1664
  end
1580
1665
  end
@@ -1612,6 +1697,20 @@ module Google
1612
1697
  end
1613
1698
  end
1614
1699
 
1700
+ class CascadeLogicalDBsRule
1701
+ # @private
1702
+ class Representation < Google::Apis::Core::JsonRepresentation
1703
+ end
1704
+ end
1705
+
1706
+ class CascadingRule
1707
+ # @private
1708
+ class Representation < Google::Apis::Core::JsonRepresentation
1709
+ property :cascade_logical_dbs, as: 'cascadeLogicalDbs', class: Google::Apis::MigrationcenterV1alpha1::CascadeLogicalDBsRule, decorator: Google::Apis::MigrationcenterV1alpha1::CascadeLogicalDBsRule::Representation
1710
+
1711
+ end
1712
+ end
1713
+
1615
1714
  class CloudDatabaseMigrationTarget
1616
1715
  # @private
1617
1716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1726,6 +1825,16 @@ module Google
1726
1825
  end
1727
1826
  end
1728
1827
 
1828
+ class CsvOutputFile
1829
+ # @private
1830
+ class Representation < Google::Apis::Core::JsonRepresentation
1831
+ property :columns_count, as: 'columnsCount'
1832
+ property :row_count, as: 'rowCount'
1833
+ property :signed_uri, as: 'signedUri', class: Google::Apis::MigrationcenterV1alpha1::SignedUri, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUri::Representation
1834
+
1835
+ end
1836
+ end
1837
+
1729
1838
  class DailyResourceUsageAggregation
1730
1839
  # @private
1731
1840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1828,6 +1937,8 @@ module Google
1828
1937
 
1829
1938
  property :memory_bytes, :numeric_string => true, as: 'memoryBytes'
1830
1939
  property :memory_limit_bytes, :numeric_string => true, as: 'memoryLimitBytes'
1940
+ property :physical_core_count, as: 'physicalCoreCount'
1941
+ property :physical_core_limit, as: 'physicalCoreLimit'
1831
1942
  end
1832
1943
  end
1833
1944
 
@@ -1855,10 +1966,21 @@ module Google
1855
1966
  # @private
1856
1967
  class Representation < Google::Apis::Core::JsonRepresentation
1857
1968
  property :instance_name, as: 'instanceName'
1969
+ property :network, as: 'network', class: Google::Apis::MigrationcenterV1alpha1::DatabaseInstanceNetwork, decorator: Google::Apis::MigrationcenterV1alpha1::DatabaseInstanceNetwork::Representation
1970
+
1858
1971
  property :role, as: 'role'
1859
1972
  end
1860
1973
  end
1861
1974
 
1975
+ class DatabaseInstanceNetwork
1976
+ # @private
1977
+ class Representation < Google::Apis::Core::JsonRepresentation
1978
+ collection :host_names, as: 'hostNames'
1979
+ collection :ip_addresses, as: 'ipAddresses'
1980
+ property :primary_mac_address, as: 'primaryMacAddress'
1981
+ end
1982
+ end
1983
+
1862
1984
  class DatabaseObjects
1863
1985
  # @private
1864
1986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2157,6 +2279,7 @@ module Google
2157
2279
  class GenericPlatformDetails
2158
2280
  # @private
2159
2281
  class Representation < Google::Apis::Core::JsonRepresentation
2282
+ property :hyperthreading, as: 'hyperthreading'
2160
2283
  property :location, as: 'location'
2161
2284
  end
2162
2285
  end
@@ -2313,8 +2436,6 @@ module Google
2313
2436
 
2314
2437
  collection :errors, as: 'errors', class: Google::Apis::MigrationcenterV1alpha1::ImportError, decorator: Google::Apis::MigrationcenterV1alpha1::ImportError::Representation
2315
2438
 
2316
- property :json_error, as: 'jsonError', class: Google::Apis::MigrationcenterV1alpha1::ImportRowErrorJsonErrorDetails, decorator: Google::Apis::MigrationcenterV1alpha1::ImportRowErrorJsonErrorDetails::Representation
2317
-
2318
2439
  property :row_number, as: 'rowNumber'
2319
2440
  property :vm_name, as: 'vmName'
2320
2441
  property :vm_uuid, as: 'vmUuid'
@@ -2339,12 +2460,6 @@ module Google
2339
2460
  end
2340
2461
  end
2341
2462
 
2342
- class ImportRowErrorJsonErrorDetails
2343
- # @private
2344
- class Representation < Google::Apis::Core::JsonRepresentation
2345
- end
2346
- end
2347
-
2348
2463
  class ImportRowErrorXlsxErrorDetails
2349
2464
  # @private
2350
2465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2500,6 +2615,15 @@ module Google
2500
2615
  end
2501
2616
  end
2502
2617
 
2618
+ class ListRelationsResponse
2619
+ # @private
2620
+ class Representation < Google::Apis::Core::JsonRepresentation
2621
+ property :next_page_token, as: 'nextPageToken'
2622
+ collection :relations, as: 'relations', class: Google::Apis::MigrationcenterV1alpha1::Relation, decorator: Google::Apis::MigrationcenterV1alpha1::Relation::Representation
2623
+
2624
+ end
2625
+ end
2626
+
2503
2627
  class ListReportConfigsResponse
2504
2628
  # @private
2505
2629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2797,6 +2921,23 @@ module Google
2797
2921
  end
2798
2922
  end
2799
2923
 
2924
+ class OutputFile
2925
+ # @private
2926
+ class Representation < Google::Apis::Core::JsonRepresentation
2927
+ property :csv_output_file, as: 'csvOutputFile', class: Google::Apis::MigrationcenterV1alpha1::CsvOutputFile, decorator: Google::Apis::MigrationcenterV1alpha1::CsvOutputFile::Representation
2928
+
2929
+ property :file_size_bytes, as: 'fileSizeBytes'
2930
+ end
2931
+ end
2932
+
2933
+ class OutputFileList
2934
+ # @private
2935
+ class Representation < Google::Apis::Core::JsonRepresentation
2936
+ collection :entries, as: 'entries', class: Google::Apis::MigrationcenterV1alpha1::OutputFile, decorator: Google::Apis::MigrationcenterV1alpha1::OutputFile::Representation
2937
+
2938
+ end
2939
+ end
2940
+
2800
2941
  class PayloadFile
2801
2942
  # @private
2802
2943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2823,6 +2964,7 @@ module Google
2823
2964
  class PhysicalPlatformDetails
2824
2965
  # @private
2825
2966
  class Representation < Google::Apis::Core::JsonRepresentation
2967
+ property :hyperthreading, as: 'hyperthreading'
2826
2968
  property :location, as: 'location'
2827
2969
  end
2828
2970
  end
@@ -2916,6 +3058,17 @@ module Google
2916
3058
  end
2917
3059
  end
2918
3060
 
3061
+ class Relation
3062
+ # @private
3063
+ class Representation < Google::Apis::Core::JsonRepresentation
3064
+ property :create_time, as: 'createTime'
3065
+ property :dst_asset, as: 'dstAsset'
3066
+ property :name, as: 'name'
3067
+ property :src_asset, as: 'srcAsset'
3068
+ property :type, as: 'type'
3069
+ end
3070
+ end
3071
+
2919
3072
  class RemoveAssetsFromGroupRequest
2920
3073
  # @private
2921
3074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3069,12 +3222,16 @@ module Google
3069
3222
 
3070
3223
  property :monthly_cost_database_licensing, as: 'monthlyCostDatabaseLicensing', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3071
3224
 
3225
+ property :monthly_cost_gcve_protected, as: 'monthlyCostGcveProtected', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3226
+
3072
3227
  property :monthly_cost_network_egress, as: 'monthlyCostNetworkEgress', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3073
3228
 
3074
3229
  property :monthly_cost_os_license, as: 'monthlyCostOsLicense', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3075
3230
 
3076
3231
  property :monthly_cost_other, as: 'monthlyCostOther', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3077
3232
 
3233
+ property :monthly_cost_portable_vmware_license, as: 'monthlyCostPortableVmwareLicense', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3234
+
3078
3235
  property :monthly_cost_storage, as: 'monthlyCostStorage', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
3079
3236
 
3080
3237
  property :monthly_cost_total, as: 'monthlyCostTotal', class: Google::Apis::MigrationcenterV1alpha1::Money, decorator: Google::Apis::MigrationcenterV1alpha1::Money::Representation
@@ -3276,6 +3433,7 @@ module Google
3276
3433
  class Settings
3277
3434
  # @private
3278
3435
  class Representation < Google::Apis::Core::JsonRepresentation
3436
+ property :customer_consent_for_google_sales_to_access_migration_center, as: 'customerConsentForGoogleSalesToAccessMigrationCenter'
3279
3437
  property :disable_cloud_logging, as: 'disableCloudLogging'
3280
3438
  property :name, as: 'name'
3281
3439
  property :preference_set, as: 'preferenceSet'
@@ -3372,6 +3530,7 @@ module Google
3372
3530
  class SqlServerSchemaDetails
3373
3531
  # @private
3374
3532
  class Representation < Google::Apis::Core::JsonRepresentation
3533
+ property :clr_object_count, as: 'clrObjectCount'
3375
3534
  end
3376
3535
  end
3377
3536
 
@@ -3428,6 +3587,16 @@ module Google
3428
3587
  end
3429
3588
  end
3430
3589
 
3590
+ class VMwareEngineMachinePreferences
3591
+ # @private
3592
+ class Representation < Google::Apis::Core::JsonRepresentation
3593
+ collection :allowed_machine_series, as: 'allowedMachineSeries', class: Google::Apis::MigrationcenterV1alpha1::MachineSeries, decorator: Google::Apis::MigrationcenterV1alpha1::MachineSeries::Representation
3594
+
3595
+ property :protected_nodes, as: 'protectedNodes'
3596
+ property :storage_only_nodes, as: 'storageOnlyNodes'
3597
+ end
3598
+ end
3599
+
3431
3600
  class ValidateImportJobRequest
3432
3601
  # @private
3433
3602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3571,7 +3740,11 @@ module Google
3571
3740
  class Representation < Google::Apis::Core::JsonRepresentation
3572
3741
  property :commitment_plan, as: 'commitmentPlan'
3573
3742
  property :cpu_overcommit_ratio, as: 'cpuOvercommitRatio'
3743
+ property :license_discount_percentage, as: 'licenseDiscountPercentage'
3744
+ property :machine_preferences, as: 'machinePreferences', class: Google::Apis::MigrationcenterV1alpha1::VMwareEngineMachinePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::VMwareEngineMachinePreferences::Representation
3745
+
3574
3746
  property :memory_overcommit_ratio, as: 'memoryOvercommitRatio'
3747
+ property :service_type, as: 'serviceType'
3575
3748
  property :storage_deduplication_compression_ratio, as: 'storageDeduplicationCompressionRatio'
3576
3749
  end
3577
3750
  end
@@ -3579,6 +3752,7 @@ module Google
3579
3752
  class VmwarePlatformDetails
3580
3753
  # @private
3581
3754
  class Representation < Google::Apis::Core::JsonRepresentation
3755
+ property :esx_hyperthreading, as: 'esxHyperthreading'
3582
3756
  property :esx_version, as: 'esxVersion'
3583
3757
  property :osid, as: 'osid'
3584
3758
  property :vcenter_version, as: 'vcenterVersion'
@@ -2053,6 +2053,79 @@ module Google
2053
2053
  execute_or_queue_command(command, &block)
2054
2054
  end
2055
2055
 
2056
+ # Gets the details of an relation.
2057
+ # @param [String] name
2058
+ # Required. Name of the resource.
2059
+ # @param [String] fields
2060
+ # Selector specifying which fields to include in a partial response.
2061
+ # @param [String] quota_user
2062
+ # Available to use for quota purposes for server-side applications. Can be any
2063
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2064
+ # @param [Google::Apis::RequestOptions] options
2065
+ # Request-specific options
2066
+ #
2067
+ # @yield [result, err] Result & error if block supplied
2068
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Relation] parsed result object
2069
+ # @yieldparam err [StandardError] error object if request failed
2070
+ #
2071
+ # @return [Google::Apis::MigrationcenterV1alpha1::Relation]
2072
+ #
2073
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2074
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2075
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2076
+ def get_project_location_relation(name, fields: nil, quota_user: nil, options: nil, &block)
2077
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2078
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Relation::Representation
2079
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Relation
2080
+ command.params['name'] = name unless name.nil?
2081
+ command.query['fields'] = fields unless fields.nil?
2082
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2083
+ execute_or_queue_command(command, &block)
2084
+ end
2085
+
2086
+ # Lists all the relations in a given project and location.
2087
+ # @param [String] parent
2088
+ # Required. Parent value for `ListRelationsRequest`.
2089
+ # @param [String] filter
2090
+ # Filtering results.
2091
+ # @param [String] order_by
2092
+ # Field to sort by. See https://google.aip.dev/132#ordering for more details.
2093
+ # @param [Fixnum] page_size
2094
+ # Requested page size. Server may return fewer items than requested. If
2095
+ # unspecified, server will pick an appropriate default.
2096
+ # @param [String] page_token
2097
+ # A token identifying a page of results the server should return.
2098
+ # @param [String] fields
2099
+ # Selector specifying which fields to include in a partial response.
2100
+ # @param [String] quota_user
2101
+ # Available to use for quota purposes for server-side applications. Can be any
2102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2103
+ # @param [Google::Apis::RequestOptions] options
2104
+ # Request-specific options
2105
+ #
2106
+ # @yield [result, err] Result & error if block supplied
2107
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse] parsed result object
2108
+ # @yieldparam err [StandardError] error object if request failed
2109
+ #
2110
+ # @return [Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse]
2111
+ #
2112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2115
+ 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)
2116
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/relations', options)
2117
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse::Representation
2118
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse
2119
+ command.params['parent'] = parent unless parent.nil?
2120
+ command.query['filter'] = filter unless filter.nil?
2121
+ command.query['orderBy'] = order_by unless order_by.nil?
2122
+ command.query['pageSize'] = page_size unless page_size.nil?
2123
+ command.query['pageToken'] = page_token unless page_token.nil?
2124
+ command.query['fields'] = fields unless fields.nil?
2125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2126
+ execute_or_queue_command(command, &block)
2127
+ end
2128
+
2056
2129
  # Creates a report configuration.
2057
2130
  # @param [String] parent
2058
2131
  # Required. Value for parent.
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.32.0
4
+ version: 0.34.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: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.34.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Migration Center API V1alpha1