Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties
- 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
A set of properties only present for an instance type resource
Instance Attribute Summary collapse
-
#cluster_instances ⇒ Array<String>
Optional.
-
#virtual_hostname ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryResourceInstanceProperties
constructor
A new instance of SapDiscoveryResourceInstanceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryResourceInstanceProperties
Returns a new instance of SapDiscoveryResourceInstanceProperties.
1225 1226 1227 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_instances ⇒ Array<String>
Optional. A list of instance URIs that are part of a cluster with this one.
Corresponds to the JSON property clusterInstances
1218 1219 1220 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1218 def cluster_instances @cluster_instances end |
#virtual_hostname ⇒ String
Optional. A virtual hostname of the instance if it has one.
Corresponds to the JSON property virtualHostname
1223 1224 1225 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1223 def virtual_hostname @virtual_hostname end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1230 1231 1232 1233 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1230 def update!(**args) @cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances) @virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname) end |