Class: Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::WorkspaceUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb

Overview

The parameters for updating a machine learning workspace.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The description of this workspace.

Returns:

  • (String)

    The description of this workspace.



20
21
22
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb', line 20

def description
  @description
end

#friendly_nameString

Returns The friendly name for this workspace.

Returns:

  • (String)

    The friendly name for this workspace.



23
24
25
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb', line 23

def friendly_name
  @friendly_name
end

#tagsHash{String => String}

learning workspace.

Returns:

  • (Hash{String => String})

    The resource tags for the machine



17
18
19
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb', line 17

def tags
  @tags
end

Class Method Details

.mapperObject

Mapper for WorkspaceUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WorkspaceUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'WorkspaceUpdateParameters',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end