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.



1786
1787
1788
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1786

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

Instance Attribute Details

#applicationGoogle::Apis::WorkloadmanagerV1::SapComponent

The component of sap workload Corresponds to the JSON property application



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

def application
  @application
end

#databaseGoogle::Apis::WorkloadmanagerV1::SapComponent

The component of sap workload Corresponds to the JSON property database



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

def database
  @database
end

#metadataHash<String,String>

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

Returns:

  • (Hash<String,String>)


1784
1785
1786
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1784

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1791
1792
1793
1794
1795
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1791

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