Class: Google::Apis::WorkloadmanagerV1::DatabaseDetails

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 for SAP instance details.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_accountString

Database service account. Let customers bring their own SA for the database. Corresponds to the JSON property databaseServiceAccount

Returns:

  • (String)


869
870
871
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 869

def 
  @database_service_account
end

#disk_typeString

Required. Disk type. Corresponds to the JSON property diskType

Returns:

  • (String)


874
875
876
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 874

def disk_type
  @disk_type
end

#imageString

Required. Image for the database server. Corresponds to the JSON property image

Returns:

  • (String)


879
880
881
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 879

def image
  @image
end

#instance_idString

Optional. Instance ID. Corresponds to the JSON property instanceId

Returns:

  • (String)


884
885
886
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 884

def instance_id
  @instance_id
end

#machine_typeString

Required. Machine type. Corresponds to the JSON property machineType

Returns:

  • (String)


889
890
891
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 889

def machine_type
  @machine_type
end

#primary_db_vmString

Optional. Primary DB VM name. Corresponds to the JSON property primaryDbVm

Returns:

  • (String)


894
895
896
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 894

def primary_db_vm
  @primary_db_vm
end

#secondary_db_vmString

Optional. Secondary DB VM name. Corresponds to the JSON property secondaryDbVm

Returns:

  • (String)


899
900
901
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 899

def secondary_db_vm
  @secondary_db_vm
end

#secret_manager_secretString

Required. Secret Manager secret. Corresponds to the JSON property secretManagerSecret

Returns:

  • (String)


904
905
906
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 904

def secret_manager_secret
  @secret_manager_secret
end

#sidString

Required. The SID is a three-digit server-specific unique identification code. Corresponds to the JSON property sid

Returns:

  • (String)


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