Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance

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

Overview

Fields to describe an SAP application server instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesAppInstance

Returns a new instance of SapDiscoveryResourceInstancePropertiesAppInstance.



1822
1823
1824
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1822

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

Instance Attribute Details

#nameString

Optional. Instance name of the SAP application instance. Corresponds to the JSON property name

Returns:

  • (String)


1815
1816
1817
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1815

def name
  @name
end

#numberString

Optional. Instance number of the SAP application instance. Corresponds to the JSON property number

Returns:

  • (String)


1820
1821
1822
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1820

def number
  @number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1827
1828
1829
1830
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1827

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @number = args[:number] if args.key?(:number)
end