Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent

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

Message describing the system component.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryComponent

Returns a new instance of SapDiscoveryComponent.



950
951
952
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 950

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

Instance Attribute Details

#application_propertiesGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties

A set of properties describing an SAP Application layer. Corresponds to the JSON property applicationProperties



927
928
929
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 927

def application_properties
  @application_properties
end

#database_propertiesGoogle::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties

A set of properties describing an SAP Database layer. Corresponds to the JSON property databaseProperties



932
933
934
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 932

def database_properties
  @database_properties
end

#host_projectString

Required. Pantheon Project in which the resources reside. Corresponds to the JSON property hostProject

Returns:

  • (String)


937
938
939
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 937

def host_project
  @host_project
end

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

Optional. The resources in a component. Corresponds to the JSON property resources



942
943
944
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 942

def resources
  @resources
end

#sidString

Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. Corresponds to the JSON property sid

Returns:

  • (String)


948
949
950
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 948

def sid
  @sid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



955
956
957
958
959
960
961
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 955

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