google-apis-migrationcenter_v1alpha1 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d7b691b782101004d7e3e35c4dc96a71fb2195e7d7fdedca0a32170c68b5b46
4
- data.tar.gz: dca714a3ed5bd74635af75c31ab91f61ce8eb2cfc316c80e33036dfa8cc4d092
3
+ metadata.gz: c5991c65c0d39042d48bf32755158a7b10b95eae466094c581d11339e8261276
4
+ data.tar.gz: 066664ff8701ca903da5fec9194a8d669022b0d18be4172172a5c2d31a0f8f4b
5
5
  SHA512:
6
- metadata.gz: 83a32c4174b12dd5556e8541ae567c6f28f67ae83255bfd230ba12da70ee4b3089cb63cc592313430a4118cb91bdd770f47ac3526cf9d7904f89b9f75e828f8b
7
- data.tar.gz: 198a23ee2b2f86b00676b42b2f00a4fe1823ad1cf98bb227ceb14db527a8e4f066d5516bf70046b04a0a921e9df114f3b108734a0a54907a5fa84f4bd8e1243f
6
+ metadata.gz: a6f58e00ff0be3e33d7365cfe857ff47fbb81fb1fe95debdea144fa114b4a1211545ff50df3799816ce1e934f62e00ac41a054cf620cd853b4c44374ec200f2b
7
+ data.tar.gz: f16788ade895d015f5390f4b20fbacda7be14eee333f1935f8c014296b6a7b13e115e08f9a2b8be5822fea84673923d1347521c77cec55fc60c4d17e772f9416
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.16.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230901
10
+
3
11
  ### v0.15.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230804
@@ -1332,7 +1332,9 @@ module Google
1332
1332
  class DiskUsageSample
1333
1333
  include Google::Apis::Core::Hashable
1334
1334
 
1335
- # Average IOPS sampled over a short window. Must be non-negative.
1335
+ # Average IOPS sampled over a short window. Must be non-negative. Must be equal
1336
+ # to the sum of read and write if one of them is positive. if both read and
1337
+ # write are zero they are ignored.
1336
1338
  # Corresponds to the JSON property `averageIops`
1337
1339
  # @return [Float]
1338
1340
  attr_accessor :average_iops
@@ -1634,13 +1636,13 @@ module Google
1634
1636
  end
1635
1637
  end
1636
1638
 
1637
- # An insight about an asset (experimental insight)
1639
+ # A generic insight about an asset.
1638
1640
  class GenericInsight
1639
1641
  include Google::Apis::Core::Hashable
1640
1642
 
1641
1643
  # Output only. Additional information about the insight, each entry can be a
1642
1644
  # logical entry and must make sense if it is displayed with line breaks between
1643
- # each entry. Text can contain md style links
1645
+ # each entry. Text can contain md style links.
1644
1646
  # Corresponds to the JSON property `additionalInformation`
1645
1647
  # @return [Array<String>]
1646
1648
  attr_accessor :additional_information
@@ -2223,7 +2225,7 @@ module Google
2223
2225
  class Insight
2224
2226
  include Google::Apis::Core::Hashable
2225
2227
 
2226
- # An insight about an asset (experimental insight)
2228
+ # A generic insight about an asset.
2227
2229
  # Corresponds to the JSON property `genericInsight`
2228
2230
  # @return [Google::Apis::MigrationcenterV1alpha1::GenericInsight]
2229
2231
  attr_accessor :generic_insight
@@ -3806,8 +3808,7 @@ module Google
3806
3808
  # @return [String]
3807
3809
  attr_accessor :display_name
3808
3810
 
3809
- # Count of the number of assets in this group which are also included in another
3810
- # group within the same report.
3811
+ # This field is deprecated, do not rely on it having a value.
3811
3812
  # Corresponds to the JSON property `overlappingAssetCount`
3812
3813
  # @return [Fixnum]
3813
3814
  attr_accessor :overlapping_asset_count
@@ -5114,11 +5115,21 @@ module Google
5114
5115
  # @return [Google::Apis::MigrationcenterV1alpha1::ComputeEnginePreferences]
5115
5116
  attr_accessor :compute_engine_preferences
5116
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
+
5117
5123
  # The user preferences relating to target regions.
5118
5124
  # Corresponds to the JSON property `regionPreferences`
5119
5125
  # @return [Google::Apis::MigrationcenterV1alpha1::RegionPreferences]
5120
5126
  attr_accessor :region_preferences
5121
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
+
5122
5133
  # Sizing optimization strategy specifies the preferred strategy used when
5123
5134
  # extrapolating usage data to calculate insights and recommendations for a
5124
5135
  # virtual machine. If you are unsure which value to set, a moderate sizing
@@ -5151,7 +5162,9 @@ module Google
5151
5162
  def update!(**args)
5152
5163
  @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
5153
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)
5154
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)
5155
5168
  @sizing_optimization_strategy = args[:sizing_optimization_strategy] if args.key?(:sizing_optimization_strategy)
5156
5169
  @sole_tenancy_preferences = args[:sole_tenancy_preferences] if args.key?(:sole_tenancy_preferences)
5157
5170
  @target_product = args[:target_product] if args.key?(:target_product)
@@ -5159,6 +5172,67 @@ module Google
5159
5172
  end
5160
5173
  end
5161
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
+
5162
5236
  # VMware disk config details.
5163
5237
  class VmwareDiskConfig
5164
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.15.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 = "20230804"
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.15.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-08-13 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.15.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: []
@@ -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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Migration Center API V1alpha1