Class: Google::Apis::WorkloadmanagerV1::SapComponent

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 component of sap workload

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapComponent

Returns a new instance of SapComponent.



1281
1282
1283
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1281

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

Instance Attribute Details

#resourcesArray<Google::Apis::WorkloadmanagerV1::CloudResource>

Output only. resources in the component Corresponds to the JSON property resources



1274
1275
1276
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1274

def resources
  @resources
end

#sidString

Output only. sid is the sap component identificator Corresponds to the JSON property sid

Returns:

  • (String)


1279
1280
1281
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1279

def sid
  @sid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1286
1287
1288
1289
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1286

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