Class: Google::Apis::WorkloadmanagerV1::SapWorkload

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

The body of sap workload

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapWorkload

Returns a new instance of SapWorkload.



1773
1774
1775
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1773

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

Instance Attribute Details

#applicationGoogle::Apis::WorkloadmanagerV1::SapComponent

The component of sap workload Corresponds to the JSON property application



1761
1762
1763
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1761

def application
  @application
end

#databaseGoogle::Apis::WorkloadmanagerV1::SapComponent

The component of sap workload Corresponds to the JSON property database



1766
1767
1768
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1766

def database
  @database
end

#metadataHash<String,String>

Output only. The metadata for SAP workload. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,String>)


1771
1772
1773
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1771

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1778
1779
1780
1781
1782
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1778

def update!(**args)
  @application = args[:application] if args.key?(:application)
  @database = args[:database] if args.key?(:database)
  @metadata = args[:metadata] if args.key?(:metadata)
end