google-apis-migrationcenter_v1alpha1 0.29.0 → 0.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0a961a0edb117fd94fab199c30bcce695903359f71cb235782593a7d5bd40e2
4
- data.tar.gz: e10d1e1f10197ff37dfb345d29fec81e0223ed840607de53c7b420ccbdef8e87
3
+ metadata.gz: 2b8e9bc3de2c88b6800df8b9f6dd8c78763afa7bd38448010e57ba62beb230ac
4
+ data.tar.gz: 9a574019137ea61f4286eee03292fdb9c6a1f5494e8a419ddf4f7a6bd38fc61c
5
5
  SHA512:
6
- metadata.gz: d934b8ba7fdce6730d787c5ab2b5990a3e16270d4da4aafd4b1ddc59de4c2986ceeb835e4da6030d6edae8f84700efbbcdd5536b5b873ece55cd964c7b0ef80f
7
- data.tar.gz: 021a1a2c8a61eb469930451017442e95757a2dffd565a37b21510a3bd8f7c11be7823607415c8de0200d5adf2b769f33b4cdf613b2ce05d7741cad9fd0886976
6
+ metadata.gz: 37bb124202fc1a49fe48e97e3bc43e7dabc2ba57a198d6d46900a575d7dcedc9d438ac600159134bcc1bd2e29d08cf564eabec97ae3e8bd71eb23b9f47ac40a8
7
+ data.tar.gz: 646d48d948d920c0639dacd33488fc83651cf0a593da1234b303a35cda388e83f87f8f1cebd5119fcf1029e9aad15628b48b4baa5a331858f3df876692731c84
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.31.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240606
6
+
7
+ ### v0.30.0 (2024-06-02)
8
+
9
+ * Regenerated from discovery document revision 20240523
10
+
3
11
  ### v0.29.0 (2024-05-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240516
@@ -603,6 +603,186 @@ module Google
603
603
  end
604
604
  end
605
605
 
606
+ # Assets export job message.
607
+ class AssetsExportJob
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # Conditions for selecting assets to export.
611
+ # Corresponds to the JSON property `condition`
612
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition]
613
+ attr_accessor :condition
614
+
615
+ # Output only. Resource creation time.
616
+ # Corresponds to the JSON property `createTime`
617
+ # @return [String]
618
+ attr_accessor :create_time
619
+
620
+ # Optional. Labels as key value pairs. Labels must meet the following
621
+ # constraints: * Keys and values can contain only lowercase letters, numeric
622
+ # characters, underscores, and dashes. * All characters must use UTF-8 encoding,
623
+ # and international characters are allowed. * Keys must start with a lowercase
624
+ # letter or international character. * Each resource is limited to a maximum of
625
+ # 64 labels. Both keys and values are additionally constrained to be <= 128
626
+ # bytes.
627
+ # Corresponds to the JSON property `labels`
628
+ # @return [Hash<String,String>]
629
+ attr_accessor :labels
630
+
631
+ # Output only. Identifier. Resource name.
632
+ # Corresponds to the JSON property `name`
633
+ # @return [String]
634
+ attr_accessor :name
635
+
636
+ # Configuration for network dependencies exports.
637
+ # Corresponds to the JSON property `networkDependencies`
638
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies]
639
+ attr_accessor :network_dependencies
640
+
641
+ # Output only. Recent non expired executions of the job.
642
+ # Corresponds to the JSON property `recentExecutions`
643
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution>]
644
+ attr_accessor :recent_executions
645
+
646
+ # Signed URI destination configuration.
647
+ # Corresponds to the JSON property `signedUriDestination`
648
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUriDestination]
649
+ attr_accessor :signed_uri_destination
650
+
651
+ # Output only. Resource update time.
652
+ # Corresponds to the JSON property `updateTime`
653
+ # @return [String]
654
+ attr_accessor :update_time
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @condition = args[:condition] if args.key?(:condition)
663
+ @create_time = args[:create_time] if args.key?(:create_time)
664
+ @labels = args[:labels] if args.key?(:labels)
665
+ @name = args[:name] if args.key?(:name)
666
+ @network_dependencies = args[:network_dependencies] if args.key?(:network_dependencies)
667
+ @recent_executions = args[:recent_executions] if args.key?(:recent_executions)
668
+ @signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
669
+ @update_time = args[:update_time] if args.key?(:update_time)
670
+ end
671
+ end
672
+
673
+ # Execution status of assets export job.
674
+ class AssetsExportJobExecution
675
+ include Google::Apis::Core::Hashable
676
+
677
+ # Output only. Completion time of the export.
678
+ # Corresponds to the JSON property `endTime`
679
+ # @return [String]
680
+ attr_accessor :end_time
681
+
682
+ # Output only. Globally unique identifier of the execution.
683
+ # Corresponds to the JSON property `executionId`
684
+ # @return [String]
685
+ attr_accessor :execution_id
686
+
687
+ # Output only. Expiration time for the export and artifacts.
688
+ # Corresponds to the JSON property `expireTime`
689
+ # @return [String]
690
+ attr_accessor :expire_time
691
+
692
+ # Contains the result of the assets export.
693
+ # Corresponds to the JSON property `result`
694
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult]
695
+ attr_accessor :result
696
+
697
+ # Output only. Execution timestamp.
698
+ # Corresponds to the JSON property `startTime`
699
+ # @return [String]
700
+ attr_accessor :start_time
701
+
702
+ def initialize(**args)
703
+ update!(**args)
704
+ end
705
+
706
+ # Update properties of this object
707
+ def update!(**args)
708
+ @end_time = args[:end_time] if args.key?(:end_time)
709
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
710
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
711
+ @result = args[:result] if args.key?(:result)
712
+ @start_time = args[:start_time] if args.key?(:start_time)
713
+ end
714
+ end
715
+
716
+ # Contains the result of the assets export.
717
+ class AssetsExportJobExecutionResult
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # The `Status` type defines a logical error model that is suitable for different
721
+ # programming environments, including REST APIs and RPC APIs. It is used by [
722
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
723
+ # data: error code, error message, and error details. You can find out more
724
+ # about this error model and how to work with it in the [API Design Guide](https:
725
+ # //cloud.google.com/apis/design/errors).
726
+ # Corresponds to the JSON property `error`
727
+ # @return [Google::Apis::MigrationcenterV1alpha1::Status]
728
+ attr_accessor :error
729
+
730
+ # Contains a list of Signed URIs.
731
+ # Corresponds to the JSON property `signedUris`
732
+ # @return [Google::Apis::MigrationcenterV1alpha1::SignedUris]
733
+ attr_accessor :signed_uris
734
+
735
+ def initialize(**args)
736
+ update!(**args)
737
+ end
738
+
739
+ # Update properties of this object
740
+ def update!(**args)
741
+ @error = args[:error] if args.key?(:error)
742
+ @signed_uris = args[:signed_uris] if args.key?(:signed_uris)
743
+ end
744
+ end
745
+
746
+ # Conditions for selecting assets to export.
747
+ class AssetsExportJobExportCondition
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # Optional. Assets filter, supports the same syntax as asset listing.
751
+ # Corresponds to the JSON property `filter`
752
+ # @return [String]
753
+ attr_accessor :filter
754
+
755
+ def initialize(**args)
756
+ update!(**args)
757
+ end
758
+
759
+ # Update properties of this object
760
+ def update!(**args)
761
+ @filter = args[:filter] if args.key?(:filter)
762
+ end
763
+ end
764
+
765
+ # Configuration for network dependencies exports.
766
+ class AssetsExportJobNetworkDependencies
767
+ include Google::Apis::Core::Hashable
768
+
769
+ # Optional. When this value is set to a positive integer, network connections
770
+ # data will be returned for the most recent days for which data is available.
771
+ # When this value is unset (or set to zero), all available data is returned.
772
+ # Corresponds to the JSON property `maxDays`
773
+ # @return [Fixnum]
774
+ attr_accessor :max_days
775
+
776
+ def initialize(**args)
777
+ update!(**args)
778
+ end
779
+
780
+ # Update properties of this object
781
+ def update!(**args)
782
+ @max_days = args[:max_days] if args.key?(:max_days)
783
+ end
784
+ end
785
+
606
786
  # AWS EC2 specific details.
607
787
  class AwsEc2PlatformDetails
608
788
  include Google::Apis::Core::Hashable
@@ -1024,20 +1204,26 @@ module Google
1024
1204
  class ComputeEnginePreferences
1025
1205
  include Google::Apis::Core::Hashable
1026
1206
 
1027
- # Overridden by os_pricing_preferences if specified. License type to consider
1028
- # when calculating costs for virtual machine insights and recommendations. If
1029
- # unspecified, costs are calculated based on the default licensing plan.
1207
+ # If os_pricing_preferences is specified, it overrides this field. License type
1208
+ # to consider when calculating costs for virtual machine insights and
1209
+ # recommendations. If unspecified, costs are calculated based on the default
1210
+ # licensing plan.
1030
1211
  # Corresponds to the JSON property `licenseType`
1031
1212
  # @return [String]
1032
1213
  attr_accessor :license_type
1033
1214
 
1034
1215
  # The type of machines to consider when calculating virtual machine migration
1035
- # insights and recommendations. Not all machine types are available in all zones
1036
- # and regions.
1216
+ # insights and recommendations for GCE. Not all machine types are available in
1217
+ # all zones and regions.
1037
1218
  # Corresponds to the JSON property `machinePreferences`
1038
1219
  # @return [Google::Apis::MigrationcenterV1alpha1::MachinePreferences]
1039
1220
  attr_accessor :machine_preferences
1040
1221
 
1222
+ # Pricing options for OS images.
1223
+ # Corresponds to the JSON property `osPricingPreferences`
1224
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
1225
+ attr_accessor :os_pricing_preferences
1226
+
1041
1227
  # Persistent disk type to use. If unspecified (default), all types are
1042
1228
  # considered, based on available usage data.
1043
1229
  # Corresponds to the JSON property `persistentDiskType`
@@ -1052,6 +1238,7 @@ module Google
1052
1238
  def update!(**args)
1053
1239
  @license_type = args[:license_type] if args.key?(:license_type)
1054
1240
  @machine_preferences = args[:machine_preferences] if args.key?(:machine_preferences)
1241
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
1055
1242
  @persistent_disk_type = args[:persistent_disk_type] if args.key?(:persistent_disk_type)
1056
1243
  end
1057
1244
  end
@@ -3400,6 +3587,31 @@ module Google
3400
3587
  end
3401
3588
  end
3402
3589
 
3590
+ # Response message for listing assets export jobs.
3591
+ class ListAssetsExportJobsResponse
3592
+ include Google::Apis::Core::Hashable
3593
+
3594
+ # Output only. The list of assets export jobs.
3595
+ # Corresponds to the JSON property `assetsExportJobs`
3596
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJob>]
3597
+ attr_accessor :assets_export_jobs
3598
+
3599
+ # Output only. A token identifying a page of results the server should return.
3600
+ # Corresponds to the JSON property `nextPageToken`
3601
+ # @return [String]
3602
+ attr_accessor :next_page_token
3603
+
3604
+ def initialize(**args)
3605
+ update!(**args)
3606
+ end
3607
+
3608
+ # Update properties of this object
3609
+ def update!(**args)
3610
+ @assets_export_jobs = args[:assets_export_jobs] if args.key?(:assets_export_jobs)
3611
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3612
+ end
3613
+ end
3614
+
3403
3615
  # Response message for listing assets.
3404
3616
  class ListAssetsResponse
3405
3617
  include Google::Apis::Core::Hashable
@@ -3810,8 +4022,8 @@ module Google
3810
4022
  end
3811
4023
 
3812
4024
  # The type of machines to consider when calculating virtual machine migration
3813
- # insights and recommendations. Not all machine types are available in all zones
3814
- # and regions.
4025
+ # insights and recommendations for GCE. Not all machine types are available in
4026
+ # all zones and regions.
3815
4027
  class MachinePreferences
3816
4028
  include Google::Apis::Core::Hashable
3817
4029
 
@@ -4466,6 +4678,68 @@ module Google
4466
4678
  end
4467
4679
  end
4468
4680
 
4681
+ # Pricing options for OS images.
4682
+ class OperatingSystemPricingPreferences
4683
+ include Google::Apis::Core::Hashable
4684
+
4685
+ # Pricing options of an OS image.
4686
+ # Corresponds to the JSON property `rhel`
4687
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4688
+ attr_accessor :rhel
4689
+
4690
+ # Pricing options of an OS image.
4691
+ # Corresponds to the JSON property `sles`
4692
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4693
+ attr_accessor :sles
4694
+
4695
+ # Pricing options of an OS image.
4696
+ # Corresponds to the JSON property `slesForSap`
4697
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4698
+ attr_accessor :sles_for_sap
4699
+
4700
+ # Pricing options of an OS image.
4701
+ # Corresponds to the JSON property `windows`
4702
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing]
4703
+ attr_accessor :windows
4704
+
4705
+ def initialize(**args)
4706
+ update!(**args)
4707
+ end
4708
+
4709
+ # Update properties of this object
4710
+ def update!(**args)
4711
+ @rhel = args[:rhel] if args.key?(:rhel)
4712
+ @sles = args[:sles] if args.key?(:sles)
4713
+ @sles_for_sap = args[:sles_for_sap] if args.key?(:sles_for_sap)
4714
+ @windows = args[:windows] if args.key?(:windows)
4715
+ end
4716
+ end
4717
+
4718
+ # Pricing options of an OS image.
4719
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
4720
+ include Google::Apis::Core::Hashable
4721
+
4722
+ # Optional. The plan of commitments for committed use discounts (CUD).
4723
+ # Corresponds to the JSON property `commitmentPlan`
4724
+ # @return [String]
4725
+ attr_accessor :commitment_plan
4726
+
4727
+ # Optional. License type of the OS image.
4728
+ # Corresponds to the JSON property `licenseType`
4729
+ # @return [String]
4730
+ attr_accessor :license_type
4731
+
4732
+ def initialize(**args)
4733
+ update!(**args)
4734
+ end
4735
+
4736
+ # Update properties of this object
4737
+ def update!(**args)
4738
+ @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
4739
+ @license_type = args[:license_type] if args.key?(:license_type)
4740
+ end
4741
+ end
4742
+
4469
4743
  # This resource represents a long-running operation that is the result of a
4470
4744
  # network API call.
4471
4745
  class Operation
@@ -5860,6 +6134,53 @@ module Google
5860
6134
  end
5861
6135
  end
5862
6136
 
6137
+ # A request to run an assets export job.
6138
+ class RunAssetsExportJobRequest
6139
+ include Google::Apis::Core::Hashable
6140
+
6141
+ # Optional. An optional request ID to identify requests. Specify a unique
6142
+ # request ID so that if you must retry your request, the server will know to
6143
+ # ignore the request if it has already been completed. The server will guarantee
6144
+ # that for at least 60 minutes after the first request. For example, consider a
6145
+ # situation where you make an initial request and the request times out. If you
6146
+ # make the request again with the same request ID, the server can check if
6147
+ # original operation with the same request ID was received, and if so, will
6148
+ # ignore the second request. This prevents clients from accidentally creating
6149
+ # duplicate commitments. The request ID must be a valid UUID with the exception
6150
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6151
+ # Corresponds to the JSON property `requestId`
6152
+ # @return [String]
6153
+ attr_accessor :request_id
6154
+
6155
+ def initialize(**args)
6156
+ update!(**args)
6157
+ end
6158
+
6159
+ # Update properties of this object
6160
+ def update!(**args)
6161
+ @request_id = args[:request_id] if args.key?(:request_id)
6162
+ end
6163
+ end
6164
+
6165
+ # Response message for running an assets export job.
6166
+ class RunAssetsExportJobResponse
6167
+ include Google::Apis::Core::Hashable
6168
+
6169
+ # Execution status of assets export job.
6170
+ # Corresponds to the JSON property `assetsExportJobExecution`
6171
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution]
6172
+ attr_accessor :assets_export_job_execution
6173
+
6174
+ def initialize(**args)
6175
+ update!(**args)
6176
+ end
6177
+
6178
+ # Update properties of this object
6179
+ def update!(**args)
6180
+ @assets_export_job_execution = args[:assets_export_job_execution] if args.key?(:assets_export_job_execution)
6181
+ end
6182
+ end
6183
+
5863
6184
  # A request to run an import job.
5864
6185
  class RunImportJobRequest
5865
6186
  include Google::Apis::Core::Hashable
@@ -6152,6 +6473,63 @@ module Google
6152
6473
  end
6153
6474
  end
6154
6475
 
6476
+ # Contains a signed URI.
6477
+ class SignedUri
6478
+ include Google::Apis::Core::Hashable
6479
+
6480
+ # Output only. Name of the file the Signed URI references.
6481
+ # Corresponds to the JSON property `file`
6482
+ # @return [String]
6483
+ attr_accessor :file
6484
+
6485
+ # Output only. Download URI for the file.
6486
+ # Corresponds to the JSON property `uri`
6487
+ # @return [String]
6488
+ attr_accessor :uri
6489
+
6490
+ def initialize(**args)
6491
+ update!(**args)
6492
+ end
6493
+
6494
+ # Update properties of this object
6495
+ def update!(**args)
6496
+ @file = args[:file] if args.key?(:file)
6497
+ @uri = args[:uri] if args.key?(:uri)
6498
+ end
6499
+ end
6500
+
6501
+ # Signed URI destination configuration.
6502
+ class SignedUriDestination
6503
+ include Google::Apis::Core::Hashable
6504
+
6505
+ def initialize(**args)
6506
+ update!(**args)
6507
+ end
6508
+
6509
+ # Update properties of this object
6510
+ def update!(**args)
6511
+ end
6512
+ end
6513
+
6514
+ # Contains a list of Signed URIs.
6515
+ class SignedUris
6516
+ include Google::Apis::Core::Hashable
6517
+
6518
+ # Output only. List of signed URIs.
6519
+ # Corresponds to the JSON property `signedUris`
6520
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::SignedUri>]
6521
+ attr_accessor :signed_uris
6522
+
6523
+ def initialize(**args)
6524
+ update!(**args)
6525
+ end
6526
+
6527
+ # Update properties of this object
6528
+ def update!(**args)
6529
+ @signed_uris = args[:signed_uris] if args.key?(:signed_uris)
6530
+ end
6531
+ end
6532
+
6155
6533
  # An insight regarding software detected on an asset.
6156
6534
  class SoftwareInsight
6157
6535
  include Google::Apis::Core::Hashable
@@ -6198,6 +6576,11 @@ module Google
6198
6576
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType>]
6199
6577
  attr_accessor :node_types
6200
6578
 
6579
+ # Pricing options for OS images.
6580
+ # Corresponds to the JSON property `osPricingPreferences`
6581
+ # @return [Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences]
6582
+ attr_accessor :os_pricing_preferences
6583
+
6201
6584
  def initialize(**args)
6202
6585
  update!(**args)
6203
6586
  end
@@ -6208,6 +6591,7 @@ module Google
6208
6591
  @cpu_overcommit_ratio = args[:cpu_overcommit_ratio] if args.key?(:cpu_overcommit_ratio)
6209
6592
  @host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
6210
6593
  @node_types = args[:node_types] if args.key?(:node_types)
6594
+ @os_pricing_preferences = args[:os_pricing_preferences] if args.key?(:os_pricing_preferences)
6211
6595
  end
6212
6596
  end
6213
6597
 
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240516"
25
+ REVISION = "20240606"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,36 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class AssetsExportJob
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class AssetsExportJobExecution
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class AssetsExportJobExecutionResult
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class AssetsExportJobExportCondition
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class AssetsExportJobNetworkDependencies
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class AwsEc2PlatformDetails
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -610,6 +640,12 @@ module Google
610
640
  include Google::Apis::Core::JsonObjectSupport
611
641
  end
612
642
 
643
+ class ListAssetsExportJobsResponse
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
613
649
  class ListAssetsResponse
614
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
651
 
@@ -820,6 +856,18 @@ module Google
820
856
  include Google::Apis::Core::JsonObjectSupport
821
857
  end
822
858
 
859
+ class OperatingSystemPricingPreferences
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
823
871
  class Operation
824
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
873
 
@@ -1030,6 +1078,18 @@ module Google
1030
1078
  include Google::Apis::Core::JsonObjectSupport
1031
1079
  end
1032
1080
 
1081
+ class RunAssetsExportJobRequest
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1087
+ class RunAssetsExportJobResponse
1088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1089
+
1090
+ include Google::Apis::Core::JsonObjectSupport
1091
+ end
1092
+
1033
1093
  class RunImportJobRequest
1034
1094
  class Representation < Google::Apis::Core::JsonRepresentation; end
1035
1095
 
@@ -1084,6 +1144,24 @@ module Google
1084
1144
  include Google::Apis::Core::JsonObjectSupport
1085
1145
  end
1086
1146
 
1147
+ class SignedUri
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1153
+ class SignedUriDestination
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1159
+ class SignedUris
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1087
1165
  class SoftwareInsight
1088
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1089
1167
 
@@ -1422,6 +1500,60 @@ module Google
1422
1500
  end
1423
1501
  end
1424
1502
 
1503
+ class AssetsExportJob
1504
+ # @private
1505
+ class Representation < Google::Apis::Core::JsonRepresentation
1506
+ property :condition, as: 'condition', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition::Representation
1507
+
1508
+ property :create_time, as: 'createTime'
1509
+ hash :labels, as: 'labels'
1510
+ property :name, as: 'name'
1511
+ property :network_dependencies, as: 'networkDependencies', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies::Representation
1512
+
1513
+ collection :recent_executions, as: 'recentExecutions', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
1514
+
1515
+ property :signed_uri_destination, as: 'signedUriDestination', class: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUriDestination::Representation
1516
+
1517
+ property :update_time, as: 'updateTime'
1518
+ end
1519
+ end
1520
+
1521
+ class AssetsExportJobExecution
1522
+ # @private
1523
+ class Representation < Google::Apis::Core::JsonRepresentation
1524
+ property :end_time, as: 'endTime'
1525
+ property :execution_id, as: 'executionId'
1526
+ property :expire_time, as: 'expireTime'
1527
+ property :result, as: 'result', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult::Representation
1528
+
1529
+ property :start_time, as: 'startTime'
1530
+ end
1531
+ end
1532
+
1533
+ class AssetsExportJobExecutionResult
1534
+ # @private
1535
+ class Representation < Google::Apis::Core::JsonRepresentation
1536
+ property :error, as: 'error', class: Google::Apis::MigrationcenterV1alpha1::Status, decorator: Google::Apis::MigrationcenterV1alpha1::Status::Representation
1537
+
1538
+ property :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUris, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUris::Representation
1539
+
1540
+ end
1541
+ end
1542
+
1543
+ class AssetsExportJobExportCondition
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ property :filter, as: 'filter'
1547
+ end
1548
+ end
1549
+
1550
+ class AssetsExportJobNetworkDependencies
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ property :max_days, as: 'maxDays'
1554
+ end
1555
+ end
1556
+
1425
1557
  class AwsEc2PlatformDetails
1426
1558
  # @private
1427
1559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1551,6 +1683,8 @@ module Google
1551
1683
  property :license_type, as: 'licenseType'
1552
1684
  property :machine_preferences, as: 'machinePreferences', class: Google::Apis::MigrationcenterV1alpha1::MachinePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::MachinePreferences::Representation
1553
1685
 
1686
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
1687
+
1554
1688
  property :persistent_disk_type, as: 'persistentDiskType'
1555
1689
  end
1556
1690
  end
@@ -2266,6 +2400,15 @@ module Google
2266
2400
  end
2267
2401
  end
2268
2402
 
2403
+ class ListAssetsExportJobsResponse
2404
+ # @private
2405
+ class Representation < Google::Apis::Core::JsonRepresentation
2406
+ collection :assets_export_jobs, as: 'assetsExportJobs', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
2407
+
2408
+ property :next_page_token, as: 'nextPageToken'
2409
+ end
2410
+ end
2411
+
2269
2412
  class ListAssetsResponse
2270
2413
  # @private
2271
2414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2604,6 +2747,28 @@ module Google
2604
2747
  end
2605
2748
  end
2606
2749
 
2750
+ class OperatingSystemPricingPreferences
2751
+ # @private
2752
+ class Representation < Google::Apis::Core::JsonRepresentation
2753
+ property :rhel, as: 'rhel', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2754
+
2755
+ property :sles, as: 'sles', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2756
+
2757
+ property :sles_for_sap, as: 'slesForSap', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2758
+
2759
+ property :windows, as: 'windows', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferencesOperatingSystemPricing::Representation
2760
+
2761
+ end
2762
+ end
2763
+
2764
+ class OperatingSystemPricingPreferencesOperatingSystemPricing
2765
+ # @private
2766
+ class Representation < Google::Apis::Core::JsonRepresentation
2767
+ property :commitment_plan, as: 'commitmentPlan'
2768
+ property :license_type, as: 'licenseType'
2769
+ end
2770
+ end
2771
+
2607
2772
  class Operation
2608
2773
  # @private
2609
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3015,6 +3180,21 @@ module Google
3015
3180
  end
3016
3181
  end
3017
3182
 
3183
+ class RunAssetsExportJobRequest
3184
+ # @private
3185
+ class Representation < Google::Apis::Core::JsonRepresentation
3186
+ property :request_id, as: 'requestId'
3187
+ end
3188
+ end
3189
+
3190
+ class RunAssetsExportJobResponse
3191
+ # @private
3192
+ class Representation < Google::Apis::Core::JsonRepresentation
3193
+ property :assets_export_job_execution, as: 'assetsExportJobExecution', class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution, decorator: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution::Representation
3194
+
3195
+ end
3196
+ end
3197
+
3018
3198
  class RunImportJobRequest
3019
3199
  # @private
3020
3200
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3099,6 +3279,28 @@ module Google
3099
3279
  end
3100
3280
  end
3101
3281
 
3282
+ class SignedUri
3283
+ # @private
3284
+ class Representation < Google::Apis::Core::JsonRepresentation
3285
+ property :file, as: 'file'
3286
+ property :uri, as: 'uri'
3287
+ end
3288
+ end
3289
+
3290
+ class SignedUriDestination
3291
+ # @private
3292
+ class Representation < Google::Apis::Core::JsonRepresentation
3293
+ end
3294
+ end
3295
+
3296
+ class SignedUris
3297
+ # @private
3298
+ class Representation < Google::Apis::Core::JsonRepresentation
3299
+ collection :signed_uris, as: 'signedUris', class: Google::Apis::MigrationcenterV1alpha1::SignedUri, decorator: Google::Apis::MigrationcenterV1alpha1::SignedUri::Representation
3300
+
3301
+ end
3302
+ end
3303
+
3102
3304
  class SoftwareInsight
3103
3305
  # @private
3104
3306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3115,6 +3317,8 @@ module Google
3115
3317
  property :host_maintenance_policy, as: 'hostMaintenancePolicy'
3116
3318
  collection :node_types, as: 'nodeTypes', class: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType, decorator: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType::Representation
3117
3319
 
3320
+ property :os_pricing_preferences, as: 'osPricingPreferences', class: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::OperatingSystemPricingPreferences::Representation
3321
+
3118
3322
  end
3119
3323
  end
3120
3324
 
@@ -519,6 +519,184 @@ module Google
519
519
  execute_or_queue_command(command, &block)
520
520
  end
521
521
 
522
+ # Creates a new assets export job.
523
+ # @param [String] parent
524
+ # Required. The parent resource where the assts export job will be created.
525
+ # @param [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] assets_export_job_object
526
+ # @param [String] assets_export_job_id
527
+ # Required. The ID to use for the asset export job.
528
+ # @param [String] request_id
529
+ # Optional. An optional request ID to identify requests. Specify a unique
530
+ # request ID so that if you must retry your request, the server will know to
531
+ # ignore the request if it has already been completed. The server will guarantee
532
+ # that for at least 60 minutes after the first request. For example, consider a
533
+ # situation where you make an initial request and the request times out. If you
534
+ # make the request again with the same request ID, the server can check if
535
+ # original operation with the same request ID was received, and if so, will
536
+ # ignore the second request. This prevents clients from accidentally creating
537
+ # duplicate commitments. The request ID must be a valid UUID with the exception
538
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
539
+ # @param [String] fields
540
+ # Selector specifying which fields to include in a partial response.
541
+ # @param [String] quota_user
542
+ # Available to use for quota purposes for server-side applications. Can be any
543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
544
+ # @param [Google::Apis::RequestOptions] options
545
+ # Request-specific options
546
+ #
547
+ # @yield [result, err] Result & error if block supplied
548
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
549
+ # @yieldparam err [StandardError] error object if request failed
550
+ #
551
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
552
+ #
553
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
556
+ def create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
557
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/assetsExportJobs', options)
558
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
559
+ command.request_object = assets_export_job_object
560
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
561
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
562
+ command.params['parent'] = parent unless parent.nil?
563
+ command.query['assetsExportJobId'] = assets_export_job_id unless assets_export_job_id.nil?
564
+ command.query['requestId'] = request_id unless request_id.nil?
565
+ command.query['fields'] = fields unless fields.nil?
566
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
567
+ execute_or_queue_command(command, &block)
568
+ end
569
+
570
+ # Deletes an assets export job.
571
+ # @param [String] name
572
+ # Required. The name of the assets export job to delete.
573
+ # @param [String] fields
574
+ # Selector specifying which fields to include in a partial response.
575
+ # @param [String] quota_user
576
+ # Available to use for quota purposes for server-side applications. Can be any
577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
578
+ # @param [Google::Apis::RequestOptions] options
579
+ # Request-specific options
580
+ #
581
+ # @yield [result, err] Result & error if block supplied
582
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
583
+ # @yieldparam err [StandardError] error object if request failed
584
+ #
585
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
586
+ #
587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
590
+ def delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
591
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
592
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
593
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
594
+ command.params['name'] = name unless name.nil?
595
+ command.query['fields'] = fields unless fields.nil?
596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
597
+ execute_or_queue_command(command, &block)
598
+ end
599
+
600
+ # Gets the details of an assets export job.
601
+ # @param [String] name
602
+ # Required. Name of the resource.
603
+ # @param [String] fields
604
+ # Selector specifying which fields to include in a partial response.
605
+ # @param [String] quota_user
606
+ # Available to use for quota purposes for server-side applications. Can be any
607
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
608
+ # @param [Google::Apis::RequestOptions] options
609
+ # Request-specific options
610
+ #
611
+ # @yield [result, err] Result & error if block supplied
612
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob] parsed result object
613
+ # @yieldparam err [StandardError] error object if request failed
614
+ #
615
+ # @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJob]
616
+ #
617
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
618
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
619
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
620
+ def get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block)
621
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
622
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation
623
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob
624
+ command.params['name'] = name unless name.nil?
625
+ command.query['fields'] = fields unless fields.nil?
626
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
627
+ execute_or_queue_command(command, &block)
628
+ end
629
+
630
+ # Lists all the assets export jobs in a given project and location.
631
+ # @param [String] parent
632
+ # Required. Parent resource.
633
+ # @param [Fixnum] page_size
634
+ # Optional. Requested page size. The server may return fewer items than
635
+ # requested. If unspecified, the server will pick an appropriate default value.
636
+ # @param [String] page_token
637
+ # Optional. A token identifying a page of results that the server should return.
638
+ # @param [String] fields
639
+ # Selector specifying which fields to include in a partial response.
640
+ # @param [String] quota_user
641
+ # Available to use for quota purposes for server-side applications. Can be any
642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
643
+ # @param [Google::Apis::RequestOptions] options
644
+ # Request-specific options
645
+ #
646
+ # @yield [result, err] Result & error if block supplied
647
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse] parsed result object
648
+ # @yieldparam err [StandardError] error object if request failed
649
+ #
650
+ # @return [Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse]
651
+ #
652
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
655
+ def list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
656
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/assetsExportJobs', options)
657
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse::Representation
658
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse
659
+ command.params['parent'] = parent unless parent.nil?
660
+ command.query['pageSize'] = page_size unless page_size.nil?
661
+ command.query['pageToken'] = page_token unless page_token.nil?
662
+ command.query['fields'] = fields unless fields.nil?
663
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
664
+ execute_or_queue_command(command, &block)
665
+ end
666
+
667
+ # Runs an assets export job, returning an AssetsExportJobExecution.
668
+ # @param [String] name
669
+ # Required. Name of the resource.
670
+ # @param [Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest] run_assets_export_job_request_object
671
+ # @param [String] fields
672
+ # Selector specifying which fields to include in a partial response.
673
+ # @param [String] quota_user
674
+ # Available to use for quota purposes for server-side applications. Can be any
675
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
676
+ # @param [Google::Apis::RequestOptions] options
677
+ # Request-specific options
678
+ #
679
+ # @yield [result, err] Result & error if block supplied
680
+ # @yieldparam result [Google::Apis::MigrationcenterV1alpha1::Operation] parsed result object
681
+ # @yieldparam err [StandardError] error object if request failed
682
+ #
683
+ # @return [Google::Apis::MigrationcenterV1alpha1::Operation]
684
+ #
685
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
686
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
687
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
688
+ def run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
689
+ command = make_simple_command(:post, 'v1alpha1/{+name}:run', options)
690
+ command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest::Representation
691
+ command.request_object = run_assets_export_job_request_object
692
+ command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation
693
+ command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation
694
+ command.params['name'] = name unless name.nil?
695
+ command.query['fields'] = fields unless fields.nil?
696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
697
+ execute_or_queue_command(command, &block)
698
+ end
699
+
522
700
  # Creates a new discovery client.
523
701
  # @param [String] parent
524
702
  # Required. Parent resource.
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.29.0
4
+ version: 0.31.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.31.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: []