google-apis-migrationcenter_v1alpha1 0.16.0 → 0.17.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: dad6edea572cb26d077bb6eaaaca1771d2e07e80c78a21980cafc5107e38e361
4
- data.tar.gz: a6fc39240e87cc7e8314f6f0c0a1b7bd074ef47cab3a39fbd64f82f4045f6b38
3
+ metadata.gz: c5991c65c0d39042d48bf32755158a7b10b95eae466094c581d11339e8261276
4
+ data.tar.gz: 066664ff8701ca903da5fec9194a8d669022b0d18be4172172a5c2d31a0f8f4b
5
5
  SHA512:
6
- metadata.gz: aa3bbeba21293c5b67a6cf5495e76766f20223f44d216ba547b0f5d3fce78fe283fb730b36f1e4b307214069ba6e4e113c281cf1de32390c4e1ebe93a48f09e7
7
- data.tar.gz: '082e4995b31589dcf368fba101fc679356f7c8d12cef62e436e8bb46171ae5ef9d8fd3b22ee36ab8d79c260381cfb9203792318257fa427a21f11e75be4fb280'
6
+ metadata.gz: a6f58e00ff0be3e33d7365cfe857ff47fbb81fb1fe95debdea144fa114b4a1211545ff50df3799816ce1e934f62e00ac41a054cf620cd853b4c44374ec200f2b
7
+ data.tar.gz: f16788ade895d015f5390f4b20fbacda7be14eee333f1935f8c014296b6a7b13e115e08f9a2b8be5822fea84673923d1347521c77cec55fc60c4d17e772f9416
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-migrationcenter_v1alpha1
2
2
 
3
+ ### v0.17.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230918
6
+
3
7
  ### v0.16.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230901
@@ -1636,13 +1636,13 @@ module Google
1636
1636
  end
1637
1637
  end
1638
1638
 
1639
- # An insight about an asset (experimental insight)
1639
+ # A generic insight about an asset.
1640
1640
  class GenericInsight
1641
1641
  include Google::Apis::Core::Hashable
1642
1642
 
1643
1643
  # Output only. Additional information about the insight, each entry can be a
1644
1644
  # logical entry and must make sense if it is displayed with line breaks between
1645
- # each entry. Text can contain md style links
1645
+ # each entry. Text can contain md style links.
1646
1646
  # Corresponds to the JSON property `additionalInformation`
1647
1647
  # @return [Array<String>]
1648
1648
  attr_accessor :additional_information
@@ -2225,7 +2225,7 @@ module Google
2225
2225
  class Insight
2226
2226
  include Google::Apis::Core::Hashable
2227
2227
 
2228
- # An insight about an asset (experimental insight)
2228
+ # A generic insight about an asset.
2229
2229
  # Corresponds to the JSON property `genericInsight`
2230
2230
  # @return [Google::Apis::MigrationcenterV1alpha1::GenericInsight]
2231
2231
  attr_accessor :generic_insight
@@ -5115,11 +5115,21 @@ module Google
5115
5115
  # @return [Google::Apis::MigrationcenterV1alpha1::ComputeEnginePreferences]
5116
5116
  attr_accessor :compute_engine_preferences
5117
5117
 
5118
+ # Parameters that affect network cost estimations.
5119
+ # Corresponds to the JSON property `networkCostParameters`
5120
+ # @return [Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesNetworkCostParameters]
5121
+ attr_accessor :network_cost_parameters
5122
+
5118
5123
  # The user preferences relating to target regions.
5119
5124
  # Corresponds to the JSON property `regionPreferences`
5120
5125
  # @return [Google::Apis::MigrationcenterV1alpha1::RegionPreferences]
5121
5126
  attr_accessor :region_preferences
5122
5127
 
5128
+ # Custom data to use for sizing optimizations.
5129
+ # Corresponds to the JSON property `sizingOptimizationCustomParameters`
5130
+ # @return [Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesSizingOptimizationCustomParameters]
5131
+ attr_accessor :sizing_optimization_custom_parameters
5132
+
5123
5133
  # Sizing optimization strategy specifies the preferred strategy used when
5124
5134
  # extrapolating usage data to calculate insights and recommendations for a
5125
5135
  # virtual machine. If you are unsure which value to set, a moderate sizing
@@ -5152,7 +5162,9 @@ module Google
5152
5162
  def update!(**args)
5153
5163
  @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
5154
5164
  @compute_engine_preferences = args[:compute_engine_preferences] if args.key?(:compute_engine_preferences)
5165
+ @network_cost_parameters = args[:network_cost_parameters] if args.key?(:network_cost_parameters)
5155
5166
  @region_preferences = args[:region_preferences] if args.key?(:region_preferences)
5167
+ @sizing_optimization_custom_parameters = args[:sizing_optimization_custom_parameters] if args.key?(:sizing_optimization_custom_parameters)
5156
5168
  @sizing_optimization_strategy = args[:sizing_optimization_strategy] if args.key?(:sizing_optimization_strategy)
5157
5169
  @sole_tenancy_preferences = args[:sole_tenancy_preferences] if args.key?(:sole_tenancy_preferences)
5158
5170
  @target_product = args[:target_product] if args.key?(:target_product)
@@ -5160,6 +5172,67 @@ module Google
5160
5172
  end
5161
5173
  end
5162
5174
 
5175
+ # Parameters that affect network cost estimations.
5176
+ class VirtualMachinePreferencesNetworkCostParameters
5177
+ include Google::Apis::Core::Hashable
5178
+
5179
+ # Optional. An estimated percentage of priced outbound traffic (egress traffic)
5180
+ # from the measured outbound traffic. Must be in the interval [0, 100].
5181
+ # Corresponds to the JSON property `estimatedEgressTrafficPercentage`
5182
+ # @return [Fixnum]
5183
+ attr_accessor :estimated_egress_traffic_percentage
5184
+
5185
+ def initialize(**args)
5186
+ update!(**args)
5187
+ end
5188
+
5189
+ # Update properties of this object
5190
+ def update!(**args)
5191
+ @estimated_egress_traffic_percentage = args[:estimated_egress_traffic_percentage] if args.key?(:estimated_egress_traffic_percentage)
5192
+ end
5193
+ end
5194
+
5195
+ # Custom data to use for sizing optimizations.
5196
+ class VirtualMachinePreferencesSizingOptimizationCustomParameters
5197
+ include Google::Apis::Core::Hashable
5198
+
5199
+ # Optional. Type of statistical aggregation of a resource utilization data, on
5200
+ # which to base the sizing metrics.
5201
+ # Corresponds to the JSON property `aggregationMethod`
5202
+ # @return [String]
5203
+ attr_accessor :aggregation_method
5204
+
5205
+ # Optional. Desired percentage of CPU usage. Must be in the interval [1, 100] (
5206
+ # or 0 for default value).
5207
+ # Corresponds to the JSON property `cpuUsagePercentage`
5208
+ # @return [Fixnum]
5209
+ attr_accessor :cpu_usage_percentage
5210
+
5211
+ # Optional. Desired percentage of memory usage. Must be in the interval [1, 100]
5212
+ # (or 0 for default value).
5213
+ # Corresponds to the JSON property `memoryUsagePercentage`
5214
+ # @return [Fixnum]
5215
+ attr_accessor :memory_usage_percentage
5216
+
5217
+ # Optional. Desired increase factor of storage, relative to currently used
5218
+ # storage. Must be in the interval [1.0, 2.0] (or 0 for default value).
5219
+ # Corresponds to the JSON property `storageMultiplier`
5220
+ # @return [Float]
5221
+ attr_accessor :storage_multiplier
5222
+
5223
+ def initialize(**args)
5224
+ update!(**args)
5225
+ end
5226
+
5227
+ # Update properties of this object
5228
+ def update!(**args)
5229
+ @aggregation_method = args[:aggregation_method] if args.key?(:aggregation_method)
5230
+ @cpu_usage_percentage = args[:cpu_usage_percentage] if args.key?(:cpu_usage_percentage)
5231
+ @memory_usage_percentage = args[:memory_usage_percentage] if args.key?(:memory_usage_percentage)
5232
+ @storage_multiplier = args[:storage_multiplier] if args.key?(:storage_multiplier)
5233
+ end
5234
+ end
5235
+
5163
5236
  # VMware disk config details.
5164
5237
  class VmwareDiskConfig
5165
5238
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MigrationcenterV1alpha1
18
18
  # Version of the google-apis-migrationcenter_v1alpha1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230901"
25
+ REVISION = "20230918"
26
26
  end
27
27
  end
28
28
  end
@@ -922,6 +922,18 @@ module Google
922
922
  include Google::Apis::Core::JsonObjectSupport
923
923
  end
924
924
 
925
+ class VirtualMachinePreferencesNetworkCostParameters
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class VirtualMachinePreferencesSizingOptimizationCustomParameters
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
925
937
  class VmwareDiskConfig
926
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
939
 
@@ -2480,8 +2492,12 @@ module Google
2480
2492
  property :commitment_plan, as: 'commitmentPlan'
2481
2493
  property :compute_engine_preferences, as: 'computeEnginePreferences', class: Google::Apis::MigrationcenterV1alpha1::ComputeEnginePreferences, decorator: Google::Apis::MigrationcenterV1alpha1::ComputeEnginePreferences::Representation
2482
2494
 
2495
+ property :network_cost_parameters, as: 'networkCostParameters', class: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesNetworkCostParameters, decorator: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesNetworkCostParameters::Representation
2496
+
2483
2497
  property :region_preferences, as: 'regionPreferences', class: Google::Apis::MigrationcenterV1alpha1::RegionPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::RegionPreferences::Representation
2484
2498
 
2499
+ property :sizing_optimization_custom_parameters, as: 'sizingOptimizationCustomParameters', class: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesSizingOptimizationCustomParameters, decorator: Google::Apis::MigrationcenterV1alpha1::VirtualMachinePreferencesSizingOptimizationCustomParameters::Representation
2500
+
2485
2501
  property :sizing_optimization_strategy, as: 'sizingOptimizationStrategy'
2486
2502
  property :sole_tenancy_preferences, as: 'soleTenancyPreferences', class: Google::Apis::MigrationcenterV1alpha1::SoleTenancyPreferences, decorator: Google::Apis::MigrationcenterV1alpha1::SoleTenancyPreferences::Representation
2487
2503
 
@@ -2491,6 +2507,23 @@ module Google
2491
2507
  end
2492
2508
  end
2493
2509
 
2510
+ class VirtualMachinePreferencesNetworkCostParameters
2511
+ # @private
2512
+ class Representation < Google::Apis::Core::JsonRepresentation
2513
+ property :estimated_egress_traffic_percentage, as: 'estimatedEgressTrafficPercentage'
2514
+ end
2515
+ end
2516
+
2517
+ class VirtualMachinePreferencesSizingOptimizationCustomParameters
2518
+ # @private
2519
+ class Representation < Google::Apis::Core::JsonRepresentation
2520
+ property :aggregation_method, as: 'aggregationMethod'
2521
+ property :cpu_usage_percentage, as: 'cpuUsagePercentage'
2522
+ property :memory_usage_percentage, as: 'memoryUsagePercentage'
2523
+ property :storage_multiplier, as: 'storageMultiplier'
2524
+ end
2525
+ end
2526
+
2494
2527
  class VmwareDiskConfig
2495
2528
  # @private
2496
2529
  class Representation < Google::Apis::Core::JsonRepresentation
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.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-10 00:00:00.000000000 Z
11
+ date: 2023-09-24 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-migrationcenter_v1alpha1/v0.17.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: []