Class: Google::Apis::WorkloadmanagerV1::DatabaseDetails
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::DatabaseDetails
- 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 for sap instant details
Instance Attribute Summary collapse
-
#database_service_account ⇒ String
Database service account - let custoemrs bring their own SA for database Corresponds to the JSON property
databaseServiceAccount. -
#disk_type ⇒ String
Required.
-
#image ⇒ String
Required.
-
#instance_id ⇒ String
Optional.
-
#machine_type ⇒ String
Required.
-
#primary_db_vm ⇒ String
Optional.
-
#secondary_db_vm ⇒ String
Optional.
-
#secret_manager_secret ⇒ String
Required.
-
#sid ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseDetails
constructor
A new instance of DatabaseDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseDetails
Returns a new instance of DatabaseDetails.
910 911 912 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 910 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_service_account ⇒ String
Database service account - let custoemrs bring their own SA for database
Corresponds to the JSON property databaseServiceAccount
868 869 870 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 868 def database_service_account @database_service_account end |
#disk_type ⇒ String
Required. disk_type
Corresponds to the JSON property diskType
873 874 875 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 873 def disk_type @disk_type end |
#image ⇒ String
Required. image for database server
Corresponds to the JSON property image
878 879 880 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 878 def image @image end |
#instance_id ⇒ String
Optional. instance id
Corresponds to the JSON property instanceId
883 884 885 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 883 def instance_id @instance_id end |
#machine_type ⇒ String
Required. machine type
Corresponds to the JSON property machineType
888 889 890 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 888 def machine_type @machine_type end |
#primary_db_vm ⇒ String
Optional. primary db vm name
Corresponds to the JSON property primaryDbVm
893 894 895 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 893 def primary_db_vm @primary_db_vm end |
#secondary_db_vm ⇒ String
Optional. secondary db vm name
Corresponds to the JSON property secondaryDbVm
898 899 900 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 898 def secondary_db_vm @secondary_db_vm end |
#secret_manager_secret ⇒ String
Required. secret_manager_secret
Corresponds to the JSON property secretManagerSecret
903 904 905 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 903 def secret_manager_secret @secret_manager_secret end |
#sid ⇒ String
Required. The SID is a three-digit server-specific unique identification code.
Corresponds to the JSON property sid
908 909 910 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 908 def sid @sid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
915 916 917 918 919 920 921 922 923 924 925 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 915 def update!(**args) @database_service_account = args[:database_service_account] if args.key?(:database_service_account) @disk_type = args[:disk_type] if args.key?(:disk_type) @image = args[:image] if args.key?(:image) @instance_id = args[:instance_id] if args.key?(:instance_id) @machine_type = args[:machine_type] if args.key?(:machine_type) @primary_db_vm = args[:primary_db_vm] if args.key?(:primary_db_vm) @secondary_db_vm = args[:secondary_db_vm] if args.key?(:secondary_db_vm) @secret_manager_secret = args[:secret_manager_secret] if args.key?(:secret_manager_secret) @sid = args[:sid] if args.key?(:sid) end |