Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata
- 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 SAP discovery system metadata
Instance Attribute Summary collapse
-
#customer_region ⇒ String
Optional.
-
#defined_system ⇒ String
Optional.
-
#environment_type ⇒ String
Optional.
-
#sap_product ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryMetadata
constructor
A new instance of SapDiscoveryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryMetadata
Returns a new instance of SapDiscoveryMetadata.
1695 1696 1697 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_region ⇒ String
Optional. Customer region string for customer's use. Does not represent GCP
region.
Corresponds to the JSON property customerRegion
1678 1679 1680 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1678 def customer_region @customer_region end |
#defined_system ⇒ String
Optional. Customer defined, something like "E-commerce pre prod"
Corresponds to the JSON property definedSystem
1683 1684 1685 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1683 def defined_system @defined_system end |
#environment_type ⇒ String
Optional. Should be "prod", "QA", "dev", "staging", etc.
Corresponds to the JSON property environmentType
1688 1689 1690 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1688 def environment_type @environment_type end |
#sap_product ⇒ String
Optional. This SAP product name
Corresponds to the JSON property sapProduct
1693 1694 1695 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1693 def sap_product @sap_product end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1700 1701 1702 1703 1704 1705 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1700 def update!(**args) @customer_region = args[:customer_region] if args.key?(:customer_region) @defined_system = args[:defined_system] if args.key?(:defined_system) @environment_type = args[:environment_type] if args.key?(:environment_type) @sap_product = args[:sap_product] if args.key?(:sap_product) end |