class Google::Apis::PolyV1::StartAssetImportResponse
A response message from a request to startImport. This is returned in the response field of the Operation.
Attributes
The id of newly created asset. If this is empty when the operation is complete it means the import failed. Please refer to the assetImportMessages field to understand what went wrong. Corresponds to the JSON property `assetId` @return [String]
The id of the asset import. Corresponds to the JSON property `assetImportId` @return [String]
The message from the asset import. This will contain any warnings (or - in the case of failure - errors) that occurred during import. Corresponds to the JSON property `assetImportMessages` @return [Array<Google::Apis::PolyV1::AssetImportMessage>]
The publish URL for the asset. Corresponds to the JSON property `publishUrl` @return [String]
Public Class Methods
# File lib/google/apis/poly_v1/classes.rb, line 578 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/poly_v1/classes.rb, line 583 def update!(**args) @asset_id = args[:asset_id] if args.key?(:asset_id) @asset_import_id = args[:asset_import_id] if args.key?(:asset_import_id) @asset_import_messages = args[:asset_import_messages] if args.key?(:asset_import_messages) @publish_url = args[:publish_url] if args.key?(:publish_url) end