Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata

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 SAP discovery system metadata

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryMetadata

Returns a new instance of SapDiscoveryMetadata.



1600
1601
1602
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1600

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

Instance Attribute Details

#customer_regionString

Optional. Customer region string for customer's use. Does not represent GCP region. Corresponds to the JSON property customerRegion

Returns:

  • (String)


1583
1584
1585
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1583

def customer_region
  @customer_region
end

#defined_systemString

Optional. Customer defined, something like "E-commerce pre prod" Corresponds to the JSON property definedSystem

Returns:

  • (String)


1588
1589
1590
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1588

def defined_system
  @defined_system
end

#environment_typeString

Optional. Should be "prod", "QA", "dev", "staging", etc. Corresponds to the JSON property environmentType

Returns:

  • (String)


1593
1594
1595
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1593

def environment_type
  @environment_type
end

#sap_productString

Optional. This SAP product name Corresponds to the JSON property sapProduct

Returns:

  • (String)


1598
1599
1600
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1598

def sap_product
  @sap_product
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1605
1606
1607
1608
1609
1610
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1605

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