Class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult

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

Contains the result of the assets export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetsExportJobExecutionResult

Returns a new instance of AssetsExportJobExecutionResult.



735
736
737
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 735

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

Instance Attribute Details

#errorGoogle::Apis::MigrationcenterV1alpha1::Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property error



728
729
730
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 728

def error
  @error
end

#signed_urisGoogle::Apis::MigrationcenterV1alpha1::SignedUris

Contains a list of Signed URIs. Corresponds to the JSON property signedUris



733
734
735
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 733

def signed_uris
  @signed_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



740
741
742
743
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 740

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