class Google::Apis::PolyV1::StartAssetImportResponse

A response message from a request to startImport. This is returned in the response field of the Operation.

Attributes

asset_id[RW]

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]

asset_import_id[RW]

The id of the asset import. Corresponds to the JSON property `assetImportId` @return [String]

asset_import_messages[RW]

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>]

publish_url[RW]

The publish URL for the asset. Corresponds to the JSON property `publishUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/poly_v1/classes.rb, line 578
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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