Class: Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_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)


651
652
653
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 651

def enable_duration
  @enable_duration
end

#migrating_domainsArray<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
  @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