google-apis-migrationcenter_v1alpha1 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/migrationcenter_v1alpha1/classes.rb +628 -5
- data/lib/google/apis/migrationcenter_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/migrationcenter_v1alpha1/representations.rb +315 -0
- data/lib/google/apis/migrationcenter_v1alpha1/service.rb +178 -0
- metadata +5 -5
@@ -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,9 +1204,10 @@ module Google
|
|
1024
1204
|
class ComputeEnginePreferences
|
1025
1205
|
include Google::Apis::Core::Hashable
|
1026
1206
|
|
1027
|
-
#
|
1028
|
-
# when calculating costs for virtual machine insights and
|
1029
|
-
# unspecified, costs are calculated based on the default
|
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
|
@@ -1434,12 +1615,12 @@ module Google
|
|
1434
1615
|
class DatabaseDeploymentTopology
|
1435
1616
|
include Google::Apis::Core::Hashable
|
1436
1617
|
|
1437
|
-
# Optional. Number of total cores.
|
1618
|
+
# Optional. Number of total logical cores.
|
1438
1619
|
# Corresponds to the JSON property `coreCount`
|
1439
1620
|
# @return [Fixnum]
|
1440
1621
|
attr_accessor :core_count
|
1441
1622
|
|
1442
|
-
# Optional. Number of total cores limited by db deployment.
|
1623
|
+
# Optional. Number of total logical cores limited by db deployment.
|
1443
1624
|
# Corresponds to the JSON property `coreLimit`
|
1444
1625
|
# @return [Fixnum]
|
1445
1626
|
attr_accessor :core_limit
|
@@ -1779,16 +1960,31 @@ module Google
|
|
1779
1960
|
class DatabaseSchema
|
1780
1961
|
include Google::Apis::Core::Hashable
|
1781
1962
|
|
1963
|
+
# Specific details for a Mysql database.
|
1964
|
+
# Corresponds to the JSON property `mysql`
|
1965
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::MySqlSchemaDetails]
|
1966
|
+
attr_accessor :mysql
|
1967
|
+
|
1782
1968
|
# List of details of objects by category.
|
1783
1969
|
# Corresponds to the JSON property `objects`
|
1784
1970
|
# @return [Array<Google::Apis::MigrationcenterV1alpha1::DatabaseObjects>]
|
1785
1971
|
attr_accessor :objects
|
1786
1972
|
|
1973
|
+
# Specific details for a PostgreSql schema.
|
1974
|
+
# Corresponds to the JSON property `postgresql`
|
1975
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails]
|
1976
|
+
attr_accessor :postgresql
|
1977
|
+
|
1787
1978
|
# The name of the schema.
|
1788
1979
|
# Corresponds to the JSON property `schemaName`
|
1789
1980
|
# @return [String]
|
1790
1981
|
attr_accessor :schema_name
|
1791
1982
|
|
1983
|
+
# Specific details for a SqlServer database.
|
1984
|
+
# Corresponds to the JSON property `sqlServer`
|
1985
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::SqlServerSchemaDetails]
|
1986
|
+
attr_accessor :sql_server
|
1987
|
+
|
1792
1988
|
# The total size of tables in bytes.
|
1793
1989
|
# Corresponds to the JSON property `tablesSizeBytes`
|
1794
1990
|
# @return [Fixnum]
|
@@ -1800,8 +1996,11 @@ module Google
|
|
1800
1996
|
|
1801
1997
|
# Update properties of this object
|
1802
1998
|
def update!(**args)
|
1999
|
+
@mysql = args[:mysql] if args.key?(:mysql)
|
1803
2000
|
@objects = args[:objects] if args.key?(:objects)
|
2001
|
+
@postgresql = args[:postgresql] if args.key?(:postgresql)
|
1804
2002
|
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
2003
|
+
@sql_server = args[:sql_server] if args.key?(:sql_server)
|
1805
2004
|
@tables_size_bytes = args[:tables_size_bytes] if args.key?(:tables_size_bytes)
|
1806
2005
|
end
|
1807
2006
|
end
|
@@ -3382,6 +3581,31 @@ module Google
|
|
3382
3581
|
end
|
3383
3582
|
end
|
3384
3583
|
|
3584
|
+
# Response message for listing assets export jobs.
|
3585
|
+
class ListAssetsExportJobsResponse
|
3586
|
+
include Google::Apis::Core::Hashable
|
3587
|
+
|
3588
|
+
# Output only. The list of assets export jobs.
|
3589
|
+
# Corresponds to the JSON property `assetsExportJobs`
|
3590
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::AssetsExportJob>]
|
3591
|
+
attr_accessor :assets_export_jobs
|
3592
|
+
|
3593
|
+
# Output only. A token identifying a page of results the server should return.
|
3594
|
+
# Corresponds to the JSON property `nextPageToken`
|
3595
|
+
# @return [String]
|
3596
|
+
attr_accessor :next_page_token
|
3597
|
+
|
3598
|
+
def initialize(**args)
|
3599
|
+
update!(**args)
|
3600
|
+
end
|
3601
|
+
|
3602
|
+
# Update properties of this object
|
3603
|
+
def update!(**args)
|
3604
|
+
@assets_export_jobs = args[:assets_export_jobs] if args.key?(:assets_export_jobs)
|
3605
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3606
|
+
end
|
3607
|
+
end
|
3608
|
+
|
3385
3609
|
# Response message for listing assets.
|
3386
3610
|
class ListAssetsResponse
|
3387
3611
|
include Google::Apis::Core::Hashable
|
@@ -3979,6 +4203,119 @@ module Google
|
|
3979
4203
|
end
|
3980
4204
|
end
|
3981
4205
|
|
4206
|
+
# MySql property.
|
4207
|
+
class MySqlProperty
|
4208
|
+
include Google::Apis::Core::Hashable
|
4209
|
+
|
4210
|
+
# Required. The property is enabled.
|
4211
|
+
# Corresponds to the JSON property `enabled`
|
4212
|
+
# @return [Boolean]
|
4213
|
+
attr_accessor :enabled
|
4214
|
+
alias_method :enabled?, :enabled
|
4215
|
+
|
4216
|
+
# Required. The property numeric value.
|
4217
|
+
# Corresponds to the JSON property `numericValue`
|
4218
|
+
# @return [Fixnum]
|
4219
|
+
attr_accessor :numeric_value
|
4220
|
+
|
4221
|
+
# Required. The property name.
|
4222
|
+
# Corresponds to the JSON property `property`
|
4223
|
+
# @return [String]
|
4224
|
+
attr_accessor :property
|
4225
|
+
|
4226
|
+
def initialize(**args)
|
4227
|
+
update!(**args)
|
4228
|
+
end
|
4229
|
+
|
4230
|
+
# Update properties of this object
|
4231
|
+
def update!(**args)
|
4232
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4233
|
+
@numeric_value = args[:numeric_value] if args.key?(:numeric_value)
|
4234
|
+
@property = args[:property] if args.key?(:property)
|
4235
|
+
end
|
4236
|
+
end
|
4237
|
+
|
4238
|
+
# Specific details for a Mysql database.
|
4239
|
+
class MySqlSchemaDetails
|
4240
|
+
include Google::Apis::Core::Hashable
|
4241
|
+
|
4242
|
+
# Optional. Mysql storage engine tables.
|
4243
|
+
# Corresponds to the JSON property `storageEngines`
|
4244
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::MySqlStorageEngineDetails>]
|
4245
|
+
attr_accessor :storage_engines
|
4246
|
+
|
4247
|
+
def initialize(**args)
|
4248
|
+
update!(**args)
|
4249
|
+
end
|
4250
|
+
|
4251
|
+
# Update properties of this object
|
4252
|
+
def update!(**args)
|
4253
|
+
@storage_engines = args[:storage_engines] if args.key?(:storage_engines)
|
4254
|
+
end
|
4255
|
+
end
|
4256
|
+
|
4257
|
+
# Mysql storage engine tables.
|
4258
|
+
class MySqlStorageEngineDetails
|
4259
|
+
include Google::Apis::Core::Hashable
|
4260
|
+
|
4261
|
+
# Optional. The number of encrypted tables.
|
4262
|
+
# Corresponds to the JSON property `encryptedTableCount`
|
4263
|
+
# @return [Fixnum]
|
4264
|
+
attr_accessor :encrypted_table_count
|
4265
|
+
|
4266
|
+
# Required. The storage engine.
|
4267
|
+
# Corresponds to the JSON property `engine`
|
4268
|
+
# @return [String]
|
4269
|
+
attr_accessor :engine
|
4270
|
+
|
4271
|
+
# Optional. The number of tables.
|
4272
|
+
# Corresponds to the JSON property `tableCount`
|
4273
|
+
# @return [Fixnum]
|
4274
|
+
attr_accessor :table_count
|
4275
|
+
|
4276
|
+
def initialize(**args)
|
4277
|
+
update!(**args)
|
4278
|
+
end
|
4279
|
+
|
4280
|
+
# Update properties of this object
|
4281
|
+
def update!(**args)
|
4282
|
+
@encrypted_table_count = args[:encrypted_table_count] if args.key?(:encrypted_table_count)
|
4283
|
+
@engine = args[:engine] if args.key?(:engine)
|
4284
|
+
@table_count = args[:table_count] if args.key?(:table_count)
|
4285
|
+
end
|
4286
|
+
end
|
4287
|
+
|
4288
|
+
# MySql variable.
|
4289
|
+
class MySqlVariable
|
4290
|
+
include Google::Apis::Core::Hashable
|
4291
|
+
|
4292
|
+
# Required. The variable category.
|
4293
|
+
# Corresponds to the JSON property `category`
|
4294
|
+
# @return [String]
|
4295
|
+
attr_accessor :category
|
4296
|
+
|
4297
|
+
# Required. The variable value.
|
4298
|
+
# Corresponds to the JSON property `value`
|
4299
|
+
# @return [String]
|
4300
|
+
attr_accessor :value
|
4301
|
+
|
4302
|
+
# Required. The variable name.
|
4303
|
+
# Corresponds to the JSON property `variable`
|
4304
|
+
# @return [String]
|
4305
|
+
attr_accessor :variable
|
4306
|
+
|
4307
|
+
def initialize(**args)
|
4308
|
+
update!(**args)
|
4309
|
+
end
|
4310
|
+
|
4311
|
+
# Update properties of this object
|
4312
|
+
def update!(**args)
|
4313
|
+
@category = args[:category] if args.key?(:category)
|
4314
|
+
@value = args[:value] if args.key?(:value)
|
4315
|
+
@variable = args[:variable] if args.key?(:variable)
|
4316
|
+
end
|
4317
|
+
end
|
4318
|
+
|
3982
4319
|
# Specific details for a Mysql database deployment.
|
3983
4320
|
class MysqlDatabaseDeployment
|
3984
4321
|
include Google::Apis::Core::Hashable
|
@@ -3988,6 +4325,21 @@ module Google
|
|
3988
4325
|
# @return [Array<Google::Apis::MigrationcenterV1alpha1::MySqlPlugin>]
|
3989
4326
|
attr_accessor :plugins
|
3990
4327
|
|
4328
|
+
# Optional. List of MySql properties.
|
4329
|
+
# Corresponds to the JSON property `properties`
|
4330
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::MySqlProperty>]
|
4331
|
+
attr_accessor :properties
|
4332
|
+
|
4333
|
+
# Optional. Number of resource groups.
|
4334
|
+
# Corresponds to the JSON property `resourceGroupsCount`
|
4335
|
+
# @return [Fixnum]
|
4336
|
+
attr_accessor :resource_groups_count
|
4337
|
+
|
4338
|
+
# Optional. List of MySql variables.
|
4339
|
+
# Corresponds to the JSON property `variables`
|
4340
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::MySqlVariable>]
|
4341
|
+
attr_accessor :variables
|
4342
|
+
|
3991
4343
|
def initialize(**args)
|
3992
4344
|
update!(**args)
|
3993
4345
|
end
|
@@ -3995,6 +4347,9 @@ module Google
|
|
3995
4347
|
# Update properties of this object
|
3996
4348
|
def update!(**args)
|
3997
4349
|
@plugins = args[:plugins] if args.key?(:plugins)
|
4350
|
+
@properties = args[:properties] if args.key?(:properties)
|
4351
|
+
@resource_groups_count = args[:resource_groups_count] if args.key?(:resource_groups_count)
|
4352
|
+
@variables = args[:variables] if args.key?(:variables)
|
3998
4353
|
end
|
3999
4354
|
end
|
4000
4355
|
|
@@ -4575,12 +4930,163 @@ module Google
|
|
4575
4930
|
class PostgreSqlDatabaseDeployment
|
4576
4931
|
include Google::Apis::Core::Hashable
|
4577
4932
|
|
4933
|
+
# Optional. List of PostgreSql properties.
|
4934
|
+
# Corresponds to the JSON property `properties`
|
4935
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::PostgreSqlProperty>]
|
4936
|
+
attr_accessor :properties
|
4937
|
+
|
4938
|
+
# Optional. List of PostgreSql settings.
|
4939
|
+
# Corresponds to the JSON property `settings`
|
4940
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::PostgreSqlSetting>]
|
4941
|
+
attr_accessor :settings
|
4942
|
+
|
4943
|
+
def initialize(**args)
|
4944
|
+
update!(**args)
|
4945
|
+
end
|
4946
|
+
|
4947
|
+
# Update properties of this object
|
4948
|
+
def update!(**args)
|
4949
|
+
@properties = args[:properties] if args.key?(:properties)
|
4950
|
+
@settings = args[:settings] if args.key?(:settings)
|
4951
|
+
end
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
# PostgreSql extension.
|
4955
|
+
class PostgreSqlExtension
|
4956
|
+
include Google::Apis::Core::Hashable
|
4957
|
+
|
4958
|
+
# Required. The extension name.
|
4959
|
+
# Corresponds to the JSON property `extension`
|
4960
|
+
# @return [String]
|
4961
|
+
attr_accessor :extension
|
4962
|
+
|
4963
|
+
# Required. The extension version.
|
4964
|
+
# Corresponds to the JSON property `version`
|
4965
|
+
# @return [String]
|
4966
|
+
attr_accessor :version
|
4967
|
+
|
4968
|
+
def initialize(**args)
|
4969
|
+
update!(**args)
|
4970
|
+
end
|
4971
|
+
|
4972
|
+
# Update properties of this object
|
4973
|
+
def update!(**args)
|
4974
|
+
@extension = args[:extension] if args.key?(:extension)
|
4975
|
+
@version = args[:version] if args.key?(:version)
|
4976
|
+
end
|
4977
|
+
end
|
4978
|
+
|
4979
|
+
# PostgreSql property.
|
4980
|
+
class PostgreSqlProperty
|
4981
|
+
include Google::Apis::Core::Hashable
|
4982
|
+
|
4983
|
+
# Required. The property is enabled.
|
4984
|
+
# Corresponds to the JSON property `enabled`
|
4985
|
+
# @return [Boolean]
|
4986
|
+
attr_accessor :enabled
|
4987
|
+
alias_method :enabled?, :enabled
|
4988
|
+
|
4989
|
+
# Required. The property numeric value.
|
4990
|
+
# Corresponds to the JSON property `numericValue`
|
4991
|
+
# @return [Fixnum]
|
4992
|
+
attr_accessor :numeric_value
|
4993
|
+
|
4994
|
+
# Required. The property name.
|
4995
|
+
# Corresponds to the JSON property `property`
|
4996
|
+
# @return [String]
|
4997
|
+
attr_accessor :property
|
4998
|
+
|
4999
|
+
def initialize(**args)
|
5000
|
+
update!(**args)
|
5001
|
+
end
|
5002
|
+
|
5003
|
+
# Update properties of this object
|
5004
|
+
def update!(**args)
|
5005
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
5006
|
+
@numeric_value = args[:numeric_value] if args.key?(:numeric_value)
|
5007
|
+
@property = args[:property] if args.key?(:property)
|
5008
|
+
end
|
5009
|
+
end
|
5010
|
+
|
5011
|
+
# Specific details for a PostgreSql schema.
|
5012
|
+
class PostgreSqlSchemaDetails
|
5013
|
+
include Google::Apis::Core::Hashable
|
5014
|
+
|
5015
|
+
# Optional. PostgreSql foreign tables.
|
5016
|
+
# Corresponds to the JSON property `foreignTablesCount`
|
5017
|
+
# @return [Fixnum]
|
5018
|
+
attr_accessor :foreign_tables_count
|
5019
|
+
|
5020
|
+
# Optional. PostgreSql extensions.
|
5021
|
+
# Corresponds to the JSON property `postgresqlExtensions`
|
5022
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::PostgreSqlExtension>]
|
5023
|
+
attr_accessor :postgresql_extensions
|
5024
|
+
|
5025
|
+
def initialize(**args)
|
5026
|
+
update!(**args)
|
5027
|
+
end
|
5028
|
+
|
5029
|
+
# Update properties of this object
|
5030
|
+
def update!(**args)
|
5031
|
+
@foreign_tables_count = args[:foreign_tables_count] if args.key?(:foreign_tables_count)
|
5032
|
+
@postgresql_extensions = args[:postgresql_extensions] if args.key?(:postgresql_extensions)
|
5033
|
+
end
|
5034
|
+
end
|
5035
|
+
|
5036
|
+
# PostgreSql setting.
|
5037
|
+
class PostgreSqlSetting
|
5038
|
+
include Google::Apis::Core::Hashable
|
5039
|
+
|
5040
|
+
# Required. The setting boolean value.
|
5041
|
+
# Corresponds to the JSON property `boolValue`
|
5042
|
+
# @return [Boolean]
|
5043
|
+
attr_accessor :bool_value
|
5044
|
+
alias_method :bool_value?, :bool_value
|
5045
|
+
|
5046
|
+
# Required. The setting int value.
|
5047
|
+
# Corresponds to the JSON property `intValue`
|
5048
|
+
# @return [Fixnum]
|
5049
|
+
attr_accessor :int_value
|
5050
|
+
|
5051
|
+
# Required. The setting real value.
|
5052
|
+
# Corresponds to the JSON property `realValue`
|
5053
|
+
# @return [Float]
|
5054
|
+
attr_accessor :real_value
|
5055
|
+
|
5056
|
+
# Required. The setting name.
|
5057
|
+
# Corresponds to the JSON property `setting`
|
5058
|
+
# @return [String]
|
5059
|
+
attr_accessor :setting
|
5060
|
+
|
5061
|
+
# Required. The setting source.
|
5062
|
+
# Corresponds to the JSON property `source`
|
5063
|
+
# @return [String]
|
5064
|
+
attr_accessor :source
|
5065
|
+
|
5066
|
+
# Required. The setting string value. Notice that enum values are stored as
|
5067
|
+
# strings.
|
5068
|
+
# Corresponds to the JSON property `stringValue`
|
5069
|
+
# @return [String]
|
5070
|
+
attr_accessor :string_value
|
5071
|
+
|
5072
|
+
# Optional. The setting unit.
|
5073
|
+
# Corresponds to the JSON property `unit`
|
5074
|
+
# @return [String]
|
5075
|
+
attr_accessor :unit
|
5076
|
+
|
4578
5077
|
def initialize(**args)
|
4579
5078
|
update!(**args)
|
4580
5079
|
end
|
4581
5080
|
|
4582
5081
|
# Update properties of this object
|
4583
5082
|
def update!(**args)
|
5083
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
5084
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
5085
|
+
@real_value = args[:real_value] if args.key?(:real_value)
|
5086
|
+
@setting = args[:setting] if args.key?(:setting)
|
5087
|
+
@source = args[:source] if args.key?(:source)
|
5088
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
5089
|
+
@unit = args[:unit] if args.key?(:unit)
|
4584
5090
|
end
|
4585
5091
|
end
|
4586
5092
|
|
@@ -5560,6 +6066,53 @@ module Google
|
|
5560
6066
|
end
|
5561
6067
|
end
|
5562
6068
|
|
6069
|
+
# A request to run an assets export job.
|
6070
|
+
class RunAssetsExportJobRequest
|
6071
|
+
include Google::Apis::Core::Hashable
|
6072
|
+
|
6073
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
6074
|
+
# request ID so that if you must retry your request, the server will know to
|
6075
|
+
# ignore the request if it has already been completed. The server will guarantee
|
6076
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
6077
|
+
# situation where you make an initial request and the request times out. If you
|
6078
|
+
# make the request again with the same request ID, the server can check if
|
6079
|
+
# original operation with the same request ID was received, and if so, will
|
6080
|
+
# ignore the second request. This prevents clients from accidentally creating
|
6081
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
6082
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
6083
|
+
# Corresponds to the JSON property `requestId`
|
6084
|
+
# @return [String]
|
6085
|
+
attr_accessor :request_id
|
6086
|
+
|
6087
|
+
def initialize(**args)
|
6088
|
+
update!(**args)
|
6089
|
+
end
|
6090
|
+
|
6091
|
+
# Update properties of this object
|
6092
|
+
def update!(**args)
|
6093
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
6094
|
+
end
|
6095
|
+
end
|
6096
|
+
|
6097
|
+
# Response message for running an assets export job.
|
6098
|
+
class RunAssetsExportJobResponse
|
6099
|
+
include Google::Apis::Core::Hashable
|
6100
|
+
|
6101
|
+
# Execution status of assets export job.
|
6102
|
+
# Corresponds to the JSON property `assetsExportJobExecution`
|
6103
|
+
# @return [Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution]
|
6104
|
+
attr_accessor :assets_export_job_execution
|
6105
|
+
|
6106
|
+
def initialize(**args)
|
6107
|
+
update!(**args)
|
6108
|
+
end
|
6109
|
+
|
6110
|
+
# Update properties of this object
|
6111
|
+
def update!(**args)
|
6112
|
+
@assets_export_job_execution = args[:assets_export_job_execution] if args.key?(:assets_export_job_execution)
|
6113
|
+
end
|
6114
|
+
end
|
6115
|
+
|
5563
6116
|
# A request to run an import job.
|
5564
6117
|
class RunImportJobRequest
|
5565
6118
|
include Google::Apis::Core::Hashable
|
@@ -5852,6 +6405,63 @@ module Google
|
|
5852
6405
|
end
|
5853
6406
|
end
|
5854
6407
|
|
6408
|
+
# Contains a signed URI.
|
6409
|
+
class SignedUri
|
6410
|
+
include Google::Apis::Core::Hashable
|
6411
|
+
|
6412
|
+
# Output only. Name of the file the Signed URI references.
|
6413
|
+
# Corresponds to the JSON property `file`
|
6414
|
+
# @return [String]
|
6415
|
+
attr_accessor :file
|
6416
|
+
|
6417
|
+
# Output only. Download URI for the file.
|
6418
|
+
# Corresponds to the JSON property `uri`
|
6419
|
+
# @return [String]
|
6420
|
+
attr_accessor :uri
|
6421
|
+
|
6422
|
+
def initialize(**args)
|
6423
|
+
update!(**args)
|
6424
|
+
end
|
6425
|
+
|
6426
|
+
# Update properties of this object
|
6427
|
+
def update!(**args)
|
6428
|
+
@file = args[:file] if args.key?(:file)
|
6429
|
+
@uri = args[:uri] if args.key?(:uri)
|
6430
|
+
end
|
6431
|
+
end
|
6432
|
+
|
6433
|
+
# Signed URI destination configuration.
|
6434
|
+
class SignedUriDestination
|
6435
|
+
include Google::Apis::Core::Hashable
|
6436
|
+
|
6437
|
+
def initialize(**args)
|
6438
|
+
update!(**args)
|
6439
|
+
end
|
6440
|
+
|
6441
|
+
# Update properties of this object
|
6442
|
+
def update!(**args)
|
6443
|
+
end
|
6444
|
+
end
|
6445
|
+
|
6446
|
+
# Contains a list of Signed URIs.
|
6447
|
+
class SignedUris
|
6448
|
+
include Google::Apis::Core::Hashable
|
6449
|
+
|
6450
|
+
# Output only. List of signed URIs.
|
6451
|
+
# Corresponds to the JSON property `signedUris`
|
6452
|
+
# @return [Array<Google::Apis::MigrationcenterV1alpha1::SignedUri>]
|
6453
|
+
attr_accessor :signed_uris
|
6454
|
+
|
6455
|
+
def initialize(**args)
|
6456
|
+
update!(**args)
|
6457
|
+
end
|
6458
|
+
|
6459
|
+
# Update properties of this object
|
6460
|
+
def update!(**args)
|
6461
|
+
@signed_uris = args[:signed_uris] if args.key?(:signed_uris)
|
6462
|
+
end
|
6463
|
+
end
|
6464
|
+
|
5855
6465
|
# An insight regarding software detected on an asset.
|
5856
6466
|
class SoftwareInsight
|
5857
6467
|
include Google::Apis::Core::Hashable
|
@@ -6071,6 +6681,19 @@ module Google
|
|
6071
6681
|
end
|
6072
6682
|
end
|
6073
6683
|
|
6684
|
+
# Specific details for a SqlServer database.
|
6685
|
+
class SqlServerSchemaDetails
|
6686
|
+
include Google::Apis::Core::Hashable
|
6687
|
+
|
6688
|
+
def initialize(**args)
|
6689
|
+
update!(**args)
|
6690
|
+
end
|
6691
|
+
|
6692
|
+
# Update properties of this object
|
6693
|
+
def update!(**args)
|
6694
|
+
end
|
6695
|
+
end
|
6696
|
+
|
6074
6697
|
# SQL Server server flag details.
|
6075
6698
|
class SqlServerServerFlag
|
6076
6699
|
include Google::Apis::Core::Hashable
|