# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::MachineLearning module Models # # Describes the access location for a web service asset. # class AssetLocation include MsRestAzure # @return [String] The URI where the asset is accessible from, (e.g. # aml://abc for system assets or https://xyz for user asets attr_accessor :uri # @return [String] Access credentials for the asset, if applicable (e.g. # asset specified by storage account connection string + blob URI) attr_accessor :credentials # # Mapper for AssetLocation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'AssetLocation', type: { name: 'Composite', class_name: 'AssetLocation', model_properties: { uri: { required: true, serialized_name: 'uri', type: { name: 'String' } }, credentials: { required: false, serialized_name: 'credentials', type: { name: 'String' } } } } } end end end end