Class: Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb
Overview
EnableMigrationRequest is the request message for EnableMigration method.
Instance Attribute Summary collapse
-
#enable_duration ⇒ String
Optional.
-
#migrating_domains ⇒ Array<Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnableMigrationRequest
constructor
A new instance of EnableMigrationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnableMigrationRequest
Returns a new instance of EnableMigrationRequest.
658 659 660 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_duration ⇒ String
Optional. Period after which the migration would be auto disabled. If
unspecified, a default timeout of 48h is used.
Corresponds to the JSON property enableDuration
651 652 653 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 651 def enable_duration @enable_duration end |
#migrating_domains ⇒ Array<Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails>
Required. List of the on-prem domains to be migrated.
Corresponds to the JSON property migratingDomains
656 657 658 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 656 def @migrating_domains end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
663 664 665 666 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 663 def update!(**args) @enable_duration = args[:enable_duration] if args.key?(:enable_duration) @migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains) end |