Class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJob

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

Overview

Assets export job message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetsExportJob

Returns a new instance of AssetsExportJob.



656
657
658
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 656

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

Instance Attribute Details

#conditionGoogle::Apis::MigrationcenterV1alpha1::AssetsExportJobExportCondition

Conditions for selecting assets to export. Corresponds to the JSON property condition



613
614
615
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 613

def condition
  @condition
end

#create_timeString

Output only. Resource creation time. Corresponds to the JSON property createTime

Returns:

  • (String)


618
619
620
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 618

def create_time
  @create_time
end

#labelsHash<String,String>

Optional. Labels as key value pairs. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


629
630
631
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 629

def labels
  @labels
end

#nameString

Output only. Identifier. Resource name. Corresponds to the JSON property name

Returns:

  • (String)


634
635
636
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 634

def name
  @name
end

#network_dependenciesGoogle::Apis::MigrationcenterV1alpha1::AssetsExportJobNetworkDependencies

Configuration for network dependencies exports. Corresponds to the JSON property networkDependencies



639
640
641
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 639

def network_dependencies
  @network_dependencies
end

#recent_executionsArray<Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution>

Output only. Recent non expired executions of the job. Corresponds to the JSON property recentExecutions



644
645
646
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 644

def recent_executions
  @recent_executions
end

#signed_uri_destinationGoogle::Apis::MigrationcenterV1alpha1::SignedUriDestination

Signed URI destination configuration. Corresponds to the JSON property signedUriDestination



649
650
651
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 649

def signed_uri_destination
  @signed_uri_destination
end

#update_timeString

Output only. Resource update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


654
655
656
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 654

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



661
662
663
664
665
666
667
668
669
670
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 661

def update!(**args)
  @condition = args[:condition] if args.key?(:condition)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @network_dependencies = args[:network_dependencies] if args.key?(:network_dependencies)
  @recent_executions = args[:recent_executions] if args.key?(:recent_executions)
  @signed_uri_destination = args[:signed_uri_destination] if args.key?(:signed_uri_destination)
  @update_time = args[:update_time] if args.key?(:update_time)
end