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 instance details.
Instance Attribute Summary collapse
-
#database_service_account ⇒ String
Database service account.
-
#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.
911 912 913 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_service_account ⇒ String
Database service account. Let customers bring their own SA for the database.
Corresponds to the JSON property databaseServiceAccount
869 870 871 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 869 def database_service_account @database_service_account end |
#disk_type ⇒ String
Required. Disk type.
Corresponds to the JSON property diskType
874 875 876 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 874 def disk_type @disk_type end |
#image ⇒ String
Required. Image for the database server.
Corresponds to the JSON property image
879 880 881 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 879 def image @image end |
#instance_id ⇒ String
Optional. Instance ID.
Corresponds to the JSON property instanceId
884 885 886 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 884 def instance_id @instance_id end |
#machine_type ⇒ String
Required. Machine type.
Corresponds to the JSON property machineType
889 890 891 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 889 def machine_type @machine_type end |
#primary_db_vm ⇒ String
Optional. Primary DB VM name.
Corresponds to the JSON property primaryDbVm
894 895 896 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 894 def primary_db_vm @primary_db_vm end |
#secondary_db_vm ⇒ String
Optional. Secondary DB VM name.
Corresponds to the JSON property secondaryDbVm
899 900 901 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 899 def secondary_db_vm @secondary_db_vm end |
#secret_manager_secret ⇒ String
Required. Secret Manager secret.
Corresponds to the JSON property secretManagerSecret
904 905 906 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 904 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
909 910 911 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 909 def sid @sid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
916 917 918 919 920 921 922 923 924 925 926 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 916 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 |