Class: Google::Apis::ManagedidentitiesV1beta1::EnableMigrationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1beta1/classes.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb

Overview

EnableMigrationRequest is the request message for EnableMigration method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnableMigrationRequest

Returns a new instance of EnableMigrationRequest.



657
658
659
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 657

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_durationString

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

Returns:

  • (String)


650
651
652
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 650

def enable_duration
  @enable_duration
end

#migrating_domainsArray<Google::Apis::ManagedidentitiesV1beta1::OnPremDomainDetails>

Required. List of the on-prem domains to be migrated. Corresponds to the JSON property migratingDomains



655
656
657
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 655

def migrating_domains
  @migrating_domains
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



662
663
664
665
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 662

def update!(**args)
  @enable_duration = args[:enable_duration] if args.key?(:enable_duration)
  @migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains)
end