Class: Google::Apis::DeploymentmanagerAlpha::TypeInfo

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

Overview

Type Information. 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



2494
2495
2496
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2494

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


2460
2461
2462
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2460

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)


2466
2467
2468
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2466

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)


2472
2473
2474
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2472

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


2477
2478
2479
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2477

def name
  @name
end

#schemaGoogle::Apis::DeploymentmanagerAlpha::TypeInfoSchemaInfo

Corresponds to the JSON property schema



2482
2483
2484
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2482

def schema
  @schema
end

Output only. Self link for the type provider. Corresponds to the JSON property selfLink

Returns:

  • (String)


2487
2488
2489
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2487

def self_link
  @self_link
end

#titleString

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

Returns:

  • (String)


2492
2493
2494
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2492

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2499
2500
2501
2502
2503
2504
2505
2506
2507
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2499

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