Class: Google::Apis::DeploymentmanagerV2beta::TypeInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb

Overview

Contains detailed information about a composite type, base type, or base type with specific collection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TypeInfo

Returns a new instance of TypeInfo



2144
2145
2146
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2144

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

Instance Attribute Details

#descriptionString

The description of the type. Corresponds to the JSON property description

Returns:

  • (String)


2110
2111
2112
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2110

def description
  @description
end

For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty. Corresponds to the JSON property documentationLink

Returns:

  • (String)


2116
2117
2118
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2116

def documentation_link
  @documentation_link
end

#kindString

[Output Only] Type of the output. Always deploymentManager#TypeInfo for TypeInfo. Corresponds to the JSON property kind

Returns:

  • (String)


2122
2123
2124
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2122

def kind
  @kind
end

#nameString

The base type or composite type name. Corresponds to the JSON property name

Returns:

  • (String)


2127
2128
2129
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2127

def name
  @name
end

#schemaGoogle::Apis::DeploymentmanagerV2beta::TypeInfoSchemaInfo

Corresponds to the JSON property schema



2132
2133
2134
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2132

def schema
  @schema
end

[Output Only] Server-defined URL for the resource. Corresponds to the JSON property selfLink

Returns:

  • (String)


2137
2138
2139
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2137

def self_link
  @self_link
end

#titleString

The title on the API descriptor URL provided. Corresponds to the JSON property title

Returns:

  • (String)


2142
2143
2144
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2142

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2149
2150
2151
2152
2153
2154
2155
2156
2157
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2149

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @schema = args[:schema] if args.key?(:schema)
  @self_link = args[:self_link] if args.key?(:self_link)
  @title = args[:title] if args.key?(:title)
end