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.



929
930
931
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 929

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

Instance Attribute Details

#application_typeString

The component is a SAP application. Corresponds to the JSON property applicationType

Returns:

  • (String)


906
907
908
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 906

def application_type
  @application_type
end

#database_typeString

The component is a SAP database. Corresponds to the JSON property databaseType

Returns:

  • (String)


911
912
913
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 911

def database_type
  @database_type
end

#host_projectString

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

Returns:

  • (String)


916
917
918
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 916

def host_project
  @host_project
end

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

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



921
922
923
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 921

def resources
  @resources
end

#sidString

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

Returns:

  • (String)


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

def sid
  @sid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @application_type = args[:application_type] if args.key?(:application_type)
  @database_type = args[:database_type] if args.key?(:database_type)
  @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